php-windows Digest 3 Nov 2003 21:21:59 -0000 Issue 1982

2003-11-03 Thread php-windows-digest-help
php-windows Digest 3 Nov 2003 21:21:59 - Issue 1982 Topics (messages 21956 through 21965): Seesion 21956 by: Rinku Shivnani query error 21957 by: Rinku Shivnani 21958 by: Luis Moreira 21959 by: Ignatius Reilly 2 attachments 21960 by: Disko_kex

[PHP-WIN] Re: 2 attachments

2003-11-03 Thread Manuel Lemos
Hello, On 11/03/2003 12:24 PM, Disko_kex wrote: This is some of my code for sending an email with an attachment ($data) but if I want to send two files, how to write? I tried lots of ways with no result. Plz help You may want to try this class and attach as many files as you want to your messages

Re: [PHP-WIN] PHP4 + windows 2003 server

2003-11-03 Thread Nick H. -- Network Operations
The default path for the php.ini under 2003 is different than on 2000. I ran into this problem. Setup your PHP ini and put it in: c:\windows\system32\inetsrv (Above is default path) or %systemdir%\inetsrv Should fix your problem. Regards, Nick H. Network Operations Center [EMAIL PROTECTED] P

RE: [PHP-WIN] PHP4 + windows 2003 server

2003-11-03 Thread Eric COLINET
Hi, the path /tmp\sess_25db9216cc993bf4a6c2051981a339f5 can't exists on a windows platform ! Try to set the session save_path to a correct value. ie: session.save_path = c:\temp (in php.ini) or session_save_path('c:\\temp'); (in your code) assuming that c:\temp realy exists on yo

RE: [PHP-WIN] PHP4 + windows 2003 server

2003-11-03 Thread Gerardo Rojas
Make sure that the temp directory exists, where the session data is stored. -- Gerardo S. Rojas mailto: [EMAIL PROTECTED] -Original Message- From: servidor [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2003 12:28 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] PHP4 + windows 2003 ser

[PHP-WIN] PHP4 + windows 2003 server

2003-11-03 Thread servidor
Hi! PHP4 + windows 2003 server + Apache4 works fine?? I have trouble with sesions, * (Warning: session_start() [function.session-start]: open (/tmp\sess_25db9216cc993bf4a6c2051981a339f5, O_RDWR) failed: * I

[PHP-WIN] 2 attachments

2003-11-03 Thread Disko_kex
$file = fopen($fileatt,'rb'); $data = fread($file,filesize($fileatt)); fclose($file); $semi_rand = md5(time()); $mime_boundary = "==Multipart_Boundary_x{$semi_rand}x"; $headers .= "\nMIME-Version: 1.0\n" . "Content-Type: multipart/mixed;\n" . " boundary=\"{$mime

Re: [PHP-WIN] query error

2003-11-03 Thread Ignatius Reilly
This is a useful trick when generating conditions dynamically in SQL $sql = "SELECT ... WHERE 1 = 1 " ; foreach ( $conditions as $condition ) { $sql .= "AND {$condition}" ; } Ignatius _ - Original Message - From: "Luis Moreira" <[EMAIL P

Re: [PHP-WIN] query error

2003-11-03 Thread Luis Moreira
What is this doing here ? where 1=1 This is always true - Original Message - From: "Rinku Shivnani" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 03, 2003 12:50 PM Subject: [PHP-WIN] query error > SELECT types, comp_name, modal, to_char(manufact_dt,'dd/MON/')

[PHP-WIN] query error

2003-11-03 Thread Rinku Shivnani
SELECT types, comp_name, modal, to_char(manufact_dt,'dd/MON/'), to_char(purchase_dt,'dd/MON/'), dealer_nm, cc, avg, to_char(rto_passing_dt,'dd/MON/'), veh_no, color, appro_val, extra_info, to_char(dt,'dd/MON/'), necessary_info, name, email_id, village, place, taluka, ph_no, extr

[PHP-WIN] Seesion

2003-11-03 Thread Rinku Shivnani
Warning: Cannot send session cache limiter - headers already sent (output started at /var/www/html/chiraag/auction/frmclient_approve.php:2) in /var/www/html/chiraag/auction/frmclient_approve.php on line 3 In this case to rectify this error what I should do? Pls Guide Regards, Rinku

php-windows Digest 3 Nov 2003 08:40:53 -0000 Issue 1981

2003-11-03 Thread php-windows-digest-help
php-windows Digest 3 Nov 2003 08:40:53 - Issue 1981 Topics (messages 21946 through 21955): POST and GET form 21946 by: Patrick Dufresne 21948 by: GaguWD 21949 by: Patrick Dufresne 21950 by: GaguWD 21952 by: Dash McElroy Re: Installation probs...

[PHP-WIN] Help about Pear

2003-11-03 Thread Muhammad Imran
I am trying to execute/prepare statements on PEAR framework. On the documentation page their is dbh->statement(), can someone tell me what is this dbh, is it database connection or something else, and how it can be prepare. Imran