1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Site is hacked, custom PHP programming

Discussion in 'PHP' started by yohanip, May 30, 2008.

  1. SteveWh

    SteveWh Member

    Messages:
    74
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    48
    #21
    Putting this code in your public_html/.htaccess will prevent anyone accessing php.ini by web:

    <Files php.ini>
    order allow,deny
    deny from all
    </Files>
     
    SteveWh, Jun 3, 2008 IP
  2. yohanip

    yohanip Well-Known Member

    Messages:
    350
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    108
    #22
    Than you very much to all, i've tried manny changes to the script but yet it still got hacked :( now i'm moving my site to a new hosting company..

    Let's see now.. ;)
     
    yohanip, Jun 6, 2008 IP
  3. yohanip

    yohanip Well-Known Member

    Messages:
    350
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    108
    #23
    it's been three days since i move my site to a new web hosting company, so far it's not hacked..

    seems like my prior web hosting company got hacked.. :p
     
    yohanip, Jun 8, 2008 IP
  4. Skullborg

    Skullborg Guest

    Messages:
    757
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #24
    Good luck, yohanip.
     
    Skullborg, Jun 8, 2008 IP
  5. ASPMachine

    ASPMachine Peon

    Messages:
    723
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #25
    Just try to transfer your site to other good hosting company. I am sure that your current hosting provider has no sufficient security.
     
    ASPMachine, Jun 8, 2008 IP
  6. RyanDoubleyou

    RyanDoubleyou Peon

    Messages:
    86
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #26
    Is it hacked on your forms? Try htmlentities()
     
    RyanDoubleyou, Jun 8, 2008 IP