Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

upload songs via php script

95 replies [Last post]

i need to learn how ...i need to learn how to upload songs for my website like ImageShack but they upload pictures only... i need some1 to help me please!!!

What are you refering to? The script we ofer as a link download here does that, you can upload an image along with the MP3 if you like.
This will then show in the player ...

DC

@ Not Telling,
ImageShack is an image host.
Try finding a file host to load the songs to.

:$ :| :|

@DC I am really interested in using your script but I am using a free qeb page hosting (awardspace.com) so I can´t upload mp3. My songs are on a diferent server (file hosting-> uploadingit.com) So the problem is that the php is going to be on my web page hosting, but I want to upload my files to the file hosting... is there any possyble solution?
Ps: awardspace doesn´t allow mp3 and uploadingit doesn´t allow php :(

Do you still check this forum DC??

@ Facundo,
Yes DC still does check this page from time to time.

Our script doesn't currently allow cross-server uploading.
And I'm not sure if a free file host is going to even allow the possibility.
Depending on uploadingit.com's security measures, you may be able to write a script that will use uploadingit's own scripting to upload.
(IE. forwarding form information from the awardspace.com script to uploadingit's upload page.)

All in all, just try finding a host that will allow .php and .mp3.

@facundo,

How do you upload files (of any kind) to uploadingit.com now?

By browser, by FTP, throw them over the fence? :)

The PHP script on awardspace.com can use the same method to upload the files from awardspace.com to uploadingit.com...... then (b)

Will are you following me? LOL
Uploading it (you all can check the web: www.uploadingit.com) gives 25Gb of free storage and 50Gb of bandwith, as you can see is quite a good free file hosting that´s why I use it.
It has 2 upload methos, by single file or a batch option
batch upload is a java application:
http://img522.imageshack.us/img522/6715/batchbu4.jpg
and single upload:
http://img522.imageshack.us/img522/8060/singlerx6.jpg
If it is too difficult to do, please don´t bother guys. This would be usefull, but it would be better (for me) to have a php to run from my pc that generates my mp3 playlists than this I think...
I am searsching for a playlist generator to run on my pc, I have found some now, and I am trying to see which is the best

So if it is too hard, don´t bother on doing it, Thanks

@facundo,

Yeah, I'm right behind you, looking over your shoulder, making sure you do things... :)

For an MP3 playlist generator in PHP, look at the one I posted in this thread [url=http://www.jeroenwijering.com/?thread=6130]Anyone have a playlist generator?[/url]

It gets the ID3 data out of the MP3 files and you can have images with each song. Works great!

Yes I have seen that post. I download the generator but haven´t try it yet. I´ll try it then. Thanks

Yes I check this forum but I have other projects right now ...
And cant check as often as I would like but Ridgwell or myself do check in from time to time ...

Your best bet is to as he said get a host that will allow the script to run and can host mp3s on the actual server your on ...

DC

thanks DC

:s Ok I am hoping someone can help me here, I don’t want to make this a lengthy post But I do have a question and a script problem.

I just started building webpages and I dj part time I an from Pennsylvania United States .

You can email me at digitalteck@gmail.com

Thanks John

First I downloaded the upload script from Ridgewell at the top of the page 2nd post 7-28-06. It works great no problems for uploading. I was looking for a script I can add to the index php that I can input description, song, artist, ect for music so it can add it to the xml file. And description and title for pictures so it can write to another file so it will show up on my picture page.

Second I just created a music player for my DJ Webpage I have 3 demo mixes on there. It works fine with the mp3player I found on this page I downloaded http://www.jeroenwijering.com/?item=JW_MP3_Player

If I go and upload my mp3’s to my server the script on the index php messes up the playlist xml and the player will not play the songs. If I put the master script back in after manually editing list to the mp3’s I uploaded it plays and shows the songs.

I noticed that the index php script xml header is not the same as the playlist xml for the player. I tried using the xml script that came with the player and it won’t play the mp3s

I’m pasting the scripts here

XML Script Player I enlarged the difference

<?xml version="1.0" encoding="utf-8"?> The utf is nocaps
<playlist version="1" xmlns="http://xspf.org/ns/0/"> It has “
<trackList>

<track>
<title>test</title>
<creator>me</creator>
<location></location>
</track>

</trackList>
</playlist>

XML Script That Came With The Upload Program

<?xml version="1.0" encoding="UTF-8" ?> The UTF is CAPS
<playlist version='1' xmlns='http://xspf.org/ns/0/'> It has ‘
<tracklist>

<track>
<annotation>Intro</annotation>
<location>http://www.dmpprod.com/testfiles/Intro.mp3</location>
</track>

</tracklist>

</playlist>

The Upload php Script

<?php

//vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
// You may change maxsize, and allowable upload file types.
//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
//Maximum file size. You may increase or decrease.
$MAX_SIZE = 10000000;

//Allowable file ext. names. you may add more extension names.
$FILE_EXTS = array('.jpg','.gif','.bmp','.jpeg','.mp3');

//Allow file delete? no, if only allow upload only.
$DELETABLE = true;

/************************************************************
* Setup variables
************************************************************/
//File you wish to save the playlist to.
$savefile = "playlist.xml";

//Allow download of MP3s.
$info = "no";

//Directory uploaded files go to.
$upload_dir = "files/";

//Image file types checked for in the writting the .xml
$imgfilecheck = array(".jpg",".gif",".bmp",".jpeg");

//vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
// Do not touch the below if you are not confident.
//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/************************************************************
* Other variables
************************************************************/

$site_name = $_SERVER['HTTP_HOST'];
$url_dir = "http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']);
$url_this = "http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'];
$upload_url = $url_dir."/files/";
$message ="";

/************************************************************
* Create Upload Directory
************************************************************/
if (!is_dir("files")) {
if (!mkdir($upload_dir))
die ("upload_files directory doesn't exist and creation failed");
if (!chmod($upload_dir,0777))
die ("change permission to 777 failed.");
}

/************************************************************
* Process User's Request
************************************************************/
if ($_REQUEST[del] && $DELETABLE) {
$resource = fopen("log.txt","a");
fwrite($resource,date("Ymd h:i:s")."DELETE - $_SERVER[REMOTE_ADDR]"."$_REQUEST[del]\n");
fclose($resource);

if (strpos($_REQUEST[del],"/.")>0); //possible hacking
else if (strpos($_REQUEST[del],$upload_dir) === false); //possible hacking
else if (substr($_REQUEST[del],0,6)==$upload_dir) {
unlink($_REQUEST[del]);
print "<script>window.location.href='$url_this?message=deleted successfully'</script>";}
}
else if ($_FILES['userfile']) {
$resource = fopen("log.txt","a");
fwrite($resource,date("Ymd h:i:s")."UPLOAD - $_SERVER[REMOTE_ADDR]"
.$_FILES['userfile']['name']." "
.$_FILES['userfile']['type']."\n");
fclose($resource);

$file_type = $_FILES['userfile']['type'];
$file_name = $_FILES['userfile']['name'];
$file_ext = strtolower(substr($file_name,strrpos($file_name,".")));

//File Size Check
if ( $_FILES['userfile']['size'] > $MAX_SIZE)
$message = "The file size is over 10MB.";
//File Extension Check
else if (!in_array($file_ext, $FILE_EXTS))
$message = "Sorry, $file_name($file_type) is not allowed to be uploaded.";
else
$message = do_upload($upload_dir, $upload_url);

print "<script>window.location.href='$url_this?message=$message'</script>";
}
else if (!$_FILES['userfile']);
else
$message = "Invalid File Specified.";

/************************************************************
* List Files/Update XML
************************************************************/
$handle=opendir($upload_dir);
$filelist = "";
$stringdata .= "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n";
$stringdata .= "<playlist version='1' xmlns='http://xspf.org/ns/0/'>\n <tracklist>\n";
while ($file = readdir($handle)) {
if(!is_dir($file) && !is_link($file)) {
$filelist .= "<tr><td><sub><small><small><font color=grey> ".date("d-m H:i", filemtime($upload_dir.$file))
."</font></small></small></sub></td>
<td><a href='$upload_dir$file'>".$file."</a>";
if (!$DELETABLE)
$filelist .= "</td><td>Not Supported</td></tr>";
if ($DELETABLE)
$filelist .= "</td><td><center><a href='?del=$upload_dir".urlencode($file)."' title='delete'>x</a></center></td></tr>";
$stringdata .= "\n <track>\n <annotation>".str_replace(".mp3","",$file)."</annotation>\n <location>$url_dir$upload_dir$file</location>\n";
if ($info == "yes")
{$stringdata .= " <info>$url_dir$upload_dir$file</info>\n";}
if (file_exists(str_replace(".mp3",$ingfilecheck,$file)))
{$stringdata .= " <img>$url_dir$upload_dir".str_replace(".mp3",".jpg",$file)."</img>\n";}
$stringdata .= " </track>";
}
}
$stringdata .= "\n\n </tracklist>\n
</playlist>";
$fh = fopen($savefile, 'w');
fwrite($fh, $stringdata);
fclose($fh);

function do_upload($upload_dir, $upload_url) {

$temp_name = $_FILES['userfile']['tmp_name'];
$file_name = $_FILES['userfile']['name'];
$file_name = str_replace("\\","",$file_name);
$file_name = str_replace("'","",$file_name);
$file_path = $upload_dir.$file_name;

//File Name Check
if ( $file_name =="") {
$message = "Invalid File Name Specified";
return $message;
}

$result = move_uploaded_file($temp_name, $file_path);
if (!chmod($file_path,0777))
$message = "change permission to 777 failed.";
else
{$message = ($result)?"$file_name uploaded successfully." :
"Somthing is wrong with uploading a file.";}

return $message;
}

?>
<html>
<head>
<center>
<font color=red><?=$_REQUEST[message]?></font>
</head>
<body>
<br>
<form name="upload" id="upload" ENCTYPE="multipart/form-data" method="post">
Upload File <input type="file" id="userfile" name="userfile">
<input type="submit" name="upload" value="Upload">
</form>

<br><b>My Files</b>
<hr width=70%>
<table align=\"center\">
<tr>
<td>Upload Date:<hr></td><td>File:<hr></td><td>Delete?<hr></td>
</tr>
<?=$filelist?>
</table>
<hr width=70%>
<small><sup>Developed By
<a style="text-decoration:none" href="http://tech.tailoredweb.com">TailoredWeb.com</a><br>
</sup></small>
<small><sup>Edited By
<a style="text-decoration:none" href="http://ridgewell.brokenfourth.com/">Ridgewell</a>
</sup></small>
</center>
</body>
</html>

:)

I got one to work, I registered on DC Site and got the new uploader and it works. So ignore the upper post is has what I was looking for. Sorry I missed the post for his link to the new uploader. It was late and I was half asleep!

Everything works Fine!

Thanks DC #)

Digitalteck

Yah, sorry about that.
Their was a bug with the original script, but it should be fixed in a more recent download.
Or go with DC's script, he's put a lot of time into it to make it better.

I might try and implement this with my website (vbulletin forum) with my downloads/uploads mod..

If all goes well i will post the results and the source.

@ darkzune,
Please do,
As of right now though,
Our upload manager is pretty much a stand alone script.
This might change if we like what you've done!

hi
i am mallik now i am working in a small company.now i am doing video's.
i want video's code.and
how to upload video's using php code.

where can i get DC's upload script??

-----------------------------------------------------

I got one to work, I registered on DC Site and got the new uploader and it works. So ignore the upper post is has what I was looking for. Sorry I missed the post for his link to the new uploader. It was late and I was half asleep!

Everything works Fine!
------------------------------------------------------

@ Marko,
DC's version of the script can be downloaded from:
[url=http://www.clickcraft.net/TESTmp3/DLM/]http://www.clickcraft.net/TESTmp3/DLM/[/url]

Thx

when I upload a mp3 it says that the file is uploaded

but when I go to my mp3 player the song is not there

heelp :|

Hi, are you sure your permissions are correct?

I try and have the script auto set this but on some servers you must still set them by yourself ...

You say it says uploaded can you see the files if you go to the dir where you uploaded them to?

If you can then also make sure the playlist is updating correctly?
What version player are you using this with.

DC

is there any where I can edit so I can use åäö?
I'm from sweden and i like to use åäö

DC, why it giving me constantly this message ?

Sorry does not appear to be valid MP3 file!application/octet-stream

all my mp3 are valid.

how to upload a song?
and how to play a song in windows media player use php code?

Kamal

Please try it with IE if you have not. I have seen that error with newer versions of FireFox you can comment out the mp3 check if you like as I run multiple checks.

DC

I wrote a simple plug in for Zoints Local Netorking here.
http://dev.zoints.com/showthread.php?p=427#post427

hey there,

just like to say my thanks for this excellent script, it saved me a lot of work! :)

I'm by no means an expert at PHP, I'm just beginning to wrap my head around the basics, as you can probably tell by my less than elegant solution to a problem I was having with the script.

The problem I was having was with the deleting of files, they didn't seem to want to go. I thought I had all the code in the same state as when I downloaded it from DC's site, however after much head scratching (due to not really twigging that this could cause a problem) I realised that the one setting I had changed was the $SECURE config setting, which I'd set to no rather than yes as I have this in my own password protected admin area, so didn't want to log in again.

It seems that with secure being set to no the script wouldn't delete the file. I read through the code and found that the deletion code appears to start around line 86-114. I took out line 99:

if (session_is_registered('Logged_In')) {

and it's associated closing bracket on line 112 and that seemed to stop the problems I was having.

I've done a bit of testing and as far as I can tell I've no problems with the script now. Not sure if this is just a problem I've cooked up for myself, but thought I'd post in case anyone experiences a similar problem!

Cheers

@ Mark,
No, this isn't a bug.
DC is very security minded,
and he has made it so you must login to get full access of the script.

comen baby..
thanks.. *)
:d
My website: [url=http://www.kitlen.com]sohbet[/url] [url=http://www.kitlen.com]Chat[/url]

does anyone here knows a similar script that output the xml file not in random order? like this:

<?xml version="1.0" encoding="UTF-8" ?>
<playlist version='1' xmlns='http://xspf.org/ns/0/'>
<trackList>

<track>
<title>1.mp3</title>
<location>http://www.myweb.com/mp3/1.mp3</location>
<info>my info</info>
</track>

<track>
<title>2.mp3</title>
<location>http://www.myweb.com/mp3/1.mp3</location>
<info>my info</info>
</track>

<track>
<title>3.mp3</title>
<location>http://www.myweb.com/mp3/3.mp3</location>
<info>my info</info>
</track>

</trackList>

</playlist>

thanks!

http://www.iskolokoycafe.co.nr

@ Mark Ridgewell was correct in what he told you its not a bug.

Just note doing what you have done should work, but breaks one of my security features, and yes was done on purpose as really I did not want you to have delete capability unless you were really logged in so delete is disabled in non secure mode ...

DC

nice blog
My website: <a href="http://www.allaboutauto.us" title="All about Autos">All about Autos </a>

does anyone here knows a similar script that output the xml file not in random order? like this:

You can use [url=http://bizzine.info/dating.php?f=singlesmap]php [/url], or javascript to sort your xml list before save it.

i make some error in my last post
[url=http://www.allaboutauto.us]all about auto[/url]

Ahoi together,

i´m really impressed of the script and i tried it locally... runs pretty well :-).

but i´ve two questions for the upload:

- can subdirectories be created?
- can text for the annotation field be added?

i´m really new into php scripting, but maybe somebody did it already
and can help me ;-)

greetz knobsi

What a great module! Great Job!

Right after I installed the upload.php, the mp3 player works great, but when I refresh it, it became 1 song, but it was 10 songs there...
And it shows "1.band's name - song's name/title>"

Is anything wrong with the the playlist?

(I installed the JW MEDIA PLAYER 3.12)

I am pretty sure that it's the problem of the playlist.

Because when I downlaod the playlist from my FTP and then upload it back without any change.The player works.

But after refresh the page, it stop again.
And then I repeat the download and upload the same playlist, it works again.

So weird....

Only me have this problem?
But I found where is the bug now...

In the line 310
----------------------------------------------------------------------
for($i=0; $i<sizeof($files)-1; $i++) {
}
$stringdata .= "\n <track>\n <$titlever>".($i+1).". ".str_replace(".mp3","",$myfile_name)."/$titlever>\n <location>$url_dir/$upload_dir$file</location>\n";

----------------------------------------------------------------------
Change to
----------------------------------------------------------------------
for($i=0; $i< sizeof($files)-1; $i++) {
}
$stringdata .= "\n <track>\n <$titlever>".($i+1).". ".str_replace(".mp3","",$myfile_name)."</$titlever>\n <location>$url_dir/$upload_dir$file</location>\n";
--------------------------------------------------------------------------

See the different in "$i<sizeof($files)-1" and "$titlever>\n"
it should be "$i< sizeof($files)-1" and "</$titlever>\n "

Just a little bug...

Thank You Ridgewell... [url=http://prevediskslka.bravehost.com/karta.html]my site wellcome[/url]

@ tlo5 what version of my script are you running? did you get it from my site? as I have just looked at the latest version 103c and its fine and dose not have the bug which you speak of, not that I see, and many have downloaded it without the problem. Are you sure you were testing v103c from my site?

http://www.clickcraft.net/TESTmp3/DLM/

DC

Hi DC,

Yes, I am sure that I downloaded it from your website.
Maybe it just happened to me.

By the way, the "download function" doesn't work, what should I do?
It just linked me to the "page not found" page.

Thanks!

Hi DC,

Yes, I am sure that I downloaded it from your website.
Maybe it just happened to me.

By the way, the "download function" doesn't work, what should I do?
It just linked me to the "page not found" page.

And can I add a field to let people link to specific page?
For example, link to the homepage of the people who upload the .mp3.

Thanks!

First of all, thanks alot for this script. Im putting it to very good use.

I installed and configured it, Im very pleased with what i have but am having 1 big problem.

I have an exsisting playlist with about 500 songs in it, its been there for a while. When I upload a song with the script, it deletes my old playlist and replaces it with a new one. Is there any way I could maintain my exsisting playlist and have the script simply add the new songs to the top of it?

Thanks again DC, and everyone else who posted! This has all been very helpfull :)

"you is good people"

Ok for those that have commented on the dl.php script yes the old one did not work correctly. I will be replacing that with a slightly recoded version that should now work ...

As for the list that is correct it rewrites the list each time, it does not just add to the list as of now that is how it works, so if you have an existing list do not expect that data to be saved as with any script you never tried and even more so with a beta script, make sure you test it in its own test dir and report back, there is limited support as it is free, but I do try and respond along with fixes here and there when I can ... right now downloads are temp disabled till the d version is released.

Also please note my version of the script creates its own files on first time setup, so plese make a note of that if you are testing in a dir with files you allready have created.

DC

Guys heres the demo for the d version out in a few days mostly bug fixes but, it was time to update this a bit, this new version has a cool little feature that will allow you to set a default image or logo that will be used any time an mp3 is uploaded to the sys without an image file. You can see and test this in the new demo ...

Let me know what you guys think?
Again thanks to all my beta testers that helped me make this a better script. And above all I want to thank Jerowen for allowing us to all discuss and share our ideas and the latest code related to his fantastic player.

http://www.clickcraft.net/TESTmp3/upload.php

User: admin
Pass: demo1

DC

(b)

Sit back and have a beer!

I have an urgent problem i need to play a specific song from the play list(xml file)with php but i do not know how to do it and then continue in the play list can any one help my?

hi you guys

i want to stream music from snapdrives.net.

I get a playlist of them that looks like this:
<center><embed src="http://jw_mp3_player.maroclife.nl/jw_mp3_player/mp3player.swf" width="320" height="250" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowfullscreen="false" flashvars="&file=http://www.snapdrive.net/playlist.php%3Fid%XXXXX&backcolor=0xFFFFFF&frontcolor=0x000000&lightcolor=0xB0B0B0&height=250&width=320&displayheight=50&showeq=true&shuffle=false&autostart=false&autoscroll=true&repeat=list" wmode="transparent" border="0" saveEmbedTags="true"></embed><br />
</center>

But now is the big problem.

How can i integrate this one with joomla template.

I tried everyting.

If i put this code in a blank html it works online..But i can't get it to work in joomla.

I hope someone can help me out..It's the same player as JW player..

thanks

Hi, I do not use Joomla but il see if I can get someone who does to maybe help you with the prob ...

@ Math
The folder that has all your mp3s in it should only contain mp3s
It should not have any other files in it. Why may I ask do you have other files in it ... I have seperated all the files for a reason IMG, MP3.

Can it be done ya but you will need to hand code a mod in to make it work ... again i do not see why you would need this? you are the first to ever ask and I have a lot of users ...

DC

@said

You need to download this module, and I believe you will know how to use this...let me know if you have any other problem..

http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,229/Itemid,35/

@ Said, try the exsten my joomla user has listed above it should work let us know ...

DC

You should really put ads on your site...

...all this free support is fine and dandy, but i'm sure people here wouldn't mind having an ad at the bottom or top of the page while they're getting support for something. And those that do will be running adblockers.

I really appreciate the time you spent on this script and would have personally like to contribute to your adsense views :P

Actually, adding a bit of adsense in between the forum threads might be a good idea. The adsense ads on my script pages do run quite OK, by the way ;)

tlo5 and Dc thanks for your help.

But i can't get the module to work.

I installed the module..

It asks for an include or iframe path...

But i really don't know what to put in...

I tried the playlist.php link in my snapdrive but it does nothing...

Can someone help me out.

I only see the words IClude on my site.

what do i do wrong?

Hi there I am a university student in my final year and in my major project I am looking to allow users to upload music to a site and for it to be converted on the fly to flash or whatever it has to be, so that it can be listened to via some sort of flash player.

I was wondering if anyone can help me, by telling me what is needed to allow this to happen. Such as programming languages, databases and components which are needed. Also if anyone knows any helpful sites which could help me in this process that would be amazing.

It would be very much appreciated if anyone could help.

Thank you

@Said

The playlist is loaded by the player.htm.
so you have to put the player.htm into an include or iframe path.

for example, if your player.htm is like : www.yoursite.com/player.htm
then put this whole link: www.yoursite.com/player.htm to that module,
and your joomla would read that player.htm, and the player.htm would read your playlist.php.

hope you understand my English.....

I wonder if i would be able to incorporate this on this [url=http://www.alcoholanddrugabuse.com]drug abuse[/url] related website.

Hey folks, the script and player look great, do you think that it would work on a [url=http://www.hostedwith.us]free webhosting[/url] site like [url=http://www.hostedwith.us]hostedwith.us[/url]? They are offering [url=http://www.hostedwith.us]100GB Free Webhostingclick here[/url] space so I think that that would be the ideal place to run this sort of site!

Let met know! cheers fella's!

Site like what? sorry I have no clue as to what you are talking about ...

DC

Hi I was wondering if anyone could help me with the query that I wrote about earlier if any of you guys could it would be most appreciated.

@ Peter This part of the forum is pretty much dedicated to my upload script which does not do what you want
your best bet would be to go into one of the other video threads and ask what you like there as this is for mp3s not
video so I doubt you will get the replys and or help your looking for in this section.

I see you posted several times with no reply, so im just letting you know this section may not be the correct section for you.

DC

hi dc

please send me the proper code downloaded code is not working my email id is kumar2000s@gmail.com

thanks in advance

laurent:

I try the test your code for the upload script but I'm have error, I guess is because the language is it possible to convert it to english.. I'm sorry.

Thanks

Walex

@sunil kumar, Hi it works fine, to make sure I re tested it ...
Also I get downloads everyday so you must have cookies blocked or invalid info please try again ...
I even got one after you said it failed so my guess is its a cookie err on your end.

@walex no im sorry it's english only but feel free to mod it if you like.
Hi I re-read your post what do you mean convert it to english it is written in english 100%

Thanks DC

can you please send me the script

heres my email admin@mp3-lounge.com

www.mp3-lounge.com

ok never mind.
i will try and code it in other langs

This is pretty much awesome. If it works properly and doesnt blow up on me like most scripts usually do because im a nub, ill be sure to float some money your way through paypal.

Having this error on initial setup:

WARNING: System check failed! You have a max upload size of 3 MB, however your server is set to allow only a 8 MB file upload. Please refer to your PHP ini settings to correct this issue or lower your max upload size in the config file of this script ...
File uploads have been disabled till this issue is resolved to prevent upload failure and or errors that can result with the current settings ...

Seems it checked to see if 3MB was allowable but found that my site allows 8MB and failed. Weird. Do I have to make the script allow 8MB?

Quick question: I'm getting a 500 Internal Server Error when uploading songs more often than not, are there chmod settings for files/folders I need to be doing?

How to get a music files details from another site and how to play it on my site......
if you have any idea please replay me or mail me on this id shobin.s@ifactors.net

@ MaestroJAL both your php ini settings must match for the script to work Ive seen the slight bug you have in the output but never got to fix it it means that both ini setting do not match your upload max ...

So if in the script you set 8MB as example ...

You must set somthing like.

post_max_size = 8M
upload_max_filesize = 8M

SO in this case 8 or higher in php ini ...

DC

Sorry guys very bussy on progects...

@ Santi you shouldn't really get a server error like that with php its usuly a wrapper error that causes that as it uses cgi that was set up by the host, you say you get it more often then not please tell me your not on IPOWER as they seem to have a lot of problems with many scripts ...

The error is at many times is host related.
I say this becouse in my tests I cant make that happen and i have a lot of testers using the script with no problem such as you state, as for permissions my quick setup attempts to set the correct permissions for you so really you shouldnt need to make changes. ...

DC

Thanks for the reply DC, the script is on a geocities pro host so I'm guessing that's probably the case. I'll try using it on another host and see if it will work more regularly. Cheers.

DC,

Very impressive job :)

Current I have a case, where I need to do auto upload a flash game file to a flash game -advertising website, such as http://www.kongregate.com/... is it possible to do so?

Thanks DC. I'll try what you've said.

@ Nedved

Thanks, I am not sure I understand exactly what your trying to do.
this script is for MP3 files you are aware of this correct? ...

DC

HOW TO CHANGE A TEMPLATE ? THANKS

Adding drag and drop functionality would be very nice! Also, adding the interface for making the playlists from a pop-up or drop down right from the player would be nice. Optional video to display along with MP3?

@ Daniel hey mod that in if you like and let me know and we can test it and if she passes then il post it on my site. this is a free script so only some important updates not realy features are added, as its done in my free time and im on other projects right now ... But if you feel that might be somthing you would be up to trying to add in Im cool with that and anything anyone adds that works and can make it better ...

@ MaestroJAL did that work for ya?

DC

I found an image host you can use to store your mp3's at this http://www.sexyimagehost.com you can upload as many as 5gb of MP3's...that is way more then I would ever need

i needed a adiou playre whose type the wordings of the songs on screne digitaly while we listrening the music
plz do me little faver and try to search
thankyou

hi guys i hope i can get my requirements here
I m progressing a dating site and in tat i have to play videos and musics.
i Cant get any scripts regarding tis
so plz i hope who ever can help me to finish this task as soon as possible dude......
waiting 4 the scripts friends........

et any scripts regarding tis
so plz i hope who ever can help me to finish this task as soon as possible dude......
waiting 4 the scripts frien

link download =???
contact...help me : Y!M : onlyyou_mylove864

is there any software for me for my website which can handle mp3 songs on my websie i have a website http://www.dilshil.com can any one tell me about songs script

Hey DC..
i jus happend to see the site u mentioned earlier in this forum.. http://www.clickcraft.net/TESTmp3/upload.php .

This is exactly wat i wanted. but i needed to upload video files instead of mp3 files. Could u help me out. Could u send the code to my mail id. neethsbhat@gmail.com. Thanks in advance.

chikks

vist this website is very bst website
http://www.geosultan.com
free songs,softwares,Mobilesoftwares,games,themes,
Wallpapers Etc

hey DC,

I uploaded your script is working fine on my server but I want to update the song name from time to time. Is it possible to you to do this for me.

And send me the updated script on this mail maasoft2007@gmail.com

hi there!

i need help:(

i dont know how to upload and download music using php codes...

pls help me.

Tnx

please give me an example on how to upload and download music using php codes.