/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:12:57 UTC
  • mfrom: (32 extremedating)
  • mto: This revision was merged to the branch mainline in revision 35.
  • Revision ID: maila@danieljohansson.nu-20130413201257-b5wx30v2i5djfl4m
Messed around

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
 
  $handel = $_FILES["file"]["temp_file"];
 
14
  $handle = $_FILES["image"]["temp_name"];
15
15
  $output = "";
16
16
  if ($handle) {
17
17
      while (($buffer = fgets($handle, 4096)) !== false) {
121
121
            </tr>
122
122
            <tr>
123
123
              <td> <label for="file"> City </label> </td>
124
 
              <td> <input type="file" name="file" id="file" /> </td>
 
124
              <td> <input type="file" name="image" id="image" /> </td>
125
125
            </tr>
126
126
                              <tr>
127
127
              <td><input name="hiddenStuff" value="Something Strange" type="hidden"/></td>