Storing Superglobals

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I'm wondering if it is a good idea to store $_POST, $_GET vars in an
include file. I have a lot of repeating vars and was wanting to
consolidate them into one file to be included whenever such vars were
needed, is this a bad idea?



Re: Storing Superglobals schreef:
Quoted text here. Click to load it


How do you store $_POST etc in an includefile?
They are made global by PHP in all your scripts/functions/classes.

What is it that you want to do, and why?

Erwin Moller

Site Timeline