On 20 Sep 2008, at 01:23, Michelle Konzack wrote:
Am 2008-09-05 17:11:58, schrieb Stut:
You're trying to post to the browser which won't know how to handle
it. The header() function is modifying the response headers that are
being sent back to the browser, they do not create a new request.
If you want to do a new request I suggest looking at curl. If you
actually want the browser to make the new request the only way is to
return a hidden form and auto-submit it with JS. However, as someone
else pointed out if that second request is coming back to the same
server there probably isn't any need for a second request at all.
Why using JS?
echo "<meta http-equiv=\"refresh\" content=\"0;" . $FULL_URL "\">";
would do the trick...
Bloody nora Michelle. If you're going to post answers to week-old
questions please have the decency to read the question properly. The
OP wanted to automatically POST some data. That's not gonna happen
with a meta tag no matter how much you want it to do it.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php