Hey, I'm back again. Aren't you soo happy to see me!? Well I've made a lot of progress with PHP, but i now need some more help. How would I make a simple countdown script that shows the number of years, months, and days to a certain date? For example:
Bouley86's Birthday: 3 months and 26 days
Any suggestions on how to do this?now if i was going to allow users to upload images, how do i do that? What do i use for uploading? Thanks!best way to do a count down is to have a varaible with the date you want then just make it timestamp and then compare it to todays timestamp and echo it out as a date()
so look into
strtotime() and date() and time()
with uploading you need to look into copy() and $_FILES[]i made a script using the ftp functions that will upload an image file to the server. i can post it here if you wanthow is that a countdown?it isnt, but....now if i was going to allow users to upload images, how do i do that? What do i use for uploading? Thanks! he did post that too
Bouley86's Birthday: 3 months and 26 days
Any suggestions on how to do this?now if i was going to allow users to upload images, how do i do that? What do i use for uploading? Thanks!best way to do a count down is to have a varaible with the date you want then just make it timestamp and then compare it to todays timestamp and echo it out as a date()
so look into
strtotime() and date() and time()
with uploading you need to look into copy() and $_FILES[]i made a script using the ftp functions that will upload an image file to the server. i can post it here if you wanthow is that a countdown?it isnt, but....now if i was going to allow users to upload images, how do i do that? What do i use for uploading? Thanks! he did post that too