Monday, August 22, 2005

PHP issues

PHP syntax: to get a value of a variable from url, like: $url = "show_cat.php?catid=".($row["catid"]). The PHP script should be dealt with something like: $var=_REQUEST(“var”). if don’t do like this, you can’t get the value of the variable.
We can’t use reserve variable $PHP_SELF directly in PHP file, we should use $_SERVER['PHP_SELF'] instead. I think some version may support $PHP_SELF directly, I need to know this.
To judge some variable coming from a form of another webpage should use something like “ if (isset($_REQUEST['username']) && isset($_REQUEST['passwd']))”

3 comments:

darrelericks51333480 said...

i thought your blog was cool and i think you may like this cool Website. now just Click Here

Infactahost.com said...

Hey, you have a great blog here! I'm definitely going to bookmark you!

I have a in opt php script site/blog. It pretty much covers in opt php script related stuff.

Come and check it out if you get time :-)

waltergibson7048 said...

I read over your blog, and i found it inquisitive, you may find My Blog interesting. So please Click Here To Read My Blog

http://pennystockinvestment.blogspot.com