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: 303
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: 25448
Loc: Texas
You could easily make the file manager admin-only.
_________________________
- Allen wavey
- What Drives You?

Top


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

Latest Posts
Forum 'Trader Ratings'.
by blaaskaak
11/20/08 08:27 AM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
Looking for a simple upload script
by AllenAyres
11/11/08 02:12 PM
New Mods
Forum 'Trader Ratings'.
by McLemore
11/19/08 02:14 PM
[7.4] Keep log of custom title changes
by blaaskaak
10/27/08 07:51 AM
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
Newest Members
Begbie, cenk, MATTO, DougMMcts, tim Anderson
13361 Registered Users
Top Posters
AllenAyres 25448
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks