Re: $_REQUEST problem
From: John Unleaded Smith (test_at_test.com)
Date: 07/20/04
- Next message: Gordon Burditt: "Re: Session Security"
- Previous message: deko: "Re: How to inspect array elements based on criteria?"
- In reply to: kingofkolt: "Re: $_REQUEST problem"
- Next in thread: Michael Fesser: "Re: $_REQUEST problem"
- Reply: Michael Fesser: "Re: $_REQUEST problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 20 Jul 2004 14:14:40 +1000
kingofkolt wrote:
> "melty" <m@lty.com> wrote in message news:1090294263.937002@hkpu01...
>
>>This line of code make an "Undefined index" error on my PC, however it is
>>okay on my friend's PC.
>>Anyone has this experience?
>>
>>
>>$somevar = $_REQUEST["name"];
>>
>>
>>
>
>
> Try accessing the page with a query string of "?name=foo" or sending a
> $_POST variable called "name"...
>
A high level of error reporting will also cause PHP to print those
messages/warnings.
In php.ini;
error_reporting = E_ALL & ~E_NOTICE
should suffice.
- Next message: Gordon Burditt: "Re: Session Security"
- Previous message: deko: "Re: How to inspect array elements based on criteria?"
- In reply to: kingofkolt: "Re: $_REQUEST problem"
- Next in thread: Michael Fesser: "Re: $_REQUEST problem"
- Reply: Michael Fesser: "Re: $_REQUEST problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|