Search found 8 matches

by phpbeginer
Mon Feb 16, 2004 7:38 am
Forum: PHP - Code
Topic: Creating Files !
Replies: 3
Views: 546

Yes, it is a bad thing to write on the client machine! That would make hacking very easy through PHP ;) I Think what you suggested is really what I need, I just finished writing the batch file that will ask the user about some information and store it in his harddrive. I will use the download link t...
by phpbeginer
Mon Feb 16, 2004 2:58 am
Forum: PHP - Code
Topic: Creating Files !
Replies: 3
Views: 546

Please, I need your urgent help....
by phpbeginer
Mon Feb 16, 2004 2:33 am
Forum: PHP - Code
Topic: Creating Files !
Replies: 3
Views: 546

Creating Files !

Hi, This is me again.. Is it possible to let php code writes on the client side.. I've written a code which asks users to fill up some fields and then the code should creates a file with the data they filled under their c: drive. What happened to me, the data were filled ok but the file was created ...
by phpbeginer
Sun Feb 15, 2004 1:41 am
Forum: PHP - Code
Topic: new line character
Replies: 8
Views: 612

Thank you Mark. That was so much helpful.

yes, It works now..

Regards.
by phpbeginer
Sun Feb 15, 2004 1:36 am
Forum: PHP - Code
Topic: new line character
Replies: 8
Views: 612

Actually, I am opening the file from C drive "Double Clicks" and I don't see the newlines there? but I can see tabs!! any explanation ?

Thanks.
by phpbeginer
Sun Feb 15, 2004 1:30 am
Forum: PHP - Code
Topic: new line character
Replies: 8
Views: 612

above code is just a test! before I start writing my long DB file ..

Thanks.
by phpbeginer
Sun Feb 15, 2004 1:29 am
Forum: PHP - Code
Topic: new line character
Replies: 8
Views: 612

Wow.. Thanks for the instance reply.. anyway, here is the code: <?php $fp = fopen( "C:\\dbfile.txt" , "w" ); fwrite($fp,"\n"); fwrite($fp,"<head>\n"); fwrite($fp,"</head>\n"); fwrite($fp,"<body>\n"); fwrite($fp,"This is my PDF"); ...
by phpbeginer
Sun Feb 15, 2004 1:24 am
Forum: PHP - Code
Topic: new line character
Replies: 8
Views: 612

new line character

Hi Everybody,

I am using PHP version 4.3.3. I'm trying to write a new line into a file using "\n" but it does not work with me?
I used "\t" and it wrote the tab space into the file. Please advise!

Thanks in a dvance.