Solved

printing after the /

Posted on 2000-04-01
1
121 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
cpan issue 1 64
Merge files & delete row based on criteria using Perl. 1 104
what are these modules in perl script 4 99
Vb script to unzip a files and rename the files 5 91
On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 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