[PHP] Useful Webpage

Discussion in 'Web-development' started by BarJuice, Jul 14, 2008.

  1. BarJuice

    BarJuice Zyloria Owner

    Joined:
    Mar 28, 2008
    Messages:
    118
    Likes Received:
    1
    Best Answers:
    0
    I've been learning a bit of PHP in my spare time and was trying to learn a bit about how to use regex when i came across this website
    http://www.phpfreaks.com/tutorial/php-security
    It contains useful security tips on how to make your webpage(s) secure against xss attacks, mysql injection, and remote file inclusion. And I think there was another but i really cant remember.

    I strongly urge anyone learning PHP(like myself) to take the time to read this article so you don't make a completely insecure website.

    PS:
    Robert'); DROP TABLE Students;--
    That really made me laugh :x
     
  2. Mr Evil

    Mr Evil New Member

    Joined:
    Mar 31, 2008
    Messages:
    279
    Likes Received:
    0
    Best Answers:
    0
    Thanks! Ill check it out :D
     
  3. Temptation

    Temptation Self-appointed Expert

    Joined:
    Jul 14, 2008
    Messages:
    1,045
    Likes Received:
    0
    Best Answers:
    0
    Very nice!
    Thanks a lot for sharing.
     
  4. BarJuice

    BarJuice Zyloria Owner

    Joined:
    Mar 28, 2008
    Messages:
    118
    Likes Received:
    1
    Best Answers:
    0
    No sense in hiding such an invaluable resource ;)
     
  5. Rawkar

    Rawkar New Member

    Joined:
    Apr 13, 2008
    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    How can help me whit my Webb plz if u can help me add my msn Rawe_@hotmail.com

    i'm from sweden
     
  6. jpkulik

    jpkulik New Member

    Joined:
    Mar 15, 2008
    Messages:
    208
    Likes Received:
    2
    Best Answers:
    0
    Ty, i will use it ! :D
    Cya Fellow
     
  7. Sync

    Sync Ø,ø

    Joined:
    May 26, 2009
    Messages:
    1,868
    Likes Received:
    12
    Best Answers:
    0
    Thanks alot :p
     
  8. Paxton

    Paxton Banned User

    Joined:
    Feb 23, 2008
    Messages:
    4,110
    Likes Received:
    46
    Best Answers:
    0
    I think it is better to read other's script to learn how to secure web page. :)
     
  9. BarJuice

    BarJuice Zyloria Owner

    Joined:
    Mar 28, 2008
    Messages:
    118
    Likes Received:
    1
    Best Answers:
    0
    Well, i agree with you.
    You learn what is conventional and how everyone else writes their scripts. But I personally think its better to fully understand why the scripts are wrote the way they are.

    Doing things by example is great, but knowing why you are doing it is greater. Knowledge is power :).
     
  10. Xexza

    Xexza Active Member

    Joined:
    Sep 3, 2007
    Messages:
    1,053
    Likes Received:
    2
    Best Answers:
    0
    Thanks I have definitely learned something from this.
     
  11. Iach

    Iach New Member

    Joined:
    Apr 24, 2010
    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Nice!
    Thanks for sharing.
     
  12. Vyst

    Vyst New Member

    Joined:
    Jun 1, 2010
    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Thanks it is that I need. I have learnt about php forms at php tutorial, and now I am interested in security
     
  13. Zonet

    Zonet Web Developer

    Joined:
    Sep 1, 2008
    Messages:
    4,375
    Likes Received:
    43
    Best Answers:
    0
  14. Gomgom

    Gomgom Member

    Joined:
    Oct 1, 2009
    Messages:
    128
    Likes Received:
    6
    Best Answers:
    0
    Thanks
     
  15. Kind des Donner

    Kind des Donner take care of your friends

    Joined:
    Jan 1, 2010
    Messages:
    187
    Likes Received:
    1
    Best Answers:
    0
    I know it's an old topic but actually that's the main reason I have visited this board today. To learn more about how to build secure webapplication. (-:

    Thanks a lot for sharing!
     
  16. Raggaer

    Raggaer Godly Member

    Joined:
    Jul 25, 2012
    Messages:
    1,117
    Likes Received:
    439
    Best Answers:
    1
    For security use PDO ( if you are using databases and such )
     
  17. aristo

    aristo Member

    Joined:
    Sep 11, 2010
    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    will be nice. Ps Zonate why do you using PDO? ADOdb be are better more safe
     
  18. Diath

    Diath DIATH

    Joined:
    Jun 4, 2010
    Messages:
    1,968
    Likes Received:
    109
    Best Answers:
    0
  19. webtimize

    webtimize 192.168.1.1/24

    Joined:
    Oct 3, 2011
    Messages:
    160
    Likes Received:
    18
    Best Answers:
    0
    Why even use mysql instead of mysqli or PDO..
     
  20. Cornex

    Cornex Web Developer Staff Member Global Moderator Premium User

    Joined:
    Jun 15, 2008
    Messages:
    3,418
    Likes Received:
    1,100
    Best Answers:
    4
    This is an old thread, today I am recommend everyone to use PDO.
    Anyhow, mysql_* is removed from PHP > 5.5
     

Share This Page

Loading...