All go now. Had a lot of problems with it not working, but the default user
of the linux box didn’t have access to run sudo, so when I edited a file it
was away.....yay for me :-)

Jeremy 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jeremy Coulter
Sent: 20 April 2007 12:57
To: 'NZ Borland Developers Group - Offtopic List'
Subject: RE: [DUG-Offtopic] Changing Date/Time

Well, I think this will do fine. All I am doing is syncing a clock between
PC's progmatically, so if this PHP thing works, which, it does seem too,
then that’s all I need.
This is my first ever PHP script....nice complex one to choose :-)

Jeremy

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Neven MacEwan
Sent: 20 April 2007 12:06
To: NZ Borland Developers Group - Offtopic List
Subject: Re: [DUG-Offtopic] Changing Date/Time

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: Offtopic@delphi.org.nz
>>> 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: Offtopic@delphi.org.nz
>> 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: Offtopic@delphi.org.nz
> 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: Offtopic@delphi.org.nz
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
 

--
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: Offtopic@delphi.org.nz
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
 

-- 
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: Offtopic@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/offtopic
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Reply via email to