You are here: RE: [PHP] fopen on windows « PHP « IT news, forums, messages
RE: [PHP] fopen on windows

Posted by Jay Blanchard on 11/14/05 16:30

[snip]
You need "or" not || here. The operator priorities are such that the above
means
....
which assigns the result of fopen() to $theFile, and then executes die if
it's false -- which is much more satisfactory. ;)
[/snip]

Originally I did not have any '||' or 'or' in the conditional check, with
the same results.

 

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

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