PDA

View Full Version : very simple hack


sabret00the
10-18-2003, 04:31 PM
i want an index.php hack where, i can put it in a folder called me what it would do it is take the end bit of the url www.ebslive.com/me/?=username (http://www.ebslive.com/me/?=username) and it would take the username look up the userid and redirect you to http://www.ebslive.com/forums/member.php?action=getinfo&userid=XX but it have to be using php and mysql and not apache. :)

sabret00the
10-19-2003, 12:41 PM
*bump*

corsacrazy
10-19-2003, 02:24 PM
im looking for a similar hack my friend, where you goto

url/members/USERNAME ?

sabret00the
10-19-2003, 02:58 PM
i got an idea of how to do it, but i know it won't work

use the swtich funtion then had some sorta $username for the switch, default it to member.php but how to make it grab that info is the hard part especially with the %20 when theirs a space

sabret00the
10-22-2003, 07:43 PM
anyone come up with anything to help out on this?