Jump to content

opus15

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

opus15's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. you may be on to something - I'm guessing that the httpd.conf is where I tell apache to look for files. I haven't changed it in any way, but it's on the usb hard drive, so all directives should be the same?
  2. Hi - have a small problem that's driving me nuts... I use my pc to develop a php application, all my files however are located on a remote/usb hard drive (I use EasyPHP, apache). I want to run the application on my laptop, simply by connecting the remote hard drive - but I get this error message Access denied for user 'root@localhost'... and in phpmyadmin the error message is #1045 - Access denied for user... (I've tried updating the config.inc.php file, and copying the php.ini to c:/windows on the laptop, and php5ts.dll to the windows/system32 directory). Any ideas? Thanks in advance! Jon
  3. It works My only problem now is to find a way to play the mp3-files, either with a javascript or the Yahoo Media Player, or whatever works. Anyone any ideas? jon
  4. Thanks again, ignace! You're right about the time-out, but my biggest problem is that I don't quite understand what your last suggestion will do - I'm not that good at php... Will the $mp3files function return a filepath that I can use (with the javascript, for example) ? Jon
  5. Thanks ignace! Your code get met a lot closer to what I want, but not quite there... The $directory and $file works fine. The $fh gives me (when I echo it) a Resource id - is it this I'm going to open/play the file with? BTW, I've tried to implement the javascript for playing mp3 from this site: http://www.oreillynet.com/pub/a/oreilly/digitalmedia/2006/05/31/build-a-better-web-audio-player.html?page=2 (the "BatmoAudioPop.js") (This method works great - when I try it on a mp3 file stored in the same folder (easyphp/www/myfolder/) as my php application).
  6. I'm not too fluent i php, so this may be ridiculously simple; My php project is a sort of database of my collection of mp3 files. They are all stored on my hard drive/external hard drive (C: and E:). The problem is how to load these files from the php application (running on apache server) - the project is going to stay on my pc, not to be uploaded to a different server - I'm guessing the problems with the server, finding c: ? I'll be using a javascript to play the files, or just embed that Quicktime thing. This does not work: $fil2 = "'file:///C:/RadioDB/2-4 Murder Unprompted.mp3'>" ; or this: <a href='http://C:\RadioDB/2-4 Murder Unprompted.mp3'> Any help appreciated! /jon
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.