PDA

View Full Version : open flash site from php ???


vosgien
07-08-2003, 04:34 PM
Hi,
Can I open a Flash site ( or a html with flash embedded) from a php script ?
I want to send some variables back from a payment gateway to a php script - that I can achieve, however, it seems that I cannot link to my flash site/page AND and send the vars to a php script - don't ask me why , ask authorize.net. - it seems I am only allowed one link in the settings !!!
So, is there a simple line of php ( or complicated page of php ) that when the php script is opened, the vars grabbed and then a site opens - does that make sense ? Hope so.
i am getting into things I really don't understand v. much so desperately need som help

Vosgien

Caimin
07-14-2003, 01:34 PM
Just print out the normal object and embed tag for the SWF in the PHP file. But where the SWF url appears add on the variables you want to send to the SWF.

Something like this:
myfile.swf?var1=whatever&var2=something

vosgien
07-14-2003, 01:43 PM
Hi Camain,
I should have posted before, but I worked this out for myself, at first I thought it would be something complicated ( hence my post) but by searching here and at devshed I managed to deal with it, and was able to answer someone elses thread on the same subject
Thank you for taking the time

Vosgien