command line you see the instructions to build a display sent to the browser
on browser you see how browser reacted to those instructions

sfantar wrote:
sfantar a écrit :
Charles K. Clarkson a écrit :
sfantar wrote:
: In the apache's error log, here is what's written :
: : : [error] HTML::Template->new() : Cannot open included file test.tmpl
: : file not found.


    Looks like the template cannot be found. Use the full path
to test.tmpl in the script.


HTH,

Charles K. Clarkson
 There are no more problems.
 Just one last question :

 Why are there differences between the output of the CGI mentioned below
 which displays the content of $ENV{HOME} et $ENV{PATH}?

 Run from the command line, here is the output :


 Content-Type: text/html

 <html>
 <head>
 <title>Test Template</title>
 </head>
 <body>
           My Home Directory is /home/smith
           My Path is set to

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games

 </body>
 </html>


 Run from the browser :



 My Home Directory is My Path is set to /usr/local/bin:/usr/bin:/bin




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to