Andy Pieters wrote:
On Wednesday 07 December 2005 08:37, Pugi! wrote:
My webhost doesn't want to upgrade to PHP5 because of security reasons and
some scripts that will mallfunction. I find it hard to believe. Current
upgrade to php5 == "scripts that will mallfunction" == support calls == losi
On Wednesday 07 December 2005 08:37, Pugi! wrote:
> My webhost doesn't want to upgrade to PHP5 because of security reasons and
> some scripts that will mallfunction. I find it hard to believe. Current
> conf of webhost is PHP 4.3.11, Apache 1.3.33 and MySQL 3.23.49.
> What real reasons could there
H!
Thank you, but yuor fragment of code read all file and
I'm really want is read an integer from the file. There
are some fuction of PHP thas serve me to make that?
Rasmus Lerdorf said:
> Is your second character perhaps a 0? That while loop is going to end
> as soon as it gets a character th
Is your second character perhaps a 0? That while loop is going to end as
soon as it gets a character that evaluates to 0. Write it like this
instead:
while(!feof($this->m_file)) {
$c = fgetc($this->m_file);
if(is_numeric($c)) $str .= $c;
}
-Rasmus
On Sun, 16 Dec 2001, Yoel Benitez F
At 09:14 AM 12/16/2001 -0500, Yoel Benitez Fonseca wrote:
>Hi!
>
>The following code fragment tries to read a sequence of digits from
>a file but it doesn't work, only the first character is read,
>Which is my error?.
>
>
>$str = "";
>while( ($c = fgetc($this->m_file)) && e
5 matches
Mail list logo