ID:               29009
 Updated by:       [EMAIL PROTECTED]
 Reported By:      zidokid at hotmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         URL related
 Operating System: Windows XP Professional
 PHP Version:      4.3.7
 New Comment:

In PHP 4.2.0, the 'register_globals' setting default changed to
'off'. See http://www.php.net/release_4_2_0.php for more info.
We are sorry about the inconvenience, but this change was a necessary
part of our efforts to make PHP scripting more secure and portable.




Previous Comments:
------------------------------------------------------------------------

[2004-07-04 17:42:39] zidokid at hotmail dot com

Description:
------------
I am using an Apache 2 Server, in the http.conf file, i installed php
using this method: 

LoadModule php4_module c:/php/sapi/php4apache2.dll
AddType application/x-httpd-php .php

Whenever I try to define a variable at the URL such as
http://www.website.com/main.php?txt=something
then it DOESNT show the variable on the screen, however, when i define
a variable from inside the source code, such as <?php $txt = something;
?> then the variable DOES show on the page. Please tell me how to get
rid of this bug.

Reproduce code:
---------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body>
<?php
echo $txt;
?>
</body>
</html>


Expected result:
----------------
When i type http://zidokid.kicks-ass.net/t.php?txt=something

I expected that i would get a page that says "something".

Actual result:
--------------
Nothing appeared on the page.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29009&edit=1

Reply via email to