Fix Cross-Domain AJAX Issue with 95% Done Web Application

Hi there,

I have a PHP web application that is 95% done. Here is its original functionality:


1) You enter a URL.

2) The tool takes this URL and mirrors the page, with images, etc. so that the copy looks exactly like the original.

3) The user uploads the copy of the site.

4) Once a visitor submits the form (usually 3-10 fields, the script has to automatically find all the form fields. perhaps an explode() in php?), the form is submitted to both the original form action (including the original URL, so if the original site was '[url removed, login to view]' but the form action on the HTML is just '[url removed, login to view]' since it was on [url removed, login to view], it needs to fix this.) AND also adds all of the information to a CSV file. This can be done by a local PHP file that the tool makes/duplicates&edits when it copies the site in step 2.


Here is the addition:

The form is submitted in step #4 needs to have a masked referrer, so the page that the form normally gets submitted to thinks the input is actually coming from the original URL. So, our form is hosted on [url removed, login to view], but [url removed, login to view] thinks that the data came from [url removed, login to view] with the spoofed/masked referrer.

Because of this, the original coder used sockets in PHP to mask the referrer. This worked fine. The PHP referer spoofing functionality is already built in, but there are issues with displaying the output of the 2nd page.

So, the form is duplicated, and submitted, and this works fine, but the output will be blank because of some issue. My original coder said this was because of a cross-domain AJAX issue. Here are some articles on "cross-domain AJAX":

[url removed, login to view] (seems like the best)

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

ONLY bid if you are 100% POSITIVE you can solve this issue. If you need to see the source before bidding, send me a message.


Here is a live version of the application: [url removed, login to view]

Skills: PHP

See more: fix cross domain issues, php fix cross domain, fix ajax cross domain issue, cross domain ajax fix, ajax csv cross domain fix, referer url php, my fix com, best domain, best coder application, fix cross domain issue, fix cross domain issue php, test web application, mask, live action, issue, html issue fix, google domain, fix issues, fix form, find domain, cross domain, cross com, Archives, ajax etc, xmlhttprequest

About the Employer:
( 8 reviews ) Belle Vernon, United States

Project ID: #565777