Jump to content

imagine1

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Everything posted by imagine1

  1. Can you give an example what you mean by "The keystone there is that you should always have a very strict rules to include files when using $_GET"... I have done all you said about mysql and utf8... I have read to a php tutorial that when you include files by include(../file.php) is valnurable to attacks....So it is suggested to use file_get_contents(../file.php). The problem is that file_get_contents() doesn't work fine when the contents of a page are encoded in utf8 or should send data through a form... Any help????
  2. See PHPMailer class!!! It's fabulus! I had the same problem and the problem of not sending an email was solved!
  3. I hope you can understand what i want to do... In the case of including db.php i can't use the above code... So any help??? Thanks a lot in advanced!!!
  4. Thanks a lot for your replies! I have in mind file_get_contents... But when i want to get the content of a file with encoding utf8 or the file has to send data through a form i have problem ... What i want to do is for example... include ("db.php"); The file db.php contains the connections with database and appear error message encoding in utf8 .... or include('form.php'); which contains variables like $_POST['name']; and messages encoding in utf8...
  5. Hi! I would appreciate your help... How can i include files with get and post data in order to avoid sql injections? The including data has utf8 encoding... Any suggestions??? Thanks in advanced!!!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.