> $fd=fopen("words.txt", "r");
Check that $fd is not 0.
> $words = fread($fd, 100);
>
> I then convert a string which is passed in a form to this script
>
> $FirstName=strtolower("$FirstName");
>
> And now I check to see if the lowercase version of $FirstName contains any
of
> the words from
Hi,
I have used the following code to open a file
$fd=fopen("words.txt", "r");
$words = fread($fd, 100);
I then convert a string which is passed in a form to this script
$FirstName=strtolower("$FirstName");
And now I check to see if the lowercase version of $FirstName contains any of
the
2 matches
Mail list logo