-
Quick Question - getURL
Hey,
Ok so I have this php script that when run, sends and saves some information to a text file.
Now heres the quick question.
How do I go about telling the php script to run without having to open another window. I tried doing something like:
getURL("photos/something/countPhotos.php,"_blank","POST);
When that line occurs, it runs the php successfully and the php works and does what its supposed to. However, it opens a new window as well as stopping my flash file.
Is there a solution?
Many thanks :D
-
getURL("photos/something/countPhotos.php", "POST");
-
Thanks for the reply geezer,
I actually thought about doing that, removing the _blank and when I tried that, when I clicked the button which should run the php script, the browser redirected itself to the php page.
What needs to happen is that flash needs to continue on, when you click the button, the php script needs to run without having to display another browser.
I hope you get what Im saying :p
-
Wait, I think your suppose to use loadVariablesNum instead of getURL. I've got some forms that use that and go to a php script, even got it to write to a sql db, and read back from it, but they both use loadVariablesNum.
mailform = "http://www.yoursite.com/mailform.php";
loadVariablesNum(mailform, 0, "POST");