Hi I am learning PHP programming language. I write one code but When I run this script following error occurs:
• Apache crashes
• Apache shows a timeout message
what’s wrong with it? If you have any in solution please let me know that. Thank you
This is my script
Code:<html> <head> <title>Home Page</title> </head> <body> <?php $url = "http://localhost/development/php/title/home.php"; $source = implode("", file($url)); if(eregi("<title>(.+)</title>", $source, $regs)) { echo "Title: " . $regs[1]; } else { echo "Not found"; } ?> </body> </html>



Reply With Quote
Copyright Techfuels
Bookmarks