Couple Questions
| From: | acleave | Date: | Tue, 20 Mar 2001 16:40:56 +0000 |
| Subject: | Couple Questions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-44768@lists.php.net to get a copy of this message | ||
I'm new to this list (and relatively new to PHP) so if I'm failing in some
point of list ettiquette, please excuse me. I have two questions:
1) How do I return multiple data types at once from a function? For instance
I might want to return 5, "apple", and true (an int, a string, and a boolean)
all at once from a function.
2) How does the predefined variable $HTTP_REFERER work with forms? I know
the documentation says that it doesn't work with all browsers as the browser
has the actual info but I tested it with IE 5 and NS 4.7 and it worked
perfectly (for me). My real concern is could it be fooled in a simple manner
or even turned off by selecting different settings in either of those two
browsers? Or would it require a dedicated cracker and/or someone writing
their own browser to give a false report (vs. no report at all)?
Was I even clear on what I want to know? :)
Thanks.
Allan