Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 9th, 2007, 5:01 AM   #1
Ade
Hobbyist Programmer
 
Ade's Avatar
 
Join Date: Oct 2004
Location: England, UK
Posts: 139
Rep Power: 0 Ade is an unknown quantity at this point
Perl Debugger

Hi,

I need to pass some url arguments to a perl script that I'm running in the debugger. The url is...


grpdetails.cgi?details=4&val=test%20group%20SCR

So I need to give it details = 4 and val = test group SCR

Anyone know how I do this?


Cheers!
__________________
Don't wound what you can't kill
Ade is offline   Reply With Quote
Old Aug 9th, 2007, 7:14 AM   #2
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Wet west coast of Canada
Posts: 887
Rep Power: 4 lectricpharaoh will become famous soon enough
You might try reading up on CGI. I believe for one method (POST or GET), the parameters are passed to the program via standard input (ie, they're piped), and for the other, they are passed through the environment. It's been quite a while since I've played with CGI, though, so I'm afraid I don't remember which is which. Once you determine how the server is passing data to your script, you should be able to fake it, and pass the correct data.

You might find this link and this link helpful.
__________________
A man's knowledge is like an expanding sphere, the surface corresponding to the boundary between the known and the unknown. As the sphere grows, so does its surface; the more a man learns, the more he realizes how much he does not know. Hence, the most ignorant man thinks he knows it all. - L. Sprague de Camp
lectricpharaoh is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Learning Perl ReggaetonKing Perl 42 Oct 20th, 2006 4:42 PM
A simple perl script satimis Perl 3 Aug 15th, 2005 9:31 AM
Why do most shared hosting services offer php not perl? Jonnno Perl 5 May 19th, 2005 3:56 PM
Learning and Programming Perl G.I.Josh Perl 2 Mar 23rd, 2005 1:48 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:30 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC