Hi, my company's website host is Mindspring. They allow us to use PHP3.
I want to know how to create a file dynamically. the name is based off the customer name, and a counter (counts up from 1)
I believe the system is Unix/Linux. I tried "touch", because I know you can execute command line commands using PHP (yes, I'm new to php).
so I wanted to know the command...
here's what I had and it doesn't work:
...
$order_file = "$name$counter.doc";
touch $order_file
...
but it won't create the file ($name and $counter come in from a previous form submit)
I tried fwrite (I'm sure that's the wrong command to use, but I tried anyway) but it wouldn't find the file.
please, any help would be awesome!