Hi,
Hope someone can help.
I've developed a PHP application and recently added a new preview feature.
The preview feature creates either PHP, HTML or HTM files. The files are created correctly, however when I try to view the generated files from any web browser, I get the following error:
Warning: main(http://www.<SERVER>.com/preview/npr_advanced_seo.php?kd=espresso+coffee&res=2&st=& sm=&sar=): failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request in /home/<DIR>/public_html/preview/5Jc4a_add-espresso-link.php on line 104
Now, if I re-create the same file and upload it to the server, it runs fine -- no problems.
When I do a DIRINFO on the directory, I see this:
-rw-r--r-- 1 99 99 7418 Mar 1 17:22 5Jc4a_barista-espresso.php
-rw-r--r-- 1 32002 xxxxx007 7247 Mar 1 17:24 5Jc4a_index.php
How can I ensure that the files that the script created have the correct ownership (in this case 32002).
Thanks,
Mohammed