Results 1 to 3 of 3

Thread: Prevent PHP from Hijacking

  1. #1
    AndersonDiaz is offline Senior Member
    Join Date
    Dec 2009
    Posts
    311
    Rep Power
    3

    Default Prevent PHP from Hijacking

    I want to improve my knowledge about PHP. Can anyone give me suggestion how can I prevent my PHP form from Hijacking?

  2. #2
    TaylorRyan is offline Senior Member
    Join Date
    Dec 2009
    Posts
    307
    Rep Power
    3

    Default

    1) You can avert you PHP Form from hijack follow the given steps below:

    • You must to off the register_globals which will prevent insertion of malicious code.

    • Error reporting must be set to E_ALL so before with any variable it is required to initialize it.

    • You can make use of the htmlentities(), strip_tags(), utf8_decode() and addslashes() for filtering Unwanted data.

    • Use mysql_escape_string() in mysql.

  3. #3
    ThomasBarnes is offline Senior Member
    Join Date
    Dec 2009
    Posts
    303
    Rep Power
    3

    Default

    2) Follow the given stepladder below to stop PHP form from Hijacking:

    • Turn off the register_globals.

    • Make E_ALL for Error_reporting.

    • Make scripts for data validation and data verification.

    • Destroy use of htmlentities (), strip tags (), utf8_decode () and adds lashes () as filter.

Similar Threads

  1. Help to prevent Spy ware
    By Anthony Lambert in forum General Internet Terms
    Replies: 0
    Last Post: 11-11-2010, 02:59 PM
  2. To prevent A PC From heating
    By PerryCollins in forum other peripherals
    Replies: 0
    Last Post: 08-12-2010, 01:28 PM
  3. Wireless hijacking
    By techpro in forum Web. 2.0
    Replies: 0
    Last Post: 04-04-2008, 02:04 PM
  4. Homepage hijacking
    By techpro in forum General Internet Terms
    Replies: 0
    Last Post: 04-04-2008, 01:42 PM

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
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48