Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2008
Posts: 4
Lurker
Lurker
Offline
Joined: Aug 2008
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

Sponsored Links
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
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.

Joined: Aug 2008
Posts: 4
Lurker
Lurker
Offline
Joined: Aug 2008
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.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
You could easily make the file manager admin-only.


- Allen wavey
- What Drives You?

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)