Reply to Re: un php script and excpect an answer

Your name:

Reply:


Posted by pas805 on 09/17/05 19:40

I actually tried it but the fopen has to point to the physical
I tried it but the fopen has to point to the physical file on the
server like "/www/html/myscript.php" because if I put the url to the
file it gives me an error and if I put the physical path to the file
"/www/html/myscript.php" it simply print out the lines and that's it.



Steve wrote:
> > 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

[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

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