WEB


  Get vs Post in HTML form

In HTML, one can specify two different submission methods for a form. The method is specified inside a FORM element, using the METHOD attribute. The difference between METHOD="GET" (the default) and METHOD="POST" is primarily defined in terms of form data encoding. The official recommendations say that "GET" should be used if and only if the form processing is idempotent, which typically means a pure query form. Generally it is advisable to do so. There are, however, problems related to long URLs and non-ASCII character repertoires wh...

9,725 2       GET POST HTML FORM DATA SUBMISSION


  A Hello, World Servlet

Servlets are the pure Java solution to handle web requests. Many application will use servlets instead of JSP and others will use servlets in conjunction with JSP. Experienced JSP programmers use servlets in conjunction with JSP to create clearer and simpler applications. The servlets handle Java processing: form handing, calculation and database queries. JSP formats the results.Servlets belong in WEB-INF/classes. On this machine, the source is in Java source in /var/www/hosts/www.caucho.com/webapps/resin-3.0/WEB-INF/classes. WEB-INF/classes is the standard location for servlets and other Java...

3,583 0       WEB.XML TOMCAT SERVLET WEB-INF


  Why PHP Was a Ghetto

Note: I wrote this over a month ago, but decided not to publish it until now.I was talking with the Co-founder of a pretty cool start-up in DUMBO the other day about why the non-PHP development world generally has such disdain for PHP and the community surrounding it. He brought up an interesting point that stuck with me, largely because I hadn’t heard it before.If you’re unaware of the usual beef most developers have with PHP, it tends to revolve around:Ugly syntaxLack of some necessary features that other languages have (prior to 5.3, namespacing, closu...

3,502 0       PHP FRAMEWORK MVC


  HTML above flash (transparency + z-index)

We have faced this problem many of the times. When we want to display some message on top of all layers on a page or use some feature like jQuery light boxes. Normally the flash file continues to shine through the page. No matter what you do with layering the dom elements using z-index.See the layering flash content problem definition here.Before this, people used to dodge this issue with some fixes like hiding the flash area completely and then showing a static image of the html file in its place. Then it gave a semblance of layering flash beneath html conte...

2,825 0       HTML FLASH ABOVE Z-INDEX WMODE TRANSPARE


  Installing LAMP On Ubuntu

In this guide I will show you how to install a LAMP system. LAMP stands for Linux, Apache, MySQL, PHP. The guide is intended to help those who have very little knowlegde of using Linux. Install ApacheTo start off we will install Apache.1. Open up the Terminal (Applications > Accessories > Terminal).2. Copy/Paste the following line of code into Terminal and then press enter:sudo apt-get install apache23. The Terminal will then ask you for you're password, type it and then press enter. Testing ApacheTo make sure everything installed correctly we will now test ...

2,656 0       PHP UBUNTU APACHE MYSQL LINUX LAMP


  Cron Job in cPanel with PHP

Running PHP scripts automatically can have some big benefits. You can wait to have things get done when there is less traffic on your server, or you can ensure daily tasks get done on time.cPanel Simple CronEven if you do not know anything about cron jobs, and have never run a cron job before - you can get started with the simple cron tool built into cPanel. The url for it is:https://www.yoursite.com:2083/frontend/x/cron/simplecron.html?A few things you'll need is the path to php and the path to the script that you'll be running. You will need the full path to do this. If your path to PHP diff...

5,750 0       PHP CRON AUTONOMOUS JOB CPANEL LINUX


  Ajax file upload tutorial

Step 1 - AJAX file uploadAJAX file upload tutorialFirst of all I have to say that to create a pure AJAX file upload system is not possible because of security limitations of JavaScript. All of the Ajax upload systems I know use some third party tool/package or only mimics the AJAX feeling. Even so it makes file upload process a bit nicer. In the next section I will present you a solution which imitates the AJAX process, but uses a normal upload process and iFrames.The concept: Create a simple HTML form for file uploadSet the target to an iFrame which is on the actual page but not visibleC...

6,714 0       PHP AJAX TUTORIAL FILE UPLOAD IFRAME


  20 free fonts for web design

1.Comfortaa2.Quicksand3.Fertigo Pro4.Telegrafico5.Forque6.Romeral7.Sling8.League Gothic9.Molot10.Junction11.Tertre12.Nevis13.Existence Light14.Mentone15.Walkaway16.Jalane Light17.Insolent18.Kaffeesatz19.Vollkorn20.Gnuolane原文出自:ITeye...

2,797 0       WEB DESIGN FONTS COMFORTAA QUICKSAND