Reply to Re: Guide for this error..

Your name:

Reply:


Posted by Steve on 11/12/07 14:31

<skyimai@gmail.com> wrote in message
news:1194875209.784309.135970@t8g2000prg.googlegroups.com...
> 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..
> Pls Guide me..Thanks in advance..

the error is clear. you need to set permissions on your
vhosts\iswaryammatrimony.com\httpdocs\ directory such that apache has at
least read permissions. i assume you're running apache here. if iis, you
need to set that directory up as a virtual web server. google how to do
either.

on another note, you need to watch your nomanclature. though php will handle
backslashed paths, it is easier to write them without error using forward
slashes...i.e. c:/inetput/vhosts/

also, more problems will arise for not only you, but your end users if you
place spaces in your script names, i.e. 'search result.php'. bad, bad, bad
idea. i won't get into that much more here other than to state it as such -
a bad idea.

[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

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