Bug #17301: Uhh.. just read the description
| From: | shilo27560 at yahoo dot com | Date: | Sat, 18 May 2002 02:05:53 +0000 |
| Subject: | Bug #17301: Uhh.. just read the description | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-7971@lists.php.net to get a copy of this message | ||
From: shilo27560@yahoo.com
Operating system: Windows 98
PHP version: 4.2.1
PHP Bug Type: Variables related
Bug description: Uhh.. just read the description
I have recently upgraded to php version 4.2.1 and before that everything
was working fine, but now evertime i use a variable which is defined by
user input on a seperate html form or gets its value from a query string
it get this error:
Notice: Undefined variable: room in c:\program
files\apache\apache\htdocs\php\index.php on line 10
Notice: Undefined variable: room in c:\program
files\apache\apache\htdocs\php\index.php on line 11
even though i reach it like this, http://aptiva/php/index.php?room=Aptiva
it still comes out with the same error
If you are still unclear what i am trying to say (im not the best at
explaining things) then check out the below exapmle of a code that would
give me this error:
I would type in the url for this script while including the query string
of ?username=hi&password=hito
which would leed to this script,
<?
echo"
The username is <? echo $username; ?>
The Password is <? echo $password; ?>
"
?>
and i would get the error of :
Notice: Undefined variable: username in c:\program
files\apache\apache\htdocs\php\index.php on line 3
Notice: Undefined variable: password in c:\program
files\apache\apache\htdocs\php\index.php on line 4
Can anyone help me here?
PS. i am a twelve year old so be descriptive
also i am using apache as my server software
--
Edit bug report at http://bugs.php.net/?id=17301&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17301&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17301&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17301&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17301&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17301&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17301&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17301&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17301&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17301&r=globals