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.

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
}

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...

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.