Reply to Public response to A Kaufman

Your name:

Reply:


Posted by P Pulkkinen on 02/01/07 11:14

Dear A Kaufman, I can't IMAGINE what you mean by this post in one previous
thread.

=================================================
"An include/require will be included no matter what.

For example:
<?php
if(TRUE){
include "myfile.php";
} else {
include "yourfile.php";
}
?>

In the above example - BOTH files will be included no matter what."
=================================================

This is NOT OF COURSE the case!

http://perttu.finote.com/muuta/test.php

Here I have in same folder files myfile.php and yourfile.php, other one
echoing
This text comes from file myfile.php
and other one echoing
This text comes from file yourfile.php

but OF COURSE test.php prints only "This text comes from file myfile.php"

[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

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