PDA

View Full Version : 2 feature requests



Tibiaent
05-08-2009, 10:40 PM
This seems to be a very hot topic which my users want to use, so I need to find out if its possible using hostmonster.

#1) A image uploader. Similar to Imageshack or Photobucket; only anyone can upload an image. There would be a browse button. Then a submit button. The submit button would lead you to another page where it would give you the picture you uploaded and the link to it. All images would be uploaded to public_html/images/upload/

#2 A news submitting form. Sort of like a blog program. The administrator page would be something like public_html/admin where there would be a form (title, author, and text) where when clicking submit it stores the information somewhere on the server then makes a new table (news piece) on my main page.

If you need anymore information please let me know!,
Tibiaent

pghcollectibles
05-08-2009, 11:27 PM
image uploaders can be a security risk and depending on the content of the picture may also go against the TOS

have you used or looked at simple scripts? (through the cpanel)

wordpress blog
phpbb forum
coppermine photogallery etc

Tibiaent
05-09-2009, 02:15 PM
@The news system. I wanted a certain page such like public_html/admin/form.php and when you type the text you want it automatically makes a little table and spot on your front page public_html/

is that possible? I did not want a blog program, because it would make my users kinda drift off from my site.

@The pictures I will get in touch with Hostmonster Customer Service about the pictures that would be uploaded.

pghcollectibles
05-09-2009, 06:25 PM
I'm confused because it sounds similar to the way the code for a blog works. i haven't used WP too much (what do you think falcon1986?)

if you were willing to learn how code works, maybe you could make something.

basically you will have a page (public_html/admin/form.php)
you would have a database
the beginning of your page looks for a variable and compares it to data in a table in the database (for login purposes) and either displays a login for if it didn't find the variable or an error message if its wrong or the "admin page"

then you would have a form that inserts info into a different table in the database.

finally, your public_html/index.php would select data from the database and use some code to organize it on your "front page"

here's where i would start with that:

http://www.w3schools.com

and when you feel comfortable with the html and start learning the php more info can be found here:

http://www.php.net

i appoligize for assuming you dont know any code, its just easier for me to give a step-by-step and whatever you know, you just skip