sources/upload/upload.attachments.php 1 location
|
@@ 34-40 (lines=7) @@
|
| 31 |
|
} |
| 32 |
|
|
| 33 |
|
//check for session |
| 34 |
|
if (isset($_POST['PHPSESSID'])) { |
| 35 |
|
session_id($_POST['PHPSESSID']); |
| 36 |
|
} elseif (isset($_GET['PHPSESSID'])) { |
| 37 |
|
session_id($_GET['PHPSESSID']); |
| 38 |
|
} else { |
| 39 |
|
handleAttachmentError('No Session was found.', 110); |
| 40 |
|
} |
| 41 |
|
|
| 42 |
|
|
| 43 |
|
// Get parameters |
sources/upload/upload.files.php 1 location
|
@@ 34-40 (lines=7) @@
|
| 31 |
|
} |
| 32 |
|
|
| 33 |
|
//check for session |
| 34 |
|
if (isset($_POST['PHPSESSID'])) { |
| 35 |
|
session_id($_POST['PHPSESSID']); |
| 36 |
|
} elseif (isset($_GET['PHPSESSID'])) { |
| 37 |
|
session_id($_GET['PHPSESSID']); |
| 38 |
|
} else { |
| 39 |
|
handleUploadError('No Session was found.'); |
| 40 |
|
} |
| 41 |
|
|
| 42 |
|
// token check |
| 43 |
|
if (!isset($_POST['user_token'])) { |