Liam Delahunty: Home Tips Web Contact
Recommended laptop
under £500

Think I deserve a present? See my Amazon Wish List

PHP Read in Title from a file using fgets

This will work through a directory and produce a listing of all the files, parsing each one for a TITLE tag. When found it will display it, along with the file name, and an interpreted filename.

This is useful to quickly look through a list and see if your files have appropraite titles to the file name, the closer your filenames and titles match your keywords, the better for search engine optimization and your page rank.

Please find the source code here: PHP - Read in Title from a File - Source Code

Warning: fopen(email_to_a_friend.php): failed to open stream: Permission denied in /home/liamdela/public_html/tips/php_read_titles.php on line 48

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/liamdela/public_html/tips/php_read_titles.php on line 56

Share this!  

Php Prohibit Access To Pages Based On Ip Address | Php Read Titles | Php Read Titles Code


  Tips | Home | Search | Contact

Link here: