Re: [PHP-WIN] odbc_fetch_array function
Thanks for your message. The database on which I ran the query which result I am trying to fetch with this function is Pervasive 7. However, the PHP parser does not recognize the function name, so I don't believe the issue is with the db. Even on the php.net site, the function is not documented (http://www.php.net/manual/en/function.odbc-fetch-array.php). I still haven't found out why it doesn't seem to be implemented in the PHP version that I am using. Pascal >what database are you using? that problem is a database connection from >your php to your db. i have been using the same as your for a couple of >months but i have no problem since my db is placed on my cygwin.its a >postgresql db.
[PHP-WIN] Install PHP with IIS 5/W2K
I installed PHP 4.2.3 using the installer from PHP.net I can send the test.php file to the php.exe, and I get the right html code. However, trying to open the same test.php in IE 6 won't produce anything. The window gets the right title, all html is displayed right, but nothing between is executed. I have tried to change most of the settings in Internet Information Services, the extension .php under configuration is also set to C:\PHP\php.exe, etc... What should I look at next? Thanks, Pascal -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] Install PHP with IIS 5/W2K
You are right on. I was trying to execute the code by dragging and dropping the file into an IE window. Accessing it through the localhost path works great. Thanks so much for your help. Pascal "Phil Driscoll" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tuesday 24 September 2002 5:24 am, Pascal S. wrote: > I installed PHP 4.2.3 using the installer from PHP.net > > I can send the test.php file to the php.exe, and I get the right html code. > > However, trying to open the same test.php in IE 6 won't produce anything. > The window gets the right title, all html is displayed right, but nothing > between is executed. > > I have tried to change most of the settings in Internet Information > Services, the extension .php under configuration is also set to > C:\PHP\php.exe, etc... > > What should I look at next? Are you opening the file as c:\php\test.php or as http://localhost/test.php? If you view source, do you see the php source code? -- Phil Driscoll -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] odbc_fetch_array function
I have version 4.2.3 of PHP installed on a Windows server. I am new to PHP. I did find the function array odbc_fetch_array ( resource result [, int rownumber]) in the documentation, but it doesn't seem implemented in the version that I use. Do you know what I did wrong? Thanks, Pascal -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Re: Interbase: ibase_pconnect() problem
Hello Wolfgang , I have no solution to your problem and i hope you find one since 15 march, I have a problem for loading dynamic library php_interbae.dll : when i try to use this library , i have the error message: "Unable to load dynamic library 'c:\php\extensions/php_interbase.dll" I have modified php.ini to load this dll (put off the ; in the section Dynamic Extensions ) , but it doesn't work ... My environment: - WinNT 4.0 SP5 - IIS4.0 - PHP/4.0.4pl1 in CGI mode - Interbase 6.0 I have tried the some with mssql7.0 and it works fine ... (when i use phpinfo(); , i have mssql 7.0 activated ) Do you have an idea ? Did you make some special things to use Interbase ? TIA Pascal [EMAIL PROTECTED] Wolfgang Hege <[EMAIL PROTECTED]> a écrit dans le message : [EMAIL PROTECTED] > Hi ! > > I have following problem when connecting to Interbase: > > When trying to establish a persistent connection using > 'ibase_pconnect()' a new connection is created each time. The database > connection remains open, but it will not be re-used later. So I have > loads of database connections and a huge performance problem. > > My environment: > - WinNT 4.0 SP5 > - Apache 1.3.19 > - PHP/4.0.4pl1 ( loaded as module ) > - Interbase 6.0 > > Does anybody know some help ? > > Thank you very much. > > Wolfgang. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-WIN] Re: Interbase: ibase_pconnect() problem
Hello Wolfgang , I hav'nt the solution to your problem and i hope you resolved it sine the 15 march ... But i have a problem to load the dll php_interbase.dll : i have uncommented the extension in the php.ini file but it doesn't work and i can't find what's wrong . I have tested with MSSQL 7.0 and it works well ... With Interbase , i have the error message : "Unable to load dynamic library 'c:\php\extensions/php_interbase.dll" My environment: - WNT4.0 SP5 - IIS4.0 - PhP4.0.4 CGI mode - Interbase v6 Do you have made any special things to make working Interbase with PhP ? Do you have an idea how to resolve my problem ? TIA Pascal [EMAIL PROTECTED] Wolfgang Hege <[EMAIL PROTECTED]> a écrit dans le message : [EMAIL PROTECTED] > Hi ! > > I have following problem when connecting to Interbase: > > When trying to establish a persistent connection using > 'ibase_pconnect()' a new connection is created each time. The database > connection remains open, but it will not be re-used later. So I have > loads of database connections and a huge performance problem. > > My environment: > - WinNT 4.0 SP5 > - Apache 1.3.19 > - PHP/4.0.4pl1 ( loaded as module ) > - Interbase 6.0 > > Does anybody know some help ? > > Thank you very much. > > Wolfgang. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-WIN] Accessing InterBase Database
Hello Matthias , Could you send me the latest win32 php_interbase.dll , php4win is out !!! Thanks very much in advance , Pascal [EMAIL PROTECTED] Matthias Endler <[EMAIL PROTECTED]> a écrit dans le message : [EMAIL PROTECTED] > Hi Winston, > > > Can anyone help me how to connect to Interbase database using PHP? I'm > > running it in windows 98SE and OmniHTTPD webserver. > > make sure the php_ibase.dll is enabled in your php.ini. Should look like > this: > > extension=php_ibase.dll > > (There's a bug in php_ibase.dll bundled with version 4.0.3 win32-binary > distribution. You can connect but nothing else can be done.) > > You can get the latest win32 distro at http://www.php4win.de/. > > Here's a sample script: > > $dbh = @ibase_connect('/Programme/Borland/test/Test','SYSDBA','secret'); > if (!$dbh) die("Database connection failed!"); > $sql = "SELECT * FROM tb_test"; > $q = ibase_query($dbh,$sql); > if (!$q) die("No results"); > while($row = ibase_fetch_object($q)) { > print $row->DF_ID." ".$row->DF_NAME."\n"; > //^ ^^^ > // Fieldnames should alwas be upper case! > // That's why the example from php.net will never work. > } > @ibase_close($dbh); > ?> > > Everything else you can find at http://www.php.net/manual/ref.ibase.php > > Cheers, > Matthias > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-WIN] Where to download all the isolated .dll file of PHP 4.03pl1
Hello Matthias, The php4win is out actually ... Could you send me the last release (if you vae it !!) of php_interbase.dll , i should appreciate a lot, Thanks in advance , Pascal [EMAIL PROTECTED] Matthias Endler <[EMAIL PROTECTED]> a écrit dans le message : [EMAIL PROTECTED] > Yepp, > > get it at http://www.php4win.de/. Just download the latest binary release > there. Here's a list of all extensions included: > > php_calendar.dll > php_dbase.dll > php_exif.dll > php_cpdf.dll > php_ftp.dll > php_cybercash.dll > php_domxml.dll > php_fdf.dll > php_gd.dll > php_imap.dll > php_oci8.dll > php_oracle.dll > php_pdf.dll > php_pgsql.dll > php_sybase_ct.dll > php_zlib.dll > php_ifx.dll > php_interbase.dll > php_dotnet.dll > php_gettext.dll > php_java.dll > php_java.jar > php_ldap.dll > php_mssql65.dll > php_mssql70.dll > php_mhash.dll > php_sablot.dll > php_db.dll > > Sorry but no SWF extension. > > Have fun, > Matthias > > -- > $ [ Where is Jimmy Hoffa? > [: missing `]¡ä > > > -Original Message- > > From: Edward Wong [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, October 19, 2000 7:21 AM > > To: PHP_Windows > > Subject: [PHP-WIN] Where to download all the isolated .dll file > > of PHP 4.03pl1 > > > > > > Hi: > > > > I want to complete package that includes all the .dlls of PHP4, > > but the .zip file I downloaded from php.net does not contains all. > > For instance, I want the SWF extension, but not knowing where to > > download it, can anyone give a hint? > > > > Thanks you all. > > > > > > > > Regards. > > > > Edward Wong > > [EMAIL PROTECTED] > > > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-WIN] Pear Installer on Windows
Hi, I managed to install go-pear on my win2000 desktop. To actually have the installer work, I need to set the following 3 variables in the .bat file: set PHP_BIN= set BIN_DIR= set PEAR_PATH= %PHP_BIN% -C -d output_buffering=1 -d include_path=%PEAR_PATH% -f %BIN_DIR%\pear -- %1 %2 %3 %4 %5 %6 %7 %8 %9 My installation looks like this: C:\php php.exe pear\ PEAR.php System.php Mail.php DB.php PEAR\ XML\ etc... My guess is: set PHP_BIN= c:\php\phe.exe set BIN_DIR= ?? set PEAR_PATH=c:\php\PEAR\ I am stuck at this point. Thanks for your help, Pascal -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] preg_match issue
I have a function that checks the syntax of a string using preg_match. This function is used in a loop and always hangs on the same string (7 out of many more). However, the function acts as expected when used individually on that string (ie when the array of strings to loop on is reduced to just the "problem string". The string and the preg_match are: $text = 'C56_3, C55_3, C57_3, C59_3, C58_3, C52_3, C50_3, C53_3, C54_3, C51_3, C60_3, C2_3, C3_2, C7_2, C8_2, C5_2, C64_3, C61_3, C65_3, C67_3, C66_3, C28_3, C29_3, C26_3, C27_3, C32_3, C33_3, C30_3, C31_3, C1_2, C4_2, C6_2, C9_3, C24_3, C25_3, C22_3, C23_3, C44_3, C45_3, C42_3, C43_3, C48_3, C49_3, C46_3, C47_3, C36_3, C37_3, C34_3, C35_3, C40_3, C41_3, C38_3, C39_3, C41_2, C40_2, C43_2, C42_2, C39_2, C36_2, C35_2, C38_2, C37_2, C7_0, C48_2, C11_0, C16_0, C47_2, C18_0, C44_2, C46_2, C45_2, C4_1, C27_2, C8_1, C3_1, C26_2, C1_1, C23_2, C25_2, C24_2, C32_2, C31_2, C34_2, C33_2, C30_2, C6_1, C28_2, C29_2, C5_1, C10_0, C19_0, C21_0, C22_0, C23_0, C59_2, C56_2, C55_2, C58_2, C57_2, C66_2, C65_2, C1_0, C67_2, C64_2, C60_2, C20_0, C61_2, C15_0, C12_0, C13_0, C17_0, C6_0, C14_0, C8_0, C9_0, C2_0, C3_0, C24_0, C52_2, C54_2, C53_2, C51_2, C5_0, C4_0, C50_2, C49_2, C47_1, C48_1, C45_1, C46_1, C49_1, C52_1, C53_1, C50_1, C51_1, C44_1, C37_1, C38_1, C35_1, C36_1, C39_1, C42_1, C43_1, C40_1, C41_1, C5_3, C6_3, C66_1, C67_1, C8_3, C1_3, C7_3, C3_3, C4_3, C65_1, C56_1, C57_1, C54_1, C55_1, C58_1, C61_1, C64_1, C59_1, C60_1, C27_1, C26_1, C25_1, C28_1, C2_2, C30_1, C29_1, C2_1, C9_2, C7_1, C22_1, C24_1, C23_1, C22_2, C31_1, C32_1, C33_1, C9_1, C34_1'; var_dump(preg_match('/^\W*(?:[A-Z]{1,4}\d{1,3}(?:_\d{1,2})?(?(?!\Z)\W+))+$/' , $text)); Does anybody have any tips on what to try/look for? Thanks, Pascal -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] preg_match issue
I have a function that checks the syntax of a string using preg_match. This function is used in a loop and always hangs on the same string (7 out of many more). However, the function acts as expected when used individually on that string (ie when the array of strings to loop on is reduced to just the "problem string". The string and the preg_match are: $text = 'C56_3, C55_3, C57_3, C59_3, C58_3, C52_3, C50_3, C53_3, C54_3, C51_3, C60_3, C2_3, C3_2, C7_2, C8_2, C5_2, C64_3, C61_3, C65_3, C67_3, C66_3, C28_3, C29_3, C26_3, C27_3, C32_3, C33_3, C30_3, C31_3, C1_2, C4_2, C6_2, C9_3, C24_3, C25_3, C22_3, C23_3, C44_3, C45_3, C42_3, C43_3, C48_3, C49_3, C46_3, C47_3, C36_3, C37_3, C34_3, C35_3, C40_3, C41_3, C38_3, C39_3, C41_2, C40_2, C43_2, C42_2, C39_2, C36_2, C35_2, C38_2, C37_2, C7_0, C48_2, C11_0, C16_0, C47_2, C18_0, C44_2, C46_2, C45_2, C4_1, C27_2, C8_1, C3_1, C26_2, C1_1, C23_2, C25_2, C24_2, C32_2, C31_2, C34_2, C33_2, C30_2, C6_1, C28_2, C29_2, C5_1, C10_0, C19_0, C21_0, C22_0, C23_0, C59_2, C56_2, C55_2, C58_2, C57_2, C66_2, C65_2, C1_0, C67_2, C64_2, C60_2, C20_0, C61_2, C15_0, C12_0, C13_0, C17_0, C6_0, C14_0, C8_0, C9_0, C2_0, C3_0, C24_0, C52_2, C54_2, C53_2, C51_2, C5_0, C4_0, C50_2, C49_2, C47_1, C48_1, C45_1, C46_1, C49_1, C52_1, C53_1, C50_1, C51_1, C44_1, C37_1, C38_1, C35_1, C36_1, C39_1, C42_1, C43_1, C40_1, C41_1, C5_3, C6_3, C66_1, C67_1, C8_3, C1_3, C7_3, C3_3, C4_3, C65_1, C56_1, C57_1, C54_1, C55_1, C58_1, C61_1, C64_1, C59_1, C60_1, C27_1, C26_1, C25_1, C28_1, C2_2, C30_1, C29_1, C2_1, C9_2, C7_1, C22_1, C24_1, C23_1, C22_2, C31_1, C32_1, C33_1, C9_1, C34_1'; var_dump(preg_match('/^\W*(?:[A-Z]{1,4}\d{1,3}(?:_\d{1,2})?(?(?!\Z)\W+))+$/' , $text)); Does anybody have any tips on what to try/look for? Thanks, Pascal PS I haven't found any notice about this, but I am starting to think there might be a limit to either the length of the string passed to preg_match or the number of time a pattern is repeated in preg_match. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] preg_match
I haven't found any notice about this, but I am starting to think there might be a limit to either the length of the string passed to preg_match or the number of time a pattern is repeated in preg_match. See my earlier post for details. Thanks, Pascal -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php