You are here: Probably a simple answer « All PHP « IT news, forums, messages
Probably a simple answer

Posted by mylek on 09/24/06 14:58

I am using an apache server with PHP version 4.3.10-16. I uploaded the
following script (testphp.php):

<?php phpinfo(); ?>

I get the standard PHP info screen. No problem there. However when I
upload this script (learn.php):

<?php gmdate("M d Y"); ?>

I get:

Warning: Unknown(/www/www.server.com /Users/******/learn.php): failed
to open stream: Permission denied in Unknown on line 0

Warning: (null)(): Failed opening
'/www/www.server.com/Users/******/learn.php' for inclusion
(include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0

I changed the server path for security reasons while posting in here. I
would appreciate any help. I don't see an difference in the two
scripts. I know PHP works because the first script works.

 

Navigation:

[Reply to this 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

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