# Flash php mailing list widget problem

**URL:** <https://forum.kirupa.com/t/flash-php-mailing-list-widget-problem/290419>\
**Category:** flash\
**Created:** [June 14, 2009, 3:47pm UTC](https://forum.kirupa.com/t/flash-php-mailing-list-widget-problem/290419 "2009-06-14T15:47:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![asaxyd](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@asaxyd](https://forum.kirupa.com/u/asaxyd)\
**Post date:** [June 14, 2009, 3:47pm UTC](https://forum.kirupa.com/t/flash-php-mailing-list-widget-problem/290419/1 "2009-06-14T15:47:55Z")

</div>

Hi guys,

I’m trying to build a mailing list flash widget that I can use on different websites.

This is the code where the php gets called:

loadVariables(“mailinglist.php?message=” + random(1000), this, “POST”);

Now the problems is: it works perfectly on my own website because the php file is in the same directory but if I define the whole url as in [http://www.mysite.com/mailinglist.php](http://www.mysite.com/mailinglist.php) etc, it doesn’t work.

Any ideas on flash code to call the php file from my site wherever the widget is located on the web?

Thanks!
