# Location for a PHP form

**URL:** <https://forum.kirupa.com/t/location-for-a-php-form/25911>\
**Category:** flash\
**Created:** [July 17, 2003, 3:31pm UTC](https://forum.kirupa.com/t/location-for-a-php-form/25911 "2003-07-17T15:31:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![elietabet](https://avatars.discourse-cdn.com/v4/letter/e/a9a28c/32.png) [@elietabet](https://forum.kirupa.com/u/elietabet)\
**Post date:** [July 17, 2003, 3:31pm UTC](https://forum.kirupa.com/t/location-for-a-php-form/25911/1 "2003-07-17T15:31:52Z")

</div>

ok … i am gonna post this again.

all my site is SWF files. each button calls an external SWF and load it in the main SWF. i have all my files uploaded to Freewebs.

now, the contact button calls the “contact.swf” which has a mail form with a PHP file to load the variables. since Freewebs doesnt support PHP, i uploaded “contact.swf” and “form.php” to [Lycos.co.uk](http://Lycos.co.uk) (which supports php).

when clicking the contact button from freewebs, it calls the MC from Lycos, i used this code for the button:

//////////////////////////////////////////////  
on (release) {  
\_root.contents.loadMovie(“[http://members.lycos.co.uk/username/contact.swf](http://members.lycos.co.uk/username/contact.swf)”);  
}  
///////////////////////////////////////////////

the send button of this mail form has some code also to load the variables and is as follows:

…etc  
loadVariables(“form.php”,this,“POST”);  
this.onData = function()  
…etc

question:  
should the path to the php file include all the URL to Lycos ?

should it be:

loadVariables(“form.php”,this,“POST”);

—or—

loadVariables(“[http://members.lycos.co.uk/username/sendmail.php",this,"POST](http://members.lycos.co.uk/username/sendmail.php%22,this,%22POST)”);

i tried both and it didnt send anything.  
from Lycos it send email but not from freewebs.

ANYONE KNOWS THE PROBLEM ??

THX GUYS.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 17, 2003, 8:05pm UTC](https://forum.kirupa.com/t/location-for-a-php-form/25911/2 "2003-07-17T20:05:38Z")

</div>

Full URL needed and read this:  
[http://www.macromedia.com/support/flash/ts/documents/load\_xdomain.htm#proxy](http://www.macromedia.com/support/flash/ts/documents/load_xdomain.htm#proxy)  
[http://www.macromedia.com/support/flash/ts/documents/loadvars\_security.htm](http://www.macromedia.com/support/flash/ts/documents/loadvars_security.htm)
