getclicky.com – I’m trying this program for web analytic info for my site
it’s free, just to need registration
you get info about visitors – from links/ from search engines
you can see the map with colored places from where visitors came
you can see on which pages visitors spend their time and how much time
Monthly Archives: January 2010
PHP Lessons (2)
variables – $
<?php
$hello='Hello,';
echo "<br>";
$num1=’7′;
$num2=3;
$result=$num1+$num2;
// one line comment
echo "this class is" .$result;
/* multiple
* lines comments
*/
echo "<br>";
$a=3;
$a++; //$a=$a+1
echo $a;
echo "<br>";
++$a;
echo $a;
echo "<br>";
$b=4;
$a+=$b;
echo $a;
echo "<br>";
$hello.=’world’;
echo $hello;
//@include ‘mytest.php’;
//@require ‘mytest.php’;
//echo "after error text";
//$str=`dir c: `;
//echo "<br> <pre>" .$str. "</pre>";
echo "<br>";
$age=44;
if ($age>;120)
{
echo "RIP";
}
else {
echo "long live";
}
?>;
global variables
$_GET, $_POST, $_COOKIES
PHP Lessons (1)
For starting to learn PHP we need installed on our computer
- wamp server
- Eclipse PHP Development Tools (download from http://www.zend.com/en/community/pdt)
Settings:
click On Wamp server->php->php.ini
error_reporting = E_ALL & ~E_NOTICE & E_STRICT
eclipse
workspace C:wampwww
file -swich workspace
php – right click – reset
open perspective
window-prefernaces-general-workspace-other-encoding utf-8
window-prefernaces-web- css file – iso10646
window-prefernaces-web- html file – iso10646
php perspectie – file – new project -name
java script enable
right click on project- new- php file – hello.php
right click on the file – run as php web page
window- web browser – fire fox