[PHP-WIN] Re: Q on TZ on Win 2k

2003-10-02 Thread jsWalter
"Shadow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > echo date ( "T", mktime() ); > Shouldn't that be echo (date ( "T", mktime() )); ? Either one will work. Now back to the orginal question, pls. ??? walter -- PHP Windows Mailing List (http://www.php.net/) To unsubscrib

[PHP-WIN] Q on TZ on Win 2k

2003-10-01 Thread jsWalter
Why does this line... echo date ( "T", mktime() ); Give me 'BST' on my Win 2k pro box? Walter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] TimeZone and DST on windows...

2003-09-30 Thread jsWalter
How can I query the windows system for the Time Zone that particular machine is sitting on? Also, I would like to know if Daylight Savings Time is in effect on that machine as well. Can any one help? Thanks Walter BTW: I've looked at PEAR:Date:TimeZone::getDefault() It thinks I'm in Bang

[PHP-WIN] Re: db connection php & mssql & win2k

2003-08-29 Thread jsWalter
This is what I use... // Pull in DB PEAR Collection require_once 'DB.php'; // What kind of database server are we connecting too? $db_type = 'mysql'; // local connectivity data $db_host = 'localhost'; $db_user = 'dbUsername $db_pass = 'dbUserPW'; $db_name = 'dbName'; // Data Source Name: This

[PHP-WIN] Hack Q...

2003-08-10 Thread jsWalter
Is someone trying to hack my computer? "GET /scripts/..%255c%255c../winnt/system32/cmd.exe?/c+dir" Any idea what this means? walter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] how can I get errors to display in a browser?

2003-08-03 Thread jsWalter
I have a test script, with deliberate errors. The broswer shows nothing, blank, empty. It used to show errors, now it does not. No idea what I did to turn it off. Can someone tell me hoew to turn it back on? In my php.ini file, it says... error_reporting = E_ALL I thought that was wha

[PHP-WIN] Q on parts of PHP?Apache setup...

2003-08-02 Thread jsWalter
These are the config commands I have for PHP under Apache... LoadFile "/etc/php/php4ts.dll" Action application/x-httpd-php "/etc/php/php.exe" LoadFile "/etc/php/gnu_gettext.dll" LoadModule php4_module "/etc/php/sapi/php4apache2.dll" ScriptAlias /php/ "/etc/php/" AddType appli

[PHP-WIN] Re: Q on PHP 4.3.2 & Apache 2.0.43

2003-08-01 Thread jsWalter
"Sek-Mun Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Well, it works for me under 1.3.28, that might be the difference here. ?? > so let me walk through your apache config. > > I'm sure there are issues with the script to say the least, refering to my script? or th

[PHP-WIN] Re: Q on PHP 4.3.2 & Apache 2.0.43

2003-07-31 Thread jsWalter
"Sek-Mun Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I can only assume you are refering to... > > > > LoadModule php4_module "/etc/php/sapi/php4apache2.dll" > > > > oops just spotted this... maybe this is the issue? the function might not > like what apache2/win32 retu

[PHP-WIN] Re: Q on PHP 4.3.2 & Apache 2.0.43

2003-07-31 Thread jsWalter
So, we mark this down as a bug in the go-pear web-access script? Walter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Q on PHP 4.3.2 & Apache 2.0.43

2003-07-31 Thread jsWalter
"Sek-Mun Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > red herring! well, wild goose maybe. > those are Apache directives you've listed, right > not php.ini settings. right > I assume you mean php.conf which is included by httpd.conf? Right again. > > I assume yo

[PHP-WIN] Q on PHP 4.3.2 & Apache 2.0.43

2003-07-31 Thread jsWalter
I am trying to run the web installer for PEAR. I get this message... Sorry! The PEAR installer actually does not work on Windows platform using CGI and Apache. Please install the module SAPI (see http://www.php.net/manual/en/install.apache.php for the instructions) or use the CLI

[PHP-WIN] my script on php 4.3.2 kills apache 2.x

2003-07-30 Thread jsWalter
I have a simple little script... If I run this script from... http://localhost/dateTest.php I get a nice blank screen If I run this script from... http://localhost/test/dateTest.php I also get a nice blank screen But, if I run this script from... http://localhost/test/tes

[PHP-WIN] PHP and mod_perl and Apache2

2003-07-17 Thread jsWalter
Anyone have any idea why I can't run PHP and mod_perl in the same web structure? I am getting this in my error log... [Thu Jul 17 14:02:07 2003] [error] 2508: ModPerl::Registry: Unterminated <> operator at G:/home/walter/htdocs/test.php line 1. Why would Apache be trying to run mod_per

[PHP-WIN] Re: Fatal error with 'DB.php' - solution

2003-07-17 Thread jsWalter
"Jswalter" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > OK, I solved it. > > It seems that I **HAVE TO**, **MUST**, **NO CHOICE** place my php.ini in > C:\WINNT (for NT and 2k) or PHP will not find it. This is a hardcoded path > done at compile

[PHP-WIN] php4apache2.dll

2003-07-17 Thread jsWalter
What part of phpinfo.php tells me that mod_php4 is loaded and running on my Apache2/PHP 4.3.2 Win 2k system? php.conf (apache conf): # Windows Win32 version LoadModule php4_module modules/php4apache2.dll LoadFile "/etc/php/php4ts.dll" NOTE: pls, no comments on the lack of volume letter,

Re: [PHP-WIN] Re: Fatal error with 'DB.php' - solution

2003-07-06 Thread jsWalter
Thank! You! Of all the documents I've read in the last 5 days, I didn't find that info anyway (now, I'm not saying it's not there, I'm just saying I missed it) I'm happy to get php.ini out of the windows system directory. Thank you very much. Walter -- PHP Windows Mailing List (http://www.

[PHP-WIN] Re: Fatal error with 'DB.php' - solution

2003-07-05 Thread jsWalter
OK, I solved it. It seems that I **HAVE TO**, **MUST**, **NO CHOICE** place my php.ini in C:\WINNT (for NT and 2k) or PHP will not find it. This is a hardcoded path done at compile time. So, since no ini file, PHP was running on default values, thus it could not find DB.php since the default path

[PHP-WIN] Re: Fatal error with 'DB.php'

2003-07-04 Thread jsWalter
"Cristian Marin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > There are two modes to solve this: > - First when you are calling the file give the exact path from the file you > are calling to the DB.php OK, I did... require_once 'G:\etc\php\PEAR\DB.php'; This displayed nothin

[PHP-WIN] Fatal error with 'DB.php'

2003-07-03 Thread jsWalter
I am trying to use DB.php, but I am getting htis error... Fatal error: main(): Failed opening required 'DB.php' (include_path='.;c:\php4\pear') I can't find this path defined *anywhere* I don't have PHP installed thee. How can I "fix" this include path issue. Thanks Walter -- PHP Windows

[PHP-WIN] Re: php_ftp.dll

2003-07-02 Thread jsWalter
"Canadaka" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Me and a friend have been trying to make a php ftp client, it works fine on > *nix systems, but not on Windows. We looked at everything, until i finaly > noticed that php 4.2.3 is missing in the php.ini the extension=php_ftp.d