[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

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


Closed Thread
 
LinkBack Thread Tools
Old 05-17-2006, 11:24 AM   #1 (permalink)
NamePros Member
 
Maylin's Avatar
 
Join Date: Oct 2005
Posts: 69
92.00 NP$ (Donate)

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, 11:31 AM   #2 (permalink)
NamePros Member
 
Join Date: Apr 2006
Posts: 101
0.00 NP$ (Donate)

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, 11:36 AM   #3 (permalink)
tm
Senior Member
 
tm's Avatar
 
Join Date: Nov 2005
Location: on a oil rig just off Ireland
Posts: 1,409
374.65 NP$ (Donate)

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


Quote:
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, 11:38 AM   #4 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
 
Join Date: Feb 2006
Posts: 2,801
56.00 NP$ (Donate)

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, 11:41 AM   #5 (permalink)
NamePros Member
 
Join Date: Apr 2006
Posts: 101
0.00 NP$ (Donate)

Echelon17 is an unknown quantity at this point


Quote:
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.

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, 11:44 AM   #6 (permalink)
NamePros Regular
 
bliss's Avatar
 
Join Date: Dec 2005
Posts: 952
176.95 NP$ (Donate)

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 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, 08:24 AM   #7 (permalink)
NamePros Member
 
Maylin's Avatar
 
Join Date: Oct 2005
Posts: 69
92.00 NP$ (Donate)

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 03:51 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85