Webdesign Pohodlí
Print | Mobile / PDA | Classic style
Česky English

Skip navigation

Programming

Programming is about writing commands, which execues your computer. You can generate web content from databasis, upload and work with pictures, create documents and many more. Possibilities of what you can create with programming are limited by imaginativeness and ability of systems programmer.

PHP and MySQL

The main technologies used in programming are PHP and MySQL. PHP is open scripting language. It is often used for generating code (X)HTML. MySQL is database system. It is used in e-shops and content management systems.

Illustration of PHP code:

/** Function for encoding:
*
* Provides basic encoding of any string
*
* @param string $string any string
* @param string $key password for encoding
* @return string $result gives back i.e. dsf32dfh7ghj6cv2
*/
function encrypt($string, $key) {
  $result = '';
   for($i=0; $i<strlen($string); $i++) {
       $char = substr($string, $i, 1);
       $keychar = substr($key, ($i % strlen($key))-1, 1);
       $char = chr(ord($char)+ord($keychar));
       $result.=$char;
   }
 return base64_encode($result);
}


...etc.



Where continue?

 

Write us:

(*) must be filled

Declaration of Web Content Accessibility | Site map
All rights reserved
webdesign@pohodli.com © Webdesign Pohodlí 2002 - 2010