View Full Version : Help Help Dont Know Where To Start
tj uk
April 20th, 2004, 13:43
hey im making a deejay site and i wanted to know if there is a way people can submit their mixs, as a sound file eg mp3, and is there lyk a html script or sumthing where there can be a upload button on my site ,and the sound files get uploaded to my server area?
kabatak
April 20th, 2004, 14:12
you need to learn server side programming like ASP / PHP / JSP which i think would be not as easy as you think, from the sound of it... you may need extra time to learn this things or hire somebody to do this for you.
Wojtek
April 20th, 2004, 15:17
humm
1st of all, you stole my idea :)
2nd of all, as tabatak said, you need to learn server scrpting. no such thing as html scripts
3rdly, keep in mind mixes take space. usually a mix is 70-100Mb. unless you'r having a dedi with triple hard disks, you'll ran out of space a few minutes after lauching
tj uk
April 21st, 2004, 03:23
do you know were i can get a php script to do this?
spoonybard
April 24th, 2004, 23:47
uploaded.php ::
<?php
/*
Change the value of $upload_dir to refer to the
directory where uploaded files will to be stored.
*/
$upload_dir="uploads";
if (isset($_REQUEST['submit']))
{
if ( ($_FILES['userfile']['error']==UPLOAD_ERR_OK)
&& move_uploaded_file($_FILES['userfile']['tmp_name'],
$upload_dir . "/" . $_FILES['userfile']['name'])
)
echo $_FILES['userfile']['name'], " Uploaded</a> <BR>";
else
echo "The upload failed. Please try again.<BR>";
};
?>
whatever.html ::
<FORM enctype="multipart/form-data" action="uploaded.php" method="POST">
Upload a file: <INPUT name="userfile" type="file">
<INPUT type="submit" name="submit" value="Send File">
</FORM>
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.