PDA

View Full Version : Flash/PHP help needed


jprugh
01-31-2003, 12:24 AM
My problem:I built a flash survey for a client that takes some form inputs, sends the data through php to be stored in mySQL. And it works great - on my home machine which is windowsXP running php and mysql.

The problem is when I tried to install the survey on the clients machine(s) it doesn't work.

Their setup is this:
1. linux server with firewall running php and mysql.
2. solaris web server behind the firewall where the flash files are living.

So, I access the survey from outside the firewall at:

http://www.company.com/survey/

The flash hits the php call:

loadVariables("http://linuxhost/survey/storemydata.php", this, "POST");

and nothing happens.

If I telnet behind the firewall and access this same linux directory with lynx from the solaris server command line (I put a phpinfo.php file in the same directory for testing). It works.

Is this a problem with the loadVariables call. Since the call is from the .swf file behind the firewall it shouldn't matter where I'm accessing the .swf file from, right?

I'm stuck.

Thanks for any help.JP

vosgien
01-31-2003, 01:56 PM
Hi jp,
I'm afraid I do not have a direct answer to your problems, if you look at my thread I am very much at the beginning stage of php/MySql. However, in my travels for a solution to my own probs I found this site: www.phpforflash.com (http://www.phpforflash.com)

If you don't already know it, it is run in support of two books:
Foundation PHP for Flash &
Advanced PHP for Flash

Don't know if they will be of use for you, but, worth a look & I hope it helps

Cheers

Vosgien

vosgien
01-31-2003, 02:05 PM
OK, forget the above, I've just seen your Q over at php - at least I tried !!!

Vosgien