Search found 3 matches
Aprelium Forum Index
Author Message
  Topic: php, forms, and variables
niteowl

Replies: 7
Views: 14866

PostForum: PHP   Posted: Sat Jul 10, 2004 7:39 pm   Subject: php, forms, and variables
hey peok,

No problem. After all this is what the forum is partially for.

The code in the tutorial would work if register_globals is on, which was the default in the earlier version of php. the ...
  Topic: php, forms, and variables
niteowl

Replies: 7
Views: 14866

PostForum: PHP   Posted: Sat Jul 10, 2004 5:18 pm   Subject: php, forms, and variables
hey,

Looks like you have missed out the quotation marks before and after the variable names - for example, it should be $_POST['yourname'] rather than $_POST[yourname] and it should be $_POST['fav ...
  Topic: php, forms, and variables
niteowl

Replies: 7
Views: 14866

PostForum: PHP   Posted: Sat Jul 10, 2004 3:39 pm   Subject: this may help
See if the following works,

In the bad_words.php file replace the variable name, $variablename, by $_POST['variablename'] if you are using the POST method for submitting the form. Otherwise, use $ ...
 
Page 1 of 1
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB phpBB Group