Solved

how can I get the value members.php?login

Posted on 2003-11-03
2
296 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
Comment Utility
$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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now