this $handle = fopen("http://search.digitalpoint.com/?q=" . urlencode ($keyword) . "&key=" . urlencode ($key[$keyind]) . "&start=".$sp."&spell=" . $spelling, "r"); makes PHP Access Vialation at some address. Why? Everything vere ok till today.