|
Posted by igorp on 04/21/07 19:49
On Apr 10, 5:22 am, l...@portcommodore.com wrote:
> Given your semicolons and quotes I would start by cleaning to:
>
> <?php
> echo "Hello this is a test file on my server Seen: $_POST[seen] </
> br>";
> if(!isset($_POST['seen']) )
> {
> echo "HERE...";
> $_POST['seen'] = 'yes';
> require $_SERVER['SCRIPT_FILENAME'];} else {
>
> echo "Not here...";}
>
> echo "At the end of script ";
>
> ?>
>
> Normally I would load-in my POSTs through a filter before doing
> anything with them
>
> $seen = filterPost('seen');
>
> Of course filterPost woud be something that strips bad data coming in
> unexpectedly.
>
> >From there I would be messing with $seen then the $_POST['seen']
>
> element.
>
> Also the echo before the isset() check may result in an error if
> theere was no $_POST['seen'] data.
>
> Larry
Update: I found the problem to be directly connected to the fact that
the PHP v. 5 has been run as CGI at my hosting provider servers .
Otherwise, if I use PHP 4 it works just fine. Still, if you know how
to cause it working with CGI-PHP it would be very helpful to me.
Navigation:
[Reply to this message]
|