Current location: Hot Scripts Forums » Programming Languages » PHP » Update System using php/mysql


Update System using php/mysql

Reply
  #1 (permalink)  
Old 10-05-04, 05:33 PM
AccelEric AccelEric is offline
Newbie Coder
 
Join Date: Feb 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Update System using php/mysql

Ok here's the deal...

I'm creating a schedule system for work and I thought it'd be a neat idea if I could create a system that would update the files on the website by them clicking a link. I'm pretty sure it's possible just not sure how..

details:
After they click on a link I want them to connect to MY database and on my database I'll have all the file name's and the date's they were modified. By accessing this database I want it to cross-check my databse information with a directory on there FTP, and if there's a missing file or a file that hasn't been modified by the date of the file I have listed on my database, it'll get into MY FTP and copy thoughs files and place them in their FTP in the specified directory.

I'm sure there's a way to do so, and I'm betting it isn't that hard, I just have no clue how I'd do that, I could use some help, thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 10-05-04, 08:44 PM
Acecool's Avatar
Acecool Acecool is offline
Aspiring Coder
 
Join Date: Nov 2003
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
I did this before, first person to do so actuatly.

Basically, my updation module, checks a file which checks my files for versions, hashes and such and such, if there are updates it lists them etc..

Doesnt use FTP functions and is secure.
__________________
Check Acecoolco.com for PHP Tutorials, and other tuts
If you plan on contacting me, please read this: Legal Terms & Conditions
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 10-06-04, 12:04 AM
moronovich moronovich is offline
Junior Code Guru
 
Join Date: Oct 2004
Posts: 460
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Acecool
I did this before, first person to do so actuatly.
and Rasmus is the first man who invented php as preprocessors.

eric, you can learn how to use socket for php programming. it will give you paradigm on how to connect to a remote server and use dynamic update at user's side.
__________________
just an ignorant noob with moronic solution...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
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
Free PHP/mySQL driven content management system for a band? rottedham Script Requests 4 05-24-04 06:08 AM
Need Epinions-lite system in PHP & MYSQL wali001 Job Offers & Assistance 4 01-12-04 07:02 AM
Stat system in PHP/MySQL darkcarnival Script Requests 3 12-02-03 08:27 PM
Link system TAK PHP 3 08-17-03 12:17 PM
Good template system [PL]Greg PHP 3 06-28-03 05:09 AM


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