Posts

Tech Blog For Developers: 100 Twitter Tools to Help You Achieve All Your Goals

Tech Blog For Developers: 100 Twitter Tools to Help You Achieve All Your Goals

100 Twitter Tools to Help You Achieve All Your Goals

Twitter has become an incredible tool not just for communication, but for improving your life. College students can use it to expand their social circle, promote their side business, keep their coursework organized, and more. Whether you want to achieve your Twitter goals, or just use it as a tool to achieve others, these tools will help you get there. Twitter Analysis If your goal is to be popular and influential on Twitter, be sure to check out these tools that will tell you how you’re doing. 1. Twitter Grader: Learn your Twitter grade, your local Twitter Elite, and find new people to follow through Twitter Grader. 2. Twitterholic: Check out the top Twitter users and find out your Twitter stats on Twitterholic. 3. TweetStats: TweetStats offers a graphical analysis of your Twitter stats. 4. Twitter Friends: Carefully measure your Twitter conversations using Twitter Friends. 5. Twinfluence: Twinfluence will measure your Twitter influence based on reach, velocity, and soc...

Most Desirable Collection Of powerful jQuery- part1

Image
jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. As Web developers we are always in search of new tutorials and resources, tips, tricks for our readers . Today we listed Most Desirable Collection Of powerful jQuery etc. We obviously cannot cover all the best from the web, but we have tried to cover as much as possible. I will appreciate if you can spread the word via Digg, Stumbleupon and other social media websites, Thank you. 1. NestedSortable : 2. jQuery Flick : 3. Jquery-Absolutize : 4. Greybox Redux : 5. jquery Hover Sub Tag Cloud : 6. Background Animation Plugin : 7. Justify elements using jQuery : 8. jQuery InputHintBox : 9. jQuery Form Input Plugin : 10. Jquery-Animated Hover : 11. Jquery - akModal alternative to thickbox : 12. Jquery-AIR : 13. jQuery Slider Gallery : 14. Farbtast...

Authentication over HTTP

Image
HTTP authentication traditionally takes the form of .htaccess files scattered around various directories webmasters want to keep private. A typical .htaccess file, combined with a .htpasswd file, contains information about users that are allowed access to a directory and their password. Even though Apache allows you to customise these permissions, the system is far from flexible - hand-editing files each time you add users, or having to group authorised users together by password is a little behind the times. HTTP authentication is mostly just a matter of sending special HTTP headers to your client asking them to provide access codes, and it is straightforward to implement in PHP as long as you have configured PHP to run as an Apache module (see previous issue for our installation guide). Let's look at basic authentication by creating the file auth.php, which should look like this: if (!isset( $_SERVER [ 'PHP_AUTH_USER' ])) { header ( "WWW-Authenticat...

Reading queued headers

array headers_list ( void ) We already looked at the headers_sent() function, which tells us whether or not HTTP headers have already been sent to the client. This function duplicates that functionality, but, crucially, also returns headers that have yet to be sent, which when you think about it is a bit more useful. As you can see from the prototype, it takes no parameters, and returns an array. That array contains a numerically indexed list of the headers that are ready for sending, which means we can extend our previous example like this: header ( "Expires: Sat, 22 Dec 1979 05:30:00 GMT" ); echo "This is some text for output. " ; if (! headers_sent ( $filename , $linenum )) { // if no headers have been sent, send one // this will not execute, as we sent the Expires header. header ( "Location: www.yoursite.com" ); exit; } else { echo "Headers alr...

Sending custom headers Using PHP

string header ( string header_to_send [, bool replace [, int http_response_code ]]) bool headers_sent ( [string &file [, int &line ]]) As well as status codes, there are a variety of special HTTP headers you can send that give you greater control. For example, the "Location" header instructs browsers to request a different URL, the "Content-Type" header tells browsers what kind of content they are about to receive, and the "WWW-Authenticate" header tells browsers that they need to send some authentication information to proceed. Each of these headers is combined with the HTTP status code to form the header of a HTTP response. This is then followed by two carriage return/line feeds, \r\n\r\n, then the actual content. For example, here is what I got when I sent a request to the popular hardware discussion site, tomshardware.com: HTTP/1.1 200 OK Date: Thu, 31 Jul 2003 21:35:46 GMT Server: Apache/1.3.26 (Unix) mod_...

Host and IP resolution

string gethostbyaddr ( string ip_address ) string gethostbyname ( string hostname ) string gethostbynamel ( string hostname ) There are three functions designed to specifically resolve web host information, and these are gethostbyaddr() , gethostbyname() and gethostbynamel() (that is a lower-case L, by the way). All three take one parameter, and the first two complement each other perfectly - gethostbyname() returns the IP address of a server you specify, and gethostbyaddr() returns the domain name of an IP address you specify. Here is an example of their usage: $sdip = gethostbyname ( "slashdot.org" ); $sddomain = gethostbyaddr ( $sdip ); print "IP: $sdip\n" ; print "Domain: $sddomain\n" ; ?> That should output the following: IP: 66.35.250.150 Domain: slashdot.org By default, gethostbyname() returns the first value IP address for a host, but i...