note 9066 added to fscanf

From: Date: Fri, 13 Oct 2000 17:21:45 +0000
Subject: note 9066 added to fscanf
Groups: php.notes 
Request: Send a blank email to php-notes+get-6454@lists.php.net to get a copy of this message
I spent about an hour trying to get the fscanf() function working correctly. When I plugged in my file and executed the script in my browser, PHP attempted to redirect me elsewhere. I finally found that a trailing carriage return caused it to break. It works now, but this should be useful to others: when using fscanf() make sure the file contains exactly what you are searching for, nothing more nothing less. PHP 4.0.3. http://www.php.net/manual/function.fscanf.php

« previous php.notes (#6454) next »