Posted by Heimir on December 13, 2009 at 10:10am
Hi guys,
I have a small problem and this was the best place I found to post my problem.
The thing is that I use PHP in Drupal and it works fine.
When I´m using just PHP and HTML (without Drupal) I often do something like this: "ps -ef > tmp.txt"
I.e. I write some output to a file and then I work with the contents of the file.
Can I use this method with Drupal? Can I write to files by using Drupal?
Thanks,
Heimir
Comments
Agrees
I'd like to know this too! It looks as if there are permissions problems when writing to a file or folder I created, but I don't find a way to get around this.
me to!
i know how to do it by php and here i dont find the way...
maybe someone can explain or col·laborate to make a module :)
Writing a file to Drupal system
Hi Candelas. I didn't find a way to do it at the time within Drupal, though I was much greener at the time. I ended up with an FTP solution, using Java (I was writing an applet at the time). What about using Storage API or Media Mover for your purposes?
thanks
at the end i will write to the data base and read from there provably.
i only want to have one color for each magazine, so i am going to store it in the taxonomy term description.
but the modules that you tell to me are interestings, i didnt know about them :)
thanks!