note 30320 added to function.preg-match

From: Date: Thu, 13 Mar 2003 23:08:22 +0000
Subject: note 30320 added to function.preg-match
Groups: php.notes 
Request: Send a blank email to php-notes+get-45241@lists.php.net to get a copy of this message
hy guys, need your help please. how can I get only the name out of the string above? -rw-r--r-- 1 ftp ftp 718886912 Mar 06 2002 Coyote Ugly.avi I need only the name of the File respectively of the directory. "Coyote Ugly" in this case. I'm coding a script that connects to a ftp server and makes me a list of the movies. the names of the movies it should write in an mysql database. because this I need to split the output of ftp_rawlist. does anyone have an idea how I can do this? friendly regards streetrulez -- http://www.php.net/manual/en/function.preg-match.php http://master.php.net/manage/user-notes.php?action=edit+30320 http://master.php.net/manage/user-notes.php?action=delete+30320 http://master.php.net/manage/user-notes.php?action=reject+30320

« previous php.notes (#45241) next »