Reply to Re: Include .php file, flock?

Your name:

Reply:


Posted by Tom M. on 08/14/07 01:16

Quick word of advice:

If you do not need to interpolate variables into strings then try to
use single quotes.

When you use double quotes the parser looks for variables contained
within the string.
If you don't have any variables within the string its faster to simply
use single quotes.

This won't necessarily help you with you problem but just a good
little fyi for the future.

IE:

Correct:

<?php
include 'header.php';
?>

Not Practical But Theoretically Correct:
<?php

$somefile = 'header.php';
include "$somefile";
?>

[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

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