28, May 2012

Replacing a file automatically - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: Replacing a file automatically
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: Replacing a file automatically  (Read 761 times)
Bill Cosby is my Father
*
Posts: 4
32 credits
Members referred : 0


« on: Feb 11, 2007, 06:28:45 am »

Hi, I was looking for some way to automatically via somekind of script of whatever, I can replace a HTML file. For example having something like 20 HTML files in a folder and that at 12:00AM it takes a HTML file from that folder and overwrites the HTML file of another one, there is someway to do that?

Regards
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Feb 11, 2007, 08:50:36 am »

please explain a little more to make it clear...

in the mean time check the PHP file functions (fopen, fget, fwrite...)

Bill Cosby is my Father
*
Posts: 4
32 credits
Members referred : 0


« Reply #2 on: Feb 11, 2007, 09:59:27 am »

Hi again, thanks for your reply.

I need to replace an HTML file once a day, I have already done all the HTML files.
So, manually I just need to upload the file replacing the old one, once a day. My question was If I can automate this process uploading all the files to some folder in the site.

Regards
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: Feb 11, 2007, 11:09:07 am »

yes of course, but I think you have no idea how to do that?

do you have some knowledge  about PHP?

Bill Cosby is my Father
*
Posts: 4
32 credits
Members referred : 0


« Reply #4 on: Feb 11, 2007, 05:09:42 pm »

No, you're right about that Smiley
I asked thinking in some script already done that I can edit to make the trick, but of course, not always everything is easy Sad
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=6002
Tags : question Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: Replacing a file automatically
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 04:58:30 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.