Software what im using:
PHP 4.2.2
Apache 2.0
Shortly,
How i can save a cookie which comes with PHP http request like:
<?
$url = "someurl.need.acookie.org";
$data = implode ('', file($url));
?>
and add it in file or someplace where i could use it for next request.
-Tet_
i tested to include test.txt file on .shtml page, and it was included right way. so im still stuck with these scripts what should be done with apache + perl.
logs:
error_log:
[DATE] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: script.cgi
[DATE] [error] [client...
hi,
i stucked at this problem when i configured RedHat 8.0 with Apache 2.0.4.0 webserver. perl script works fine from shell and i tested script with line "perl -c script.cgi" and it seems to be ok. so i think problem is not in my Apache setup.
any ideas or own experience available?
-Tet
Hi there,
i have a little problem with my RedHat 8.0.
afer installion i noticed that i forgot to install texteditor packages. how can i install it after?
i use only shell and i have tryed to install emacs from cd
like rpm -Uvh emacs-21.2-18.i386.rpm.
result what i get is...
hi,
i pasted <!--#exec cgi="/cgi-bin/script.cgi" --> in page, and it didnt work. when i check html`s source, that line is there as comment.
information what i got from apache tutorial is:
Including the results of a CGI program
This is one of the more common uses of SSI - to output...
so, i find some information from far history.
what i have done for now:
i have this in httpd.conf: Options +Includes
and these are unmarked: AddType text/html .shtml
AddHandler server-parsed .shtml
page is named in .shtml
still not working..
-Tet
hi,
i think this is not a big problem, but i could`t get answer on it by my self.
so i have installed apache 1.3 and perl 5.6.1
i have perl script what i have planned to execute when i arrive on html page. script works with straight command
http://mysite.com/cgi-bin/script.cgi
but when i put...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.