Forum Moderators: phranque

Message Too Old, No Replies

Form input and Validation

what is best language

         

Blelisa

3:10 pm on Feb 7, 2005 (gmt 0)

10+ Year Member



Hello all;

I am going to be making a from for people to fill out to register to gain access to locked area of my site.
I know you can do this in .asp but I believe you can do in .php as well.

What is the best route too take? I am not fluent in either of these languages but depending on what the result is from this post, which ever is recommended is the one I will start attacking to learn.

Thanks for all your help!

encyclo

5:43 pm on Feb 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The right answer depends on the kind of server your site is running on. If you are on a Windows server, then ASP is a good choice (but PHP is usually available too), if you are on a Linux/FreeBSD server, then PHP is best. Perl is a possibility too, but it is generally considered to be harder to learn.

If you're not certain, ask your hosting company what languages are available.

kazecoder

8:35 pm on Feb 8, 2005 (gmt 0)

10+ Year Member



One of the simiplist ways to do form validation is with HTML and JavsScript. I am pretty fluent with PHP but I still say that JavaScript is easier and can be done on the client side without having to submit the form back to the server for validation.