<?php
$url="http://google.com";
$title="Test Content";
$message = "$title $url";
$fb_access_token = "----";  // FB access token
$fb_user_id ="---";   //Facebook user id
$post_arg = array("access_token" => $fb_access_token, "message" => $message, "id" => $fb_user_id, "method" => "post");
fb_curl_function("https://graph.facebook.com/feed", "POST", $post_arg);
function fb_curl_function($req_url = "", $type = "", $arguments =  array()){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $req_url);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
curl_setopt($ch, CURLOPT_TIMEOUT, 100);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
if($type == "POST"){
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $arguments);
}
$result = curl_exec($ch);
curl_close ($ch);
return $result;
}
?>
Html, JAVA,DOTNET,Javascript, PHP, and JQuery Scripts and its issues with solutions
Monday, 7 April 2014
Facebook Auto Post functionality
To get random image
<?php for($i=0;$i<10;$i++){?>
<img src="http://www.gravatar.com/avatar/<?php echo md5(rand(1,100)) ?>?d=wavatar" alt="img" />
<?php } ?>Web Error Code
| Code | Description | Comment | 
| 100 | Continue | |
| 101 | Switching Protocols | |
| 200 | OK | Action completed successfully | 
| 201 | Created | Success following a POST command | 
| 202 | Accepted | The request has been accepted for processing, but the processing has not been completed. | 
| 203 | Partial Information | Response to a GET command, indicates that the returned meta information is from a private overlaid web. | 
| 204 | No Content | Server has received the request but there is no information to send back. | 
| 205 | Reset Content | |
| 206 | Partial Content | The requested file was partially sent. Usually caused by stopping or refreshing a web page. | 
| 300 | Multiple Choices | |
| 301 | Moved Permanently | Requested a directory instead of a specific file. The web server added the filename index.html, index.htm, home.html, or home.htm to the URL. | 
| 302 | Moved Temporarily | |
| 303 | See Other | |
| 304 | Not Modified | The cached version of the requested file is the same as the file to be sent. | 
| 305 | Use Proxy | |
| 400 | Bad Request | The request had bad syntax or was impossible to be satisified. | 
| 401 | Unauthorized | User failed to provide a valid user name / password required for access to file / directory. | 
| 402 | Payment Required | |
| 403 | Forbidden | The request does not specify the file name. Or the directory or the file does not have the permission that allows the pages to be viewed from the web. | 
| 404 | Not Found | The requested file was not found. | 
| 405 | Method Not Allowed | |
| 406 | Not Acceptable | |
| 407 | Proxy Authentication Required | |
| 408 | Request Time-Out | |
| 409 | Conflict | |
| 410 | Gone | |
| 411 | Length Required | |
| 412 | Precondition Failed | |
| 413 | Request Entity Too Large | |
| 414 | Request-URL Too Large | |
| 415 | Unsupported Media Type | |
| 500 | Server Error | In most cases, this error is a result of a problem with the code or program you are calling rather than with the web server itself. | 
| 501 | Not Implemented | The server does not support the facility required. | 
| 502 | Bad Gateway | |
| 503 | Out of Resources | The server cannot process the request due to a system overload. This should be a temporary condition. | 
| 504 | Gateway Time-Out | The service did not respond within the time frame that the gateway was willing to wait. | 
| 505 | HTTP Version not supported | 
HTML codes to put currency characters on your Web page
| Display | Friendly Code | Numerical Code | Hex Code | Description | 
|---|---|---|---|---|
| र | ₹ | ₹ | ₹ | Indian Currency Symbol | 
| ¤ | ¤ | ¤ | ¤ | Generic Currency Symbol | 
| $ | $ | $ | $ | Dollar Sign | 
| ¢ | ¢ | ¢ | ¢ | Cent Sign | 
| £ | £ | £ | £ | Pound Sterling | 
| ¥ | ¥ | ¥ | ¤ | Yen Symbol | 
| ? | ₣ | ₣ | Franc Sign | |
| ? | ₤ | ₤ | Lira Symbol | |
| ? | ₧ | ₧ | Peseta Sign | |
| € | € | € | € | Euro Symbol | 
| % | % | % | % | Percent | 
| ‰ | ‰ | ‰ | Per Thousand | 
Uthama Villain Tamil Movie Songs Mp3 Download
Coming Soon
Info Of Uthama Villain Tamil Movie: Movie: Uthama Villain (2014) Director: Ramesh Aravind. Casting: Kamal Haasan, K. Balachander, Parvathi, Anant. Producer: N. Lingusamy, Kamal Haasan Co-produced: Kamal Haasan. Co-written: Kamal Haasan, Crazy Mohan. Music Composer: Music: M. Ghibran. Genre: comedy Film. Language: Tamil. Country: India. Released: 2014. Mp3 Bite Rate: 128/192/320Kbps.
TNPSC VAO :: Village Administrative Officer (2013-2014) in the Tamilnadu ministerial service
Recruitment of  TNPSC VAO 2014
Date Extend to Apply Before 15-Apr-2014
Date Extend to Apply Before 15-Apr-2014
SBI :: Recruitment of Probationary Officers in State Bank of India (2014-15)
Recruitment of Probationary Officers in State Bank of India (2014-15)
Advertisement No. CRPD/PO/2014-15/01
On-line registration of application : 07.04.2014 TO 25.04.2014
Payment of fee:
On-line 07.04.2014 TO 25.04.2014
Off-line 10.04.2014 TO 28.04.2014
Advertisement No. CRPD/PO/2014-15/01
On-line registration of application : 07.04.2014 TO 25.04.2014
Payment of fee:
On-line 07.04.2014 TO 25.04.2014
Off-line 10.04.2014 TO 28.04.2014
Subscribe to:
Comments (Atom)
Feet/Inches to Meters Converter & Lbs to Kgs Converter
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Feet/Inches ⇄...
- 
<?php $to = "somebody@example.com, somebodyelse@example.com"; $subject = "HTML email"; $message = " <h...
 - 
document.onkeydown = myKeyDownHandler; function myKeyDownHandler(event){ alert(event.keyCode) }
 - 
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Feet/Inches ⇄...
 


