ok, i know GOOD Perl/CGI programmers run off of their PCs and then Upload the programs to the internet, but i cant :( *L*.(im REALLY not inteligent on stuff, just know enough to appear smart).
ok, a friend of mine wants me to figure out a problem for him. he is using a pre coded FM script he bought, therefore has persmision to modify change it, but the directory part of the script is fairly, simple and not very safe imo. so i am trying to figure out exactly how to work this. the way it is if any modifcations are made it brings up every usr path and dir for every account on his webserver, which is NOT cool.
so what is the best way to go about getting the directories for say, /home/usr/www/users/me ? if i dont modify the current way, no matter what, if you change the dir you inevitably create a new dir, or go behind /home/usr/www/users/me and into files and dir he doesnt want accessed.
im sorry for being long winded, but i wanted to cover every possible obscure part of my problem.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.