return "Coudn't get the title of: $url";
$title = $fp;
i can use the file_get_contents() function instead of using fopen() and the fread() functions, because i don't have to download all the page i just need the top of the codes and not all of it cuz im getting the title, so i only get the first 7500 function.
so the problem is that for example vbulletin3 putting the title tag at the end of the <head> and the problem that <head> having very very mush tags so i coudn't get the title.
i want to strip the |<script> and <style> and <link>| tags.