Jump to content

Need Help with PHP curl and Ajax


deepakfugo

Recommended Posts

Hi All,

 

We 've 20 promotional websites and we want to centralize the contact us form.

 

We have contact us form that is kept in Server 2 and all the other web sites kept in server 1, now i need to include the contact us form (server1) inside websites(server 2).

 

For this i am using PHP Curl function to include the cross domain file (contact us Form).

 

Now the problem is when i submit the form i want to call a ajax function to save the details in DB and to send mails, but ajax function is not getting triggred in the form.

 

Please find the attached code illustration

 

 

Thanks and Regards,

Deepak

post-133454-0-42595800-1360655244_thumb.jpg

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.