Topic awaiting preservation: PHP Compile on Windows |
|
---|---|
Author | Thread |
Maniac (V) Mad Scientist From: :morF |
posted 09-16-2005 22:41
Now, I realise that there are a lot of resources for this around, but I'm looking to include a specific thing in my compile, and for the life of me I cannot figure out how to do it. I need to compile PHP with ID3 support, to read ID3 tags out of some MP3 files my script will be handling. Aside from that I've got to remember how to do file uploads with XHTML forms and PHP processing, to put the files in a specific location, then use my ID3 functions to read out their tags for database entry. Any help anyone can offer on either of these points would be greatly appreciated. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 09-17-2005 00:23
I have no idea why you need to compile php with id3 support - there are pure php classes around that do id3 tags. code: <form method="POST" enctype="multipart/form-data" action="myscript.php"> <input type="file" id="myfile" /> <input type="submit" /> </form> myscript.php: if (!empty($FILES['myfile']) && is_uploaded_file($FILES['myfile']['tmp_name') $bResult = copy($FILES['myfile']['tmp_name'],$strNewFilename);
|
Maniac (V) Inmate From: there...no..there..... |
posted 09-17-2005 00:30
From what I have read you should be able to download the PHP source and then put the ID3 in the directory /ext/ (or on mine it is extensions) |
Maniac (V) Mad Scientist From: :morF |
posted 09-17-2005 01:19
Yes, TP, I know of those classes... the only problem with them is that they need PHP's inner php->id3_get_tag() function and the others of its class to function, hence why PHP needs to be recompiled with ID3 support. Or so I'm told anyway. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 09-17-2005 10:40
I know for a fact that the class I linked does not use the php id3 extension. |
Maniac (V) Mad Scientist From: :morF |
posted 09-17-2005 13:50
You're quite right TP, I apologise. That one you licked to didn't help me, however i did get my hands on http://getid3.sourceforge.net and that did. Thanks guys. |