The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Im learning PHP and came up with this script from a tutorial..
Code:
<?php if(isset($_FILES['file']) == false OR $_FILES['file']['error'] == UPLOAD_ERR_NO_FILE) { die('Error'); } if($_FILES['file']['error'] != UPLOAD_ERR_OK) { die('Error Uploading'); } $path = '/home/vekaria/public_html/imagehosting/'; $file = $path . $_FILES['file']['name']; move_uploaded_file($_FILES['file']['name'], $newfile); die('Done'); ?> How can i make it so when i upload an image it will display the image after it has been uploaded. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|