all groups > flash (macromedia) > november 2004 >
You're in the

flash (macromedia)

group:

Php script


Php script didi.thinkpad
11/26/2004 8:17:08 PM
flash (macromedia):
how can i start a php script from flash. Can you give me a sample. Thank you for your help.

Re: Php script Moloch
11/27/2004 1:17:12 AM
Depends on what you want to do -- you can use loadVariables to pass $ get
returned data from a script

loadVariables("file.php?var1="+var1+"&var2="+var2+"&fixedvar=fixedvar",
_level0.contentholder);

or use HTML in a dynamic text field to link a PHP script.

<a>file.php</a> , <a>file.php?var=value</a>

[quoted text, click to view]

Re: Php script J_o_h_n_n_y
11/27/2004 5:22:39 AM
If you want to start a PHP script that should not be shown to the user, i.e.
just in the background, you can use XML.load() or LoadVariables.load(). If you
want to use data from the PHP script it would take additional coding, but if
you just want to trigger it - all you would need to do is call the load.
Re: Php script urami_
11/27/2004 10:40:23 AM


[quoted text, click to view]

same way you would do it from html just put it in conjunction with getUrl action.
The string will probably identical.


--


Regards


urami_*

<hol>
http://flashfugitive.com/
</hol>


By The way:
AddThis Social Bookmark Button