![]() |
php/forms/posting/I NEED HELP!!!!!!!!!
I want to put a comment/quotes page on my teams site, and let people submit their own, but I don't know anything about php or any other database. Can some one help me?
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
There are a few options. One is to use a free shoutbox type program. Another is to use php and log all of the comments to a text file. The last option is to use php and save it all to a database. The last will be the hardest to code but could allow for more features to be added. If i have any free tome today i will write you some sample code.
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
CHeck out these links. http://www.project-angel.com/index.p...&cat=PHP&id=13 and http://www.project-angel.com/index.p...&cat=PHP&id=14 . Hopefully that will get you started. If you need any help just ask.
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
Quote:
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
Quote:
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
Could some one give me the code for the text file option.
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
Just to confirm what you want, you want a box that holds the posts of the shoutbox, under that you want a spot for people to input a nickname and message. Will that work for you? Also, do you know what version of php your webserver is running?
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
Here is the server info:
![]() |
Re: php/forms/posting/I NEED HELP!!!!!!!!!
And I would want it to look like this
http://www.khsfirst.com/insert.html for the submiting page, and http://www.khsfirst.com/Quotes.html for the pageit would show up on. |
Re: php/forms/posting/I NEED HELP!!!!!!!!!
ya know, it would be a ton easier to just use a database.
if you have PHPmyAdmin, then use it. PHP Code:
columns should be AT LEAST: id INTEGER AUTO_INCREMENT, title VARCHAR(35), body TEXT adding news to the DB is a different story. |
Re: php/forms/posting/I NEED HELP!!!!!!!!!
Ya what is PHPmyAdmin? And how do I Use it?
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
Quote:
The databases can be created without phpMyAdmin. I can write up some code for inputing data and createing the tables if you want me to. Also, can you find out if your webserver supports PHP and if so what version. If you cant find it, please post a link to the people who provide your hosting. EDIT: I wrote this up quickly so its not that great but it will work. PHP Code:
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
Quote:
Oh by the way (correct me if I am wrong), I see a SQL injection vulnerability in your code. It's not as if it'll probably ever cause any real problems, it's just that it exists. PHP Code:
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
Quote:
PHP Code:
I used to have a bunch of tutorials that i made about how to do this stuff. |
Re: php/forms/posting/I NEED HELP!!!!!!!!!
Quote:
|
| All times are GMT -5. The time now is 03:37. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi