DreamWeaver CS5, PHP and DB2 Connections

Hi,
I have been playing around with a XAMPP server, a mySQL database and DW CS5. This all works great and DW is a great assistant compiling the necessary PHP code so I dont have to worry about all that.
I do have a number of DB2 database I would like to attach to and there is nothing untuitive in DW allowing me to connect to DB2 databases. Has anyone seen any useful examples here
All my Apache and DB2 server are running on Linux hence Windows samples will not be that useful to me.
ThnX in advance for any hints.
- Bjoern

Hi,
I have been playing around with a XAMPP server, a mySQL database and DW CS5. This all works great and DW is a great assistant compiling the necessary PHP code so I dont have to worry about all that.
I do have a number of DB2 database I would like to attach to and there is nothing untuitive in DW allowing me to connect to DB2 databases. Has anyone seen any useful examples here
All my Apache and DB2 server are running on Linux hence Windows samples will not be that useful to me.
ThnX in advance for any hints.
- Bjoern

Similar Messages

  • Dreamweaver CS5 PHP and MS SQL

    Does Dreamweaver CS5 support using PHP with MS SQL?

    Hi
    This works with both the SQL Server 2008 Developers edition and the SQL server 2008 Express edition.
    The first thing to ensure is that you have the mssql client for the mssql database installed, (also known as the SQL Server management studio), then go here and download the server driver for php - http://sqlsrvphp.codeplex.com/, I would recommend the release candidate as this support php 5.2 and 5.3, (it is named as "SQL server driver for php 2") yes the name is misleading!
    Unpack the file into a temp, directory, then copy the files required to your php extensions directory, (the two files required will depend on your version of php, check the documentation) you do not have to use the pdo file if you are happy creating your own standard sql statements, but doing so will mean that the pdo extension must also be installed for php.
    For php 5.2 you would then add the following to your php ini file, (in the extensions section) -
    [PHP_MSSQL]
    extension=php_sqlsrv_52_ts_vc6.dll
    [PHP_PDO_MSSQL]
    extension=php_pdo_sqlsrv_52_ts_vc6.dll
    If using pdo ensure the following is also included -
    [PHP_PDO]
    extension=php_pdo.dll
    Restart your server.
    O/k, that's the easy part, now to check the installation. For this I installed the "AdventureWorks" database, which you can get here - http://sqlserversamples.codeplex.com/releases/view/45923.
    Use the SQL management studio to check the database installed correctly, (while you are there make a note of your server name, and user name and password if not using your windows authentication).
    Now to see if the installation is correct/
    Open dreamweaver and create a new, (blank) php page, replace all the code, (all the html code) with the following, (the examples give in the help files by Microsoft are wrong) -
    The section I have highlighted in red, change this to match your sql server name.
    <?php
    try {
       $conn = new PDO( "sqlsrv:Server=PAULAS-PC\SQLEXPRESS;Database=AdventureWorks", NULL, NULL);
       $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );}
    catch( PDOException $e ) {
       die( "Error connecting to SQL Server" );
    echo "Connected to SQL Server\n";
    $query = 'select * from Person.ContactType';
    $stmt = $conn->query( $query );
    while ( $row = $stmt->fetch( PDO::FETCH_ASSOC ) ){
       print_r( $row );
    ?>
    The NULL and NULL in the connection string, ($conn = new PDO...) indicates that you are using the windows authentication, if not replace these with your user name and password respectively.
    Save the page and select 'live view', the first four words should say "Connected to SQL server".
    As I said, I am currently working on including the MSsql connection as part of my "php/mysql pdo extension", which is very 'rough code' at the moment and the items are not fully compatible with how dreamweaver normally works, which means I am using mysql for some development, (creating the basic recordsets etc.) and then pasting/modifying the code into the mssql pages for testing.
    If your interested, the extension can be downloaded here - http://www.pziecina.com/design/dreamweaver/pdo_extension.php, the log-in/out etc are done but not included yet.
    Let me know how you get on with this, and if you have any problems.
    Paula Z

  • Dreamweaver CS5.5 and SFTP

    Greetings
    I am trying to connect to my FTP Server with Dreamweaver using SFTP (port 22). I can connect using FTP (port 21). I can also connect using the same credentials, with SFTP using CuteFTP client.
    Any suggestions?

    Jive
    Sorry, no I am not able to connect to the FTP server. The credentials are
    correct. I can connect using a ftp client and Coldfusion Builder but, I
    cannot connect through Dreamweaver or Contribute.
    I hope that helps.
    Sincerely
    Ray Bakker
    Web Developer | Corporate Information & Technology | City of Thunder Bay
    T: 807.625.3024 |  F: 807.623.3999 | E: [email protected]
    http://www.thunderbay.ca
    From:   SnakEyez02 <[email protected]>
    To:     Ray Bakker <[email protected]>
    Date:   02/11/2011 12:08 PM
    Subject:        Dreamweaver CS5.5 and SFTP
    Re: Dreamweaver CS5.5 and SFTP
    created by SnakEyez02 in Dreamweaver - View the full discussion
    So based on this last post you are able to connect but you are not able to
    transfer files.  And based on the error I will assume uploading new files
    is ok, it's just the overwriting that is causing an issue or uploading,
    even new files, to a specific folder is causing an issue.  Can you verify
    that the ownership settings are correct on your account (you may need to
    contact your host to fix if this is the issue)?
    Replies to this message go to everyone subscribed to this thread, not
    directly to the person who posted the message. To post a reply, either
    reply to this email or visit the message page: [
    http://forums.adobe.com/message/4003679#4003679]
    To unsubscribe from this thread, please visit the message page at [
    http://forums.adobe.com/message/4003679#4003679]. In the Actions box on
    the right, click the Stop Email Notifications link.
    Start a new discussion in Dreamweaver by email or at Adobe Forums
    For more information about maintaining your forum email notifications
    please go to http://forums.adobe.com/message/2936746#2936746.
    The information transmitted by electronic communication is intended
    only for
    the person or entity to which it is addressed and may contain
    confidential
    and/or privileged material. The sender does not waive any related
    rights or
    obligations. Any review, re-transmission, dissemination or other
    use of, or
    taking of any action in reliance upon this information, by persons
    or entities
    other than the intended recipient, is prohibited. If you received
    this in
    error, please contact the sender and delete the material from any
    computer

  • PHP and MySQL Connection problem

    I am trying to make a PHP MySQL on a remote server connection in Dreamwesaver CS3.
    When I enter the information (host, user, password, etc.) and hit TEST, I get the following error message.
    "Access Denied. The file may not exist, or there could be a permission problem. Make sure you have proper authorization on the server and the server is properly configured."
    I know the user, password, etc. work, as I can access the MySQL database with other software.
    I checked with my host and they say there are no permission problems on their end.
    I have checked the settings on the Test Server page in Site Setup and everything looks correct and works there.
    I have not seen this particular problem described in other forum postings (although there are a LOT of postings on this topic!).
    Any help would be appreciated.

    I thought my testing server was the remote server and is always on as far as I know. I don't know how to turn it on or off.
    Is there some other testing server that I should be aware of?
    Frank
    Date: Wed, 3 Jun 2009 15:43:02 -0600
    From: [email protected]
    To: [email protected]
    Subject: PHP and MySQL Connection problem
    I know you are using remote, but is your testing server on? if not turn that on and see if that does it. it just happened to me working on remote server and could not get mysql conn to work, until I turn on my testing (developer server), then I was able to connect to mysql and the tables that I created in phpmyadmin remotly was downloaded.
    >

  • Installing Adobe Dreamweaver CS5.5 and PhotoShop 5.5 on windows 2008 R2 SP1 using Terminal services

    Hi All,
    Is it possible to install Adobe Dreamweaver CS5.5 and PhotoShop 5.5 on windows 2008 R2 SP1 using Terminal services. We are planning to use xenapp to publish these application.
    Please let me know if this is a supported environment.
    Regards
    Radhika

    As far as I know you will NOT be able to access OpenGL functionality through Terminal Services. as the OpenGL implementation provided in that environment is software, version 1.1 - not GPU-accelerated.
    I seem to recall there was a thread about a year ago here where someone was trying to do what you are asking.  I vaguely remember they were able to make it work, but I'm not sure.  You might try doing a search of this forum.
    -Noel

  • I have Dreamweaver CS5.5 and all of a sudden I can't open it says XML parsing fatel error.  Invalid Document Structure  What do I do?  Thanks

    I have Dreamweaver CS5.5 and all of a sudden I can't open it says XML parsing fatel error.  Invalid Document Structure  What do I do?  Thanks

    You need to rename the Configuration folder to Configuration_BU.
    The folder can be found by following this http://www.dmxzone.com/go/16740/clearing-dreamweaver-s-cache/

  • I just upgraded to dreamweaver cs5.5  and widget doesn't load properly ?

    I just upgraded to dreamweaver cs5.5  and the spry lightbox gallery widget doesn't load properly ? I drag and drop in design view. All my other adobe programmes are still cs3 flash photoshop etc is this why or what am I doing wrong as all i get on the page is a set of images vertically from the gallery template and no gallery layout? Can anyone help?

    Was my answer here http://forums.adobe.com/message/4339831#4339831 not good enough???
    Gramps

  • Re: PHP  and Oracle Connection

    Are any specific links that will give me all knowledge regarding php and oracle connection? I am a new babie in this please help me out.

    Hi,
    I'm looking for specialists in PHP, Ajax and Oracle BPEL...
    Pages are: Praxisbörse und Jobs für Arzt und Zahnarzt http://www.praxis-welt.de für Praxisangebote und Jobangebote für Ärzte
    sowie auf http://www.berlin-umzug.net für Umzugsunternehmen aus Berlin für Umzüge, Klaviertransport und Tresortransport in Berlin.
    Any ideas / information / knowhow?
    Regards,
    Mic

  • I orginally bought Dreamweaver CS5.5, and I later upgraded to CS6.

    I orginally bought Dreamweaver CS5.5, and I later upgraded to CS6 by downloading and entering the product code.  Recently I had to reinstall Windows so I no longer have CS6.  Is there some way of getting it back?  I have the product key.
    Second, this is the fourth time I have entered this message on pages leading up to this one.  Is there any way of just entering the question once?

    Hello,
    did you find this: http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html and please note "Important: Download the files from a browser other than Microsoft Internet Explorer."
    What concerns your question about "Second": Provided I understand you in the right way, naturally it is. BUT, when you don't get an answer it means nothing more and nothing less than no one had a solution for you. And please don't forget, here the most are users not Adobe's employees.
    Hans-Günter

  • Dreamweaver cs5 problems and adobe support close the case on you

    I emailed Adobe support with the message below and they closed the case on me and told me to go over to the developers connection website and open a case there. Well of course there is no where to open a case there, it brings you back to the normal support pages, so I opened a case again!
    This is just one of the flaws in Cs5 I've found from intensive useage yesterday.
    1. Hangs for nearly 2 minutes if you use an external link to ny file like jquery in the header of the pages - detailed below
    2. Sometimes when selecting a related file it says "not on server" and actually tries to open ANOTHER ftp connection listed. It switches connection and then says"not on server" - well of course not....because it just changed to another server! However many time you change it back, it won't have it.
    3. The pop up css is a good idea but not well thought out. I have to right click to get inspect but when I roll over the areas it doesn't show the css in the css panel. If I right click and select to show the code, it shows me the css, I then have to click it to select it in the left column. All very long winded... WHY NOT JUST CLICK AN AEA ON THE LIVE VIEW PAGE AND IT SHOWS THE CSS THERE INSTANTLY TO EDIT?!
    4. On first open after a quit and relaunch, or restart, switching from normal view to live view hangs Dreamweaver for over a minute before live view is displayed.
    Very very buggy and I feel I have paid for a beta version.
    Hello I now have Dreamweaver CS5.
    It has MAJOR flaw.
    If a webpage contains the code
    <script type="text/javascript"
    src="http://code.jquery.com/jquery-1.4.2.min.js"></script>#
    It takes over 1 minute to open each page after launching
    This is caused by the 'related files' facility
    THIS IS TOTALLY UNACCEPTABLE in software which is this expensive.
    All design companies such as us use jquery.
    Please fix this flaw asap or supply me with a fix. Turning of related files
    helps but if I was to do that what would be the point in
    having that facility? (which I am paying for!)

    Hi,
    Appreciate your reply and accept what you say, I'll take on board the suggestions.
    My answers under yours below
    Second, the Bug Report form is here: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform .  Technical support is not a bug reporting center, nor are they developers which is why they probably closed your case. And there really are not any questions in your support request it reads like a bug report and an angry one at that, not even starting out calm, shouting almost immediately.
    - Frustration, I've been up all night, hours messing with it.
    Thanks for the link, I'll post to that. I personally don't agree that bugs this big should be present in software of such high upgrade fee's and which should have been tested but I guess we all know its the way of the world now.
    1.  Why are you working with remote website files that are not part of your domain and not in your local site?  This is a bad practice to get in the habit of.  If their website shuts down, so does the functionality of yours.  Many here will argue that point.
    - This is a valid point I've come across before and reading up on it I found it was said that the site in question was on cloud servers, mirrored etc. The link I posted was from someone elses post who was having a similar problem. I personally use the flowplay/jquery main link which has ALL the jquery plugins/effects so whatever is used on that page works.
    http://cdn.jquerytools.org/1.1.2/full/jquery.tools.min.js
    We did this as it seemed that was what everyone was doing, it seems I am wrong and I take on board your comments about downloading the file.
    2.  "Sometimes".  That is the key word in your statement.  Sometimes it happens, sometimes it doesn't.  What happens when it says "Sometimes not on server" and what happens in the other times.  What's different?  It's usually hard to believe it's random luck.  But developers in a bug report need to know these things.  What's different about the file(s)?  Is it with certain file(s), type(s), etc?  How would it open another FTP connection, do you have multiple FTP locations defined within one site definition?
    I probably used the wrong word in 'sometimes' - A better description would be "some of the related files". When live view is on the right and code on the left, related files across the top. If I hover my mouse over the files, it tells me where they are. This info is incorrect on 'some' of the files, not all of them but about 8 out of 10.
    It shows the file as being in the folder of another account in the site defs, but its not in there, it's in the one I'm working on (and which is live in the ftp file window). So if I click on the file to view it, it says its not available, and asks if I want to download it from the server. That doesn't work because it then tries to switch the ftp connection to the other site and download.
    I thought it was muddled so I removed all the ftp sites and set up just one, the one I was working on. But that didn't work... it then thinks the related files are in "unnamed site 1" - anywhere but looking in its own folder or on its own ftp server!
    4.  You seem to be referring to Question #1 here so that is answered.
    "Please fix this flaw asap or supply me with a fix." - So you are saying Please fix this flaw with a patch or give me the patch.  Again, this sounds like you want to file a bug report and not create a support request.
    - Accepted, you are right, its a bug report, just they directed me to the developer website and I kept ending up here, so began to believe this is where I should be posting.
    "All design companies such as us use jquery".  - While I wouldn't be so quick to say all, but rather most, I would say see my answer to #1.  Why make your site dependent on someone else's?
    - Accepted, I appreciate your honest comments and critism and fot taking the time to reply :-)

  • PHP  and Oracle Connection

    Please help to connect to oracle through php.
    OS=Windows Server 2008 R2(x64)= is working correctly
    PHP ver=PHP 5.3.2= is working correctly
    ORACLE = Oracle Database 11gR2= is working correctly
    Since the PHP and Oracle on the same machine, I did not install install client(but even with instan client I could not connect to oracle).
    phpinfo does not show oci section
    in Environment section shows these values
    PHPRC = C:\Program Files (x86)\PHP\
    LD_LIBRARY_PATH = D:\ipardb\ora_base\product\11.2.0\orahome\lib
    NLS_LANG = AMERICAN_AMERICA.WE8MSWIN1252
    ORACLE_HOME = D:\ipardb\ora_base\product\11.2.0\orahome
    ORACLE_SID = iparbio
    Path= C:\Program Files (x86)\PHP\;D:\ipardb\ora_base\product\11.2.0\orahome\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\MySQL\MySQL Server 5.1\bin;
    TNS_ADMIN= D:\ipardb\ora_base\product\11.2.0\orahome\network\admin
    Loaded Configuration File C:\Program Files (x86)\PHP\php.ini
    uncommented extension in php.ini
    [PHP_OCI8_11G]
    extension=php_oci8_11g.dll
    extension dir is set ok, since other extensions are working properly
    when i execute php.exe, in error_log file appears
    [11-Jun-2010 10:37:34] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_oci8_11g.dll' - %1 is not a valid Win32 application.
    in Unknown on line 0
    Please help me.

    I'm guessing the cause is probably the same as that article: PHP is 32bit but your Oracle libraries are 64bit.
    You will need to install 32bit instant client and make sure they are used for Apache. Does Windows 2008 have sym links? Perhaps the note mentioned at the end of OCI8 IN WINDOWS SERVER 2008 x64 will help. Otherwise try creating some batch scripts to set PATH appropriately before starting Apache.

  • OWB and DB2 connection

    I have connected Oracle 9i and DB2 v7 and query DB2 in SQL Plus is fine. However, it doesn't for the connection between OWB and DB2.
    Anyone can help?
    Thanks!

    Try the following and use the database link as the source.
    1. Copy inithsodbc.ora to initQA_DB2.ora in $ORACLE_HOME\hs\admin
    HS_FDS_CONNECT_INFO=DNS_NAME_OF_YOUR_CONNECTION
    HS_FDS_TRACE_LEVEL=0
    2. Add the following lines to listener.ora in Oracle server ($ORACLE_HOME\NETWORK\ADMIN)
    (SID_DESC =
    (SID_NAME = QA_DB2)
    (ORACLE_HOME = $ORACLE_HOME)
    (PROGRAM = hsodbc)
    3. Add the following lines to tnsnames.ora in Oracle server ($ORACLE_HOME\NETWORK\ADMIN)
    DB= (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)
    (HOST=localhost)
    (PORT=1521)
    (CONNECT_DATA = (SERVICE_NAME=QA_DB2)
    (HS = OK)
    4. Execute CATalog script for Heterogeneous Services in Oracle server ($ORACLE_HOME\RDBMS\ADMIN\caths.sql)
    5. Create database link
    drop public DATABASE LINK dwh_qa_db2;
    CREATE public DATABASE LINK dwh_qa_db2 CONNECT TO "carlosmo" IDENTIFIED BY "E1Qual" USING 'DB2';
    6. Test the connection
    SELECT *
    FROM SomeTable@dwh_qa_db2

  • Developer 6i and DB2 connectivity.

    I am using Oracle8i with Developer 6i.
    I need to connect to DB2/400 (running under OS/400) from Forms Developer 6i
    i have IBM AS400 Client Access (version : 3, release : 2,
    modification level : 0 ) installed on this machine, which
    is working allright, i have checked it by using datatransfer from
    AS/400.
    the username on DB2 is ORACLE (password is same as username).
    i have created ODBC system data source (named SYSDB2) for OCA connection
    while i connect from sqlplus, it connects with some error messages as
    shown below, however it works allright for querying.
    SQL> CONN ORACLE/ORACLE@ODBC:SYSDB2 ;
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    Error accessing PRODUCT_USER_PROFILE
    Warning: Product user profile information not loaded!
    You may need to run PUPBLD.SQL as SYSTEM
    Server not available or version too low for this feature
    ORA-00022: invalid session id; access denied
    Connected.
    SQL>
    i have run PUPBLD.SQL but had no affect on these messages .
    When i try to create data dictionary views for DB2 from this connection
    by running script (Db4dmbld.sql) it does not create data dictionary.
    its fine till this happens, the real problem is that i am
    unable to connect to db2 by using odbc datasource from forms6i.
    when i try to connect it shows some special characters in a
    message box which can't provide any information.
    please let me know if there is any fix to this problem.
    regards,
    aamir.

    Hi,
    the site where you can find it is http://technet.oracle.com/doc/gateways.htm
    The gateway has no database functions. The gateway provides an interface by which the Oracle server can direct SQL operations to a DB2 database.
    Using a database link, the gateway is identified to the Oracle server. The database link is the same construct used to identify other Oracle server databases.
    Tables on the DB2 server are referenced in SQL as:
    table_name@dblink_name
    or
    owner.table_name@dblink_name
    If you create synonyms or views in the Oracle server database, you can refer to tables on the DB2 server using simple names as though the table is local to the Oracle server.
    When the Oracle server encounters a reference to a table on the DB2 server, the applicable portion of the SQL statement is sent to the gateway for processing. Any host variables associated with the SQL statement are bound to the gateway and, therefore, to the DB2 server.
    The gateway is responsible for sending these SQL statements to the DB2 server for execution and for fielding and returning responses. The responses are data or messages. Any conversions between Oracle datatypes and DB2 datatypes are performed by the gateway. The Oracle server and the application read and process only Oracle datatypes.
    --Samson
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Aamir Muhammad ([email protected]):
    Thanks Samson for you only reply on the
    topic, would you kindly tell me where can i find Oracle's Transaction Gateway for AS/400?
    Inspite all appreciation that i feel for you, What i think is that Gateways are used to establish connections between two databases not between a tool and a database like forms and AS400.<HR></BLOCKQUOTE>
    null

  • Dreamweaver CS5.5 and Mobile | ADC Presents | Adobe TV

    Scott Fegette explores the new Live View and CSS3 Media Queries features in Dreamweaver CS5.5 that enables web designers and developers to quickly create and test custom web experiences across mobile devices.
    http://adobe.ly/wYVoFE

    I tried it with a simple pre-built template, and didn't have any effect - you mentioned in the video you were going to assign each to some pre-built corresponding css files... did they already have additional attributes in them not highlighted in the video? I can't seem to get my layout to change in the mobile and tablet sizes...?

  • Dreamweaver CS5.5 and xcode 4.3 doesn't works?

    Hi,
    I've a new and clean apple system osx 10.7.3 with Dreamweaver CS5.5, 11.5., Build 5344, and Xcode 4.3. Xcode 4.3 doesn't works.
    Dreamweaver doesn't recognise the path anymore under Sites - Mobile Applications - Application Framework Settings.
    Any idea?
    Steve

    I noticed following: Xcode is provided in mac file manager in "Volumes". Is this normal?
    And I noticed, if I go to Xcode>Preferences>Download I find updates like iOS 4.3 Simulator.
    If I click on install button i get the message:
    "The install path </Volumes/Xcode/Xcode.app/Contents/Developer> resides on a read-only volume. If you launched Xcode from a read-only disk image, consider copying Xcode to your Applications folder and unmounting the disk image."
    Why Xcode in "Volumes" and read-only???
    Steve

Maybe you are looking for

  • Rolling out ADE to Open Access Computers in libraries

    (In the UK). In Plymouth we are using Secure Electronic Delivery as the default to deliver access to documents provided by the British Library. Internet Explorer 7 (and this is also known with Firefox and other browsers) causes an ebook reader detect

  • OK I'm Stupid. Volume Help, Please

    When connecting to most CD players, etc., I get little to no vol. on most songs. Thanks in advance for the help.

  • Custom tag losing onchange value when page is refreshed

    Hi all, I'm still using JSF 1.1 and I have an issue with a custom tag. When my page is first displayed, the onchange attribute contains my script but, when I refresh the page it's not there anymore. The custom tag if an input for dates. It can have o

  • Query for difference between dates

    I know I can use the DATEDIFF How can I write it if StartDate and EndDate are in these formats? StartDate: 2006-09-20 00:00:00.000 EndDate:   2013-09-20 18:20:53.000 I want to find the number of days between dates of dates in the two columns

  • How to transmit apps from itunes to an iOS device?

    Hey I normally download my Apps directly with my iPad, but I also want to have my Apps in iTunes. But how do I send the Apps from iTunes to my iPad? I sync my Ipad manually and when I want to send music to the iPad I just have to choose an album, hol