url upload with mysql db update

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ayesham
    replied
    hmmm lets see.... tnx bro

    Leave a comment:


  • something else
    replied
    To grab a file via url:
    PHP Code:
    $url 'http://example.con/song.mp3';
    $saveAs '/someFolderName/'.basename($url);
    $gotMp3 file_put_contents($saveAsfile_get_contents($url));
    if(
    $gotMp3)
    {
    // get size, artist etc using getid3 from $saveAs here

    Note: above script has no security ^

    Leave a comment:


  • ayesham
    started a topic url upload with mysql db update

    url upload with mysql db update

    Need To know how to Url file(mp3) upload with mysql update filepath, size, file title to a DB?? anyone can help me on this is much appreciated.
    i do have db as

    id (auto increment)
    'filepath'
    'song_title'
    'size'
    'artist'
    'coverphoto'
    'lyrics'
    'music'
    'date'

    getid3 file path =.. system/getid3/getid3.php



Working...
X