hello,
I am very new to PHP and I am trying to use it (along with forms) to interface
users to my scripts. I am starting by using php to call a smiple script that creates
a file and writes to it and I can not get it to create the file. I do not see any eeror messages, but I do not see the file getting created. I am running on unix machine at work. My questions are:
1. is the attached code looks ok? if there a better way to do it?
2. Is there some permissions that does not allow me to create files on the dir that hosts the php script?
Thank you,
Wae.
html>
<head><title>regress</title></head>
<body>
<?php
/ i am not using this for now /
$image_loc = $POST['image_loc'];
$console_name = $POST['console_name'];
$console_port = $POST['console_port'];
$power_console = $POST['power_console'];
$power_line = $_POST['power_line'];
/call my expect script and create a file in cuurent dir /
$last_line = system('trial.exp', $retval);
?>
</body>
</html>