CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate: Re: [FishMonger] send to a db and then to a script: Edit Log



demon01
Novice

Mar 26, 2010, 7:20 AM


Views: 4516
Re: [FishMonger] send to a db and then to a script

I am trying to use the relative path, I showed the url to show where the script was.

I was trying to see if I was getting the relative path wrong, I was using

Code
serve_survey_indv.pl

both scripts reside in the same cgi-bin folder so the relative path would be just the script name, correct. That is what I am starting to doubt.

If both scripts reside in the url folder I showed above, wouldn't the relative path be just the script name?

I've tried all these:
../cgi-bin/surveys/"script"
../surveys/"script"
../"script"
"script"

all the above give me the same error message.

Here's the code

Code
open (SURVEY, "$path|")  
or die "Couldn't open pipe to $path : $!";

print SURVEY "$survey_name , $x";
close (SURVEY);


Perl Version 5.08

Thanks.


(This post was edited by demon01 on Mar 26, 2010, 7:24 AM)


Edit Log:
Post edited by demon01 (Novice) on Mar 26, 2010, 7:24 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives