First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing!
Search tutorials
Author: Jeffrey F. Hill | Website: http://www.flash-db.com

Some additional Notes

Some additional notes:

This script will not work in some earlier versions of Netscape 6 (along with a lot of other scripts) - Netscape fixed this problem in later releases 6.1, 6.2. 

On NT/2000 servers their will be a few small changes you will need to make for this to run properly.  Also it is more difficult to change the permissions of a file on an NT server if you are not the administrator.  Sometimes online hosting services will let you do this yourself through a web management application, or you will have to request that they do it for you.

With the Release of PHP 4.1.0 Their have been some additional updates that should be taken into consideration for future use of PHP.  In previous versions all PHP variables where available in whatever form they came to the script in, and where automatically declared in the script. For example if you sent the script the variable 'Name' from Posting the contents of a form, attached to the end of a URL string, from a cookie, as a session variable, etc that variable is/was automatically available for use in the script (as long as register_globals was turned on). With the release of PHP 4.1.0 you will now have to grab the value from a special array variable:

$_GET - contains form variables sent through GET
$_POST - contains form variables sent through POST
$_COOKIE - contains HTTP cookie variables
$_SERVER - contains server variables (e.g., REMOTE_ADDR)
$_ENV - contains the environment variables
$_REQUEST - a merge of the GET variables, POST variables and Cookie variables.
$_SESSION - contains HTTP variables registered by the session module

For example in the above script. Instead of being able to just use the variable 'Name' from the Flash form - we would have to use something like - - Fortunately the above script used in this tutorial still work for now. But it might be a good idea to get into the practice of using the new method. It is also a more secure method of programming with PHP. To learn more visit www.php.net.

(Just thought I would mention this, as I recently completed a project on a NT server that had register_globals turned off and had just installed PHP 4.1.0, that and other reasons caused me to pay special attention to this new method). Sorry if I botched the explanation.

» Level Advanced

Added: 2001-12-21
Rating: 8.92 Votes: 200
(10 being the highest)
» Author
Jeffrey Hill is a freelance web developer from Boulder, Colorado. He specializes in creating and developing dynamic database driven Flash content and applications. Specialty's include SQL, PHP, Perl, and XML.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!

Comments

  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.