Archive

Posts Tagged ‘POST’

Twitter like loading (Load More)

December 3rd, 2009 Jigish Thakar No comments

twitter t 300x249 Twitter like loading (Load More)

basically this is the most simplest way to load data in twitter way (Load more). for this i have not used jquery, mootools or any other fancy javascript framework. to use this you need very basic knowledge of javascript along with little ajax & php that’s it, so here we start

step 1: you html base

again i have kept this very simple.. just one div where you want to show your twitts. now heart of this code will be your javascript functions here we will use 2 javascript functions one to send request (AJAX) and another one to load your resulting twitts… also i have used 1 javascript variables to trace my twitts (pages)


i.e.

var page = 1;

lets start with first function

function getData(){

	document.getElementById("div-Loading").className = "show";
	document.getElementById("div-button").className = "hide";
	remoteCall("php/ajax.php","page="+page,"loadData");
}

below two lines are just hide the load more button and show loading image.

	document.getElementById("div-Loading").className = "show";
	document.getElementById("div-button").className = "hide";

and this are simple Stylesheet classes to show and hide the content. Read more…

Easy cURL 1.2

May 4th, 2009 Jigish Thakar No comments

This PHP class can be used to access Web resources using the cURL extension, which can send HTTP requests to a given URL using the GET or POST methods with optional parameters.

In addition to all regular cURL options, the class also supports methods for setting authentication credentials and making requests over a proxy server.

Requirements:

· PHP 5 or higher

download

Sphinx

March 3rd, 2009 Jigish Thakar No comments

Sphinx is a full-text search engine, distributed under GPL version 2. Commercial license is also available for embedded use.

Generally, it’s a standalone search engine, meant to provide fast, size-efficient and relevant fulltext search functions to other applications. Sphinx was specially designed to integrate well with SQL databases and scripting languages. Currently built-in data sources support fetching data either via direct connection to MySQL or PostgreSQL, or using XML pipe mechanism (a pipe to indexer in special XML-based format which Sphinx recognizes).

As for the name, Sphinx is an acronym which is officially decoded as SQL Phrase Index. Yes, I know about CMU’s Sphinx project.

for more information click here

Dropdown with the file names

October 24th, 2008 sagar 3 comments

hii guys today i came across a problem wherein i had to fill in a dropdown menu with all the file names in a particular folder. and this is wat i hav got from a free source and believe me guys this is as simple as you can imagine.. Read more…

Google update stomps Chrome browser bugs

October 17th, 2008 Jigish Thakar No comments

 Google update stomps Chrome browser bugsGoogle released a developer-oriented update to its Chrome Web browser on Wednesday that fixes some crashes and video playback issues.

Chrome is still in beta testing, and for those who have an even higher tolerance for rough-around-the-edges software, Google also offers developer versions. Chrome 0.3.154.3 is the latter; see our earlier post on how to subscribe to the Chrome Dev channel. Read more…