[PHP] Discover about php.ini

2002-04-11 Thread Mauricio Sthandier
I couldn't get my site working por two days... and finally I discover the reason. I copied (I guess for developing testing reason) php.ini into the site folder... so I discover I can have different php.ini in every virtual directory... and I find it damn good !. is so for each webserver ? (current

[PHP] Re: session problem?

2002-04-09 Thread Mauricio Sthandier
I have the same problem... I thought it was for a different reason... If you got a solution please email me !!! "Bob" <[EMAIL PROTECTED]> escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 1.php?2.php > session_start();

[PHP] PHP.ini Session section

2002-04-09 Thread Mauricio Sthandier
Does anybody have a Session section of the php.ini working on Windows 2000 ? I'm not able to make my session persistent along pages... perhaps a bad configuration of IIS ? Should I move to Linux ? :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

[PHP] How can I persist a session ?

2002-04-08 Thread Mauricio Sthandier
Hi... i'm trying to authenticate users in my pages. But every time it gives me a different session_id ! And I can't use my previously registered variables... I started sessions with this code : session_start()

Re: [PHP] Append to the beginning of a file...

2002-03-21 Thread Mauricio Sthandier
----- It does works... sounds amazing after this hours... helps everybody, you are fine people !!! "Miguel Cruz" <[EMAIL PROTECTED]> escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Thu, 21 Mar 2002, Mauricio Sthandier wrot

Re: [PHP] Append to the beginning of a file...

2002-03-21 Thread Mauricio Sthandier
; escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Thu, 21 Mar 2002, Mauricio Sthandier wrote: > > I guess thist must be really silly... but how can I append text to the > > beginning of a file ??? > > I've been trying since a while... but all

Re: [PHP] Append to the beginning of a file...

2002-03-21 Thread Mauricio Sthandier
I already seen it... I used "r+" and "aw". I saw and example in www.php.net, in the fopen function description, but it is incomplete... this is taking me hours !!!. Well, if I can preappend... how can I read, for example, the first 8 chars of the last line I inserted ?. They have no fixed length.

[PHP] Append to the beginning of a file...

2002-03-21 Thread Mauricio Sthandier
I guess thist must be really silly... but how can I append text to the beginning of a file ??? I've been trying since a while... but all I get is overwriting !. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Email Attachment

2002-02-04 Thread Mauricio Sthandier
ot;\n"; > $body .= "Content-Transfer-Encoding: base64\n"; > $body .= "Content-disposition: attachment; filename=\"attach.pdf\"\n\n"; > $enc_pdf = chunk_split(base64_encode($buffer)); > $body .= $enc_pdf . "\n"; } > $body .= "--Message-Bound

[PHP] Email Attachment

2002-02-01 Thread Mauricio Sthandier
Hello, I'm new in php development... I was wondering how can I attach a Word (.doc) Document in an email sent with the mail() function (if I can do it just with it). I know it has to see with the additional headers of the email, but I would be grateful If anyone could tell where can i go to for t