Reply to Re: Guide for this error..

Your name:

Reply:


Posted by Erwin Moller on 11/12/07 14:14

skyimai@gmail.com wrote:
> Hi guice,
>
>
> I have designed a php search page..When I entered the search term
>
> it shows me the follwing error..
>
> Warning: fopen(files/admin.jpg) [function.fopen]: failed to open
> stream: Permission denied in C:\Inetpub\vhosts\iswaryammatrimony.com
> \httpdocs\search result.php on line 206
> file error
>
>
> Somebody told me that the file must be allowed to read by server
> administrator..

That was good advice.
PHP cannot open a file because the user that runs PHP doesn't have the
right permissions on that file.

Solution?
1) Find out who runs as PHP
- probably IUSR_<machinename> on IIS/Windows.
- probably nobody, or apache, or www-data on Apache/*nix

2) Give read and/or write permission for this user on the file in question.

Regards,
Erwin Moller

> Pls Guide me..Thanks in advance..
>
> Imai from Sky
> www.adobians.com
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация