Reply to Re: fread, explode, and eof problem

Your name:

Reply:


Posted by Pedro Graca on 10/16/06 10:17

Joe top-posted:
> [...] Now, the first quote in each file has an extra
> character before the authors name. I could probably use ltrim to get
> rid of the extra character if I knew what it was.

Can you post an example input file?

> How do I find what character it is?

$first_char = substr($quotes[0], 0, 1);
$first_char_ascii_code = ord($quotes[0]);

--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

[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

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