|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Re^2: OT: would this ENV setup make you blow your lid too?by leocharre (Priest) |
| on Jun 08, 2006 at 10:27 UTC ( [id://554286]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
It's missing DOCUMENT_ROOT for one. Also the raw query string. I have this simple script, that resides in cgi-bin. It gets used via an ssi include directive. The script makes thumbnails and returns html listing thumbnail links to the larger images. It's nifty. All the user has to do is make a shtml page and put this <!--#exec cgi="/cgi-bin/gallery"--> That one ssi call in that one page runs the whole gallery. The web designer does not need to do anything else to the page. They don't have to make new pages. The gallery script determines where it was called from via ENV DOCUMENT_URI, or REQUEST_URI . If "file" is set, then the gallery script knows that the request is for a picture to be shown med size, not for a view of the whole gallery. Comments (stored with storable) and thumbnails are stored off http accessible path Never had a problem with this on another box. What I am showing you there is ENV straight from a perl compiled script. It's set up for php, zend. That's why it looks goofy.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||