Archive for July, 2009
CURL PHP: Email this page to a friend
on July 11, 2009
Using curl to take snapshots of the current page for emailing the HTML is a clever little idea. (ie: Email this page to a friend) <?php //to be explained below! session_write_close(); $pageurl = "http://www.site.com/content.php?PHPSESSID=123XYZ curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($ch, CURLOPT_URL, $pageurl ); $html = curl_exec ( $ch ); curl_close($ch); //then you need to fix pathing to absolute $search = "/(src|href|background)="[^:,^>,^\"]*\"/i"; preg_match_all ( $search, …
How AJAX can Work for you
on July 11, 2009
If you’ve been in the internet world for sometime, you might have bumped in the word AJAX. No, it’s not the European Soccer team but it’s a new web development tool that has been the craze for millions of web developers. Every training center and computer schools are scrambling to learn this new software so that it can be offered in courses. Proficiency …
Why use Ajax and why not
on July 11, 2009
Advantages to using AJAX There are quite a few advantages to AJAX, but all of them center around the above point: usability. AJAX provides a way for the user to interact with a website without refreshing, and furthermore, without any browser plug-ins. There’s currently a war going on, many people may be missing this, but it’s a war none the less. The war …
5 Disadvantages of AJAX
on July 11, 2009
The disadvantages of AJAX are: Search engines would not be able to index an AJAX application. The server information can not be accessed within AJAX. AJAX is not well integrated with any browser. ActiveX requests are enabled only in IE 5 and IE6 Data of all requests is URL-encoded which increases the size of the request
Advantages and Disadvantages of Ajax
on July 11, 2009
While there are a number of advantages to using Ajax, there are also some disadvantages as well. One of the main reasons why people support it is the interface. Those who use pages with Ajax will find that they operate more like an application rather than a standalone program. With normal web pages, users will have to click on a link if they …
About Ajax !
on July 11, 2009
AJAX is a term used to describe an approach to designing and implementing web applications. It is an acronym for Asynchronous JavaScript and XML. The term was first introduced in an article by Jesse James Garrett of Adaptive Path, a web-design firm based out of San Francisco. He conceived of the term when he realized the need for an easy, sellable way to …
What is Ajax?
on July 11, 2009
What is Ajax? Ajax is a way of developing Web applications that combines: XHTML and CSS standards based presentation Interaction with the page through the DOM Data interchange with XML and XSLT Asynchronous data retrieval with XMLHttpRequest JavaScript to tie it all together In the traditional Web application, the interaction between the customer and the server goes like this: Customer accesses Web application …
How many values can the SET function of MySQL take?
on July 3, 2009
MySQL set can take zero or more values but at the maximum it can
Explain the difference between BOOL, TINYINT and BIT
on July 2, 2009
Prior to MySQL 5.0.3: those are all synonyms. After MySQL 5.0.3: BIT data type can store 8 bytes of data and should be used for binary data.

