[PHP-WIN] Re: Problems acessing post data

2002-06-30 Thread Steve Yates
"JoãO" Paulo Batistella" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > OK under Linux but nothing happens on Windows. I bet they are different PHP versions? With 4.2, you must use $_POST['varname'], since by default the register_globals .INI file option is turned off. -

[PHP-WIN] Re: errormessage: undefined variables - why define them?

2002-06-30 Thread Steve Yates
"Uwe Birkenhain" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > - is it now neccessary to define variables before I use them??? No, but realize 4.2 changed how variables are referenced. By default register_globals is set to off now. - Steve Yates - Mak

[PHP-WIN] Re: 404 error not being triggered for files with a php extension

2002-06-30 Thread Steve Yates
"Ian Tuck" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > For some reason, when I request a file with a php extension that doesn't > exist, apache doesn't check to see if it exists before sending it off to > php.exe. To possibly save you some head-beating and wall dents, I r

[PHP-WIN] Re: errormessage: undefined variables - why define them?

2002-06-30 Thread Uwe Birkenhain
It was again very easy, I woke up this morning (at 6) and remembered that there are different possibilites to adjust the behavior of errormessages in php.ini - and that was it: "show all errormessages and warnings" - what I never have on the server. And then php will will warn me - and will later

RE: [PHP-WIN] function call ????

2002-06-30 Thread toby z
thnx bruce, paul, chris, cal ... but i ve tried it inlcude doesnt work i keep gettin this error: Warning: Failed opening 'http:\localhost\cat_disply.php' for inclusion (include_path='C:\WINDOWS\system32\inetsrv\php') in e:\final project\zroot\z3.php on line 3 my tries to make line 3 wor

[PHP-WIN] Re: filemtime()

2002-06-30 Thread Matt Parlane
Hi James... Yep - filemtime() works fine on Windows. And to answer Peter - it's not safe to assume that if something works on *nix PHP, it will work on Windows PHP - have a look a usleep(), or perhaps the entire PCNTL function family. Thanks, Matt "James McLean" <[EMAIL PROTECTED]> wrote in m

RE: [PHP-WIN] filemtime()

2002-06-30 Thread Peter
do a search for it in the manual :) if it works on php unix it will work with php windows :) -Original Message- From: James Mclean [mailto:[EMAIL PROTECTED]] Sent: Monday, 1 July 2002 2:15 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] filemtime() Hi, Anyone know if the fun

[PHP-WIN] filemtime()

2002-06-30 Thread James Mclean
Hi, Anyone know if the function filemtime() is available in php, running under IIS 5 on Windows 2000 Server? (i hate windows, why cant the world use Unix?) Cheers -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-windows Digest 30 Jun 2002 20:42:19 -0000 Issue 1218

2002-06-30 Thread php-windows-digest-help
php-windows Digest 30 Jun 2002 20:42:19 - Issue 1218 Topics (messages 14477 through 14480): Re: Programmer Job Posting: Work From Home 14477 by: Saci Re: 404 error not being triggered for files with a php extension 14478 by: Peter errormessage: undefined variables - why de

[PHP-WIN] Re: errormessage: undefined variables - why define them?

2002-06-30 Thread Peter
if you just say $some_var = "this" that defines the variable. but if you had something like if ($some_var == "that") without setting $some_var to something beforehand you would probably get an error. "Uwe Birkenhain" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PRO

[PHP-WIN] errormessage: undefined variables - why define them?

2002-06-30 Thread Uwe Birkenhain
Hi everybody, I have PHP 4.21 since today running on my win98-PC (YEAH!) Now I try the programs which I usually use on a webserver - they work basically, but I get a lot of errormessages like "Undefined variable: mod in ." Two questions: - is it now neccessary to define variables before I us

[PHP-WIN] Re: 404 error not being triggered for files with a php extension

2002-06-30 Thread Peter
Are you using the CGI version of PHP then and does this give you internal server errors as well? The only way around this I think would be to write an error handling document for Apache, written in PHP. This PHP script could then check to see if the file exists. If it doesn't, then return a 404 e