Reply to Re: crontab and the include() function

Your name:

Reply:


Posted by Jerry Stuckle on 06/14/07 17:57

berkshire@gmail.com wrote:
> We recently upgraded php from 4.3.9 to 4.4.7. Everything is working
> well, except the php scripts running as cronjobs. It appears the
> problem is that these scripts utilize the include() function and these
> functions are utilizing relative paths. They worked just fine with
> the old version of php, but not with the new version.
>
> Anyone know what is causing this hiccup?
>
> TIA
>

Are you specifying absolute paths or relative paths in your include()
function?

AFAIK, this behavior hasn't changed since the early days of PHP. Did
you do something like change directories on the new version?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[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

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