Say I have this directory... /avatars/
and there is no file in there but my php file which displays that persons avatar...
I need to be able to pull this out of the url:
http://www.sitename.com/avatars/username.gif
I need to pull username out of the url.. using that PHP file.. thats the only thing in the directory.. it takes and pulls the username.. querys the database for that user. And displays it from /images/
Any ideas on how to do that?





Reply With Quote







