By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,384 Members | 671 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,384 IT Pros & Developers. It's quick & easy.

How to extract user name with php

P: 1
I want a person to be able to type in: ""
How can I isolate "user1" so I can keep track of which affiliate deserves commission?
Jan 2 '12 #1
Share this Question
Share on Google+
2 Replies

P: 45
try this
Expand|Select|Wrap|Line Numbers
  1. $urlarray   =   split(".", $_SERVER['REQUEST_URI']);
  2. $myurl = $urlarray[1];
  4. echo $myurl;
Jan 2 '12 #2

P: 3
What is your purpose? Cracking someone, eh? To extract username of someone ask yourself what do you wish to achieve? analyze your motives.
Jan 4 '12 #3

Post your reply

Sign in to post your reply or Sign up for a free account.