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

Top


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

Latest Posts
Displaying a gif for a paying member
by Iann128
Today at 07:04 AM
Restore The "New Topic Is Highlighted" Feature
by hikelite
01/02/09 07:41 PM
Web Hosting
by Pilgrim
01/02/09 04:13 PM
Finishing touches on a UBB migration
by AllenAyres
01/02/09 03:04 PM
Sidebar options?
by Pilgrim
12/26/08 03:40 PM
Legacy Style
by sirdude
12/24/08 07:18 PM
ubb.social
by Placebo
12/21/08 07:30 AM
New Mods
Displaying a gif for a paying member
by Iann128
12/29/08 11:44 AM
Legacy Style
by Micky
12/21/08 01:36 PM
ubb.social
by
08/03/06 10:38 AM
Newest Members
bluedthunder, blaqskreen, RAICHU, sebak, BaronDriver
13371 Registered Users
Top Posters
AllenAyres 25461
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks