[PHP] Returning info from a function

2001-08-21 Thread Richard Kurth
Could somebody tell me way this function will not work I know the script inside the function works because I have tested it but when I put it in a function all I get back when I call it is a 1 function getpath($search) { Global $search,$path; $a = `/bin/ls -al /home/sites/ | awk {'print $9 $10

RE: [PHP] Returning info from a function

2001-08-21 Thread Dave
:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001 5:46 PM To: php Subject: [PHP] Returning info from a function Could somebody tell me way this function will not work I know the script inside the function works because I have tested it but when I put it in a function all I get back when I call