You are here: Re: includes in php as cgi « PHP Programming Language « IT news, forums, messages
Re: includes in php as cgi

Posted by Good Man on 06/21/07 18:55

maniactive@gmail.com wrote in news:1182451556.344094.198280
@c77g2000hse.googlegroups.com:


> However: on the new server, php is installed as cgi.
>
> What function will allow me to successfully include the header and
> footer files with this configuration? The host swears that shtml works
> perfectly as an include for the php installed as cgi configuration --
> but I cannot get it to work with this standard command.
>
> Anybody have any ideas?

it shouldn't make a difference, but perhaps double-check the path? It may
require the full server path to the file, ie:

<?php include("/path/to/include.php"); ?>

as oppposed to

<?php include("include.php"); ?>

 

Navigation:

[Reply to this 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

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