...

View Full Version : online site update...



Pirate Mike
05-13-2009, 06:54 PM
hi all,

I want to create a form on a website so that when data is entered, it is displayed elsewhere on the site. I guess for this i would need a database? If so what language/code would i need to learn?

Any links to tutorials/help on this would be greatly appricated :)

Thanks,

Mike

Fumigator
05-13-2009, 07:25 PM
You don't have to use a database; you can use normal files. This may be an easier way to do it.

I recommend PHP to start with, then you may want to try out Ruby on Rails.

Your challenge will be to prevent mischief. If you allow Javascript, for example, your website can get wiped out and/or taken over. PHP has a function called striptags() that gives you the ability to remove entire portions of a string. For example, striptags($string, "<script>") will completely remove all Javascript, saving your website from certain destruction.

Good luck!

Pirate Mike
05-13-2009, 08:20 PM
thanks for that! could you possibly give me a pointer in the right direction of where to get started??

Many thanks,
Mike

Fumigator
05-13-2009, 08:53 PM
A good PHP book would be a start.

kibaki20
05-15-2009, 07:46 AM
You need database and PHP script. The easiest language to learn is PHP. PHP can do that.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum