| 
	
 | 
 Posted by Ivαn Sαnchez Ortega on 12/28/07 15:21 
The87Boy wrote: 
 
> On Dec 28, 3:54 pm, shimmyshack <matt.fa...@gmail.com> wrote: 
>> yes excatly escape the commands using " or ' and then explode by 
>> space  (" ") once you have the commands as a string 
>  
> Yes, but how do I split it up commands (the arguments that starts with 
> - or --)? 
 
They are already in $argv !! 
 
http://php.net/manual/en/features.commandline.php 
 
--  
---------------------------------- 
IvΓ‘n SΓ‘nchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org- 
 
Proudly running Debian Linux with 2.6.22-3-amd64 kernel, KDE 3.5.8, and PHP 
5.2.4-2 generating this signature. 
Uptime: 16:19:29 up 36 days,  2:35,  4 users,  load average: 0.64, 0.93, 
0.98
 
  
Navigation:
[Reply to this message] 
 |