note 52596 added to function.require

From: Date: Fri, 06 May 2005 17:42:43 +0000
Subject: note 52596 added to function.require
Groups: php.notes 
Request: Send a blank email to php-notes+get-89011@lists.php.net to get a copy of this message
This will sound elementary, but for C++ native programmers, be sure NOT to put a '#' in front of your include statements! The parser will not give you an error, but also will not include the file, making for a tedious debugging process. In short, USE: <?php include "yourfile.php"; ?> and DON'T use: <?php #include "yourfile.php"; ?> ---- Manual Page -- http://www.php.net/manual/en/function.require.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+52596 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52596&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52596&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52596&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52596&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52596&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+52596&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#89011) next »