You are here: Re: Read the contents of a text file into MySql using PHP « PHP Programming Language « IT news, forums, messages
Re: Read the contents of a text file into MySql using PHP

Posted by John Smith on 01/24/07 16:33

Cheers, I'll give it a go.

"Erwin Moller"
<since_humans_read_this_I_am_spammed_too_much@spamyourself.com> wrote in
message news:45b72211$0$335$e4fe514c@news.xs4all.nl...
> John Smith wrote:
>
>> Hi All,
>>
>> New to this, have the basics, can build a form and such. My problem is I
>> need to be able to open a file on a pc/s on the network, read the data
>> character by character, check to see if a certain character is present,
>> if
>> it is, update the database and continue reading the file until it comes
>> across the character again, updates the database and so on . . . .
>>
>> Anybody got any suggestions, all help gratefuly received!!
>
> Hi John,
>
> Go to www.php.net and search for:
> - fopen() and file() to open and read files (even over http)
> - substr() to get pieces out of a string.
> Or use the array-index approach:
> $myStr = "hello";
> echo $myStr[1]; // will echo e
>
> Regards,
> Erwin Moller

 

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

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