Is there a way to send POST data using HTTP headers without a form from PHP?
5
-
1PHP runs on the server side. Do you mean "from javascript"?Joe Flynn– Joe Flynn2012-05-01 01:38:39 +00:00Commented May 1, 2012 at 1:38
-
is something like this what ur looking for? [Post to a page using PHP header function][1] [1]: stackoverflow.com/questions/653090/…Hazy McGee– Hazy McGee2012-05-01 01:38:49 +00:00Commented May 1, 2012 at 1:38
-
I know php is server side, but you can set headers. EX: header("location: google.com")Ethan H– Ethan H2012-05-01 01:39:59 +00:00Commented May 1, 2012 at 1:39
-
Like cURL you mean? php.net/manual/en/book.curl.phpPorridgeBear– PorridgeBear2012-05-01 01:41:05 +00:00Commented May 1, 2012 at 1:41
-
Sort of, except my host won't allow adding extensions to the PHP installation; is there any way to send a value without using a form, $_GET, $_SESSION, $_COOKIES (I don't want it to be saved or shown anywhere)Ethan H– Ethan H2012-05-01 01:45:37 +00:00Commented May 1, 2012 at 1:45
Add a comment
|