Jump to content

Use PHP To Submit Forms...?


tarun

Recommended Posts

Well...

I Saw Something Like This

submit.php?field1=test&field2=data&url=http://www.externalwebsite.com/handler.php&method=_post

 

 

I Was Just Wondering How To Do It

 

 

 

 

 

Any Help...?

 

Thnx,

Tarun

Link to comment
Share on other sites

I am still confused on the question, if you want a secure way to pass data around POST works or you can use GET data in a way where you use an encryption/decryption function both sites know the encryption key, pass the data serialized and encrypted as a GET string and when it is received on the other end decrypt it and un-serialize the array of data and voila you have the data.

 

If you can elaborate more on what you are getting at it would be helpful.

Link to comment
Share on other sites

submit.php?field1=test&field2=data&url=http://www.externalwebsite.com/handler.php&method=_post

 

I think the OP wants to have values submitted to his server then POST those variables to an external website (as the url parameter suggests).  The only way this can be accomplished is by parsing the HTTP request to your server (submit.php) and then forming another HTTP request to http://www.externalwebsite.com/handler.php either using Curl or sockets.  This is what I took from the OP, maybe they could clarify.

 

Patrick

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.