POSTing without a form
Moderator: General Moderators
Aha, sessions would be a hazzle then...
I thought of another thing, and that is by using [php_man]header[/php_man]()'s. How, I'm not entirely sure, but I saw these headers flying by when testing a post on the local server:
Perhaps that is an option.
I thought of another thing, and that is by using [php_man]header[/php_man]()'s. How, I'm not entirely sure, but I saw these headers flying by when testing a post on the local server:
Code: Select all
Content-Type: application/x-www-form-urlencoded
Content-Length: 7
|_foo=barYou can't send a POST request with header, that's why you have to talk raw http yourself using sockets. The link I posted earlier shows an example.JAM wrote:Aha, sessions would be a hazzle then...
I thought of another thing, and that is by using [php_man]header[/php_man]()'s. How, I'm not entirely sure, but I saw these headers flying by when testing a post on the local server:Perhaps that is an option.Code: Select all
Content-Type: application/x-www-form-urlencoded Content-Length: 7 |_foo=bar
I needed this functionality so that I could retrieve content from an internal site running ASP and display it on the public site.
Yes, badly written of me. I was referring to the headers (not really the function)...
Might be interesting;
http://sourceforge.net/projects/snoopy/
http://forums.devshed.com/t33442/s.html
Might be interesting;
http://sourceforge.net/projects/snoopy/
http://forums.devshed.com/t33442/s.html