|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-10-13 23:18 UTC] pickleman78 at sbcglobal dot net
I sem to have this problem. I recently upgraded to PHP 4.2.3. Since it has register_globals turned off, I went through and attempted to modify my code to the new format. I seem to keep having this one problem though.
When I view this in a browser(IE 5.5) <form action=<?php echo($_SERVER('PHP_SELF']); ?> method=post> it will not give me any output, no warnings, no errors, nothing. When I isolated just this piece of code, and put it in a seperate document, it should have had the output of
<form action=mypage.php method=post>, but for some reason it would not parse it. I have no clue why this is happening. Is it a bug, or am I just stupid?
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 15 23:00:01 2025 UTC |
try it with a different client, like wget or cURL. also, what does this script output? <?php error_reporting(E_ALL); header("Content-Type: text/plain"); print_r($_SERVER['PHP_SELF']); ?>Is this just I typo in your bug report or is this copied and pasted from your actual file? <form action=<?php echo($_SERVER('PHP_SELF']); ?> method=post> ^ Should be: <form action=<?php echo($_SERVER['PHP_SELF']); ?> method=post>