hi, this might sound stupid but what is php when creating a new file ??? pearl or shell or is it both depending on the code, this is because i never know when in control panel what file type to create new file a fo php file sorry if you think its a stupid question thanks in advance
It's not perl or shell. It's PHP, just choose either and rename it to PHP. E.g. choose 'Perl', then after saving it, choose a filename ending in .php to ensure it's parsed by PHP. Dan
Choose plain text, really that's all PHP is...A plain text file. Perl is .pl and contains a header as does shell scripts.