in reply to Using Fcntl in CGI
Sounds like you are forgetting to print the content header:
Be sure that is the first thing you print to STDOUT. If that is not the problem, then the next item is proper paths. Your script runs as a different user when requested as a CGI script, so you have to use full paths to the files you are trying to access.print header();
Next time, be sure and give us the error message as well. :)
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (jeffa) Re: Using Fcntl in CGI
by Avox (Sexton) on Apr 08, 2003 at 14:54 UTC | |
by cbro (Pilgrim) on Apr 08, 2003 at 16:05 UTC |