July 17th, 2010, 03:16 AM
Writing string to a .txt file (scripting in Perl)
I was wondering if there is something else (like a special library / software , etc) that I need in my Apache HTTP server to it to write string to .txt file when the code is run on browser.
I am trying to run the code on Apache HTTP server, and the OS I am running the code is Fedora 13. I am running the code on:
(Please see code attached if it will help)
ajax.cgi.txt is the .txt version of the server-side function written in Perl, ran as a cgi program
ajax2.js.txt is the .txt version of the client-side script, using AJAX...
Thanks for your help! Any advice is appreciated!
August 2nd, 2010, 11:53 AM
Re: Writing string to a .txt file (scripting in Perl)
There's nothing wrong with the PERL code. First off, I would check and make sure that the path is correct. Remove all folders and just write to a text file on the root. See where it goes.
After that I would check for a rights issue.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!