Multiple Servers.. One PHP File.
Posted: Sat Nov 30, 2002 8:32 pm
I have recently created a site for a friend which includes a very basic email form created using Flash.
In order to submit the form from Flash I target a PHP file on my server.
Now, when the site is running from my server (during tests) this works fine, but when the site is run from my friends server Flash doesn't seem to like to target the PHP file (which is still on my server).
I am using the full path to the PHP file (ie http://www.blabalbl ).
Can PHP files be called and/or used if they are not on the same server as the page which is calling and/or using them?
Or is it just a case of his server not being able to use PHP files (even though they are on my sever).
Any thoughts would be good on this because it's going to cause me problems in the future if I can't work in this way.
Thanks.
In order to submit the form from Flash I target a PHP file on my server.
Now, when the site is running from my server (during tests) this works fine, but when the site is run from my friends server Flash doesn't seem to like to target the PHP file (which is still on my server).
I am using the full path to the PHP file (ie http://www.blabalbl ).
Can PHP files be called and/or used if they are not on the same server as the page which is calling and/or using them?
Or is it just a case of his server not being able to use PHP files (even though they are on my sever).
Any thoughts would be good on this because it's going to cause me problems in the future if I can't work in this way.
Thanks.