RE: [PHP] automatic link execution after form submit

From: Date: Fri, 04 Apr 2003 09:35:40 +0000
Subject: RE: [PHP] automatic link execution after form submit
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-142278@lists.php.net to get a copy of this message
Hallo, > -----Original Message----- > From: Fritz [mailto:globalmueller@netscape.net] > Sent: Saturday, March 29, 2003 8:26 PM > Subject: [PHP] automatic link execution after form submit > I am stuck on "executing" automaticaly > a URL-string to be sent to a perl-script. 1) Redirect, using HTTP functionality: header('Location: '.$strURL, true); // Redirect browser exit(); // Make sure that code below does not get executed when we redirect. This is used if user should get the response of the redirected page/script. 2) Use CURL, see PHP documentation of CURL. This can be used if user shouldn't get the response of the redirected page/script. Regards, Jens BTW: Sun is shining bright, otherwise I would say: RTFM ;)

« previous php.general (#142278) next »