Featured post
php - Bypassing the AJAX Same-Origin Policy - A particular case -
while trying refresh page contents dynamically using ajax/jquery, have learned s-o-p issue , restrictions, wondering if there way solve little problem.
to make easier understand first explain workflow.
i receive web pages via email, html emails. web pages contain html forms in such way, once form complete sent proper web server (php) store data.
i use outlook 2007 email client (don't here, know!!!), security restrictions, iframes disabled when "opening" email. have circumvented problem using vba script copies whole page content, saves on filesystem stand-alone web page , loads browser (firefox).
once page loaded browser, address bar shows local/filesystem url, such
file:///c:/users/bob/desktop/outlookpage.htm
till here no problem, works fine; problem:
i wished dynamic update page contents using ajax, using jquery.load
, that's s-o-p comes in. php page being loaded dynamically update web page seen running on domain, being blocked.
i wondering how circumvent this.
that's not going work because in order bypass same origin policy, need use proxy on same domain, communicate page that's handling data on different domain. there's no way generate proxy script on user's computer (or @ least, there shouldn't way). either post form normally, open user's default browser, or provide link online form in email. link should provided anyway, in case email client doesn't support html email.
- Get link
- X
- Other Apps
Comments
Post a Comment