View Single Post
Old 28-03-2010, 12:22   #6
Richard M
Inactive
 
Join Date: Jun 2003
Location: Los Angeles, CA
Age: 46
Posts: 6,343
Richard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze array
Richard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze array
Re: Editing a .txt file Online & Reading

Quote:
Originally Posted by Graham M View Post
PHP Code:
if ($_POST['action'] == 'save'
might throw an error on some servers depending on how they're configured

PHP Code:
if ((isset($_POST['action'])) && ($_POST['action'] == 'save')) 


may correct that, I haven't tested it so my syntax might be wrong, I'm a bit out of practice
Aye maybe, should only throw a warning or notice though and the script would work anyway.

You're most welcome Jedi.
Richard M is offline   Reply With Quote