php forum
php mysql forum
php mysql smarty
 
Topic Options
#317583 - 09/23/08 08:33 PM Looking for a simple upload script
Murphdog Offline
Lurker

Registered: 08/19/08
Posts: 4
I have a custom html page the pulls data from a single file that I create. Instead of using an ftp client all of the time, I would like to use a simple upload script that only I (admin) have access to. Can anyone recommend a script to me? Many of the scripts out there that I have googled seem to have the right idea, but they seem to be missing one feature. I need it to overwrite the file that is currently on the server with the same name (or find another script that allows me to delete the file).

Any help would be appreciated.
Thanks
Murph

Top
#317584 - 09/24/08 12:04 PM Re: Looking for a simple upload script [Re: Murphdog]
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 304
Loc: The Netherlands
A possible solution, since this is the ubbdev forum, I think you have ubb.threads smile

ubb.threads uses files for a lot of inserts, header, footer, and forum specific headers/footers/inserts.

A solution could be to make a dummy forum, with no access to it for anyone, and use that header/footer/insert field for entering your file.

The file you are uploading, it is always the same file on the same place on your harddisk? If so, a scripted FTP solution would be the most usefriendly solution. Just hit the shortcut, and have a script upload your file.
_________________________

Top
#317587 - 09/26/08 08:45 PM Re: Looking for a simple upload script [Re: blaaskaak]
Murphdog Offline
Lurker

Registered: 08/19/08
Posts: 4
Yes I use ubb.threads latest version but I don't want to use it in a forum. I have a custom page (using the sample.inc.php script) that is available to registered users, and I want to put a kind of "if admin, show my script" type statement into it so only admins see the file upload script.. I was able to find a script that seems to work the way I want. Now I'm trying to figure out how to add it to mypage.inc.php. I've posted about this in another topic.

Top
#317661 - 11/11/08 02:12 PM Re: Looking for a simple upload script [Re: Murphdog]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
You could easily make the file manager admin-only.
_________________________
- Allen wavey
- What Drives You?

Top


Who's Online
0 registered (), 18 Guests and 10 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
Yesterday at 10:54 AM
How to hide sub forums from summary page
by blaaskaak
12/03/08 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
Truth, David DelMonte, nick1, Begbie, cenk
13364 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks