Results 1 to 2 of 2

Thread: Javascript vs PHP for User Profiles

  1. #1
    jgall2 is offline New Member: Posts Will Be Moderated
    Join Date
    May 2011
    Posts
    1

    Javascript vs PHP for User Profiles

    Hey Guys,
    I started building web pages again recently and after brushing off the dust of my HTML knowledge I decided to give myself a long term project. I want to build a website that allows users to sign up and have a profile. I am not making a social networking site I just want to know how to do this in case I want to allow users to join my site. I would want the basics. Name, Email, answer a few personal questions etc. I was wondering what would be better javascript or PHP. I dont really know much about these languages but I am quite skilled with other languages like C++, java, and VB so I would just have to learn the syntax. Just want to know which one to learn first. Thanks

  2. #2
    Join Date
    Mar 2011
    Location
    Swansea
    Posts
    54
    You are really going to need both to make the website the best it can be. PHP is run on the server and should be used to process the form and carry out any critical must have validation, for security reasons. Javascript is run on the clients machine and can be turned of or easily replaced. Use this to add extra user-friendly validation and features. Never have validation of the input done in javascript alone unless your system can handle the input without validation.

    Adam
    Clockwork Bear
    07790760146 or 01792 515667
    web design Bristol & web design Cardiff

Similar Threads

  1. Replies: 0
    Last Post: 23 Jan 2010, 02:02 AM
  2. Javascript: Make elements appear based on user interaction
    By mrtylersmith in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 1
    Last Post: 18 Jul 2009, 04:40 PM
  3. beginning web developer and javascript user.... help!!
    By slipperyphish in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 02 Jun 2009, 10:20 AM
  4. automatic profiles
    By blh_kn in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 16 Jan 2007, 10:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •