help Linux+CGI
- Posted by salix at freemail.hu
May 14, 2001
I have a problem. I wrote a CGI that updates the database file (123.dat)
and creates staticfiles (123.htm) from the form data sent. It works
fine. But I wanted the CGI to delete some of the old static files so I
put a
system("rm 123.htm",2)
kind line into my code. Unfortunatelly it completely screw up my proggy.
There's no ex.err but I found following message in the httpd_error_log
of the server.
Error opening terminal: unknown.
[Mon May 14 11:35:46 2001] [error] [client 193.224.82.176] Premature end
of script headers: /path/123.ex
What can be the problem? What should I do? Should I use system_exec()?
IT doesn't really seem to be a better solution? Any help is welcome!
Thank you in advance.
Regards,
Salix
P.S. Suggestion for Euphoria v2.3 Let temp[length(temp)] mean temp[-1].
Please! All my proggies are full of this length() usage
|
Not Categorized, Please Help
|
|