Avoiding massive drag/drop in FTP Client

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
<br>
Forum Commoner
Posts: 35
Joined: Thu May 01, 2008 2:42 pm

Avoiding massive drag/drop in FTP Client

Post by <br> »

I organize my sites with one massive index.php file that runs different code based on what URL the user is at... This is easy for updating code but when I update code that is displayed across every page in the site (the menu or footer for example) I end up dragging and dropping the updated index file into every file folder with FileZilla...

What's the best solution for this? An FTP client that allows you to upload a file to all subdirectories of a folder? Another way to structure my sites besides actually uploading a current index to each folder?

Thanks,
Jacob
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Avoiding massive drag/drop in FTP Client

Post by josh »

people are going to offer many different views,
you could take your common header and footer functionality and extract them to their own file and then include() them.
You could use URL rewriting and a front-end controller. Copying the files around seems pretty tedious.
mnsmfp
Forum Newbie
Posts: 2
Joined: Sat Oct 25, 2008 9:29 pm

Re: Avoiding massive drag/drop in FTP Client

Post by mnsmfp »

Hi,

I'm not sure if this will help but there is a tutorial online about how to easily install a drag and drop application using ajax and php.

http://www.easykiss123.com/?cat=15

hope it's something along the lines of what you're looking for.
Post Reply