Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- good code, bad code, magic code
February 24, 2006, 11:40 pm
rate this thread
call data from a form via $_POST, or to retrieve cookies via $_COOKIE,
and other such things; they are available by name alone. however, i've
heard that just because you CAN do something, doesn't mean you SHOULD.
my question: is this considered bad practice?
also, when submitting a file via <input name="file" type="file" /> i
find that not only does $file get set, but $file_name and others also
"magically" get set... I guess I just find that odd coming from C++
where nothing seems to do work for you... quite nice and handy though :)