Jump to content

Recommended Posts

I have a situation where I have a fairly standard registration form that users fill out.  Now here's what I can't figure out: when the form is submitted, I need to be able to record the form info into a database on my site AND also call a URL of another site that will pass the email to them.

 

Right now the form uses POST to submit.  How can I then take some of the posted info, incorporate that into a special URL (something like http://www.somesite.com?email=XXXX?name=XXXX), and then use either GET or POST to send to that other site?

 

Does this make sense?  I've tried all kinds of javascript tricks like popping open a new window that calls the URL and then closes itself right away but even that isn't reliable.  Any ideas?  Thanks!  ???

 

Link to comment
https://forums.phpfreaks.com/topic/113807-double-form-posting/
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.