Forming HTTP Header to POST

From: Date: Tue, 08 Oct 2002 16:17:55 +0000
Subject: Forming HTTP Header to POST
Groups: php.general 
Request: Send a blank email to php-general+get-119287@lists.php.net to get a copy of this message
Greetings, With register_globals off, I can no longer call specific functions form my PHP script by linking text/graphic as such: http://www.mysite.com/mydb/myevts.php?action=add_event What I need to do, of course, is get "add_event" sent in something like a POST command. I could make a page with a bunch of forms / buttons / etc. but this is ugly. With the header() function, shouldn't I be able to make an HTTP header that would simulate POSTing from a form? Or is there some other way I can simulate POSTing from a form? My goal is for the user to be able to click on what appears to be an ordinary link (text or picture) and have that click "POST" my action=add_event to myevts.php. Any ideas? Thanks, Paul Kaiser -- Illini Media: 265-9844 Home: 351-8149

« previous php.general (#119287) next »