# Sending variable to php script on other server / domain

**URL:** <https://forum.kirupa.com/t/sending-variable-to-php-script-on-other-server-domain/186895>\
**Category:** programming\
**Created:** [April 25, 2006, 9:23am UTC](https://forum.kirupa.com/t/sending-variable-to-php-script-on-other-server-domain/186895 "2006-04-25T09:23:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![exit](https://avatars.discourse-cdn.com/v4/letter/e/e19adc/32.png) [@exit](https://forum.kirupa.com/u/exit)\
**Post date:** [April 25, 2006, 9:23am UTC](https://forum.kirupa.com/t/sending-variable-to-php-script-on-other-server-domain/186895/1 "2006-04-25T09:23:10Z")

</div>

Hi

Was wondering if anyone knows how to send variables from a emailform on one webserver to a php-mail script on another server?

The emailform works fine when all files are placed on the same server.  
Have tried adding: System.security.allowDomain(“[http://www.mysite.com](http://www.mysite.com)”)

I wanne use 2 servers because the main server that hostes my site does not support php …and I wanna work with php.

Hope someone will be able so help?  
…it would not only make my day …but the entire week :pleased:
