virtuallian Posted June 23, 2009 Share Posted June 23, 2009 Hi, all.. I am just new to PHP, can anyone help me in this.. I just inserted username and password with path field to DB, now at the userside I want every user provide username and password and click submit and auto redircted to its specific url that added in the admin side by administrator.. e.g., www.samplesite.com/david/ www.samplesite.com/john/ every user has its own folder already... Thanks in advance.. regards, Faisi. Link to comment https://forums.phpfreaks.com/topic/163397-unique-redirect-to-unique-user/ Share on other sites More sharing options...
947740 Posted June 23, 2009 Share Posted June 23, 2009 Redirects: // $folder will most likely be your username header("Location: $folder/"); Is that all you needed, or did you want help with logins too? Link to comment https://forums.phpfreaks.com/topic/163397-unique-redirect-to-unique-user/#findComment-862119 Share on other sites More sharing options...
virtuallian Posted June 23, 2009 Author Share Posted June 23, 2009 Thanks for help.. yes, please if u can. I m just confused in how to get the path url in the DB and update there in header.. ?? i inserted the record in the field as the url name as i mentioned above: www.samplesite.com/david/ www.samplesite.com/john/ how it knows that this unique user has unique url as already inserted in DB..? thanks.. Link to comment https://forums.phpfreaks.com/topic/163397-unique-redirect-to-unique-user/#findComment-862154 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.