![]() |
A little help??
Ok this has nothing to do with VB but i figured with all the smart people here someone may be able to help me.
I have a text file on my server that I would like to be able to edit online via a form. This is so i don;t have to download it, update the file, then reupload it. Does anyone have anyclue how i can do this? Thanks! Ryan :pirate: |
The only FTP Client which i've discovered that can use this is FlashFXP, right click on the file, then edit, edit it on your server :P
|
FTP Voyager can also achieve the above.. :)
There's an option built in to cPanel IIRC which allows you to edit files via a form on the File Manager.. |
You can do this with Confixx' WebFTP aswell :)
|
Quote:
Is this possable? |
It's possible using vBulletin templates, I guess...
Or you could use MySQL for this, ofcourse. |
Quote:
|
Quote:
??? Any ideas? |
MySQL is the key my friend.
|
i use core ftp and it allows me to do just that i believe
|
He wants to do it without a program, he wants to edit it like templates.
|
Let's write a quick script then :):
PHP Code:
|
Darn, you beat me to it ^^
|
Man if this works you are AWESOME!!
I will try it when I get home from work Thanks, Ryan Well it works BUT. . . when it saves the text file the url's show up as: <a target=\"_blank\" href=\"http://www.myurl.com\"><img border=\"0\" src=\"http://www.myurl.com/test/ad.gif\" width=\"468\" height=\"60\"></a></p> Can I ahve it so id doesnot save the "\" Thanks! And every time i save it another / is added: <a target=\\\"_blank\\\" href=\\\"http://www..myurl.com\\\"><img border=\\\"0\\\" src=\\\"http://www.myurl.com/test/ads.gif\\\" width=\\\"468\\\" height=\\\"60\\\"></a></p> |
Urgh you have magicquotes turned on. Use this:
PHP Code:
|
Hey Dean. Thanks a million does exactly what i wanted!! ;)
|
You're welcome :)
|
All times are GMT. The time now is 04:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|