You are here: Re: php script to filter a text file and extract lines starting with keyword? « PHP Programming Language « IT news, forums, messages
Re: php script to filter a text file and extract lines starting with keyword?

Posted by anne001 on 11/24/05 18:58

Thank you very much.

It just occured to me that the faculty's request to keep the raw data
off limit may just not be possible: Any student can read the php code,
find the address of the
raw file, and download all of it.

It seems to me his TA will have to run the script once a day to a file,
which the students will in turn access with your little script.

I was running through the tutorial
http://www.macdevcenter.com/pub/a/mac/2005/08/30/apache.html
to set php up -- which the students will have to do also.

I also like to turn Off the allow_url_fopen feature, though this is
more cautious paranoia than any tried-and-true trick. This setting
allows the PHP fopen function to load remote documents stored on other
web servers, and has been implicated in a number of break-ins with
poorly designed applications. Turn it Off for now, and if you ever need
to use it in the future, you'll probably be smart enough to make a more
informed decision.

If we turn off allow_url_fopen, will file work?
Anne

 

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

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