Jeremy
Are you runnig the script from a webserver or Command line, cause if you
are running it CL you could do it from there
(but don't ask me how, something to do with the date command)
Wow....thats freaky !! I just googled and was just at this site !!
Thanks Neven.
Jeremy
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Neven MacEwan
Sent: 20 April 2007 10:48
To: NZ Borland Developers Group - Offtopic List
Subject: Re: [DUG-Offtopic] Changing Date/Time
Jeremy Coulter wrote:
Cant see why not it is a PHP Cmd see http://nz2.php.net/shell_exec
Umm....in a PHP script??
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of Neven MacEwan
Sent: 20 April 2007 10:28
To: NZ Borland Developers Group - Offtopic List
Subject: Re: [DUG-Offtopic] Changing Date/Time
shell_exec?
Jeremy Coulter wrote:
Hi all.
Any one know how to change the time on a linx box via PHP?
I cant use telnet to do it, I can use Putty, but I need to do it
progmatically, and I thought maybe I coudl do it via a PHP script
that I call.
p.s. I am not a PHP OR Linux expert so dont get all technical on me
:-)
Jeremy
--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.0.0/751 - Release Date:
07/04/2007 22:57
---------------------------------------------------------------------
-
--
_______________________________________________
NZ Borland Developers Group Offtopic mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/offtopic
Unsubscribe: send an email to [EMAIL PROTECTED] with
Subject: unsubscribe
_______________________________________________
NZ Borland Developers Group Offtopic mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/offtopic
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject:
unsubscribe
--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.0.0/751 - Release Date:
07/04/2007
22:57
_______________________________________________
NZ Borland Developers Group Offtopic mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/offtopic
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject:
unsubscribe
--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.0.0/751 - Release Date: 07/04/2007
22:57
_______________________________________________
NZ Borland Developers Group Offtopic mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/offtopic
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe