[WTH] Bot Programmer - Possibly PHP?!?! - FTP / File Change

Status
Not open for further replies.

KraftyKyle

Elite Member
Joined
Aug 13, 2008
Messages
3,669
Reaction score
6,911
I'm looking for someone to create a simple ftp bot (I think that would do the trick) that uploads fileA to a location on my server every hour at :45 and then uploads fileB to a location on my server every hour at :00, etc. If you can do the job post and send me a PM.

Is it possible to check the server time via PHP and change the file accordingly? It's not this simple, but I'm looking to display one header on a web page for 45 minutes and then another header on the same web page for 15 minutes.

If you know another way to accomplish this let me know.
 
I can do this
add me up on skype
PavanIndia
 
Using your example, this should be close to what you are needing -

Code:
<?php
     date_default_timezone_set('UTC');
     $today = date("i");
     if ($today>=45){
          echo $today;
          echo "</br>ItemB";
     }else{
          echo $today;
          echo "</br>ItemA";
     }
?>

HTH,
ND

P.S.

Sent you a PM with links to the relevant PHP pages. - ND
 
Hello sir,
I am very good in php, please add me on skype: walcott911

Thanks and regards
 
You should do this with inline javascript or PHP not seperate files via FTP. PM me if you need help with this, or google for changing content dynamically based on time (i.e. good morning vs. good afternoon)
 
Status
Not open for further replies.
This thread has been auto closed due to the forum's thread age policy. Read more.
Back
Top