Re: mysql, php, mp3 - a variable problem
| From: | Allowee | Date: | Sat, 07 Jun 2003 09:35:38 +0000 |
| Subject: | Re: mysql, php, mp3 - a variable problem | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-28403@lists.php.net to get a copy of this message | ||
On Saturday 07 June 2003 11:20, Allowee wrote:
> hmmm,
> maybe this code..
>
> $info->load("/".$dir.$file);
>
> if $dir = mp3s and $file = test.mp3
> then it will load '/mp3s/test.mp3'
>
> you got that directory?
> I've seen the class and you are hiding the fopen error message, which could
> be the problem.
>
> .: Allowee
>
hmmm.....
that won't work..
you can try
$info->load("./".$dir."/".$file);
or simple..
$info->load($dir."/".$file);
.: Allowee