User Profile
Collapse
-
Yes, I will try to clarify. The action method to the form is not on my domain, it is on another domain. I would like to pass the login information via action method and once they are logged into that domain--I need to redirect to another page on their domain to get a different form element's value returned to me. The only way to get a cross-domain's element back to me is through a server side proxy which returns the element back to me nicely except... -
Get File Contents/Source using POST first
I am trying to post a login first then get the source of another page on that same server I posted to in order to get a specific value by element. It is required that you login before you can get the value. Anyways, is it possible before I run file_get_conten ts on my PHP page to POST to a login script/web service so I can get a specific value instead of the login page itself? Some sample code would be much appreciated. -
Cross-Domain / DOM
Anyone know a way to POST using only PHP to a web service using a server side proxy aka cross-domain? Some sample code would be much appreciated. -
Thank you for your reply -- much appreciated. Yea I did a little bit of research and found this out for myself about the whole AJAX thing and found a neat script that combined javascript with perl/cgi (just google AJAX Cross-Domain). It got me far and I was able to pass variables in a cross-domain fashion, however, I ran into a problem that needs the user to login in order to get that content. Users logging is no problem since they do this anyway...Leave a comment:
-
Cross-Domain / DOM
Does anyone know a solution to getting a page's source and displaying it in an iframe at the click of a button? It doesn't necessarily have to be javascript. I do have a PHP script that will do this for me but any other suggestions? Overall, I would like to read-only the value of one form element from another page's form in order to display a particular image on my site. I know about the security reasons for not being allowed through javascript...
No activity results to display
Show More
Leave a comment: