Solved

printing after the /

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
delete query using perl dbi 3 92
stftime format 4 51
Perl string replace for refred url 9 57
PERL - Find newest folder 12 102
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

707 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