NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Tricky PHP Timer

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 05-17-2006, 12:24 PM THREAD STARTER               #1 (permalink)
NamePros Member
 
Maylin's Avatar
Join Date: Oct 2005
Posts: 69
Maylin is on a distinguished road
 



Tricky PHP Timer


Hello,

I was wondering, if there is a way to make a timer that, going step by step:

Say if you had 10 pictures, for every hour. 1pm to 10pm

1. If it can be done as to type in a form the number of an hour (like 5)

2. If the number is typed in, it would directly take you to a picture made at
5 pm

Could this be done?
Just wondering.
Speaking for a friend.

Thank you if anyone can help
Maylin is offline  
Old 05-17-2006, 12:31 PM   #2 (permalink)
NamePros Member
Join Date: Apr 2006
Posts: 101
Echelon17 is an unknown quantity at this point
 



Yes it can be done.
__________________
Are you a freelancer?
www.skillsharing.co.uk
Echelon17 is offline  
Old 05-17-2006, 12:36 PM   #3 (permalink)
tm
Senior Member
 
tm's Avatar
Join Date: Nov 2005
Location: on a oil rig just off Ireland
Posts: 1,408
tm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of light
 



Originally Posted by Echelon17
Yes it can be done.
What a helpful post
__________________
You design in photoshop, I code into valid XHTML/CSS.
Professional PSD, PNG or HTML to tableless XHTML/CSS designs.
For more info, send me a PM.
tm is offline  
Old 05-17-2006, 12:38 PM   #4 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
Join Date: Feb 2006
Posts: 2,796
Dan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant future
 


Autism Autism Autism Autism Autism Autism Autism
I could help you if I knew what you meant..

You have a form, and the person puts in a number.

If they typed 5, it takes them to like 5.jpg?
Dan is offline  
Old 05-17-2006, 12:41 PM   #5 (permalink)
NamePros Member
Join Date: Apr 2006
Posts: 101
Echelon17 is an unknown quantity at this point
 



Originally Posted by tm
What a helpful post
Only as helpful as the original question. He asked if it could be done and he received a response.
????: NamePros.com http://www.namepros.com/programming/198269-tricky-php-timer.html

If he asks the right questions he'll get a better answer. Hint: How are you creating the images? Dynamically? Uploading via FTP? What are your file naming conventions? Do we have to take the timestamp of the file to work out when it was created?

So, although it seems my response was 'unhelpful', who are we to guess his exact requirements? Only he can figure that out.
__________________
Are you a freelancer?
www.skillsharing.co.uk
Echelon17 is offline  
Old 05-17-2006, 12:44 PM   #6 (permalink)
NamePros Regular
 
bliss's Avatar
Join Date: Dec 2005
Posts: 951
bliss is a name known to allbliss is a name known to allbliss is a name known to allbliss is a name known to allbliss is a name known to allbliss is a name known to allbliss is a name known to allbliss is a name known to all
 



Yes it can be done, look into using a cron event with a php file, otherwise php times out after 30~120 seconds. Though more information is needed.
bliss is offline  
Old 05-22-2006, 09:24 AM THREAD STARTER               #7 (permalink)
NamePros Member
 
Maylin's Avatar
Join Date: Oct 2005
Posts: 69
Maylin is on a distinguished road
 



Thank you guys alot. Just wanted to ask if it could be done, didn't want to go into to much detail. He has it working now. Just thought it was impossible for a while. He now knows it can be done. Thank You guys.
Maylin is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 02:42 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger