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.

Security

Discussion in 'PHP' started by born2hack, Jun 8, 2008.

  1. #1
    I am currently working on an online RPG for which I have created an inbuilt mail system. The problem is whenever the data from the mail will be shown and if it contains any PHP codes for RFI. I wont see my site for some time. So in short i want a small code to remove <?php ?> <script></script> etc etc codes from a variable where data will be stored say $data. I know we have to use preg_match but it wont work for me.

    Thanks
     
    born2hack, Jun 8, 2008 IP
  2. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
  3. born2hack

    born2hack Banned

    Messages:
    294
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank you! :D
    Any other suggestions?
     
    born2hack, Jun 8, 2008 IP