Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how can I get the value members.php?login

Posted on 2003-11-03
2
Medium Priority
?
304 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 400 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

782 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