PDA

View Full Version : php on a second server


glennn
06-18-2002, 07:19 PM
ok, dig - i have a flash site with a form to send variables in an email on a server that cannot handle php, so i put a php scipt (mail.php) on a second server that can, and use - loadVariables("http://www.theartuary.com/mail.php"...); to call it - if i call it from my own machine, it sends the mail. if i upload the flash form to the same server it works, but if i put the form where it belongs, on the php incapable server, it does not work.

if i use "getUrl()" it works from the server i need it to, but it takes me to the php url, and i don't want to go there.

any help here? i been on this prolem for two days.

tia,
glennn

Jesse
06-19-2002, 03:34 AM
loadVariables can only access files in the same domain. Ironically, if your server supports PHP you can use PHP to get around that problem, but not in this case as your primary s erver doesn't support it. I think you'll have to just use getURL

glennn
06-19-2002, 03:59 AM
thanks for that - it's the conclusion up with which i was coming after a few days of nothing else - er, you know what i mean.

yeah, i just went with getUrl and prettied up the html (yuck, after flash, right?) window...

there's got to be a way to send variables to a top domain without chasing after them to see that they got there ok, huh?

peace,
glenn
USA
"quarterfinalists extraordinaire"