note 21180 added to function.include
| From: | conor at onshare dot com | Date: | Thu, 02 May 2002 03:16:37 +0000 |
| Subject: | note 21180 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-30072@lists.php.net to get a copy of this message | ||
I was transferring files from a windows system to a unix system and the case of the file name was
causing problems, so my includes were breaking. (windows is not case sensitive and unix is)
First changed all file names to lower case and then ran this command line (in windows) to change all
references to .php files to lower case.
for %v in (*.php) do perl -p -e "s/([A-Za-z]+.php)/\L$1/g;" %v
This might come in useful to anyone transferring between systems.
--
http://www.php.net/manual/en/function.include.php
http://master.php.net/manage/user-notes.php?action=edit+21180
http://master.php.net/manage/user-notes.php?action=delete+21180
http://master.php.net/manage/user-notes.php?action=reject+21180