Jump to content

Does Javascript Interfere with Passing Variables from Flash to PHP?


asparagus

Recommended Posts

Here is my situation; I have a Flash mc (Flash 8) that passes variables to a php page, which then, in turn, uploads the variables into a MySQL database. Everything was working well until I added a javascript snippet to open a pop-up window, and then everything just went to pot! The variables didn't get passed from the Flash movie to the php script. In a panic, I removed the javascript, but the variables still aren't being passed.

My question is; does anyone out there lnopw whether or not javascript interferes with the passing of variables in from Flash to php? Should I be looking elsewhere for the source of my problem?

Thanks for any help.  ???
Link to comment
Share on other sites

unless the javascript specifically accesses the $_GET variables and changes/deletes them, then no, it does not interfere with them.  your clue should have been your own attempt to fix it: if you removed the javascript, and it still doesn't work, then obviously that's not the problem. 

since by some coincidence it still doesn't work, even though you removed the javascript, i would a) check to see if you are uploading your reverted script to the correct place. b) go make sure that you didn't inadvertently remove some other piece of script, in addition to the javascript.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.