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: [demon01] send to a db and then to a script: Edit Log



7stud
Enthusiast

Mar 26, 2010, 10:06 AM


Views: 4363
Re: [demon01] send to a db and then to a script

1) If you want anyone with a pc to be able to execute a script then put it in the cgi-bin directory. If you don't, then you better locate it in a non publicly accessible directory.

2)

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


You need to learn some basic terminology. There are urls, and there are paths, and there are folders/directories, but there is no such thing as a url folder. If you do not use common terminology, then no one will have any idea what the hell you are talking about.

3)I've tried all these:

../cgi-bin/surveys/"script"
../surveys/"script"
../"script"
"script"

And what made you decide to put quotes around "script"?

4) If you want to execute things on a server, then it would help if you knew what the 'root directory' was on your server. Then you can construct absolute paths from the root directory. You can also fiddle around with relative paths, but it is nice to be able to fall back on an absolute path when you can't figure out the relative path.

5) If you want help on figuring out the paths, start off by posting what server you are using.


(This post was edited by 7stud on Mar 26, 2010, 10:07 AM)


Edit Log:
Post edited by 7stud (Enthusiast) on Mar 26, 2010, 10:07 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