Internet Ohjelmointi 1 Examples 4

Size: px
Start display at page:

Download "Internet Ohjelmointi 1 Examples 4"

Transcription

1 Internet Ohjelmointi 1 Example 1 4 <title>form</title> 5 </head> 6 <body> 7 <form method="post" action="calc.php"> 8 Loan Amount <input type="text" name="principle" /><br> 9 Monthly Repayment <input type="text" name="monthly" /><br> 10 Number of Years <input type="text" name="years" value="25" /><br> 11 Interest Rate <input type="text" name="rate" value="6" /><br> 12 <input type="submit" value="send" /></form> 13 </body> 14 </html> Example 2 4 <title>margie's Travel</title> 5 <link rel="stylesheet" type="text/css" href="default.css"> 6 <style> 7 table {width: 100%} 8 body { 9 background-color: #cccc00; 10 } 11 </style> 12 </head> 13 <body> 14 <div id="header"> 15 <h1 style="text-align: center; margin: 3px; font-size: 40px">Margie's Travel</h1> 16 <h5 style="text-align: center; margin: 5px; font-size: 16px">Leave the details to us, and leave your worries behind</h5> 17 </div> 18 <hr style="clear: left"> 19 <div id="main"> 20 <h2>sign Up for Specials</h2> 21 <form method="post" action="handle.php"> 22 <table align="right" valign="top"> 23 <tr> 24 <td>name:</td> 25 <td><input type="text" name="name" id="name" required autofocus></td> 26 </tr> 27 <tr> 28 <td>address:</td> 29 <td><input type="text" name="address" required></td> 30 </tr> 31 <tr> 32 <td>city:</td>

2 Internet Ohjelmointi 2 33 <td><input type="text" name="city"></td> 34 </tr> 35 <tr> 36 <td>state:</td> 37 <td><input type="text" name="state"></td> 38 </tr> 39 <tr> 40 <td>zip:</td> 41 <td><input type="text" name="zip" required></td> 42 </tr> 43 <tr> 44 <td> address:</td> 45 <td><input type=" " name=" " maxlength="100" placeholder="enter your address"></td> 46 </tr> 47 <tr> 48 <td>comments:</td> 49 <td><textarea name="comments" id="comments" rows="6" cols="50" placeholder="enter comments here"></textarea></td> 50 </tr> 51 <tr> 52 <td></td> 53 <td><input type="submit" value="submit" id="submit" onclick="show();">&nbsp 54 <input type="reset" value="clear"></td> 55 </tr> 56 </table> 57 </form> 58 </div> 59 <div id="bottomnav"> 60 <hr style="clear: left"> 61 <p style="margin:0px; text-align:center"> 62 <a href="index.htm">home</a> 63 <a href="domestic.htm">domestic Travel</a> <a href="international.htm">international Travel</a> 64 <a href="faqs.htm">faqs</a> 65 <a href="about.htm">about</a> 66 <a href="mailing.htm">mailing List</a></p> 67 <hr> 68 </div> 69 <div> 70 <p class="copyright"> 71 Copyright Margie's Travel<br> 72 No material may be reproduced without written permission<br> 73 <a href="mailto:[email protected]">contact the Webmaster</a></p> 74 </div> 75 </body> 76 </html>

3 Internet Ohjelmointi 3 Example 21 4 <script> 5 function myfunction() 6 { 7 var coffee = document.getelementsbyname("coffee"); 8 var txt = ""; 9 var i; 10 for (i = 0; i < coffee.length; i++) 11 { 12 if (coffee[i].checked) 13 { 14 txt = txt + coffee[i].value + " "; 15 } 16 } 17 document.getelementbyid("order").value = "You ordered a coffee with: " + txt; 18 } 19 </script> 20 </head> 21 <body> 22 <p>how would you like your coffee?</p> 23 <form action="form_action.asp"> 24 <input type="radio" name="coffee" value="cream">with cream<br> 25 <input type="radio" name="coffee" value="sugar">with milk<br> 26 <br> 27 <input type="button" onclick="myfunction()" value="send order"> 28 <br><br> 29 <input type="text" id="order" size="50"> 30 <input type="submit" value="submit"> 31 </form> 32 </body> 33 </html>

4 Internet Ohjelmointi 4 Example 22 4 <script> 5 function myfunction() 6 { 7 var x = document.getelementbyid("myselect"); 8 var txt = ""; 9 for (var i=0; i<x.length; i++) 10 { 11 if (x.options[i].selected) { 12 txt = txt + x.options[i].text + "<br>"; 13 } 14 } 15 document.getelementbyid("demo").innerhtml=txt; 16 } 17 </script> 18 </head> 19 <body> <form> 22 <select id="myselect" multiple="multiple"> 23 <option>apple</option> 24 <option>orange</option> 25 <option>pineapple</option> 26 <option>banana</option> 27 </select> 28 </form> <p>click the button to return the text of all options in the drop-down list.</p> <p id="demo"></p> <button type="button" onclick="myfunction()">get the selected options</button> </body> 39 </html>

5 Internet Ohjelmointi 5 Example 23 2 <!-- 3 To change this license header, choose License Headers in Project Properties. 4 To change this template file, choose Tools Templates 5 and open the template in the editor. 6 --> 7 <html> 8 <head> 9 <title>todo supply a title</title> 10 <meta charset="iso "> 11 <meta name="viewport" content="width=device-width"> 12 <script> 13 function show() { 14 var myradios = document.getelementsbyname('gender'); 15 for (var i = 0, length = myradios.length; i < length; i++) { 16 if (myradios[i].checked) { 17 myvalue = myradios[i].value; 18 break; //Because only one can be selected 19 } 20 } 21 window.alert(myvalue); 22 } 23 </script> 24 </head> 25 <body> 26 <form> 27 <label for="male">male</label> 28 <input type="radio" name="gender" id="male" value="male"><br> 29 <label for="female">female</label> 30 <input type="radio" name="gender" id="female" value="female"><br><br> 31 <input type="submit" value="submit" onclick="show();"> 32 </form> 33 </body> 34 </html> 35

6 Internet Ohjelmointi 6 Example 3 4 <title></title> 5 <meta http-equiv="content-type" content="text/html; charset=iso "> 6 <style> 7 body { 8 width:100%; 9 } 10 form { 11 width:40%; 12 background-color: #ffcccc; 13 border: 1px solid; 14 } 15 h3 { 16 background-color: #009999; 17 width:40%; 18 color: #ffff00; 19 border: 1px solid; 20 } 21 </style> 22 </head> 23 <body> 24 <h3> Please answer the sports enquiry </h3> 25 <form action="do.php"> 26 <fieldset> 27 <table> 28 <legend>personal information</legend> 29 <tr><td><label for="name">name</label></td> 30 <td><input type="text" name="name" value="" /> </td></tr> 31 <tr><td><label for="address">address</label></td> 32 <td> <input type="text" name="address" value="" /> </td></tr> 33 <tr><td><label for=" "> </label></td> 34 <td><input type=" " name=" " value="" /></td></tr> 35 <tr><td><label for="male">male</label> </td> 36 <td> <input type="radio" name="gender" value="male" /></td></tr> 37 <tr><td><label for="female">female</label> 38 <td><input type="radio" name="gender" value="female" /></td></tr> </table> 41 </fieldset> 42 <fieldset> 43 <table> 44 <legend>query</legend> 45 <tr><td><label for="sports">select sports</label></td> 46 <tr><td><label for="tennis">tennis</label></td> 47 <td><input type="checkbox" name="sports" value="tennis" /></td></tr> 48 <tr><td><label for="badminton">badminton</label></td> 49 <td><input type="checkbox" name="sports" value="badminton" /> </td></tr> 50 <tr><td><label for="squash">squash</label> </td> 51 <td> <input type="checkbox" name="sports" value="squash" /> </td></tr> 52 <tr><td><label for="gym">gym</label></td> 53 <td><input type="checkbox" name="sports" value="gym" /></td></tr> 54 <tr><td><label for="usage">usage</label></td></tr> 55 <tr><td><select name="usage" size="1"> 56 <option value="daily">daily</option> 57 <option value="weekly">weekly</option> 58 <option value="monthly">monthly</option> 59 <option value="morefreq">more frequently</option> 60 </select></td></tr> 61 </table> 62 </fieldset> 63 <fieldset> 64 <legend>feedback</legend> 65 <label for="sat">satisfaction</label> 66 1<input type="range" name="sat" min="1" max="100" step="1" value="1"> <br><label id="label1" for="comment">comments</label> 68 <textarea name="comment" cols="60" rows="5" wrap="hard"> Give free comments...</textarea> 69 <hr> 70 <input type="submit" value="submit"><input type="reset" value="clear"> 71 </fieldset> 72 </form>

7 Internet Ohjelmointi 7 73 </body> 74 </html> Example $filename = "/tmp/myfile.txt"; 4 $fp1 = fopen($filename,"w") OR die("can't open file"); 5 for($i=1; $i < 6;$i++) 6 { 7 fwrite($fp1,"<br>row". "$i"); 8 } 9 fclose($fp1); $fp2 = fopen($filename,"r") OR die("can't open file"); 12 echo "<br><br>the contents of $filename file<br><br>"; 13 $filesize = filesize( $filename ); 14 $filetext = fread( $fp2, $filesize ); 15 echo ( "File size : $filesize bytes" ); 16 echo ( "<pre>$filetext</pre>" ); 17 fclose( $fp2 ); 18 19?> Example $filename = "/tmp/myfile.txt"; 4 $fp1 = fopen($filename,"w") OR die("can't open file"); 5 for($i=1; $i < 6;$i++) 6 { 7 fwrite($fp1,"<br>row". "$i"); 8 } 9 fclose($fp1); $fp2 = fopen($filename,"r") OR die("can't open file"); 12 echo "<br><br>the contents of $filename file<br><br>"; 13 $filesize = filesize( $filename ); 14 while(!feof($fp2)) { 15 $line = fgets($fp2); 16 echo $line; 17 } 18 echo ( "<br>file size : $filesize bytes" ); 19 echo ( "<pre>$filetext</pre>" ); 20 fclose( $fp2 ); 21 22?>

8 Internet Ohjelmointi 8 Example 6 2 $hak = opendir("images/"); 3 $nimi = readdir($hak); 4 echo "<br><br><br><br>directory Images/"; 5 while ($nimi) { 6 echo "<br>$nimi\n"; 7 $nimi = readdir($hak); 8 } 9 closedir($hak); 10?> Example 7 4 <title></title> 5 <meta http-equiv="content-type" content="text/html; charset=iso "> 6 <style> 7 form { 8 width:40%; 9 background-color: #ffcccc; 10 border: 1px solid; 11 } 12 h3 { 13 background-color: #009999; 14 width:40%; 15 color: #ffff00; 16 border: 1px solid; 17 } 18 </style> 19 <script type="text/javascript"> 20 function clearstatus() { 21 document.getelementbyid("status").innerhtml = ""; 22 } 23 function senddata(event) 24 { 25 var gender; 26 var myname = document.getelementbyid("myname").value; 27 var address = document.getelementbyid("address").value; 28 var = document.getelementbyid(" ").value; 29 var age = document.getelementbyid("age").value; 30 var radios = document.getelementsbyname('gender'); 31 for (var i = 0, length = radios.length; i < length; i++) { 32 if (radios[i].checked) { 33 gender = radios[i].value; 34 break; 35 } 36 } 37 if (window.xmlhttprequest) 38 {// code for IE7+, Firefox, Chrome, Opera, Safari 39 xmlhttp=new XMLHttpRequest(); 40 } 41 else 42 {// code for IE6, IE5 43 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); 44 } 45 xmlhttp.onreadystatechange=function() 46 { 47 if (xmlhttp.readystate==4 && xmlhttp.status==200) 48 { 49 document.getelementbyid("status").innerhtml=xmlhttp.responsetext; 50 } 51 } 52 xmlhttp.open("get","savedata.php?name="+myname + "&address=" +address + "& =" "&age=" +age + "&gender=" +gender,true); 54 xmlhttp.send(); 55 }

9 Internet Ohjelmointi 9 56 </script> 57 </head> 58 <body> 59 <h3> Please enter the fields and submit </h3> 60 <form> 61 <fieldset> 62 <table> 63 <legend>personal information</legend> 64 <tr><td><label for="name">name</label></td> 65 <td><input type="text" name="myname" id="myname" value="" /> </td></tr> 66 <tr><td><label for="address">address</label></td> 67 <td> <input type="text" name="address" id="address" value="" /> </td></tr> 68 <tr><td><label for=" "> </label></td> 69 <td><input type=" " name=" " id=" " value="" /></td></tr> 70 <tr><td><label for="male">male</label> </td> 71 <td> <input type="radio" name="gender" id="male" value="male" /></td></tr> 72 <tr><td><label for="female">female</label></td> 73 <td><input type="radio" name="gender" id="female" value="female" /></td></tr> 74 <tr><td><label for="age">age: </label></td> 75 <td> <input id="age" type="number" min="0" max="120" step="1" value ="21"/></td></tr> 76 </table> 77 <hr> 78 <input id="submit" type="button" value="submit" onclick="senddata();"><input type="reset" value="clear" onclick="clearstatus();" > 79 <div id="status"></div> 80 </fieldset> 81 </form> 82 </body> 83 </html> savedata.php 2 error_reporting(e_all); 3 ini_set('display_errors', '1'); 4 $name=$_get["name"]; 5 $address=$_get["address"]; 6 $ =$_get[" "]; 7 $age=$_get["age"]; 8 $gender=$_get["gender"]; 9 $filename = "/tmp/persons6.txt"; 10 $fp1 = fopen($filename,"a"); 11 if($fp1) { 12 if(filesize($filename) == 0) 13 fwrite($fp1, "<tr><th>name</th><th>address</th><th>age</th><th> </th><th>gender</th></tr> \r\n"); 14 fwrite($fp1, "<tr><td>". $name. "</td><td>". $address. "</td><td>". $age."</td><td>". $ . 15 "</td><td>". $gender. "</tr>\r\n"); 16 $status = "Save succesfull"; 17 } 18 else 19 $status = "Save not succesfull"; 20 fclose($fp1); 21 echo $status; 22?>

10 Internet Ohjelmointi 10 Example 8 4 <title></title> 5 <meta http-equiv="content-type" content="text/html; charset=iso "> 6 <style> 7 table { 8 width:40%; 9 } 10 table, td, th{ 11 border: solid 2px; 12 background-color: #ffcccc; 13 } 14 </style> 15 <script type="text/javascript"> 16 function getdata(event) 17 { 18 if (window.xmlhttprequest) 19 {// code for IE7+, Firefox, Chrome, Opera, Safari 20 xmlhttp=new XMLHttpRequest(); 21 } 22 else 23 {// code for IE6, IE5 24 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); 25 } 26 xmlhttp.onreadystatechange=function() 27 { 28 if (xmlhttp.readystate==4 && xmlhttp.status==200) 29 { 30 document.getelementbyid("data").innerhtml=xmlhttp.responsetext; 31 } 32 } 33 xmlhttp.open("get","getdata.php",true); 34 xmlhttp.send(); 35 } 36 </script> 37 </head> 38 <body> 39 <h3> Please press button to get data </h3> 40 <input id="fetch" type="button" value="get data" onclick="getdata();"> 41 <div id="data"></div> 42 </body> 43 </html> getdata.php 2 $filename = "/tmp/persons6.txt"; 3 $fp2 = fopen($filename,"r") OR die("can't open file"); 4 $filesize = filesize( $filename ); 5 $filetext = fread( $fp2, $filesize ); 6 fclose( $fp2 ); 7 echo ( "<table>$filetext</table>" ); 8?>

11 Internet Ohjelmointi 11 Example 9 4 <title>php Form Upload</title> 5 </head> 6 <body> 7 <form action="upload.php" method="post" enctype="multipart/formdata"> 8 <label for="file">filename:</label> 9 <input type="file" name="file" id="file"><br> 10 <input type="submit" name="submit" value="submit"> 11 </form> 12 </body> 13 </html> upload.php: 2 $allowedexts = array("jpg", "jpg", "jpeg", "gif", "png"); 3 $extension = end(explode(".", $_FILES["file"]["name"])); 4 if ((($_FILES["file"]["type"] == "image/gif") 5 ($_FILES["file"]["type"] == "image/jpeg") 6 ($_FILES["file"]["type"] == "image/png") 7 ($_FILES["file"]["type"] == "image/pjpeg")) 8 && ($_FILES["file"]["size"] < 20000) 9 && in_array($extension, $allowedexts)) 10 { 11 if ($_FILES["file"]["error"] > 0) 12 { 13 echo "Return Code: ". $_FILES["file"]["error"]. "<br>"; 14 } 15 else 16 { 17 echo "Upload: ". $_FILES["file"]["name"]. "<br>"; 18 echo "Type: ". $_FILES["file"]["type"]. "<br>"; 19 echo "Size: ". ($_FILES["file"]["size"] / 1024). " kb<br>"; 20 echo "Temp file: ". $_FILES["file"]["tmp_name"]. "<br>"; if (file_exists("/home/user/". $_FILES["file"]["name"])) 23 { 24 echo $_FILES["file"]["name"]. " already exists. "; 25 } 26 else 27 { 28 move_uploaded_file($_files["file"]["tmp_name"], 29 "/home/user/images/". $_FILES["file"]["name"]); 30 echo "Stored in: ". "/home/user/". $_FILES["file"]["name"]; 31 } 32 } 33 } 34 else 35 { 36 echo "Invalid file"; 37 } 38?>

LAB 4 HTML TABLES AND FORMS

LAB 4 HTML TABLES AND FORMS LAB 4 HTML TABLES AND FORMS What You Will Learn How to create HTML tables How to style tables How to create HTML forms Approximate Time The exercises in this lab should take approximately 40 minutes to

More information

UComment. UComment is a comment component for Umbraco, it makes it very easy to add comment functionality to any Umbraco content document you wish.

UComment. UComment is a comment component for Umbraco, it makes it very easy to add comment functionality to any Umbraco content document you wish. UComment UComment is a comment component for Umbraco, it makes it very easy to add comment functionality to any Umbraco content document you wish. Contents Installation... 3 Setup... 4 Prerequisites...

More information

ShoreTel Enterprise Contact Center 8 Installing and Implementing Chat

ShoreTel Enterprise Contact Center 8 Installing and Implementing Chat ShoreTel Enterprise Contact Center 8 Installing and Implementing Chat November 2012 Legal Notices Document and Software Copyrights Copyright 1998-2012 by ShoreTel Inc., Sunnyvale, California, USA. All

More information

Web - Travaux Pratiques 1

Web - Travaux Pratiques 1 Web - Travaux Pratiques 1 Pour rappel, le squelette d une page HTML5 est la suivante : Syntaxe ... ... Une fois qu une page est terminée,

More information

Links Getting Started with Widgets, Gadgets and Mobile Apps

Links Getting Started with Widgets, Gadgets and Mobile Apps Widgets, Gadgets, and Mobile Apps for Libraries: Tips, Code Samples, Explanations, and Downloads Michael Sauers Technology Innovation Librarian Nebraska Library Commission [email protected] Jason

More information

API. Application Programmers Interface document. For more information, please contact: Version 2.01 Aug 2015

API. Application Programmers Interface document. For more information, please contact: Version 2.01 Aug 2015 API Application Programmers Interface document Version 2.01 Aug 2015 For more information, please contact: Technical Team T: 01903 228100 / 01903 550242 E: [email protected] Page 1 Table of Contents Overview...

More information

Mobile Web Applications using HTML5. L. Cotfas 14 Dec. 2011

Mobile Web Applications using HTML5. L. Cotfas 14 Dec. 2011 Mobile Web Applications using HTML5 L. Cotfas 14 Dec. 2011 Reasons for mobile web development Many different platforms: Android, IPhone, Symbian, Windows Phone/ Mobile, MeeGo (only a few of them) Reasons

More information

How To Create A Web Database From A Multimedia Resources Database On A Microsoft Web Browser On A Pc Or Mac Or Mac (For Free) On A Mac Or Ipad Or Ipa (For Cheap) On Pc Or Ipam (For Money

How To Create A Web Database From A Multimedia Resources Database On A Microsoft Web Browser On A Pc Or Mac Or Mac (For Free) On A Mac Or Ipad Or Ipa (For Cheap) On Pc Or Ipam (For Money How to Build a Web Database: A Case Study Introduction This paper shows you how to build a simple Web application using ColdFusion. If you follow the sample case study of the multimedia resources database

More information

CREATING WEB FORMS WEB and FORMS FRAMES AND

CREATING WEB FORMS WEB and FORMS FRAMES AND CREATING CREATING WEB FORMS WEB and FORMS FRAMES AND FRAMES USING Using HTML HTML Creating Web Forms and Frames 1. What is a Web Form 2. What is a CGI Script File 3. Initiating the HTML File 4. Composing

More information

Introduction to web development and JavaScript

Introduction to web development and JavaScript Objectives Chapter 1 Introduction to web development and JavaScript Applied Load a web page from the Internet or an intranet into a web browser. View the source code for a web page in a web browser. Knowledge

More information

HTML5 and CSS3. new semantic elements advanced form support CSS3 features other HTML5 features

HTML5 and CSS3. new semantic elements advanced form support CSS3 features other HTML5 features HTML5 and CSS3 new semantic elements advanced form support CSS3 features other HTML5 features fallback solutions HTML5 and CSS3 are new and evolving standards two levels of fallback different browsers

More information

Chapter 1. Introduction to web development

Chapter 1. Introduction to web development Chapter 1 Introduction to web development HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 1 Objectives Applied 1. Load a web page from the Internet or an intranet into a web browser.

More information

Server-side: PHP and MySQL (continued)

Server-side: PHP and MySQL (continued) Server-side: PHP and MySQL (continued) some remarks check on variable: isset ( $variable )? more functionality in a single form more functionality in a single PHP-file updating the database data validation

More information

Internet Technologies

Internet Technologies QAFQAZ UNIVERSITY Computer Engineering Department Internet Technologies HTML Forms Dr. Abzetdin ADAMOV Chair of Computer Engineering Department [email protected] http://ce.qu.edu.az/~aadamov What are forms?

More information

Introduction to Web Development

Introduction to Web Development Introduction to Web Development Week 2 - HTML, CSS and PHP Dr. Paul Talaga 487 Rhodes [email protected] ACM Lecture Series University of Cincinnati, OH October 16, 2012 1 / 1 HTML Syntax For Example:

More information

Chapter 1 Introduction to web development and PHP

Chapter 1 Introduction to web development and PHP Chapter 1 Introduction to web development and PHP Murach's PHP and MySQL, C1 2010, Mike Murach & Associates, Inc. Slide 1 Objectives Applied 1. Use the XAMPP control panel to start or stop Apache or MySQL

More information

.NET Best Practices Part 1 Master Pages Setup. Version 2.0

.NET Best Practices Part 1 Master Pages Setup. Version 2.0 .NET Best Practices Part 1 Master Pages Setup Version 2.0 2014 CrownPeak Technology, Inc. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means, electronic

More information

Online HTTP Information Server and SMS Alerts System for Mobile Weather Station through GSM Wireless Communication

Online HTTP Information Server and SMS Alerts System for Mobile Weather Station through GSM Wireless Communication Online HTTP Information Server and SMS Alerts System for Mobile Weather Station through GSM Wireless Communication An Open-Source Guide Lahiru Wijesinghe All the information in this document is available

More information

Joomla 1.0 Extension Development Training. Learning to program for Joomla

Joomla 1.0 Extension Development Training. Learning to program for Joomla Joomla 1.0 Extension Development Training Learning to program for Joomla Objectives & Requirements Learn to develop basic Joomla Mambots, Modules and Components. Familiar with PHP and MySQL programming.

More information

Web Design and Development ACS-1809. Chapter 13. Using Forms 11/30/2015 1

Web Design and Development ACS-1809. Chapter 13. Using Forms 11/30/2015 1 Web Design and Development ACS-1809 Chapter 13 Using Forms 11/30/2015 1 Chapter 13: Employing Forms Understand the concept and uses of forms in web pages Create a basic form Validate the form content 11/30/2015

More information

HTML5 & CSS3. Jens Jäger Freiberuflicher Softwareentwickler JavaEE, Ruby on Rails, Webstuff Blog: www.jensjaeger.com Mail: mail@jensjaeger.

HTML5 & CSS3. Jens Jäger Freiberuflicher Softwareentwickler JavaEE, Ruby on Rails, Webstuff Blog: www.jensjaeger.com Mail: mail@jensjaeger. HTML5 & CSS3 and beyond Jens Jäger Freiberuflicher Softwareentwickler JavaEE, Ruby on Rails, Webstuff Blog: www.jensjaeger.com Mail: [email protected] 1 Content A short of history Html New Markup Webforms

More information

Why File Upload Forms are a Major Security Threat

Why File Upload Forms are a Major Security Threat Why File Upload Forms are a Major Security Threat To allow an end user to upload files to your website, is like opening another door for a malicious user to compromise your server. Even though, in today

More information

SmartTouch R CRM Enhancements. 1. Administrators now have an Account Preferences Section where you can view emails & phones in search views.

SmartTouch R CRM Enhancements. 1. Administrators now have an Account Preferences Section where you can view emails & phones in search views. SmartTouch R CRM Enhancements 1. Administrators now have an Account Preferences Section where you can view emails & phones in search views. You now have the option to view Email Address and/or Phone Number

More information

CMSC434 TUTORIAL #3 HTML CSS JavaScript Jquery Ajax + Google AppEngine Mobile WebApp HTML5

CMSC434 TUTORIAL #3 HTML CSS JavaScript Jquery Ajax + Google AppEngine Mobile WebApp HTML5 CMSC434 TUTORIAL #3 HTML CSS JavaScript Jquery Ajax + Google AppEngine Mobile WebApp HTML5 JQuery Recap JQuery source code is an external JavaScript file

More information

CST 150 Web Design I CSS Review - In-Class Lab

CST 150 Web Design I CSS Review - In-Class Lab CST 150 Web Design I CSS Review - In-Class Lab The purpose of this lab assignment is to review utilizing Cascading Style Sheets (CSS) to enhance the layout and formatting of web pages. For Parts 1 and

More information

Fast track to HTML & CSS 101 (Web Design)

Fast track to HTML & CSS 101 (Web Design) Fast track to HTML & CSS 101 (Web Design) Level: Introduction Duration: 5 Days Time: 9:30 AM - 4:30 PM Cost: 997.00 Overview Fast Track your HTML and CSS Skills HTML and CSS are the very fundamentals of

More information

Setup and Administration for ISVs

Setup and Administration for ISVs 17 Setup and Administration for ISVs ISV accounts for both hosted and private cloud support white labeling functionality and give you the ability to provision and manage customer tenants directly. A customer

More information

<Insert Picture Here>

<Insert Picture Here> Oracle Application Express: Mobile User Interfaces Marc Sewtz Senior Software Development Manager Oracle Application Express Oracle USA Inc. 520 Madison Avenue,

More information

CREATING AND PROCESSING HTML FORMS

CREATING AND PROCESSING HTML FORMS CREATING AND PROCESSING HTML FORMS Topics in This Chapter Data submission from forms Text controls Push buttons Check boxes and radio buttons Combo boxes and list boxes File upload controls Server-side

More information

We automatically generate the HTML for this as seen below. Provide the above components for the teaser.txt file.

We automatically generate the HTML for this as seen below. Provide the above components for the teaser.txt file. Creative Specs Gmail Sponsored Promotions Overview The GSP creative asset will be a ZIP folder, containing four components: 1. Teaser text file 2. Teaser logo image 3. HTML file with the fully expanded

More information

CMS and e-commerce Solutions. version 1.0. Please, visit us at: http://www.itoris.com or contact directly by email: sales@itoris.

CMS and e-commerce Solutions. version 1.0. Please, visit us at: http://www.itoris.com or contact directly by email: sales@itoris. Help Desk for Magento User Guide version 1.0 created by IToris IToris Table of contents 1. Introduction... 3 1.1. Purpose... 3 2. Installation and License... 3 2.1. System Requirements... 3 2.2. Installation...

More information

Introduction to web development using XHTML and CSS. Lars Larsson. Today. Course introduction and information XHTML. CSS crash course.

Introduction to web development using XHTML and CSS. Lars Larsson. Today. Course introduction and information XHTML. CSS crash course. using CSS using CSS 1 using CSS 2 3 4 Lecture #1 5 6 using CSS Material using CSS literature During this, we will cover server side web with JavaServer Pages. JSP is an exciting technology that lets developers

More information

Hello friends, This is Aaditya Purani and i will show you how to Bypass PHP LFI(Local File Inclusion)

Hello friends, This is Aaditya Purani and i will show you how to Bypass PHP LFI(Local File Inclusion) #Title: PHP LFI Bypass #Date : 12-July-2015 #Tested on: Kali Linux/ Windows 7 #Category : Papers #Exploit Author : Aaditya Purani Hello friends, This is Aaditya Purani and i will show you how to Bypass

More information

JavaServer Pages Fundamentals

JavaServer Pages Fundamentals JavaServer Pages Fundamentals Prof. Dr.-Ing. Thomas Korte Laboratory of Information Technology 1 Introduction to JSP JavaServer Pages (JSP) is a Java technology which enables the development of dynamic

More information

Web Design I. Spring 2009 Kevin Cole Gallaudet University 2009.03.05

Web Design I. Spring 2009 Kevin Cole Gallaudet University 2009.03.05 Web Design I Spring 2009 Kevin Cole Gallaudet University 2009.03.05 Layout Page banner, sidebar, main content, footer Old method: Use , , New method: and "float" CSS property Think

More information

Designing HTML Emails for Use in the Advanced Editor

Designing HTML Emails for Use in the Advanced Editor Designing HTML Emails for Use in the Advanced Editor For years, we at Swiftpage have heard a recurring request from our customers: wouldn t it be great if you could create an HTML document, import it into

More information

GEMFIND. We Handle The Journey. So You Can Focus On The Destination. WEB TECHNOLOGIES FOR THE JEWELRY INDUSTRY - Est. 1999

GEMFIND. We Handle The Journey. So You Can Focus On The Destination. WEB TECHNOLOGIES FOR THE JEWELRY INDUSTRY - Est. 1999 GEMFIND WEB TECHNOLOGIES FOR THE JEWELRY INDUSTRY - Est. 1999 We Handle The Journey So You Can Focus On The Destination COMPANY Your Jewelry Technology Team We Handle Your Entire Digital Experience WEB

More information

TabCaratteri="0123456789abcdefghijklmnopqrstuvwxyz._~ABCDEFGHIJKLMNOPQRSTUVWXYZ";

TabCaratteri=0123456789abcdefghijklmnopqrstuvwxyz._~ABCDEFGHIJKLMNOPQRSTUVWXYZ; Script / Utlity www.dominioweb.org Crea menu laterale a scomparsa Creare una pagina protetta da password. Lo script in questione permette di proteggere in modo abbastanza efficace, quelle pagine che ritenete

More information

lectures/6/src/blink.html blink.html David J. Malan Computer Science S-75 Harvard Summer School 10. <!DOCTYPE html> 12. </script> 16.

lectures/6/src/blink.html blink.html David J. Malan Computer Science S-75 Harvard Summer School 10. <!DOCTYPE html> 12. </script> 16. lectures/6/src/blink.html 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 3 3 3 3 blink.html function blinker() var blinks = document.getelementsbytagname("blink"); for (var i = 0; i < blinks.length; i++) if (blinks[i].style.visibility

More information

Pliki.tpl. boxes/facebooklike/box.tpl. boxes/login/box.tpl. boxes/pricelist/box.tpl

Pliki.tpl. boxes/facebooklike/box.tpl. boxes/login/box.tpl. boxes/pricelist/box.tpl Dokumentacja zmian plików graficznych: shoper red Wersja zmian: 5.5.3-5.5.4 Pliki.tpl boxes/facebooklike/box.tpl 1 {if $boxns->$box_id->pageid > 0} - 2 + 2

More information

Payment Page Integration Guide

Payment Page Integration Guide Payment Page Integration Guide Version 2.2 - May 2015 Table of Contents About this Guide...3 Introduction...4 Benefits of the Hosted Payment Page:...4 Submitting a Payment Request...5 Payment Request parameters...5

More information

(http://jqueryui.com) François Agneray. Octobre 2012

(http://jqueryui.com) François Agneray. Octobre 2012 (http://jqueryui.com) François Agneray Octobre 2012 plan jquery UI est une surcouche de jquery qui propose des outils pour créer des interfaces graphiques interactives. Ses fonctionnalités se divisent

More information

AD Phonebook 2.2. Installation and configuration. Dovestones Software

AD Phonebook 2.2. Installation and configuration. Dovestones Software AD Phonebook 2.2 Installation and configuration 1 Table of Contents Introduction... 3 AD Self Update... 3 Technical Support... 3 Prerequisites... 3 Installation... 3 Adding a service account and domain

More information

Chapter 2: Interactive Web Applications

Chapter 2: Interactive Web Applications Chapter 2: Interactive Web Applications 2.1! Interactivity and Multimedia in the WWW architecture 2.2! Server-Side Scripting (Example PHP, Part I) 2.3! Interactivity and Multimedia for Web Browsers 2.4!

More information

WEB DESIGN COURSE CONTENT

WEB DESIGN COURSE CONTENT WEB DESIGN COURSE CONTENT INTRODUCTION OF WEB TECHNOLOGIES Careers in Web Technologies How Websites are working Domain Types and Server About Static and Dynamic Websites Web 2.0 Standards PLANNING A BASIC

More information

How To Customize A Forum On Vanilla Forum On A Pcode (Forum) On A Windows 7.3.3 (For Forum) On An Html5 (Forums) On Pcode Or Windows 7 (Forforums) On Your Pc

How To Customize A Forum On Vanilla Forum On A Pcode (Forum) On A Windows 7.3.3 (For Forum) On An Html5 (Forums) On Pcode Or Windows 7 (Forforums) On Your Pc 1 Topics Covered Introduction Tool Box Choosing Your Theme Homepage Layout Homepage Layouts Customize HTML Basic HTML layout Understanding HTML Layout Breaking down and customizing the code The HTML head

More information

Differences between HTML and HTML 5

Differences between HTML and HTML 5 Differences between HTML and HTML 5 1 T.N.Sharma, 2 Priyanka Bhardwaj, 3 Manish Bhardwaj Abstract: Web technology is a standard that allow developing web applications with the help of predefined sets of

More information

Sample Code with Output

Sample Code with Output Sample Code with Output File Upload : In PHP, we can upload file to a server fileupload.html #menu a #content #italictext

More information

Form Handling. Server-side Web Development and Programming. Form Handling. Server Page Model. Form data appended to request string

Form Handling. Server-side Web Development and Programming. Form Handling. Server Page Model. Form data appended to request string Form Handling Server-side Web Development and Programming Lecture 3: Introduction to Java Server Pages Form data appended to request string

More information

Appendix H: Cascading Style Sheets (CSS)

Appendix H: Cascading Style Sheets (CSS) Appendix H: Cascading Style Sheets (CSS) Cascading Style Sheets offer Web designers two key advantages in managing complex Web sites: Separation of content and design. CSS gives developers the best of

More information

HTML Forms. Pat Morin COMP 2405

HTML Forms. Pat Morin COMP 2405 HTML Forms Pat Morin COMP 2405 HTML Forms An HTML form is a section of a document containing normal content plus some controls Checkboxes, radio buttons, menus, text fields, etc Every form in a document

More information

HTML Forms and CONTROLS

HTML Forms and CONTROLS HTML Forms and CONTROLS Web forms also called Fill-out Forms, let a user return information to a web server for some action. The processing of incoming data is handled by a script or program written in

More information

Further web design: HTML forms

Further web design: HTML forms Further web design: HTML forms Practical workbook Aims and Learning Objectives The aim of this document is to introduce HTML forms. By the end of this course you will be able to: use existing forms on

More information

Essential HTML & CSS for WordPress. Mark Raymond Luminys, Inc. 949-654-3890 [email protected] www.luminys.com

Essential HTML & CSS for WordPress. Mark Raymond Luminys, Inc. 949-654-3890 mraymond@luminys.com www.luminys.com Essential HTML & CSS for WordPress Mark Raymond Luminys, Inc. 949-654-3890 [email protected] www.luminys.com HTML: Hypertext Markup Language HTML is a specification that defines how pages are created

More information

Website Login Integration

Website Login Integration SSO Widget Website Login Integration October 2015 Table of Contents Introduction... 3 Getting Started... 5 Creating your Login Form... 5 Full code for the example (including CSS and JavaScript):... 7 2

More information

Managing Snort Alerts

Managing Snort Alerts Chapter 5 Managing Snort Alerts Scripts and Samples in this Chapter Gathering Snort Logs Building an Alerts Detail Report Building an Alerts Overview Report Managing Snort Rules 147 148 Chapter 5 Managing

More information

ios App Development Using Cordova

ios App Development Using Cordova ios App Development Using Cordova Created by Todd Treece Last updated on 2015-06-29 08:20:06 AM EDT Guide Contents Guide Contents Overview Installing Dependencies Creating a New App index.html index.css

More information

HTML Fails: What No One Tells You About Email HTML

HTML Fails: What No One Tells You About Email HTML HTML Fails: What No One Tells You About Email HTML 2 Today s Webinar Presenter Kate McDonough Campaign Manager at PostUp Worked with various ESPs: Constant Contact, Campaign Monitor, ExactTarget, Distribion

More information

Google Web Toolkit. Progetto di Applicazioni Software a.a. 2011/12. Massimo Mecella

Google Web Toolkit. Progetto di Applicazioni Software a.a. 2011/12. Massimo Mecella Google Web Toolkit Progetto di Applicazioni Software a.a. 2011/12 Massimo Mecella Introduction Ajax (Asynchronous JavaScript and XML) refers to a broad range of techniques Beyond the technical jargon,

More information

AUTOMATED CUSTOMER SUPPORT SYSTEM

AUTOMATED CUSTOMER SUPPORT SYSTEM AUTOMATED CUSTOMER SUPPORT SYSTEM Rikhard Nousiainen Master s Thesis June 2012 Information Technology ABSTRACT Author(s) Rikhard Nousiainen Master s thesis Automated customer support system Number of pages

More information

HAML und SASS. (und COMPASS) markup haiku vs. syntactically awesome stylesheets. Tobias Adam, Jan Krutisch mindmatters GmbH & Co.

HAML und SASS. (und COMPASS) markup haiku vs. syntactically awesome stylesheets. Tobias Adam, Jan Krutisch mindmatters GmbH & Co. Mit hotfixes von Carsten Bormann 2011-02-28, 2012-03-13 HAML und SASS (und COMPASS) markup haiku vs. syntactically awesome stylesheets Tobias Adam, Jan Krutisch mindmatters GmbH & Co. KG HAML (X)HTML Abstraction

More information

Secure Testing Service

Secure Testing Service Secure Testing Service Overview and pre-release use Authors: Andrej Sokoll Matthew Loewengart Revisions: 2011 Version 1.0 Page 2 Contents Overview... 3 Background... 3 How does the secure testing service

More information

PHP and XML. Brian J. Stafford, Mark McIntyre and Fraser Gallop

PHP and XML. Brian J. Stafford, Mark McIntyre and Fraser Gallop What is PHP? PHP and XML Brian J. Stafford, Mark McIntyre and Fraser Gallop PHP is a server-side tool for creating dynamic web pages. PHP pages consist of both HTML and program logic. One of the advantages

More information

SmartPad4i Solution Guide

SmartPad4i Solution Guide SmartPad4i Solution Guide SystemObjects Corporation March 2014 ABSTRACT With no mobile OS skills required, SmartPad4i leverages your existing RPG and COBOL skills to quickly build real mobile apps that

More information

Joomla Article Advanced Topics: Table Layouts

Joomla Article Advanced Topics: Table Layouts Joomla Article Advanced Topics: Table Layouts An HTML Table allows you to arrange data text, images, links, etc., into rows and columns of cells. If you are familiar with spreadsheets, you will understand

More information

MODx Web Development. Antano Solar John. Chapter No. 5 "Authentication and Authorization"

MODx Web Development. Antano Solar John. Chapter No. 5 Authentication and Authorization MODx Web Development Antano Solar John Chapter No. 5 "Authentication and Authorization" In this package, you will find: A Biography of the author of the book A preview chapter from the book, Chapter No.

More information

Web layout guidelines for daughter sites of Scotland s Environment

Web layout guidelines for daughter sites of Scotland s Environment Web layout guidelines for daughter sites of Scotland s Environment Current homepage layout of Scotland s Aquaculture and Scotland s Soils (September 2014) Design styles A daughter site of Scotland s Environment

More information

Web Browser. Fetches/displays documents from web servers. Mosaic 1993

Web Browser. Fetches/displays documents from web servers. Mosaic 1993 HTML5 and CSS3 Web Browser Fetches/displays documents from web servers Mosaic 1993 Firefox,IE,Chrome,Safari,Opera,Lynx,Mosaic,Konqueror There are standards, but wide variation in features Desktop Browser

More information

Agenda. 1. ZAPms Konzept. 2. Benutzer-Kontroller. 3. Laout-Aufbau. 4. Template-Aufbau. 6. Konfiguration. 7. Module.

Agenda. 1. ZAPms Konzept. 2. Benutzer-Kontroller. 3. Laout-Aufbau. 4. Template-Aufbau. 6. Konfiguration. 7. Module. Agenda. ZAPms Konzept.. Benutzer-Kontroller.. Laout-Aufbau.. Template-Aufbau. 5. Bildergalerie (Beispiel). 6. Konfiguration. 7. Module. . ZAPms Konzept Benutzer Web Server Benutzer-Kontroller www.domain/index.php

More information

Web Application Report

Web Application Report Web Application Report Security Report This report was created by IBM Rational AppScan 7.8.0.0 2/11/2009 5:25:03 PM 2/11/2009 5:25:03 PM 1/28 Copyright IBM Corp. 2000, 2009. All Rights Reserved. Report

More information

Magic Liquidizer Documentation

Magic Liquidizer Documentation Magic Liquidizer helps many web developers and website owners to instantly make their websites adaptable to mobile screens such as tablets and smartphones. Magic Liquidizer Documentation A complete solution

More information

How to Customize Support Portals

How to Customize Support Portals How to Customize Support Portals 2014 Bomgar Corporation. All rights reserved worldwide. BOMGAR and the BOMGAR logo are trademarks of Bomgar Corporation; other trademarks shown are the property of their

More information

USER S MANUAL JOOMLA! GOVERNMENT WEB TEMPLATE

USER S MANUAL JOOMLA! GOVERNMENT WEB TEMPLATE USER S MANUAL JOOMLA! GOVERNMENT WEB TEMPLATE 1 TABLE OF CONTENTS Introduction 3 Parts of the Government Web Template (GWT) 4 Logging In and Getting Started 5 GWT Joomla! Module Map 8 Editing the Top Bar

More information

OPENTABLE GROUP SEARCH MODULE GETTING STARTED ADD RESERVATIONS TO YOUR WEBSITE

OPENTABLE GROUP SEARCH MODULE GETTING STARTED ADD RESERVATIONS TO YOUR WEBSITE ADD RESERVATIONS TO YOUR WEBSITE OPENTABLE GROUP SEARCH MODULE The group search module allows users to select a specific restaurant location from a list and search tables at that location. The code below

More information

Coding Standards for Web Development

Coding Standards for Web Development DotNetDaily.net Coding Standards for Web Development This document was downloaded from http://www.dotnetdaily.net/ You are permitted to use and distribute this document for any noncommercial purpose as

More information

Contents. Downloading the Data Files... 2. Centering Page Elements... 6

Contents. Downloading the Data Files... 2. Centering Page Elements... 6 Creating a Web Page Using HTML Part 1: Creating the Basic Structure of the Web Site INFORMATION TECHNOLOGY SERVICES California State University, Los Angeles Version 2.0 Winter 2010 Contents Introduction...

More information

Distributed Authoring Addendum Uploading Digital Assets

Distributed Authoring Addendum Uploading Digital Assets Distributed Authoring Addendum Uploading Digital Assets This document pertains to uploading the following digital assets to be used on your website: 1 PDFs 2 Images 3 MS Word, Excel or PowerPoint documents

More information

The Essential Guide to HTML Email Design

The Essential Guide to HTML Email Design The Essential Guide to HTML Email Design Index Introduction... 3 Layout... 4 Best Practice HTML Email Example... 5 Images... 6 CSS (Cascading Style Sheets)... 7 Animation and Scripting... 8 How Spam Filters

More information

DEPARTMENT OF INFORMATION TECHNOLOGY

DEPARTMENT OF INFORMATION TECHNOLOGY M.A.M. COLLEGE OF ENGINEERING AND TECHNOLOGY TRICHY -621105 DEPARTMENT OF INFORMATION TECHNOLOGY ANNA UNIVERSITY PRACTICAL EXAMINATIONS, OCT 2011 RECORD NOTE BOOK CS1403 - SOFTWARE DEVELOPMENT LABORATORY

More information

Adding web interfaces to complex scientific computer models brings the following benefits:

Adding web interfaces to complex scientific computer models brings the following benefits: Fortran Applications and the Web Adding web interfaces to complex scientific computer models brings the following benefits: access, for anyone in the world with an internet connection; easy-to-use interfaces

More information

Overview... 2. Included Files... 6. Implementing the Block... 7

Overview... 2. Included Files... 6. Implementing the Block... 7 Overview... 2 The DCO Block Templates...2 DCO Apparel Template Block...3 DCO Auto Template Block...4 Supported Platforms...5 Demos/Downloads...5 Benefits...5 Use Case...6 Included Files... 6 Implementing

More information