|   |   |   | ||||
| Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. | 
|    | 
| 
 | |||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. | 
|  | Thread Tools | 
|  09-03-2009, 07:48 AM | #1 | 
| Confirmed User Industry Role:  Join Date: Jun 2004 Location: Europe 
					Posts: 3,055
				 | 
				
				PHP help needed.
			 I need to delete a bunch of files from subdirectories that have "pix" string in its name. Is there way to do it with php script that I can run thru browser? sort of like doing comand but with a siple script. del /S *pix* | 
|   |           | 
|  09-03-2009, 07:56 AM | #2 | 
| Confirmed User Industry Role:  Join Date: Aug 2004 Location: Barcelona 
					Posts: 1,022
				 | youre going to have to write a script that looks through the directories recursively and checks the file names for the string. Its def doable. | 
|   |           | 
|  09-03-2009, 08:03 AM | #3 | 
| Confirmed User Join Date: Feb 2002 Location: ICQ: 251425 Fr/Au/Ca 
					Posts: 6,863
				 | This will do the trick. PHP Code: 
			 | 
|   |           | 
|  09-03-2009, 08:03 AM | #4 | 
| Confirmed User Join Date: Feb 2002 Location: ICQ: 251425 Fr/Au/Ca 
					Posts: 6,863
				 | No shit sherlock :P | 
|   |           | 
|  09-03-2009, 08:25 AM | #5 | 
| Confirmed User Industry Role:  Join Date: Jun 2004 Location: Europe 
					Posts: 3,055
				 | |
|   |           | 
|  09-03-2009, 08:26 AM | #6 | |
| Confirmed User Industry Role:  Join Date: Jun 2004 Location: Europe 
					Posts: 3,055
				 | Quote: 
 thanks man. | |
|   |           | 
|  09-03-2009, 08:28 AM | #7 | 
| Confirmed User Industry Role:  Join Date: Aug 2004 Location: Barcelona 
					Posts: 1,022
				 | why the fuck  did you ask if there was a way to do it if you already knew there was then? | 
|   |           | 
|  09-03-2009, 08:30 AM | #8 | |
| Confirmed User Join Date: Feb 2002 Location: ICQ: 251425 Fr/Au/Ca 
					Posts: 6,863
				 | Quote: 
   | |
|   |           | 
|  09-03-2009, 08:33 AM | #9 | 
| Confirmed User Industry Role:  Join Date: Feb 2005 Location: Los Angeles 
					Posts: 1,531
				 | I am speachless... 
				__________________ www.gimmiegirlproductions.com | 
|   |           | 
|  09-03-2009, 08:39 AM | #10 | 
| <&(©¿©)&> Industry Role:  Join Date: Jul 2002 Location: Chicago 
					Posts: 47,882
				 | 
				__________________ Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager  Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager | 
|   |           | 
|  09-03-2009, 09:45 AM | #11 | 
| Confirmed User Industry Role:  Join Date: Jun 2004 Location: Europe 
					Posts: 3,055
				 | |
|   |           | 
|  09-03-2009, 09:47 AM | #12 | 
| Chafed. Join Date: May 2002 Location: Face Down in Pussy 
					Posts: 18,041
				 | Is there a way to turn off your internet connection? | 
|   |           | 
|  09-03-2009, 02:24 PM | #13 | |
| Confirmed User Industry Role:  Join Date: Jun 2004 Location: Europe 
					Posts: 3,055
				 | Quote: 
 worked well. thanks again | |
|   |           |