Current location: Hot Scripts Forums » General Community » Script Requests » Looking for php script


Looking for php script

Reply
  #1 (permalink)  
Old 01-31-04, 07:34 AM
whl626 whl626 is offline
Newbie Coder
 
Join Date: Jan 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Looking for php script

Can anyone tell me what php script suits my requirement ? I need a php script where it can update a file for me based on the date.

I have for example : slang001.html, slang002.html, slang003.html

I hope to insert a script into my index page where it can update the slang001.html on the first day and automatically changes into slang002.html on the following day ....... and so on.

I am tired of updating my " slang of the day " on my index page every day.
__________________
Learn English every day
http://englishdaily626.com
Reply With Quote
  #2 (permalink)  
Old 01-31-04, 08:20 AM
Stefan's Avatar
Stefan Stefan is offline
Junior Code Guru
 
Join Date: Jun 2003
Location: Utrecht, The Netherlands
Posts: 599
Thanks: 0
Thanked 0 Times in 0 Posts
moving this to Script Requests
Reply With Quote
  #3 (permalink)  
Old 01-31-04, 04:28 PM
GG Dart's Avatar
GG Dart GG Dart is offline
Newbie Coder
 
Join Date: Jan 2004
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
do you have every slang thing in a divernt html file and just want it to change every day? then you could let your script in your index.php get the server time and then look at the day and if the day is like 1,5 ,10 then include slang1.html if day 2,4,.... then include slang2.html and so on
__________________
GG
Taitei Saru
大 帝 猿
Reply With Quote
  #4 (permalink)  
Old 01-31-04, 04:48 PM
indiana james indiana james is offline
Newbie Coder
 
Join Date: Jan 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
I agree with G G Dart. You could also make a little script to upload a new file, when you want to add new content in your slang-file.

Or you could upload the file with ftp. When you do that, I guess you'll need a script to renew the info used to determine what day it is (to change the name of your slang-file).

James

Last edited by indiana james; 01-31-04 at 04:53 PM.
Reply With Quote
Reply

Bookmarks


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

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with my largest perl script. Grabbing data from a file. Sunnmann Perl 2 04-23-08 03:27 AM
Looking for a good review management script griz_fan Script Requests 10 07-29-07 05:08 AM
Is there any integrity of script rankings? webmaster@atmanager.com Hot Scripts Forum Questions, Suggestions and Feedback 17 08-06-04 12:12 AM
Affiliate script (PHP) whtiebear Job Offers & Assistance 2 12-21-03 12:12 AM
live chat script, form script, autoresponder, babalu Script Requests 0 12-04-03 01:55 PM


All times are GMT -5. The time now is 10:00 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.