You are here: Re: un php script and excpect an answer « PHP Programming Language « IT news, forums, messages
Re: un php script and excpect an answer

Posted by Steve on 09/15/05 10:59

> Steve so you want me to create a script that open's my other script and
> execute it right???

That might be one way round your problem. Going back to what you are
trying to do - execute a PHP script via cron - the limitations of wget
and lynx prevent you from executing it directly. Assuming you can't
remodel your script to avoid the redirection, instead you have an
intermediary script call the main script from cron:

wget http://www.example.com/myscriptcaller.php

myscriptcaller.php is the simple fopen()/fread()/fclose() script from
earlier in this thread, set to call your main script.

---
Steve

 

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

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