Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: script working locally, but not on server

by Tomte (Priest)
on Jun 15, 2004 at 12:17 UTC ( [id://366847]=note: print w/replies, xml ) Need Help??


in reply to script working locally, but not on server

As matija wrote, you didn't described your problem in a very good way.

Nevertheless one advise:

<FORM NAME="info" action="../../../../cgi-bin/clotdecisions.cgi" metho +d="POST">
Don't use relative paths with "../" in them as actions or URLs in anchors, use relative descending paths (like myaction) or better yet absolute paths.

Not Only do you enhance your security a wee bit, you also avoid possible confusion on how many levels upward you actualy have to go and where exactly on the file-system the location of the files is:)

regards,
tomte


An intellectual is someone whose mind watches itself.
-- Albert Camus

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://366847]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-25 13:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found