On May 29, 12:38 am, [EMAIL PROTECTED] (Alma) wrote:
> Hi All,
>
> I am not able to trace out why i am getting this error. help regarding
> this will be appreciated.
>
> I am using apache2  &  Gentoo linux. . i have a html upload.html
>
> <HTML>
> <HEAD></HEAD>
> <BODY>
> <FORM  METHOD="post" ENCTYPE='multipart/form-data'>
> Photo to Upload: <INPUT TYPE="file" NAME="photo">
> <br>
> Your Email Address: <INPUT TYPE="text" NAME="email_address">
> <br><br>
> <INPUT TYPE="submit" NAME="Submit" VALUE="Submit Form">
> </FORM>
> </BODY>
> </HTML>
>
> but i am not able to view this html on my browser.
> All other html pages are getting displayed.
>
> Its giving me this errors
>
> [Tue May 29 09:40:47 2007] [error] syntax error at /var/www/localhost/
> perl/
> upload.ht
> ml line 2, near "HEAD>"\nBareword found where operator expected at /
> var/www/
> localhos
> t/perl/upload.html line 5, near "<FORM  METHOD="post"
> ENCTYPE='multipart/form-
> data'>
> \r\nPhoto"\nBareword found where operator expected at /var/www/
> localhost/perl/
> upload                                                                       
> .html
> line 9, near ""submit" NAME"\nBareword found where operator expected
> at /var/
> w
> ww/localhost/perl/upload.html line 9, near ""Submit" VALUE"\nBareword
> found where
> op
> erator expected at /var/www/localhost/perl/upload.html line 12, near "/
> BODY>\r\n</
> HT
> ML"\n  (Might be a runaway multi-line // string starting on line 11)\n

It looks as though your apache server is attempting to execute an HTML
file as though it's Perl code.  I'd guess that means your apache
server is not configured correctly.  That means it has nothing to do
with the Perl language itself, and you're likely to get far better
help in a group that deals with Apache configuration...

Paul Lalli


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


Reply via email to