Re: (0/T) executeing script below public
| From: | Mike | Date: | Sat, 13 Dec 2003 14:07:24 +0000 |
| Subject: | Re: (0/T) executeing script below public | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172635@lists.php.net to get a copy of this message | ||
Ryan A wrote:
I noticed one funny thing about this script, it starts with: #!/bin/sh right on top but does not have a file extention...what kind of a file is this?Unix-like systems do not rely on file extensions to determine the file type. It uses whats called a magic number (a unique reference for each filetype) to check a file type # /> file myfile which in this case should return myfile: Bourne shell script text executable Mike