Solved

printing after the /

Posted on 2000-04-01
1
122 Views
Last Modified: 2010-03-05
say you have a script named a.cgi

your execute it on your webpage http://www.webpage.com/a.cgi/something

how do you get the script to return "something"

http://www.webpage.com/a.cgi?something
I know you can use $ENV{'QUERY_STRING'} for this ... but does anyone know how to get the first one?
0
Comment
Question by:ThaSmartUno
1 Comment
 
LVL 84

Accepted Solution

by:
ozo earned 50 total points
ID: 2677270
$ENV{PATH_INFO}
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

820 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