Hi, I'm looking for a tutorial type of thing that can help me get a better understanding of colons in the URL.

What I want to be able to do is be able to define a user in my database like this:
http://www.example.com/user:admin

Please give me a tutorial or tell me how to use this in PHP.

Are you looking at using a secure (https) connection or an unsecure (http connection). From your example above it looks like you are trying to authenticate a user based on the url, username and password.

Have you looked at using mod_rewrite in the .htaccess file?

Check out the tutorial on this at http://corz.org/serv/tricks/htaccess2.php for more information.

If you have any problems with this post the code which you have written and I'll try and help you out.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.