Archived Boards and Threads... > Parham's PHP Tutorials

PHP Lesson 11 - using user input

<< < (3/7) > >>

Nemesis:
yeah, I am a dumbass sometimes. I found the answere earlier after I posted this and smack my forhead.

http://www.n3rd.net/ZendInformationCenter/ZendServerCenter/register_egpcs_variables_as_globals_setting.htm

[Unknown]:

--- Quote from: Nemesis on October 30, 2003, 07:04:18 PM ---I am a dummy sometimes.
--- End quote ---

Aren't we all?  I certainly am - and quite often too...

Still, I think it's sad (:P - sorry Parham :P.) if someone can't type a few more letters to use a superglobal...

-[Unknown]

Parham:

--- Quote from: [Unknown] on October 30, 2003, 07:25:50 PM ---
--- Quote from: Nemesis on October 30, 2003, 07:04:18 PM ---I am a dummy sometimes.
--- End quote ---

Aren't we all?  I certainly am - and quite often too...

Still, I think it's sad (:P - sorry Parham :P.) if someone can't type a few more letters to use a superglobal...

-[Unknown]

--- End quote ---

the only (only one) reason i don't like superglobals is because you can't use them inside double quotes.  even that's not a reason NOT to use them.  EVERYONE should use superglobals :D.

[Unknown]:
"Why can't $_REQUEST[you]?"

-[Unknown]

Parham:
under some circumstances, it breaks.  i never knew this initially so when i first started using PHP, i converted one of my old scripts (and of course used superglobals).  But like half of my print lines spit out errors, and when i showed them to Zef, he told me that with superglobals, it's BEST to concatinate them into strings and not to put them directly in because PHP will sometimes spit out errors.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version