"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
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
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
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
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
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
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
"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
"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
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
"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
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
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
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
"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
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,
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.
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
"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
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
"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
21 matches
Mail list logo