FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Sending POST information

 


PatTheGreat42
Alrighty. Just to make sure everyone knows what I'm talking about, let's talk about forms. One of the options when setting up a form is to send the information using the POST method.

The question: Is there any way to send information using the POST method in PHP without using a form? Like, using a header or something? Thanks!
Stubru Freak
From PHP (Server-side!) you can use the cURL functions (if supported by your server).
Client-side you can use AJAX.
Ranfaroth
You could simply use the fsockopen function.
thnn
I would use curl as it is very secure, and allows you to post using the POST or GET methods, you can get the returned data and you are also able to log into a secured directory.
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.