
demon01
Novice
Mar 26, 2010, 7:20 AM
Views: 2876
|
|
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 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
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)
|