Reply to include failing to include...

Your name:

Reply:


Posted by Randell_D on 08/28/07 21:20

Folks,
I have a virtual server with an ISP and I had a web based application
available for a customer to try out - it worked fine up until three
weeks ago - nothing has changed since then (I am the only one with
root password unless the ISP took control without my permission but
I'd doubt this).

I have Virtual (Named) Hosting enabled and I can test it via
individual url's responding appropriately.

On one specific URL I have an include as the first line... and there
are no error messages in the error log file, the html is rendered just
fine but various variables defined during the include are expected to
help fill in the html. This was not happening hence I investigated.

To start with, my index.htm file includes a standard.php file.

The standard.php file leads with <? die("here I am"); ?> and I still
get my index.htm page and no "here I am". I have tried a phpinfo()
too, and nothing happens.

In my index.htm file I have placed phpinfo and that works... as does
the "die()" too.

I know my pages are being caught by the php engine because I can call
a temp file with .htm or .php and both are rendered as expected by
php.

The only thing I do know that might be related to this is if some safe
mode (php_safe?) was enabled. My standard.php file lives outside my
directory tree... I've printed the include statement so that I can
confirm the full path and file name to be included is correct... so I
know its requesting the include properly... and because there is no
error message in my log file I know it is either 1) finding the file
but not doing anything with it or 2) ignoring the include request for
anything outside my document root.

can anyone guide me forward on this? is there something i am not
looking at?

Cheers!

[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

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