Hello!
I'm quite new in PHP, so I have the following question:
When I read a post/get variable with $HTTP_GET_VARS['varname'] or $HTTP_POST_VARS['varname'] and if that variable is not passed to php script, I get an annoying warning on my HTML page - that variable was not found in that collection.
The example:
if ($HTTP_GET_VARS['var1'] = 3) {
// Do something
}
- script.php?var1=3
That works fine, because it finds var1 as passed variable. - script.php
Here I don't pass variables, however in script there is still that if statement and it CAUSES WARNING, displayed on my HTML site.
--------------------
How can I get rid of that?
Regards
Zvonko
