Help with PHP e-mailer and CHMOD

Hello:

I am trying to implement a Flash form e-mailer where the visitor enters information on a form in the Flash movie, then the PHP script compiles the data, sends the data to my e-mail, and “echoes” back a confirmation message to the Flash movie.

This scenario already works on a web site that I administrate through my web hosting company. Here I have an administrative CP where I can change permissions (r-w-x) for each file.

I am trying to duplicate this scenario on personal web space provided by my ISP (not the same company). - I’m already paying for it - might as well use it. Their control panel does not allow you to set permissions for each file, and technical support has been no help, other than “we don’t block scripts like that from working.” :{ so, no help (lol)

So I tried using a CHMOD command in PHP to turn on permissions for the PHP script, then the visitor can read and execute the script.

the script is entitled “proposalPHP.php”.

The script looks like this:

<?
chmod(“proposalPHP.php”, 0755);
$ToSubject = “NEW BUSINESS PROSPECT”;
$EmailBody = stripslashes($EmailBody);
$EmailBody = "NEW BUSINESS PROSPECT

Name: $Name

Organization: $Organization

Services Requested: $Services

Budget: $Budget

Comments:
$Message";
mail("<my e-mail address>",$ToSubject, $EmailBody, “From: “.$Name.” <”.$Email.">");
Print “_root.Mail.EmailStatus=Thank you for your business.”;
?>

Kind of a conundrum - if I write a second PHP script with a CHMOD command for the first script, how do I turn the 2nd script permissions on?

My ISP does not list PHP as a recognized file format (then again, they don’t list SWF either, and all the Flash content displays fine.

Thanks for your help.