PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
but it basically "reload" the same page your in to send information to server so for exemple when you filla form instead of loading another ppage it load the same one wqith the mistake in red next to the badly entered field.
Alternatively, you can pass parameteres through the address bar. For instance, if a page loads and finds a cookie on a user's machine, you can refresh the page to something like $_SERVER[PHP_SELF]?login=1&sessid={SESS_ID}. Stuff like that. Basically, it saves you writing index.php or pagename.php and allows you to put the above line in an include file and use it throughout your site. Hope that helped!
but it basically "reload" the same page your in to send information to server so for exemple when you filla form instead of loading another ppage it load the same one wqith the mistake in red next to the badly entered field.
No it doesn't.
It's a part of an array ($_SERVER array) that contains the value of the current page name (ie. default.php). Nothing more, nothing less.