Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001032

[PHP] Couple Questions From: acleave (acleave <email protected>)
Date: 03/20/01

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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>