[PHP] Where is the Error
y m i getting this error can ne 1 help me out Parse error: parse error, expecting `')'' in /home/test/public_html/mp3/music.php3 on line 10 ? function ConvertBin($Binary) { /* global extract($GLOBALS);*/ //This function converts a binary byte into an ASCII byte. for ($i=1; $i=strlen($Binary); $i=$i+1) { $strChar=char($AscB[substr($Binary,$i-1,1)]); $function_ret=ConvertBin(.$strChar); } return $function_ret; } //Specify the folder to iterate through, displaying all the MP3s $folder=/home/test/public_html/mp3/; //Grab the folder information // $objFSO is of type Scripting.FileSYstemObject $objFolder=readfile($folder); //Create the Stream object // $objStream is of type ADODB.Stream $objStream.$Type=$adTypeBinary; //Loop through the files in the folder foreach (; // unknown filesystem method as $objFile) { //Open the stream } $Open; $objStream.$LoadFromFile$objFile.$Path; //Read the last 128 bytes $objStream.$Position=$objStream.$size-128; //Read the ID3 v1 tag info $strTag=ConvertBin($objStream.$Read[3]); if (strtoupper($strTag)==TAG) { $strSongName=ConvertBin($objStream.$Read[30]); $strArtist=ConvertBin($objStream.$Read[30]); $strAlbum=ConvertBin($objStream.$Read[30]); $strYear=ConvertBin($objStream.$Read[4]); $strComment=ConvertBin($objStream.$Read[30]); } //Display the results print tabletrtd colspan=2h3. ID3 Tag info for:/td/trtr. td colspan=2.$objFile.$Name./td/tr; print trtdbArtist: /b/td. td.$strArtist./td/tr; print trtdbTrack: /b/td. td.$strSongName./td/tr; print ; ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] phpSearch
We do all that with mnogosearch (http://www.mnogosearch.ru/). gr8 it worked... thnx alot enjoy ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] phpSearch
Hi, I m looking for a Search Engine kinda application which can search content inside my own website, which includes files like php, text, html as well as mySQL db... do u guys hav ne idea where i can find the application or r there ne1 who can develop it for me pls... i tried few applications like phpdig, Site Search, phpMySearch but unfortunately now of them got what I need... neways can u help me out. pls -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Fatal error: Cannot instantiate non-existent class
i hav just upgraded from php3 to php4 i m getting this error through out my website what can be the problem... can anyone help me out Fatal error: Cannot instantiate non-existent class -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Fatal Error
i hav just upgraded from php3 to php4 i m getting this error through out my website what can be the problem... can anyone help me out Fatal error: Cannot instantiate non-existent class -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]