Jump to content

Submit to multiple PHP files possible?


soccerrprp1

Recommended Posts

hi shlumph,

 

well, i want to create multiple versions of the same php file. so, want to be able to post input to all of these and the various versions are being used by others in different ways. kind of having 3 or 4 different styles of the same php file.

 

how would i go about doing this?

 

thanks.

Link to comment
Share on other sites

Like PaulRyan mentioned, you could use AJAX which would probably be the easier route if you're familiar with it. Otherwise, you'd have to use cURL:

if(isset($_POST))
{
     //cURL request to V1

    //cURL request to V2

   //cURL request to V3
}

Link to comment
Share on other sites

Thanks guys. Found an incredible ajax/jquery solution. :)

 

Check this out! http://stackoverflow.com/questions/1585307/how-to-form-post-to-multiple-locations

 

I LOVE IT WHEN PEOPLE ARE WILLING TO SHARE THEIR TALENTS AND KNOWLEDGE! MAKES THIS WHOLE TECH STUFF FUN AND FAR LESS FRUSTRATING!

 

Thank you! Wouldn't have gone the ajax route if not mentioned. Still learning this stuff...

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.