Solved

how can I get the value members.php?login

Posted on 2003-11-03
2
297 Views
Last Modified: 2008-03-06
Hi,
I just want to know how to get the value without something like members.php?mid=login...
because there's a php code $_GET["mid"] that can get the value for mid but if I want to do this members.php?login
how can I get it?
0
Comment
Question by:kaeonthibe
2 Comments
 
LVL 1

Expert Comment

by:datr
ID: 9675092
$QUERY_STRING

That will return the string appended to the url so in your case it would be, "?login"
0
 
LVL 6

Accepted Solution

by:
DoppyNL earned 100 total points
ID: 9676618
It's better to use
$_SERVER['QUERY_STRING']
as the one datr says is not available on all servers (depends on configuration); this one is allways available.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question