Re: HTTP 404 ERROR

From: Date: Thu, 16 Nov 2000 09:08:59 +0000
Subject: Re: HTTP 404 ERROR
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-4464@lists.php.net to get a copy of this message
In article <B6386A5B.639E%burney@gseis.ucla.edu>, burney@gseis.ucla.edu (Paul Burney) wrote: > >> <form method="post" action="<?php echo $PHP_SELF?>"> > > > > Have you tried echoing $PHP_SELF to screen to check its value? I think I > > read somewhere that the closing "?>" likes a space in front of it, in > > which > > case the form action may not be what you're expecting. > > You should probably also put a semicolon (;) after the $PHP_SELF just for > good form. If the lack of a semi-colon does turn out to be the problem, then you should submit a bug report. From the PHP manual < http://php.net/manual/language.basic-syntax.instruction-separation.php>: "The closing tag (?>) also implies the end of the statement, so the following are equivalent: <?php echo "This is a test"; ?> <?php echo "This is a test" ?>" -- CC

« previous php.db (#4464) next »