Tagged: html

Building Basic Websites 1

Building Basic Websites

Every now and again you just need a basic site setup to have an internet presence. Normally this occurs for me when a friend or family member tells people I “do websites”...

Simple HTML Cheat Sheet 2

Simple HTML Cheat Sheet

Rich’s Simple HTML Cheat Sheet   <h1>This is a heading</h1>      <b>This is bold</b>       <i>This is itallic</i> <br />     = New line       &nbsp;   = Extra Space <a href=”contacts.htm”>Contact Form</a>    = Link <img src=”images/picture.jpg”...

Two php functions for scraping content and extracting links

Two php functions for scraping content and extracting links

////// Grab webpage ////// function webFetcher($url) { $crawl = curl_init(); curl_setopt ($crawl, CURLOPT_URL, $url); curl_setopt($crawl, CURLOPT_RETURNTRANSFER, 1); $resulting = $resulting.curl_exec($crawl); curl_close($crawl); return $result = $resulting; } //////////////////////////////// //// extract links //// function...