echo (time() - $dbTimeValue); // прошедшее время от момента добавления
<script src="script.js?<?=rand()?>" type="text/javascript"></script>
data: {name: name_login, pass: pass_login},
if (isset($_POST['user']) && isset($_POST['password'])){
function callMe(name:String):String
{
return "busy signal";
}
ExternalInterface.addCallback("myFunction", callMe);
<script language="JavaScript">
// callResult gets the value "busy signal"
var callResult = flashObject.myFunction("my name");
</script>
...
<object id="flashObject"...>
...
<embed name="flashObject".../>
</object>
$w = imagesx($image);
$h = imagesy($image);
$colors = array();
for ($x = 0; $x <= $w; $x++) {
$colors[$x] = array();
for ($y = 0;$y <= $h; $y++ ) {
$color = imagecolorat($img, $x, $y);
$red = ($rgb >> 16) & 0xFF;
$green = ($rgb >> 8) & 0xFF;
$blue = $rgb & 0xFF;
$colors[$x][$y] = $color;
}
}