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
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...
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
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
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/')
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
$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
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
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
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
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
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
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
13 matches
Mail list logo