Thanks . I have a another struggling end .
I need to filter the result by a specific file
extension (like pdf). how can i do it ?
i need to check after upload a file that it should be pdf. if it is not
then i need to display an error that only pdf files need to be uploaded.
regards
alma
"p
Alma Tirkey wrote:
I have a problem with uploading a files in apache webserver.
Its not giving me an error but i am not getting the desired result
what i want. My requirement is to save only the pdf files to the a
directory .
what i am testing is how to get only the filename .
#!/usr/bin/perl
On May 29, 5:38 am, [EMAIL PROTECTED] (Alma) wrote:
>
> I am using apache2 & Gentoo linux. . i have a html upload.html
>
>
>
>
>
> Photo to Upload:
>
> Your Email Address:
>
>
>
>
>
>
> but i am not able to view this html on my browser.
> All other html pages are getting displayed.
>
If the file in the cgi-bin directory? Try removing it from there.
Does the file have the execute flag turned on? Try turning it off.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
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
>
>
>
>
>
> Photo to Upload:
>
> Your Email Address:
>
>
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
>
It appears as though this HTML snippet resides in a Perl script, so it
looks out of context. You
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
Photo to Upload:
Your Email Address:
but i am not able to view this html on my browser.
All other html pages are