First, I'd like you to know that I know barely anything about FTPs in general or php.
Now it seems someone has figured out how to replace images on filesmelt ([url=http://www.facepunch.com/showthread.php?p=22346504#post22346504]As seen here[/url]) so I'd rather not use it anymore.
Some years ago I got access to an FTP server from an old friend, so I was wondering if it was possible to have some secret .php or something on it which I could use to upload stuff (mainly images). I guess it would work much like normal image hosters.
Is this possible on an FTP? Could someone make a script for me?
[url]http://www.phphq.net/scripts.php?script=phUploader#phUploader[/url]
[editline]02:32PM[/editline]
That will upload them. Upload that to your server.
Alright really dumb problem I guess:
When I try to access the .php firefox wants to download it.
Are you trying to run it from your own PC?
It could do with being hosted somewhere, Either that or run a http server with php support on your own PC.
I want the files to be accessible when my PC is turned off so I think that's not an option.
And just upload the file to the server with an ftp client.
I guess I can't make it usable because it's a cheap ftp server?
You need php installed to use an uploader.
So since I can't install php on the server I'm fucked?
You can upload with any FTP program, you don't have to use a php script to do it.
Open up an explorer window and just type into the address bar:
[code]ftp://username@serverip:21/[/code]
It'll look something like this, then you just drag files onto there.
[img]http://benbrooks.co.uk/img/forum.glutt.us_379a7cd68b2645e0b724b695f7def294.png[/img]
[QUOTE=rieda1589;22374024]:words:[/QUOTE]Sounded like he wanted something web-based, not desktop based.
I just stumbled across this: [url]http://chevereto.com/[/url]
I think this is what you're looking for.
On another note, you could just upload your images straight to your web space with your FTP client.
[editline] now [/editline]
Easy tutorial I whipped up for Filezilla (Good free FTP client)
[img]http://sieabah.net/quirk/browse/img/facepunch/how%20to%20upload%20via%20FTP.png[/img]
Holy shit no one can read the OP.
[QUOTE=compwhizii;22403435]Holy shit no one can read the OP.[/QUOTE]:ohdear:
Then maybe you should explain since you know what none of us do?
[QUOTE=KSI;22403494]:ohdear:
Then maybe you should explain since you know what none of us do?[/QUOTE]
:downs:
He means people are posting FTP client shit and he asked for a PHP script.
[QUOTE=KSI;22403494]:ohdear:
Then maybe you should explain since you know what none of us do?[/QUOTE]
....
"Hey guys, my friend gave me access to an FTP server a while back, and I was wondering if there was a way to install a PHP 'script' on the server so I can access and upload images wherever I am. You know, just a simple file uploading script written in PHP, that will be transferred over and installed using the FTP client."
Unless the FTP connects straight into a web-server (like apache) on the host computer, it is highly unlikely that what you are asking is possible.
Alright thanks.
Too bad though.
Reason I don't wanna use an FTP client is that it's too slow to upload and get the link.
Well, then just make sure to only use a script which requires a login and, just to be on the safe side, block any other extensions, most scripts have that in their config, than images(.jpg, .bmp, .png and .gif should be all you need).
Propably just google for "php image upload" and you'll find something useful.
If it's JUST an FTP server than PHP will most likely not be installed. This means that you will not be able to upload a PHP upload script and be able to use it. Also, the FTP directory that you have access to needs to be public (doesn't require you to login) so you can link to the images elsewhere.
Shoot me a PM and I can set you up with FTP w/ php, etc. (I'll host you) or you can just go with a free host.
Sorry, you need to Log In to post a reply to this thread.