User Profile

Collapse

Profile Sidebar

Collapse
Harmony504
Harmony504
Last Activity: Jun 24 '14, 03:09 PM
Joined: Oct 2 '07
Location: Pennsylvania
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Harmony504
    replied to DB2 PHP connection issue
    in DB2
    I GOT IT!

    You need to install iSeries Client Access on your PHP server to get the correct drivers you need. I did a custom install and selected to install the Required Programs and Data Access including Data Transfer, ODBC, and OLE DB Provider.

    Then I connected as below.
    [PHP]
    include('adodb/adodb.inc.php') ;
    $db = ADONewConnectio n('odbc');
    $dsn = "DRIVER={iSerie s Access...
    See more | Go to post

    Leave a comment:


  • Harmony504
    started a topic DB2 PHP connection issue
    in DB2

    DB2 PHP connection issue

    I am trying to connect to our DB2 DB with PHP using ADOdb. Below is my environment.

    Windows XP
    PHP 5.2.5
    DB2 Run-Time Client 8.2
    IIS

    I connect with the following code:
    [PHP]
    include('adodb/adodb.inc.php') ;
    $db = ADONewConnectio n('db2');

    $dsn = "driver={IB M db2 odbc DRIVER};Databas e=$DBName;hostn ame=$Host;port= $Port;protocol= TCPIP;uid=$User ;pwd=$Password" ;...
    See more | Go to post

  • You crack me up! I have spent some more time researching my setup and I am starting to agree with you that PHP5 is not my issue.

    I have an application that uses a MySQL db and also pulls data from an Oracle db. PHP and MySQL are on one server and Oracle is on another. I had to use Oracle's instant client to connect to the Oracle server. Also, in my PHP code I use ADODB to connect to either db. I did upgrade this to version 4.23....
    See more | Go to post

    Leave a comment:


  • Harmony504
    started a topic Call exit() after header location call?
    in PHP

    Call exit() after header location call?

    Does anyone know if you need to call exit() after every call to header('locatio n...')? I have found that on some forms that call themselves and redirect depending on POST data, I have had to add the exit() call.

    Any thoughts?
    See more | Go to post

  • Harmony504
    started a topic Has anyone noticed PHP5 to be slower than PHP4?
    in PHP

    Has anyone noticed PHP5 to be slower than PHP4?

    I recently upgraded my application from PHP4.4.2 to PHP5.2.5. I also use MySQL5. I am using the mysqli module because supposedly it is faster. I have tested the regular mysql module and found it to be the same as mysqli. I have also tested this application on Apache and IIS.

    Since I upgraded to PHP5.2.5 the application runs slower. It seems to lag, which it never did before. Is there a setting in the configuration file I can...
    See more | Go to post

  • Harmony504
    replied to How can I veiw HTTPS headers in PHP5?
    in PHP
    You were right. It works when openssl is loaded. Apache was not actually restarting for me before so my change to load openssl never took place. Now it is working.

    THANKS!...
    See more | Go to post

    Leave a comment:


  • Harmony504
    replied to How can I veiw HTTPS headers in PHP5?
    in PHP
    I used get_loaded_exte nsions to see if the openssl dll was loaded and it is not. I did uncomment this in the php.ini and I restarted Apache. Is there something else I can do to load this dll? I chan't use dl() becuase of threading.

    Thanks
    See more | Go to post

    Leave a comment:


  • Harmony504
    replied to How can I veiw HTTPS headers in PHP5?
    in PHP
    I did that. It still doesn't work....
    See more | Go to post

    Leave a comment:


  • Harmony504
    started a topic How can I veiw HTTPS headers in PHP5?
    in PHP

    How can I veiw HTTPS headers in PHP5?

    I am using PHP5.2.5. I am trying to view headers from an SSL site using the following:
    [PHP]
    error_log(print _r(get_headers( 'https://urltoserver/file.fdf')));
    [/PHP]

    I continue to get the following error:
    Code:
    PHP Notice:  get_headers() [<a href='function.get-headers'>function.get-headers</a>]: Unable to find the wrapper &quot;https&quot; - did you forget to enable it when you configured
    ...
    See more | Go to post

  • Yes the file is there. I even downloaded it again from the php snapshot for the pecl for 5.2. That didn't help. So I am thinking the file is not corrupted. I can still execute php scripts with this error. I just cannot connect to the DB2. I don't know what else to try...
    See more | Go to post

    Leave a comment:


  • Harmony504
    started a topic Unable to load dynamic library php_ibm_db2.dll
    in PHP

    Unable to load dynamic library php_ibm_db2.dll

    HELP!

    Setup: PHP5.2.5, IIS 5.1, XP, AS/400 (DB/400 or DB2)

    I am trying to connect to a DB2 database from my computer. I installed DB2 Connect and set up the ODBC Driver in the Data Source Administrator. I uncommented the extension=php_i bm_db2.dll line in my php.ini file.

    [PHP]<?php
    $DBName = "WSC520"; // The name of the database
    ...

    include('adodb/adodb.inc.php') ;...
    See more | Go to post

  • Harmony504
    replied to Configuring PHP 4, Oracle 10g, and IIS 6
    in PHP
    I am thinking my configuration is not the problem. See this post.
    See more | Go to post

    Leave a comment:


  • Harmony504
    started a topic Passing JavaScript form field to PHP function
    in PHP

    Passing JavaScript form field to PHP function

    I am passing a form field in JavaScript to a PHP function. The problem is when the parameter gets inside the PHP function the value is set to 1 when it should be a relative path to a file.

    setup_config.ph p:
    Code:
    <script language="javascript">
    function install(){
    ...
    Install.ExecuteDBScript(document.getElementById('path').value, document.getElementById('self-serve').checked, function (result)
    ...
    See more | Go to post
    Last edited by ronverdonk; Oct 3 '07, 10:46 PM. Reason: enclosing code within tags!

  • Harmony504
    started a topic Configuring PHP 4, Oracle 10g, and IIS 6
    in PHP

    Configuring PHP 4, Oracle 10g, and IIS 6

    I am trying to create a tablespace within an Oracle database through a PHP application using IIS 6.0.

    In my php.ini I uncommented extension=php_o ci8.dll and I set my extension_dir. I also copied this file to c:\windows.

    I added the IIS_WPG user to the ora10g\bin, oradata\DB, and the PHP application folder.

    I add the IUSR_compname to oradata\DB, php application folder, ora10g\bin, tnsnames, and php\extensions....
    See more | Go to post
    Last edited by pbmods; Oct 4 '07, 01:59 AM. Reason: Added CODE tags.
No activity results to display
Show More
Working...