Hello all ,
I am using this code to create a word page called salaryslip
$f=fopen("NewSalarySlip/SalarySlip_$employid.doc","w") or die("Can't open file");
& on localhost it is creating the page well.
But when i run this file on Server the message "Can't open file" is displayed
& no new word file is created in the NewSalarySlip folder.
Please suggest me how this can be worked on server successfully.
Please tell me - fopen() is sufficient to create a word file automatically on server Or other code like (move_uploaded_file)
for uploading the new word file on server, have to apply to upload it ?
any suggestions will be appreciated .
Thanks & regards.