Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: Is PHP secure?

  1. #11
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Whitebeam is pretty secure, and that involves Javascript. I think you're confusing client-side and server-side code. Client-side code (in any language) is not meant to be secure, and it's daft to make comparisons between them. Thus, I was comparing PHP with other server-side languages, not with client-side code.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  2. #12
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Client-side code (in any language) is not meant to be secure
    So may I ask why people attempt to do username/password logins with JavaScript?
    - Mike

  3. #13
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Quote Originally Posted by mburt View Post
    So may I ask why people attempt to do username/password logins with JavaScript?
    It is either because they do not know how to use server-side languages (or if they even exist), or they want to use a quick and simple fix. People are unpredictable (spelling?)
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  4. #14
    Join Date
    Aug 2006
    Location
    Ohio
    Posts
    266
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    As long as there is a page called index in the folders, searching for the content of that folder will only show what is on the index page.
    Thanks DD, you saved me countless times

  5. #15
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Not necessarily, it depends on server config. "index.htm," "index.html," and "index.php" are just common defaults.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  6. #16
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    WOW!
    lots of info. Thanks all.

    So the question is now, is there any better alternitive?
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  7. #17
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Quote Originally Posted by Jas View Post
    So the question is now, is there any better alternitive?
    For what purpose. As said before (I believe by Twey), code is only as secure as the coder makes it. (I know, not exact wording, but close enough).

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  8. #18
    Join Date
    Aug 2006
    Location
    Ohio
    Posts
    266
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    PHP is the most used web programing language for interacting with databases (if not the only one) by far. For some things you can use javascript, but for a lot of stuff PHP is the only way to go, such as storing data in a database.
    Thanks DD, you saved me countless times

  9. #19
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    Quote Originally Posted by Titan85 View Post
    PHP is the most used web programing language for interacting with databases (if not the only one) by far. For some things you can use javascript, but for a lot of stuff PHP is the only way to go, such as storing data in a database.
    That settles it then! I shall learn PHP. I have already started thanks to some google searches.

    Thanks everyone!
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  10. #20
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    For some things you can use javascript, but for a lot of stuff PHP is the only way to go
    PHP isn't the only server-side language, just the most common. Other languages and frameworks tend to make things easier, and don't have PHP's reputation for insecurity. Personally I enjoy working with Python and Django; I have a friend who speaks highly of Perl for web development; and of course, Ruby is becoming more popular now with the advent of the Rails framework. PHP is certainly worth learning just because of its popularity, but for your own site you shouldn't feel locked in.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

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