Problem with php and internal methods
From: Eamon Reyn (eamonreyn_at_clear.net.nz)
Date: 05/27/04
- Next message: M3k: "Re: Problem with php and internal methods"
- Previous message: Jorntk: "load balancing a php site"
- Next in thread: M3k: "Re: Problem with php and internal methods"
- Reply: M3k: "Re: Problem with php and internal methods"
- Reply: Paul Delannoy: "Re: Problem with php and internal methods"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 28 May 2004 01:50:59 +1200
Hi
I have a web page written in php it works at home but when I take it to
school and work on the machine that I have there it throws the following
error.
I am assuming the problem has occurred in my setting up of php but I cannot
see any obvious reasons why.
Another possible cause could be the machine I am running on as it is a XP
professional machine running novell networking software (at home I just run
XP pro) is their any machine settings that could cause this error?
when I run a file with the following in it <?PHP phpinfo(); ?> it shows the
appropriate data and the rest of the web page appears with the error message
in it so I am figuring the server is working to some level.
Here is the error:
Notice: Undefined variable: REQUEST_METHOD in c:\program files\apache
group\apache\htdocs\ieee1484\search\viewSearch.php on line 21.
Here is the code that causes it:
if ($REQUEST_METHOD == "POST"){
I would appreciate any ideas people might have.
Eamon
- Next message: M3k: "Re: Problem with php and internal methods"
- Previous message: Jorntk: "load balancing a php site"
- Next in thread: M3k: "Re: Problem with php and internal methods"
- Reply: M3k: "Re: Problem with php and internal methods"
- Reply: Paul Delannoy: "Re: Problem with php and internal methods"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|