Greets, first time poster. Here's the URL to my webpage so you can play around with posting (if you need a copy of any of the source, just email me):
Ran into a little problem using PHP with Flash. I made a simple guest book which uses a simple 4-line php script to grab a variable and stick into a text file, known as guestbook.txt.
Essentially, you press the "Post" button, and it does a "getURL('PHPscriptLocatedHere'), using GET". The script grabs the variable and puts into the guestbook.txt file. Then you promptly (supposed to, anyway) jump to the viewing section which uses the loadVar() to display everything that's been posted.
Now, the problem I get is that the getURL moves you to a blank page with all the script goobly-gop in the URL. It posts perfectly fine, but you have to press the back button, and navigate back to the guest book to view your post. This only happens with IE 5+ and Netscape 6+. Netscape 4.7, Opera, iCab, and Mozilla simply run the script in the background and then correctly jump to the viewing section.
How do I get a seemless transition between the post and viewing with IE 5+ and Netscape 6+, which most people are using. Will I have to add some JavaScript into the PHP file to redirect you to viewing section? Any help is useful.
Regards,
Warhaven
Ran into a little problem using PHP with Flash. I made a simple guest book which uses a simple 4-line php script to grab a variable and stick into a text file, known as guestbook.txt.
Essentially, you press the "Post" button, and it does a "getURL('PHPscriptLocatedHere'), using GET". The script grabs the variable and puts into the guestbook.txt file. Then you promptly (supposed to, anyway) jump to the viewing section which uses the loadVar() to display everything that's been posted.
Now, the problem I get is that the getURL moves you to a blank page with all the script goobly-gop in the URL. It posts perfectly fine, but you have to press the back button, and navigate back to the guest book to view your post. This only happens with IE 5+ and Netscape 6+. Netscape 4.7, Opera, iCab, and Mozilla simply run the script in the background and then correctly jump to the viewing section.
How do I get a seemless transition between the post and viewing with IE 5+ and Netscape 6+, which most people are using. Will I have to add some JavaScript into the PHP file to redirect you to viewing section? Any help is useful.
Regards,
Warhaven