php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容

源代码在线查看: function.id3-remove-tag.html

软件大小: 3633 K
上传用户: fengkuangyidao
关键词: php PHP 文档 实际应用
下载地址: 免注册下载 普通下载 VIP

相关代码

												 				  Remove an existing ID3 tag				  				 				 				 id3_get_version				 id3_set_tag				 ID3 Functions				 PHP Manual								 				  id3_remove_tag				  (PECL id3:0.1-0.2)id3_remove_tag — Remove an existing ID3 tag								 				 				  Description				  				   bool id3_remove_tag				    ( string $filename				   [, int $version				  ] )								  				   id3_remove_tag() is used to remove the information stored				   of an ID3 tag.				  				 								 				  Parameters				  				   								    								     filename												     								      				       The path to the MP3 file				      				      				       Instead of a filename you may also pass a valid stream resource				      				     								    								    								     version												     								      				       Allows you to specify the version of the tag as MP3 files may contain				       both, version 1.x and version 2.x tags.				      				     								    								   								  				 								 				  Return Values				  				   Returns TRUE on success or FALSE on failure.				  				 								 				  Examples				  				   				    Example #1 id3_remove_tag() example				    								<?php$result = id3_remove_tag( "path/to/example.mp3", ID3_V1_0 );if ($result === true) {    echo "Tag succesfully removed\n";}?>												    								    				     If the file is writable and contained a 1.0 tag, this will output:				    				    								Tag succesfully removed								    				   				  				 								 				  Notes				  Note: 				   				    Currently id3_remove_tag() only supports version 1.0				    and 1.1. If you choose to remove a 1.0 tag and the file contains a 1.1				    tag, this tag will be removed, as v1.1 is only an extension of 1.0.				   				  				 								 				  See Also				  				   				    id3_set_tag()				    id3_get_tag()				    id3_get_version()				   				  				 												 id3_get_version				 id3_set_tag				 ID3 Functions				 PHP Manual											

相关资源