Reply to Re: PHP being interpreted and saved

Your name:

Reply:


Posted by dkruger on 08/08/07 17:20

On Aug 8, 10:13 am, swiftfal...@gmail.com wrote:
> We're setting up a webserver w. RHEL 4.1 and PHP 4.3. I'm sure there
> is a setting somewhere that's been confounding me. When I create a
> file "test.php" and insert:
> <?php
> phpinfo();
> ?>
> It displays as expected in the browser but when the file is reopened
> from the server to be edited, the file contains the output from the
> phpinfo() call rather then the three lines of code above. Anyone have
> ideas as to why this is happening?

if you use 'php test.php' to "re-open" the file, it will output the
content generated by the php script, but if you edit test.php with 'vi
test.php' or something of the sort, you should see the code you
entered previously instead of the generated info.

[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

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