المشاركات

عرض الرسائل ذات التصنيف HTML Form

Twitter Bootstrap Inline Form Example

صورة
Hi, this is another one of those quick twitter bootstrap tutorials which shows you how to create inline form using bootstrap css . As said many times, using bootstrap simplifies the task of building websites, especially web forms. Web Forms or otherwise called as HTML Forms are the inherent part of web development and a simple modern day website should include a contact form at the least. But to style those forms with css is a tedious task and using twitter bootstrap framework greatly simplifies it. Twitter Bootstrap Inline Form Layout HTML Forms can be laid out in different ways but at times you may have to make it packed in little available space, like having a login form in top navigation menu. This type of layout is called as 'inline form layout' and there is a separate class named '.form-inline' is available in bootstrap css. Using this css class along with the html <form> tag will automatically align the form elements side-by-side to create a co...

Simple File Upload in PHP Example (SCRIPT)

صورة
Simple File Upload in PHP Example : File uploading is a much discussed topic on Web. It is one of the vulnerable spot of any website, and its security will be breeched if not handled properly. So understanding how to upload files in php in a secure way is a must for anyone who wants to learn php web development . No worries. This simple php file upload script will show you how to upload files using php more securely by providing appropriate filters. Before starting, just make sure if your web server allows file uploading. Check for this line in the server's php.ini file. file_uploads = On If it is not set, then set it to 'On'. Simple File Upload in PHP Example: First let's create the html form for uploading the file. Add a file input and a submit button to the form. The file input is made especially to aid file uploading process, which comprises of a text box and a browse button. The user should click on the browse button to choose the file for uploadi...