![]() |
Free hosting for single textfiles to read and edit with remote php script?
Hey bitches, I see I'm here for almost 17 years (WTF!!?!?) now so gimmie some love.
I need a public space (dropbox, free server etc.) where my clients can put a textfile with coupon codes that i can read and delete from my own server. Most clients dont have their own hosting and are clueless so it must be as easy as a monkey should be able to drag and drop the file whenever it needs to be updated. Any smart fuckers here who know how to make their life easy? |
Well you literally answered your question - they can use any free file host,or even pastebin, then you just need to load url and trim required info. Tho, you can also use freehostia or 00webhosting if you want clean txt file.
|
Yes, i need it to be a clean txt file like
xxx,333 dde,8876 ... I use file() to read and delete used rows. Looking for the most userfriendly method for them, yet with enough permissions for my script to read/write to it |
Why don't you setup an email where they can send emails in specific format you define to them and just use Email Piping to pass email (txt) string(s) into your specific script on server.
PHP Email Pipe Tutorial, Read emails via php script | James Collings It could be most user friendly solution for your users as they all have an email no need for free hosting to upload files, all text will be in email body that you can read and process with this technique. This is how you usually open ticket in most ticket support systems and respond to same via an email. |
Might not be quite what you are looking for, but for this sort of stuff I like to use AWS s3 + AWS lambda. Depending on how much control you want it could be just a simple upload form hosted on s3 that then uploads the file to the same s3 bucket.
Basically free due to how cheap s3 is, but a bit more work to get setup than some of the other suggestions. |
All times are GMT -7. The time now is 01:22 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc