source: www/manuals/PHP_manual/function.ibase-pconnect.html@ 1

Last change on this file since 1 was 1, checked in by george, 17 years ago

Prvotní import všeho

File size: 4.0 KB
Line 
1<HTML
2><HEAD
3><TITLE
4>ibase_pconnect</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
8REL="HOME"
9TITLE="Manuál PHP"
10HREF="index.html"><LINK
11REL="UP"
12TITLE="InterBase functions"
13HREF="ref.ibase.html"><LINK
14REL="PREVIOUS"
15TITLE="ibase_num_fields"
16HREF="function.ibase-num-fields.html"><LINK
17REL="NEXT"
18TITLE="ibase_prepare"
19HREF="function.ibase-prepare.html"><META
20HTTP-EQUIV="Content-type"
21CONTENT="text/html; charset=ISO-8859-2"></HEAD
22><BODY
23CLASS="refentry"
24BGCOLOR="#FFFFFF"
25TEXT="#000000"
26LINK="#0000FF"
27VLINK="#840084"
28ALINK="#0000FF"
29><DIV
30CLASS="NAVHEADER"
31><TABLE
32SUMMARY="Header navigation table"
33WIDTH="100%"
34BORDER="0"
35CELLPADDING="0"
36CELLSPACING="0"
37><TR
38><TH
39COLSPAN="3"
40ALIGN="center"
41>Manuál PHP</TH
42></TR
43><TR
44><TD
45WIDTH="10%"
46ALIGN="left"
47VALIGN="bottom"
48><A
49HREF="function.ibase-num-fields.html"
50ACCESSKEY="P"
51>Pøedcházející</A
52></TD
53><TD
54WIDTH="80%"
55ALIGN="center"
56VALIGN="bottom"
57></TD
58><TD
59WIDTH="10%"
60ALIGN="right"
61VALIGN="bottom"
62><A
63HREF="function.ibase-prepare.html"
64ACCESSKEY="N"
65>Dal¹í</A
66></TD
67></TR
68></TABLE
69><HR
70ALIGN="LEFT"
71WIDTH="100%"></DIV
72><H1
73><A
74NAME="function.ibase-pconnect"
75></A
76>ibase_pconnect</H1
77><DIV
78CLASS="refnamediv"
79><A
80NAME="AEN36971"
81></A
82><P
83> (PHP 3&#62;= 3.0.6, PHP 4 )</P
84>ibase_pconnect&nbsp;--&nbsp;
85 Creates an persistent connection to an InterBase database
86 </DIV
87><DIV
88CLASS="refsect1"
89><A
90NAME="AEN36974"
91></A
92><H2
93>Description</H2
94>int <B
95CLASS="methodname"
96>ibase_pconnect</B
97> ( string database [, string username [, string password [, string charset [, int buffers [, int dialect [, string role]]]]]])<BR
98></BR
99><P
100>&#13; <B
101CLASS="function"
102>ibase_pconnect()</B
103> acts very much like
104 <A
105HREF="function.ibase-connect.html"
106><B
107CLASS="function"
108>ibase_connect()</B
109></A
110> with two major differences.
111 First, when connecting, the function will first try to find a
112 (persistent) link that's already opened with the same parameters.
113 If one is found, an identifier for it will be returned instead of
114 opening a new connection. Second, the connection to the InterBase
115 server will not be closed when the execution of the script ends.
116 Instead, the link will remain open for future use
117 (<A
118HREF="function.ibase-close.html"
119><B
120CLASS="function"
121>ibase_close()</B
122></A
123> will not close links established
124 by <B
125CLASS="function"
126>ibase_pconnect()</B
127>). This type of link is
128 therefore called 'persistent'.
129 </P
130><DIV
131CLASS="note"
132><BLOCKQUOTE
133CLASS="note"
134><P
135><B
136>Poznámka: </B
137>
138 <TT
139CLASS="parameter"
140><I
141>buffers</I
142></TT
143> was added in PHP4-RC2.
144 </P
145></BLOCKQUOTE
146></DIV
147><DIV
148CLASS="note"
149><BLOCKQUOTE
150CLASS="note"
151><P
152><B
153>Poznámka: </B
154>
155 <TT
156CLASS="parameter"
157><I
158>dialect</I
159></TT
160> was added in PHP4-RC2. It is functional
161 only with InterBase 6 and versions higher than that.
162 </P
163></BLOCKQUOTE
164></DIV
165><DIV
166CLASS="note"
167><BLOCKQUOTE
168CLASS="note"
169><P
170><B
171>Poznámka: </B
172>
173 <TT
174CLASS="parameter"
175><I
176>role</I
177></TT
178> was added in PHP4-RC2. It is functional
179 only with InterBase 5 and versions higher than that.
180 </P
181></BLOCKQUOTE
182></DIV
183><P
184>&#13; See also <A
185HREF="function.ibase-connect.html"
186><B
187CLASS="function"
188>ibase_connect()</B
189></A
190> for the meaning of
191 parameters passed to this function. They are exactly the same.
192 </P
193></DIV
194><DIV
195CLASS="NAVFOOTER"
196><HR
197ALIGN="LEFT"
198WIDTH="100%"><TABLE
199SUMMARY="Footer navigation table"
200WIDTH="100%"
201BORDER="0"
202CELLPADDING="0"
203CELLSPACING="0"
204><TR
205><TD
206WIDTH="33%"
207ALIGN="left"
208VALIGN="top"
209><A
210HREF="function.ibase-num-fields.html"
211ACCESSKEY="P"
212>Pøedcházející</A
213></TD
214><TD
215WIDTH="34%"
216ALIGN="center"
217VALIGN="top"
218><A
219HREF="index.html"
220ACCESSKEY="H"
221>Domù</A
222></TD
223><TD
224WIDTH="33%"
225ALIGN="right"
226VALIGN="top"
227><A
228HREF="function.ibase-prepare.html"
229ACCESSKEY="N"
230>Dal¹í</A
231></TD
232></TR
233><TR
234><TD
235WIDTH="33%"
236ALIGN="left"
237VALIGN="top"
238>ibase_num_fields</TD
239><TD
240WIDTH="34%"
241ALIGN="center"
242VALIGN="top"
243><A
244HREF="ref.ibase.html"
245ACCESSKEY="U"
246>Nahoru</A
247></TD
248><TD
249WIDTH="33%"
250ALIGN="right"
251VALIGN="top"
252>ibase_prepare</TD
253></TR
254></TABLE
255></DIV
256></BODY
257></HTML
258>
Note: See TracBrowser for help on using the repository browser.