TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 02-01-2010, 11:37 AM   #1 (permalink)
The Visitor
Newcomer 
 
Join Date: Feb 2010
Posts: 1
Thanks: 0
psilvaa is on a distinguished road
Default Upload site of a local server to remote server

Hello,

I would like to ask if you know any program or script that would automatically make the upload of a local server the site in php and mysql database to a Web server. (remote). Set a few hours for this example.

Thank you for your attention.

greetings
psilvaa is offline  
Reply With Quote
Old 02-01-2010, 12:48 PM   #2 (permalink)
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

Would rsync be of any use (of course this is only applicable if your on the penguin)

http://samba.anu.edu.au/rsync/examples.html
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote
Old 02-16-2010, 04:56 PM   #3 (permalink)
The Visitor
 
Join Date: Feb 2010
Location: Juno Beach, FL
Posts: 2
Thanks: 0
SoN9ne is on a distinguished road
Default

A method that I prefer is to use subversion. Not only because it keeps revision of previous edits to the system, but because it is very simple to run only one line of code to update the server. Typically I work on my tree, then when it is ready I just do a svn update to my path on the tree and it is updated instantly. The nice thing is, it saves bandwidth, depending on your system size; you are only updating the changes to the files instead of overwriting each file. Then in a worst-case-scenario, you would have the power to revert to an older revision, if a serious bug arises. This is a method I have gotten spoiled with and encourage others to use. I develop on my localhost and when I am ready I commit the files to the tree, when I am finished with a part of the system I will then update the server for the changes to take effect.

There are plenty of free svn repos out there. Sourceforge, google code, and my favorite and the one I am currently using, is beanstalkapp.com. No matter your system, svn can be installed. Client and server side (haven't found a system yet that it can't be installed on). If your server does not have svn installed it may be difficult for some to install it.

rsync is useful but I have only used it for cloning hard-drives, in-fact I never knew you could use it this way. Very intriguing.

I would like to make a side-note. Git is suppose to be better than subversion but I have not been able to take that challenge. I have used CSV and SVN for years and, like a Tivo, I don't know how I would survive without it.

My two cents.
SoN9ne is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload files to a different server Geert Advanced PHP Programming 4 11-10-2009 06:30 AM
How to upload all phpMySQL files on to the server shankar MySQL & Databases 1 04-12-2009 07:40 PM
Upload your own extensions to a server? Nor Advanced PHP Programming 5 11-07-2007 02:51 PM


All times are GMT. The time now is 07:44 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design