Sebastian wrote:
i have this app where a user fills out a form and after submit it
displays the values they entered. i want to save this info to a file
after they submit, then allow them to download the file. some other user
does the same, fills in the form and allow that person to download the
i have this app where a user fills out a form and after submit it
displays the values they entered. i want to save this info to a file
after they submit, then allow them to download the file. some other user
does the same, fills in the form and allow that person to download the
file... and so o
Never mind everyone, I figured it out. In this line:
$data_line = implode($separator, $data_array)."\n";
I was adding a newline when I didn't need too.
Jason
On Sat, 2003-07-12 at 17:03, Jason Giangrande wrote:
> I have written this function to rewrite the contents of a text file
> after it's
I have written this function to rewrite the contents of a text file
after it's been updated. I store lines of data in an array and then
implode them into one string. The problem is that I'm getting an extra
line break (in other words a blank line is showing up in my text file)
after I modify a pa
Hello all
A frind of mine likes to count the impressions on each of his photgraphy online
and as well he likes to display this number under each image
he dosn't wish to use for each image a new request to the different count script
..all should be counted with one script and saved in one datafil
Hello
A quick question here: is it possible to have your script write to file with
the user's as owner and not as 'nobody' or 'www' as owner (which is what it
usually does). For example in perl one can use cgiwrap to write to file as
the user to whom the script belongs. Any way of doing this in p
sure this is not complicated, this is easy :)
HTML in here, anything you put here, will
goto the file too.
Download
";
$file = fopen("$DOCUMENT_ROOT$filename", 'w+');
fwrite($file, ob_get_contents());
?>
is this what you mean ? please get back to me.
--
Chris Lee
[EMAIL PROTECTED]
Hello:
Lookin for a little advice here.
I have a series of scripts that dynamically create web pages. The last page
in the series I wish to be able to write out to a file.
Is there a simple/quick way in which I can take the process(ing) script and
write it to a file at the same time that it is d
On Sun, Apr 22, 2001 at 03:06:04PM -0700, Adam wrote:
> chmod the file to 777, this will allow anyone write permission to the file
> and thus you will be able to append to the file
file-mode 777 is ugo=rwx. You want 'chmod 666', which is ugo=rw.
read is 4
write is 2
execute is 1
If you want rw
chmod the file to 777, this will allow anyone write permission to the file
and thus you will be able to append to the file
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administ
But when I try using the path to the file I get denied permission ...
How can I use my password then? Or can I bypass that in some way?
""Plutarck"" <[EMAIL PROTECTED]> wrote in message
9bupqt$b8s$[EMAIL PROTECTED]">news:9bupqt$b8s$[EMAIL PROTECTED]...
> When you are using that on your site, what
When you are using that on your site, what basically happens is that you are
trying to open an FTP session with yourself. Not too efficient.
So just kill off the url and use the path to your file.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Joeri Vankelst"" <[EM
OTECTED]>
Sent: Sunday, April 22, 2001 7:43 AM
Subject: [PHP] writing to file on server
> Hi,
>
> I've just started working with PHP. I've made a guest book using PHP
> (nothing spectacular) that worked just fine when I tested it op my pc, but
> when I uploaded it, i
Hi,
I've just started working with PHP. I've made a guest book using PHP
(nothing spectacular) that worked just fine when I tested it op my pc, but
when I uploaded it, it stopped working.
My specific problem is that I cannot write to a file that already exists and
contains data. When I try to I g
14 matches
Mail list logo