|
Last update:
$month[0]="--";
$month[1]="January";
$month[2]="February";
$month[3]="March";
$month[4]="April";
$month[5]="May";
$month[6]="June";
$month[7]="July";
$month[8]="August";
$month[9]="September";
$month[10]="October";
$month[11]="November";
$month[12]="December";
$days[0]="Sun";
$days[1]="Mon";
$days[2]="Tues";
$days[3]="Wed";
$days[4]="Thu";
$days[5]="Fri";
$days[6]="Sat";
$dayno=(int)date("w");
$monno=(int)date("m");
echo $days[$dayno]." ".$month[$monno]." ".date("d")."/".date("Y");
?>
| |||||
| home / court resources / Child support / custody & visitation / law archive / net resources | |||||
Medical Malpractice Attorney & Lawyers for Medical Malpractice Lawsuit Claims
California Criminal Defense Lawyer
Cost-Effective Software Escrow Solutions & Software Escrow Services Information
California Home Equity Loans the Best Home Equity Loans
California Home Mortgage Rates the Best Home Mortgage Refinance Rates
// This is an example of search engine results for the search phrase "fresh content"
// MiniFetch - Remote Content Retrieval System
// Retrieve HTML and content from a page on one site, strip or replace HTML tags,
// reformat with your preferences, then output it onto your own site page.
// Copyright by Mike New, - ASP, PHP, Site promotion. www.mikenew.net
// Disclaimer: By using this script you assume sole responsibility/liability
// for any outcome: legal, financial, and otherwise.
// Insert this script into your own html page, wherever you want the grabbed
// content to appear. Your server must support PHP 4.0. That's it
//replace with the URL of where you're gonna fetch the content. Can be relative.
//this is an example of retrieving content from AlltheWeb.
// Of course, you should always give credit, and certainly ask permission.
//replace with the URL from which you want to fetch content
$theLocation="http://www.alltheweb.com/search?cat=web&q=california+divorce+lawyer&phrase=on&h=50";
//what's the base domain name, without trailing slash? Just the domain itself, so we can fix any relative image and link problems.
$baseURL="http://www.alltheweb.com";
//$theLocation="http://www.teoma.com/search.asp?t=php&qcat=1&qsrc=1"; //TEOMA.com, a search for "php"
//$theLocation="http://www.AlmostAnySite.com/subdir/page.htm"; // wherever!
preg_match("/^(https?:\/\/)?([^\/]*)(.*)/i", "$theLocation", $matches);
$theDomain = "http://" . $matches[2];
$page = $matches[3];
$fd = fopen($theDomain.$page, "r");
$value = "";
while(!feof($fd)){
$value .= fread($fd, 4096);
}
fclose($fd);
//Below, at $start and $finish, you'll enter the start and finish points in the remote HTML.
//Don't forget to escape any " marks with a \ mark.
// Example: If the HTML is:
// You would tell MiniFetch:
// replace with your unique start point in the source of the HTML page
$start= strpos($value, "");
// replace with the unique finish point in the source of the HTML page
$finish= strpos($value, "Result Page");
$length= $finish-$start;
$value=substr($value, $start, $length);
$value = eregi_replace( " . $value = eregi_replace( " ]*>", "", $value ); // Remove | tags.
$value = eregi_replace( " | | |||