SEO Forums















                                          
User   Password   remember     (register)  ?

How to retrieve the title of a page ?


Back to php.


guest-7c224f    (2009-04-23)
 
How to retrieve the title of a page ?

Hello,

Does a PHP function like get_meta_tags() exist to retrieve the title of a page ?

It is quite easy to imitate with this small script but it would be useful anyway....

<?

$url_query = file_get_contents('http://www.google.com');
$url_query = htmlspecialchars($url_query);

$beg_title = stripos($url_query,'&lt;title&gt;')+13;
$end_title = stripos($url_query,'&lt;/title&gt;');

$url_title = substr($url_query,$beg_title,$end_title - $beg_title);
$url_title = htmlspecialchars_decode($url_title);

?>


PHP is a great and easy language anyway !


ficgs
Suggestions

 Code of Federal Regulations: Retrieve by CFR Citation
www.gpoaccess.gov/cfr/retrieve.html

  Automatically Retrieve <title> of Referring Page - CodingForums.com
codingforums.com/showthread.php?t=94974

 Retrieving page elements via the DOM
www.elated.com/articles/javascript-retrieving-page-elements-via-the-dom/

 How to retrieve Document Title in plug-n - GroupBrowser
adobe.groupbrowser.com/t84434.html

 Retrieve Data From Mysql Page By Page : Get the title of a page, How to Get Page-by-page XML Data, Passing Variables from Page to Page, JavaScript Pri...
www.vclcomponents.com/s/0__/retrieve_data_from_mysql_page_by_page

 Retrieve Technologies vBooks "title" and "message" Cross-Site Scripting - Secunia Advisories - Vulnerability Information - Secunia...
secunia.com/advisories/34207/



ficgs
More suggestions

This is a collaborative page, you may change the order of these suggestions by registering, then clicking the icons before the titles.


 Retrieving Images from SqlServer in ASP .NET: ASP Alliance
aspalliance.com/140_Retrieving_Images_from_SqlServer_in_ASP_NET

 How to retrieve data from a dynamically generated radio button - ASP.NET
www.daniweb.com/forums/thread68863.html

  AbstractHtmlUnitTestCase (Shale Test Framework 1.0.4 API)
shale.apache.org/1.0.4/shale-test/apidocs/org/apache/shale/test/htmlunit/Ab

 Retrieving Query String Values in ASP.NET and Javascript « Read, With the Name of Your Lord Who Created
triaslama.wordpress.com/2008/04/12/retrieving-query-string-values-in-aspnet

 Retrieve title from URL in Ruby on Rails : ruby, url, rails, retrieve
www.experts-exchange.com/Programming/Languages/Scripting/Ruby/Q_22830620.ht

  how to retrieve value from database to drop down list? - ASP.NET Forums
forums.asp.net/t/1279075.aspx

 Embed HTML in XML & Retrieve it with XSL | evolt.org
evolt.org/node/27855

 University Libraries - Database Finder - How to Use This Page
library.albany.edu/databases/howto.html

 Facebook Platform Developer Forum / <fb:comments> how to retrieve parameters?
forum.developers.facebook.com/viewtopic.php?pid=140941

 retrieve email subject from page title
www.facileforms.biz/forum/index.php?topic=3285.msg12487

 AMS Journals :: Print and Electronic
www.ams.org/jourhtml/abstracthelp.html

 Page 3 - Advanced JavaScript with Internet Explorer: Retrieving Networking Configuration Information
www.devarticles.com/c/a/JavaScript/Advanced-JavaScript-with-Internet-Explor

 Main Articles: 'An Introduction to the Search/Retrieve URL Service (SRU)', Ariadne Issue 40
www.ariadne.ac.uk/issue40/morgan/

 Special Page
www.imdb.com/swiki/special?SynopsisHelp

 How Do I Retrieve A Title For A 1979 Honda CB 750 K? - Blurtit
www.blurtit.com/q245392.html

 Read the web page and retrieve the URL links in it. - VB.NET - Source Code | DreamInCode.net
www.dreamincode.net/code/snippet1249.htm

 DevExpertise » Blog Archive » Retrieving SharePoint List Data from Silverlight Without a Custom WCF or ASP.NET Web Service
www.devexpertise.com/2009/02/07/retrieving-sharepoint-list-data-from-silver

 SULAIR: East Asia Library: CJK Help Page
www-sul.stanford.edu/depts/asrg/research_help/CJKhelp.html

  Retrieve session var from .net page and use in VBScript - bytes
bytes.com/groups/net-asp/432170-retrieve-session-var-net-page-use-vbscript

 Search: retrieve | LongTail Video | Home of the JW Player
www.longtailvideo.com/jw/?search=retrieve

  How can I retrieve the web page title using VB? - VBForums
www.vbforums.com/showthread.php?p=536649

 PHP :: Retrieve <TITLE> In Php Code ?
www.bigresource.com/PHP-Retrieve-lt-TITLE-gt-in-php-code--llgyHKTW.html

 Code Examples -> Tag content retrieval from websites with preg_match
www.weberdev.com/get_example-4625.html

 Print Page - how to programatically parse .ivl file to retrieve its latitude/longitude bound
forums.ilog.com/visualization/index.php?action=printpage;topic=894.0

 Kevin yank's php mysql book how to retrieve mysql data with ajax on the same page - SitePoint Forums
www.sitepoint.com/forums/showthread.php?p=4226904



Response  
  Smilies

Guest name   (optional)       Register for more options.



Trackbacks : If you talked about this article in your blog or website, you may instantly get a backlink 
  There's no trackback at the moment.









 

FICGS message




SEO forums and chat - Search engines optimization



 
Please download Flash player.
March 16, 2010

 

Buttons: Facebook, Twitter, MySpace, Google, Technorati, Yahoo buzz... Ficgs Facebook Myspace Twitter Google Technorati Stumble upon Delicious Digg Yahoo buzz Wikio Furl Reddit Linkedin Squidoo Newsvine Yahoo My Web Blogmarks Comments Blinklist Email

You comment I follow : Links included in comments will be "dofollow" if your post is not an obvious spam, comments are published instantly.


Write upside down to your friends !
(works with MySpace, Twitter, Facebook, Youtube, MSN, Hi5, Bebo, Yahoo...)







FICGS is also a Free Internet Correspondence Games Server.

Here you can play Chess, Go & Poker Texas Holdem online for free in rated class tournaments and a unique world championship.

Free Internet Chess & Go Server


Feel free to link to FICGS :