You can’t just change the $_GET usages in the php:
change any href attributes on your links to say ?action= instead of ?name=
You can’t just change the $_GET usages in the php:
change any href attributes on your links to say ?action= instead of ?name=
ok worked , but i still dont get it , how does it work even if i dont change this part of the code [php]if (!isset($_GET[‘name’]) or trim(empty($_GET[‘name’])))
{ $name = ‘welcome’; }
else
{ $name = mysql_real_escape_string($_GET[‘name’]); }[/php]
i mean like in the smf this wont work http://www.phphelp.com/forum/index.php?name=pm , it have be “action” to work otherwise it will return you to the index page