You are here: Re: [PHP] Writing static file from dynamic PHP page « PHP « IT news, forums, messages
Re: [PHP] Writing static file from dynamic PHP page

Posted by R'twick Niceorgaw on 01/18/05 21:57

On Tue, January 18, 2005 2:42 pm, Chris Bruce said:
> This is a great solution, except I cannot get PHP to exec the file that
> has the 'wget' command in it.
>
> What I have done is to create a file (wget.php) into the directory that
> I want to wget the page into. I then chmod -R the directory to make
> everything in it executable. here is what is written to the file:
> /usr/bin/wget -d http://path/to/file/index.html
>
put this at the begining of wget.php
#!/bin/sh

HTH
-R'twick

 

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

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