Problem with php and internal methods

From: Eamon Reyn (eamonreyn_at_clear.net.nz)
Date: 05/27/04


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



Relevant Pages

  • Re: Problem with php and internal methods
    ... school and work on the machine that I have there it throws the following ... I am assuming the problem has occurred in my setting up of php but I cannot ... professional machine running novell networking software (at home I just run ... XP pro) is their any machine settings that could cause this error? ...
    (alt.php)
  • Re: Totally ON topic!!!
    ... to make a PHP/MySQL web-store for school by the end of the semester with two other guys. ... Here's an old PHP site I started but never finished. ... Show me any other programming resource as concise, well laid out, well conformed, understandable and useful as php.net, and Ill give you a biscuit (not THE biscuit mind you). ... No professionals." ...
    (alt.2600)
  • Re: Advice for Graduate Web Developer Interview (PHP/MySQL)
    ... Get a different job or go to school to learn what is required!"Jim ... Berwick" wrote in message ... > together a PHP application that can take your name and email address, ...
    (alt.php)
  • Aggregate/Scalar or via code?
    ... I have begun taking a database class in school, which is where this question spawned from. ... using code (such as PHP, ... // retrieve the entire column via a query, ...
    (alt.php)
  • Re: build db-connection and get some data
    ... >>im a developer in php and i have to build a webservice for school! ...
    (microsoft.public.dotnet.framework.aspnet)