Re: Calling HTML pages

From: Date: Wed, 04 Jun 2003 20:43:30 +0000
Subject: Re: Calling HTML pages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-150266@lists.php.net to get a copy of this message
When I tested it, I recieved a Forbidden 403 page from apache. Intresting... Any Ideas. I know its a permissions issue, but I thought that I was simply calling the page because an error was found.. ----- Original Message ----- From: "Edward Peloke" <epeloke@echoman.com> To: <php-general@lists.php.net> Sent: Wednesday, June 04, 2003 3:26 PM Subject: RE: [PHP] Calling HTML pages > just remember you can't have any other output before the header() function > is used... > > -----Original Message----- > From: Jay Blanchard [mailto:jay.blanchard@niicommunications.com] > Sent: Wednesday, June 04, 2003 4:19 PM > To: Daniel J. Rychlik; php-general@lists.php.net > Subject: RE: [PHP] Calling HTML pages > > > [snip] > > I was looking for a function that will take you to a html page. For > instance. > > I have a function that checks for !empty values in $_POST; What I would > like to do is if the field is empty then > > go back to the form. I have a function > > function display_error ($err) { > > echo $err; # I need to redirect or automatically go to the previous > page. > > } > > Is their a PHP function already written that does this ? > [/snip] > > > header() is the function you're looking for. > > HTH! > > Jay > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#150266) next »