Hi,
Friday, January 2, 2004, 3:56:35 AM, you wrote:
RK> Ok I changed it to look this way but it still is not working
RK> $filenum="test";
RK> $fpHt = fopen($filenum, "r");
RK> while(feof($fpHt)) {
RK> $fpLine = fgets($fpHt,512);
RK> $fpLine = trim($fpLine);
RK> $fpData = explode(":", $fpLine);
R
Hello Richard,
Thursday, January 1, 2004, 5:56:35 PM, you wrote:
RK> Ok I changed it to look this way but it still is not working
RK> $filenum="test";
RK> $fpHt = fopen($filenum, "r");
RK> while(feof($fpHt)) {
RK> $fpLine = fgets($fpHt,512);
RK> $fpLine = trim($fpLine);
RK> $fpData = explode(":",
Ok I changed it to look this way but it still is not working
$filenum="test";
$fpHt = fopen($filenum, "r");
while(feof($fpHt)) {
$fpLine = fgets($fpHt,512);
$fpLine = trim($fpLine);
$fpData = explode(":", $fpLine);
$fpData[0] = trim($fpData[0]);
echo $fpData[0];
}
And no I am just reading a .htp
Hi,
your fgets should be inside the loop. else you are in an infite loop.
ps: are you brute forcing password file ;-)
Richard Kurth wrote:
Way does this while loop not work.
It does not read anything in the file. If I add ! in front of feof it
will just loop forever but still it will not read
Way does this while loop not work.
It does not read anything in the file. If I add ! in front of feof it
will just loop forever but still it will not read the next line in the
file. The file has two lines in it that look like this.
tester3:$1$09BZpdge$b7TQcsYSsAP1hgiCuCWtS1
tester5:$1$5eq3i75D$X
5 matches
Mail list logo