/extremedating/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/extremedating/trunk

« back to all changes in this revision

Viewing changes to adduser.php

  • Committer: Daniel Johansson
  • Date: 2013-04-13 20:20:07 UTC
  • mto: This revision was merged to the branch mainline in revision 36.
  • Revision ID: maila@danieljohansson.nu-20130413202007-aawl95ggxl05iwyr
Merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
  $password = sha1($_POST['passwd']."salt");
12
12
  //If there is a $_POST that indicates that the add userscript should be run.
13
13
  $query = "";
14
 
  $handle = @fopen($_FILES["image"]["temp_name"]);
15
 
  $output = "";
 
14
  $handle = @fopen($_FILES["image"]["tmp_name"]);
 
15
  $output = "NULL";
16
16
  if ($handle) {
17
17
      while (($buffer = fgets($handle, 4096)) !== false) {
18
18
        $buffer = str_replace("&", "&", $buffer);
65
65
    '{$_POST['firstName']}',
66
66
    '{$_POST['surName']}',
67
67
    '{$_POST['eMail']}',
68
 
    '{$_POST['city']}'
 
68
    '{$_POST['city']}',
69
69
    '{$output}'
70
70
    );";
71
71
  }