Home | Reviews | GUIpedia | Forum | Fun500
jasonwoodland | Uploading to a site.How can you make a site upload text?
Sorry if it dosen't make much sence.:) | 2008-09-05 | 9:54 AM |
Todd | Re:Uploading to a site.You mean like a text file? | 2008-09-05 | 9:58 AM |
jasonwoodland | Re:Uploading to a site.Yeah, without getting the password and editing the page. | 2008-09-05 | 10:06 AM |
Todd | Re:Uploading to a site.Without getting the password? Are you trying to hack into a computer? | 2008-09-05 | 10:15 AM |
jasonwoodland | Re:Uploading to a site.:laugh: No, I mean as how to make a file on the internet that is public access, isn't it like PHP or something? | 2008-09-05 | 10:16 AM |
Todd | Re:Uploading to a site.Change the extension as ".txt". | 2008-09-05 | 10:24 AM |
jasonwoodland | Re:Uploading to a site.ut I still don't know how to upload to a PHP thingy.:unsure:
Whoo! 200th post!:woohoo: | 2008-09-05 | 10:28 AM |
Todd | Re:Uploading to a site.You mean to be downloaded as a file and not viewed within the browser? | 2008-09-05 | 10:45 AM |
jasonwoodland | Re:Uploading to a site.I'm only trying to make a file on the net that can have information added to it. So if someone opened the new file and added the info "Hello" another person from another computer could add "How are you?".
So when someone views the file it will have the following:
Hello
How are you? | 2008-09-05 | 10:50 AM |
Todd | Re:Uploading to a site.You can use FTP to edit the file. But you can't edit the file through the browser unless you have some server-side program that can modify the file as per a user's command. | 2008-09-05 | 11:09 AM |
jasonwoodland | Re:Uploading to a site.Is that how Mystic Shadow's QML chat worked?
Sorry if I'm asking stipid questions but I've never done this before | 2008-09-05 | 6:10 PM |
SonicBrit | Re:Uploading to a site.You'd need a program that acts as a gateway between a file and the web server, (you also might want to do a some basic file locking to prevent 2 users posting at the same time). You could accomplish this in perl or php
Basically you would want to accept the string then add it to the text file, and depending on the app you might want to display the contents of the text file.
I'm taking it you are trying to write a chat app?
Do a search on google for chat php or something like that I'm sure there's others that have done something similar, possibly using a database instead of a text file. | 2008-09-05 | 6:12 PM |
jasonwoodland | Re:Uploading to a site.How did you know! Hahah:laugh:
I'll look around google. | 2008-09-05 | 6:16 PM |
Brandon | Re:Uploading to a site.Pharaoh made the QML Chat! in PHP. | 2008-09-05 | 8:49 PM |
jasonwoodland | Re:Uploading to a site.whoopsie;)
I should think before I sepak | 2008-09-05 | 9:06 PM |
Other
2021 Brandon Cornell