- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
4 Posted Topics
<?php $im = imagegrabscreen(); imagepng($im, "myscreenshot.png"); ?> php5.2.2 gd5.2.2 =========================================== imagegrabscreen (PHP 5 >= 5.2.2) imagegrabscreen — Captures the whole screen HAVE A LOOK : [url]http://cn.php.net/manual/en/function.imagegrabscreen.php[/url]
change line 18 to //validation expected data exists if(!isset($_POST['name']) ||
the time is from php-server side. because of timezone. you can use this function before time(); date_default_timezone_set (PHP 5 >= 5.1.0) date_default_timezone_set — Sets the default timezone used by all date/time functions in a script bool date_default_timezone_set ( string $timezone_identifier ) [CODE]<?php date_default_timezone_set('America/Los_Angeles'); $script_tz = date_default_timezone_get(); if (strcmp($script_tz, ini_get('date.timezone'))){ echo …
never used. I just use cron and shell scripts.
The End.
dreamlove