[PHP-DOC] Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/ming ming.c php_ming.h
Hi Derick, I'm working on optimizing the version checking to make it possible to compile and link against at least 0.3, but older versions might not be possible as it would create too much spaghetti code. - Frank On Fri, 25 Jul 2008, Derick Rethans wrote: On Thu, 24 Jul 2008, Frank M. Kromann wrote: fmk Thu Jul 24 08:02:39 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/ming ming.c php_ming.h Log: Syncronize the ming extension with libming 0.4 [DOC] PHP 5.3 requires libming 0.4 Is that really necessary? libming 0.3 has been working fine, and it's the latest that debian unstable has - could you please see if it'd be possible to support that as well? This is even more useful as PHP 5.3 doesn't compile against libming 0.4. In order to be able to run both 5.2 and 5.3 I need both version of the lib - something that many distributions don't do. regards, Derick -- HEAD before 5_3!: http://tinyurl.com/6d2esb http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org
[PHP-DOC] cvs: phpdoc /en/reference/mssql/functions mssql-connect.xml mssql-pconnect.xml
fmk Thu Mar 9 18:50:23 2006 UTC Modified files: /phpdoc/en/reference/mssql/functionsmssql-connect.xml mssql-pconnect.xml Log: Add missing parameters http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/mssql/functions/mssql-connect.xml?r1=1.3r2=1.4diff_format=u Index: phpdoc/en/reference/mssql/functions/mssql-connect.xml diff -u phpdoc/en/reference/mssql/functions/mssql-connect.xml:1.3 phpdoc/en/reference/mssql/functions/mssql-connect.xml:1.4 --- phpdoc/en/reference/mssql/functions/mssql-connect.xml:1.3 Mon Apr 11 21:20:04 2005 +++ phpdoc/en/reference/mssql/functions/mssql-connect.xml Thu Mar 9 18:50:23 2006 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/mssql.xml, last change in rev 1.2 -- refentry id=function.mssql-connect refnamediv @@ -13,6 +13,7 @@ methodparam choice=opttypestring/typeparameterservername/parameter/methodparam methodparam choice=opttypestring/typeparameterusername/parameter/methodparam methodparam choice=opttypestring/typeparameterpassword/parameter/methodparam + methodparam choice=opttypebool/typeparameternew_link/parameter/methodparam /methodsynopsis para Returns: A MS SQL link identifier on success, or false; http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/mssql/functions/mssql-pconnect.xml?r1=1.3r2=1.4diff_format=u Index: phpdoc/en/reference/mssql/functions/mssql-pconnect.xml diff -u phpdoc/en/reference/mssql/functions/mssql-pconnect.xml:1.3 phpdoc/en/reference/mssql/functions/mssql-pconnect.xml:1.4 --- phpdoc/en/reference/mssql/functions/mssql-pconnect.xml:1.3 Thu Jun 23 16:53:26 2005 +++ phpdoc/en/reference/mssql/functions/mssql-pconnect.xml Thu Mar 9 18:50:23 2006 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/mssql.xml, last change in rev 1.2 -- refentry id=function.mssql-pconnect refnamediv @@ -13,6 +13,7 @@ methodparam choice=opttypestring/typeparameterservername/parameter/methodparam methodparam choice=opttypestring/typeparameterusername/parameter/methodparam methodparam choice=opttypestring/typeparameterpassword/parameter/methodparam + methodparam choice=opttypebool/typeparameternew_link/parameter/methodparam /methodsynopsis para Returns: A positive MS SQL persistent link identifier on success,
RE: FW: [PHP-DOC] help needed with windows install part of the PHP manual
Following discussion on irc, we're now waiting for Canada to come online so that Frank can explain how he has his sapi installations working without using PATH.. Canada or California thats almost the same exect for the temperature and the amount of sunlight we get:-) I'm using ispi only for testing. CGI is fast enough for my development tasks. My configuration is with all PHP files in one dir and the script mapping set to .php - c:\php5\php5isapi.dll. This configuration does not llok for the php.ini file located in c:\php5. It looks for the file in c:\windows. When running as isapi, the dll is loaded by a process that is started from c:\winows\system32\inetsrv, and it does nt have any knowledge about the c:\php5 folder. So in the case of isapi I'm running without a php.ini file. - Frank (in which case Edin's right - but what do the majority of new users install? cgi or sapi?)
[PHP-DOC] Re: help needed with windows install part of the PHP manual
Hi Gabor, I have used PHP since the early days of PHP3 and I have never copied any files arround. I have only used php on Windows NT/2000/XP and there might be other needs on Windows 98/ME. On my development box I have the following directory structure: c:\php4 c:\php4\debug c:\php5 c:\php5\debug In each of these directories I keep all files related to the version of PHP. That includes all .exe, .dll and the php.ini file. I also keep any external library required for extension in the same folder (this is for extensions like PHP-GTK and Imagick etc.) PEAR is a little tricky as it requires pear.ini to be in %windir%! In the php.ini file I set extension_dir = ./ I use IIS for most of my work and I configure it with the folowing virtual directories all pointing to the same physical directory: /php4, script map: .php = c:\php4\php-cgi.exe /php4debug, script map: .php = c:\php4\debug\php-cgi.exe /php5, script map: .php = c:\php5\php-cgi.exe /php5isapi, script map: .php = c:\php5\php5isapi.dll /php5debug, script map: .php = c:\php5\debug\php-cgi.exe /php5fcgi, script map: .php = c:\php4\isapi_fcgi.dll It is not possible to configure IIS with more than one isapi/fcgi module. This way I can test the same php script with different versions of PHP without changing anything but the URL. This configuration also allows me to use both web based and PHP-GTK applications. I use the same configuration on the systems we ship to our customers. It's a touch screen computer with a PHP5 based application. - Frank Hi Frank, Wez, and all! Wez promised us that he will help rewamp the Windows installation part, but he does not reply to our mails. Our dilemma is the following: - the current Windows docs suggest users to copy files to the windows and system32 folders - people (Daniel Convissor) report that it is possible to not do this, but set PATH to include the PHP folder and the dlls folder below the PHP folder (for PHP 4) + set PHPRC - others (Nuno Lopes) report that it does not work for PHP 5 - the PHP 5 package suspiciosly looks like if the dlls and sapi folder was merged with the root folder just to support Daniel's suggestion, or enable setup with even less configuration (no PATH and no PHPRC setting required) - just a hiphotesis Now we need someone with decent Windows PHP knowledge to help us clean up the installation part. What do we need? - Simple manual installation instructions for PHP 4 on Windows - Simple manual installation instructions for PHP 5 on Windows - Instructions on how can you run them paralelly (both server independent - ie. CLI, and server dependent - ie. Apache, etc). Wez said it is not required to copy files around neither for PHP 4 nor for PHP5. Now we need exact instructions. Thanks, Gabor Hojtsy - PHP Documentation Editor
[PHP-DOC] cvs: phpdoc /en/reference/mssql/functions mssql-result.xml
fmk Mon Nov 24 15:00:47 2003 EDT Modified files: /phpdoc/en/reference/mssql/functionsmssql-result.xml Log: change parameter name from i to row Index: phpdoc/en/reference/mssql/functions/mssql-result.xml diff -u phpdoc/en/reference/mssql/functions/mssql-result.xml:1.3 phpdoc/en/reference/mssql/functions/mssql-result.xml:1.4 --- phpdoc/en/reference/mssql/functions/mssql-result.xml:1.3Thu Jul 3 08:38:23 2003 +++ phpdoc/en/reference/mssql/functions/mssql-result.xmlMon Nov 24 15:00:47 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/mssql.xml, last change in rev 1.2 -- refentry id=function.mssql-result refnamediv @@ -11,7 +11,7 @@ methodsynopsis typestring/typemethodnamemssql_result/methodname methodparamtyperesource/typeparameterresult/parameter/methodparam - methodparamtypeint/typeparameteri/parameter/methodparam + methodparamtypeint/typeparameterrow/parameter/methodparam methodparamtypemixed/typeparameterfield/parameter/methodparam /methodsynopsis para
[PHP-DOC] cvs: phpdoc /en/reference/fbsql/functions fbsql-insert-id.xml
fmk Wed Feb 19 12:51:15 2003 EDT Modified files: /phpdoc/en/reference/fbsql/functionsfbsql-insert-id.xml Log: Make the documentation match the features. Index: phpdoc/en/reference/fbsql/functions/fbsql-insert-id.xml diff -u phpdoc/en/reference/fbsql/functions/fbsql-insert-id.xml:1.2 phpdoc/en/reference/fbsql/functions/fbsql-insert-id.xml:1.3 --- phpdoc/en/reference/fbsql/functions/fbsql-insert-id.xml:1.2 Wed Apr 17 02:37:53 2002 +++ phpdoc/en/reference/fbsql/functions/fbsql-insert-id.xml Wed Feb 19 12:51:14 +2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/fbsql.xml, last change in rev 1.1 -- refentry id=function.fbsql-insert-id refnamediv @@ -32,7 +32,7 @@ note para The value of the FrontBase SQL function - literalLAST_INSERT_ID()/literal always contains the most + functionfbsql_insert_id/function always contains the most recently generated DEFAULT UNIQUE value, and is not reset between queries. /para -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/mssql configure.xml
fmk Sun Feb 9 22:24:42 2003 EDT Modified files: /phpdoc/en/reference/mssql configure.xml Log: Adding a note about compiling FreeTDS using --enable-msdblib Index: phpdoc/en/reference/mssql/configure.xml diff -u phpdoc/en/reference/mssql/configure.xml:1.3 phpdoc/en/reference/mssql/configure.xml:1.4 --- phpdoc/en/reference/mssql/configure.xml:1.3 Tue Jan 7 06:26:23 2003 +++ phpdoc/en/reference/mssql/configure.xml Sun Feb 9 22:24:42 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- section id=mssql.installation reftitle.install; para @@ -9,7 +9,7 @@ para To get these functions to work, you have to compile PHP with option role=configure--with-mssql[=DIR]/option, where DIR is the - FreeTDS install prefix. + FreeTDS install prefix. And FreeTDS should be compiled using --enable-msdblib. /para /section -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/mssql/functions mssql-bind.xml mssql-execute.xml mssql-free-statement.xml mssql-init.xml
fmk Thu Jan 9 13:46:33 2003 EDT Added files: /phpdoc/en/reference/mssql/functionsmssql-free-statement.xml Modified files: /phpdoc/en/reference/mssql/functionsmssql-bind.xml mssql-execute.xml mssql-init.xml Log: Adding a little more information about stored procedure handling Index: phpdoc/en/reference/mssql/functions/mssql-bind.xml diff -u phpdoc/en/reference/mssql/functions/mssql-bind.xml:1.2 phpdoc/en/reference/mssql/functions/mssql-bind.xml:1.3 --- phpdoc/en/reference/mssql/functions/mssql-bind.xml:1.2 Wed Apr 17 02:40:59 2002 +++ phpdoc/en/reference/mssql/functions/mssql-bind.xml Thu Jan 9 13:46:33 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/mssql.xml, last change in rev 1.24 -- refentry id='function.mssql-bind' refnamediv @@ -22,6 +22,10 @@ /methodsynopsis para warn.undocumented.func; +/para +para + See also functionmssql_execute/function, +functionmssql_free_statement/function + and functionmssql_init/function /para /refsect1 /refentry Index: phpdoc/en/reference/mssql/functions/mssql-execute.xml diff -u phpdoc/en/reference/mssql/functions/mssql-execute.xml:1.3 phpdoc/en/reference/mssql/functions/mssql-execute.xml:1.4 --- phpdoc/en/reference/mssql/functions/mssql-execute.xml:1.3 Sun Jun 30 06:41:43 2002 +++ phpdoc/en/reference/mssql/functions/mssql-execute.xml Thu Jan 9 13:46:33 +2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- !-- splitted from ./en/functions/mssql.xml, last change in rev 1.24 -- refentry id='function.mssql-execute' refnamediv @@ -16,6 +16,20 @@ /methodsynopsis para warn.undocumented.func; +/para +note + simpara + if the stored procedure returns parameters or a return value these will + be available after the call to functionmssql_execute/function unless + the stored procedure returns more than one result set. In that case + use functionmssql_next_result/function to shift through the results. + When the last result has been processed the output parameters and return + values will be available. + /simpara +/note +para + See also functionmssql_bind/function, +functionmssql_free_statement/function + and functionmssql_init/function /para /refsect1 /refentry Index: phpdoc/en/reference/mssql/functions/mssql-init.xml diff -u phpdoc/en/reference/mssql/functions/mssql-init.xml:1.2 phpdoc/en/reference/mssql/functions/mssql-init.xml:1.3 --- phpdoc/en/reference/mssql/functions/mssql-init.xml:1.2 Wed Apr 17 02:41:01 2002 +++ phpdoc/en/reference/mssql/functions/mssql-init.xml Thu Jan 9 13:46:33 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- !-- splitted from ./en/functions/mssql.xml, last change in rev 1.24 -- refentry id='function.mssql-init' refnamediv @@ -17,6 +17,10 @@ /methodsynopsis para warn.undocumented.func; +/para +para + See also functionmssql_bind/function, functionmssql_execute/function + and functionmssql_free_statement/function /para /refsect1 /refentry Index: phpdoc/en/reference/mssql/functions/mssql-free-statement.xml +++ phpdoc/en/reference/mssql/functions/mssql-free-statement.xml ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.1 $ -- !-- splitted from ./en/functions/mssql.xml, last change in rev 1.2 -- refentry id=function.mssql-free-statement refnamediv refnamemssql_free_statement/refname refpurposeFree statement memory/refpurpose /refnamediv refsect1 titleDescription/title methodsynopsis typeint/typemethodnamemssql_free_statement/methodname methodparamtypeint/typeparameterstatement/parameter/methodparam /methodsynopsis para functionmssql_free_statement/function only needs to be called if you are worried about using too much memory while your script is running. All statement memory will automatically be freed when the script ends. You may call functionmssql_free_statement/function with the statement identifier as an argument and the associated statement memory will be freed. /para para See also functionmssql_bind/function, functionmssql_execute/function and functionmssql_init/function /para /refsect1 /refentry !-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:../../../../manual.ced sgml-exposed-tags:nil
[PHP-DOC] cvs: phpdoc /en/reference/mssql configure.xml reference.xml
fmk Wed Dec 18 02:27:10 2002 EDT Modified files: /phpdoc/en/reference/mssql configure.xml reference.xml Log: Updating documentation to match the code Index: phpdoc/en/reference/mssql/configure.xml diff -u phpdoc/en/reference/mssql/configure.xml:1.1 phpdoc/en/reference/mssql/configure.xml:1.2 --- phpdoc/en/reference/mssql/configure.xml:1.1 Sat Nov 30 10:33:22 2002 +++ phpdoc/en/reference/mssql/configure.xml Wed Dec 18 02:27:10 2002 @@ -1,10 +1,15 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.1 $ -- +!-- $Revision: 1.2 $ -- section id=mssql.installation reftitle.install; para The MSSQL extension is enabled by adding extension=php_mssql.dll to php.ini;. + /para + para + To get these functions to work, you have to compile PHP with + option role=configure--with-mssql=[DIR]/option, where DIR is the + FreeTDS install prefix. /para /section Index: phpdoc/en/reference/mssql/reference.xml diff -u phpdoc/en/reference/mssql/reference.xml:1.7 phpdoc/en/reference/mssql/reference.xml:1.8 --- phpdoc/en/reference/mssql/reference.xml:1.7 Sat Nov 30 10:33:22 2002 +++ phpdoc/en/reference/mssql/reference.xml Wed Dec 18 02:27:10 2002 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.7 $ -- +!-- $Revision: 1.8 $ -- reference id=ref.mssql titleMicrosoft SQL Server functions/title titleabbrevMS SQL Server/titleabbrev @@ -10,18 +10,14 @@ para These functions allow you to access MS SQL Server database. /para -note - para - The MSSQL extension is available on Win32 systems only. You can - use the link linkend=ref.sybaseSybase extension/link to connect to - MSSQL databases from other platforms. - /para -/note /section section id=mssql.requirements reftitle.required; para + Requirements for WIn32 platforms. +/para +para The extension requires the MS SQL Client Tools to be installed on the system where PHP is installed. The Client Tools can be installed from the MS SQL Server CD or by copying @@ -30,6 +26,15 @@ filename\winnt\system32/filename on the PHP box. Copying filenamentwdblib.dll/filename will only provide access. Configuration of the client will require installation of all the tools. +/para +para + Requirements for Unix/Linux platforms. +/para +para + To use the MSSQL extension on Unix/Linux, you first need to build and + install the FreeTDS library. Source code and installation instructions + are available at the FreeTDS home page: + ulink url=url.freetds;url.freetds;/ulink /para /section -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/functions fbsql.xml
fmk Tue Jan 29 13:12:03 2002 EDT Modified files: /phpdoc/en/functionsfbsql.xml Log: Fixing documentation for fbsql_database_password Index: phpdoc/en/functions/fbsql.xml diff -u phpdoc/en/functions/fbsql.xml:1.36 phpdoc/en/functions/fbsql.xml:1.37 --- phpdoc/en/functions/fbsql.xml:1.36 Sat Jan 19 18:42:21 2002 +++ phpdoc/en/functions/fbsql.xml Tue Jan 29 13:12:02 2002 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.36 $ -- +!-- $Revision: 1.37 $ -- reference id=ref.fbsql titleFrontBase Functions/title titleabbrevFrontBase/titleabbrev @@ -496,22 +496,40 @@ /funcprototype /funcsynopsis para - Returns: The database password for the database represented by - the link identifier. + Returns: The database password associated with the link identifier. /para para functionfbsql_database_password/function sets and retrieves - the database password for the current database. if the second + the database password used by the connection. if a database is + protected by a database password, the user must call this function + before calling functionfbsql_select_db/function. if the second optional parameter is given the function sets the database - password for the database on the server that's associated with - the specified link identifier. If no link identifier is + password for the specified link identifier. If no link identifier is specified, the last opened link is assumed. If no link is open, the function will try to establish a link as if functionfbsql_connect/function was called, and use it. /para para - See also: functionfbsql_connect/function and - functionfbsql_pconnect/function. + This function does not change the database password in the database + nor can it be used to retrive the database password for a database. +/para +example + titlefunctionfbsql_create_clob/function example/title + programlisting role=php +![CDATA[ +?php +$link = fbsql_pconnect (localhost, _SYSTEM, secret) +or die (Could not connect); +fbsql_database_password($link, secret db password); +fbsql_select_db($database, $link); +? +]] + /programlisting +/example +para + See also: functionfbsql_connect/function, + functionfbsql_pconnect/function and + functionfbsql_select_db/function. /para /refsect1 /refentry @@ -2252,9 +2270,15 @@ Every subsequent call to functionfbsql_query/function will be made on the active database. /para +para + if the database is protected with a database password, the user must + call functionfbsql_database_password/function before selecting + the database. +/para para See also: functionfbsql_connect/function, - functionfbsql_pconnect/function, and + functionfbsql_pconnect/function, + functionfbsql_database_password/function and functionfbsql_query/function. /para /refsect1
[PHP-DOC] cvs: phpdoc /en/functions imap.xml
fmk Tue Dec 4 15:05:15 2001 EDT Modified files: /phpdoc/en/functionsimap.xml Log: Update the documentation foi imap_mail() Index: phpdoc/en/functions/imap.xml diff -u phpdoc/en/functions/imap.xml:1.53 phpdoc/en/functions/imap.xml:1.54 --- phpdoc/en/functions/imap.xml:1.53 Sat Nov 17 22:07:18 2001 +++ phpdoc/en/functions/imap.xmlTue Dec 4 15:05:15 2001 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.53 $ -- +!-- $Revision: 1.54 $ -- reference id='ref.imap' titleIMAP, POP3 and NNTP functions/title titleabbrevIMAP/titleabbrev @@ -1530,7 +1530,11 @@ /funcprototype /funcsynopsis para - This function is currently only available in PHP 3. + This function allows sending of emails with correct handling of Cc and Bcc +receivers. + The parameters to, cc and bcc are all strings and are all parsed as rfc822 +address lists. + The receivers specified in bcc will get the mail, but are excluded from the +headers. + Use teh rpath parameter to specify return path. This is usefull when using php +as a mail client + for multiple users. /para /refsect1 /refentry
[PHP-DOC] cvs: phpdoc /en/functions mssql.xml
fmk Wed Nov 14 14:00:51 2001 EDT Modified files: /phpdoc/en/functionsmssql.xml Log: Adding some description on how to get the Client tools installed. Index: phpdoc/en/functions/mssql.xml diff -u phpdoc/en/functions/mssql.xml:1.19 phpdoc/en/functions/mssql.xml:1.20 --- phpdoc/en/functions/mssql.xml:1.19 Sat Nov 10 16:49:38 2001 +++ phpdoc/en/functions/mssql.xml Wed Nov 14 14:00:48 2001 @@ -1,8 +1,27 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.19 $ -- +!-- $Revision: 1.20 $ -- reference id=ref.mssql titleMicrosoft SQL Server functions/title titleabbrevMS SQL Server/titleabbrev + partintro + simpara +The MSSQL extension is available on Win32 systems only. You can +use the Sybase extension to connect to MSSQL databases from +other platforms. + /simpara + simpara +These functions allow you to access MS SQL Server database. +The extension requires the MS SQL Client Tools to be installed +on the system where PHP is installed. The Client Tools can +be installed from the MS SQL Server CD or by copying ntwdblib.dll +from \winnt\system32 on the serber to \winnt\system32 on the PHP box. +Copying ntwdblib.dll will only provide access. Configuration of the client +will require installation of all the tools. + /simpara + simpara +The MSSQL extension is enabled by adding extension=php_mssql.dll to php.ini. + /simpara + /partintro refentry id=function.mssql-close refnamediv
[PHP-DOC] cvs: phpdoc /en/functions iisfunc.xml
fmk Wed Nov 14 14:04:15 2001 EDT Added files: /phpdoc/en/functionsiisfunc.xml Log: Adding basic documentation for the IIS functions. More text to be added. Index: phpdoc/en/functions/iisfunc.xml +++ phpdoc/en/functions/iisfunc.xml ?xml encoding=iso-8859-1? !-- $Revision: 1.1 $ -- reference id=ref.iisfunc titleIIS Administration functions/title titleabbrevIIS Functions/titleabbrev partintro simpara This extension is available for Win32 only. It provides functions to administrate Microsoft Internet Information Server (IIS). The extension includes function to create web sites and vertual directories as well as configuring security and script mapping. These functions have been added in PHP 4. /simpara /partintro refentry id=function.iis-get-server-by-path refnamediv refnameiis_get_server_by_path/refname refpurposeReturn the instance number associated with the Path/refpurpose /refnamediv refsect1 titleDescription/title funcsynopsis funcprototype funcdefint functioniis_get_server_by_path/function/funcdef paramdefstring parameterpath/parameter/paramdef /funcprototype /funcsynopsis para Each vertual server in IIS is associated with an instance number. functioniis_get_server_by_path/function Finds the instance number from the actual path to the root directory. /para /refsect1 /refentry refentry id=function.iis-get-server-by-comment refnamediv refnameiis_get_server_by_comment/refname refpurposeReturn the instance number associated with the Comment/refpurpose /refnamediv refsect1 titleDescription/title funcsynopsis funcprototype funcdefint functioniis_get_server_by_comment/function/funcdef paramdefstring parametercomment/parameter/paramdef /funcprototype /funcsynopsis para /para /refsect1 /refentry refentry id=function.iis-add-server refnamediv refnameiis_add_server/refname refpurposeCreates a new virtual web server/refpurpose /refnamediv refsect1 titleDescription/title funcsynopsis funcprototype funcdefint functioniis_add_server/function/funcdef paramdefstring parameterpath/parameter/paramdef paramdefstring parametercomment/parameter/paramdef paramdefstring parameterserver_ip/parameter/paramdef paramdefint parameterport/parameter/paramdef paramdefstring parameterhost_name/parameter/paramdef paramdefint parameterrights/parameter/paramdef paramdefint parameterstart_server/parameter/paramdef /funcprototype /funcsynopsis para /para /refsect1 /refentry refentry id=function.iis-remove-server refnamediv refnameiis_remove_server/refname refpurposeRemoves the virtual web server indicated by ServerInstance/refpurpose /refnamediv refsect1 titleDescription/title funcsynopsis funcprototype funcdefint functioniis_remove_server/function/funcdef paramdefint parameterserver_instance/parameter/paramdef /funcprototype /funcsynopsis para /para /refsect1 /refentry refentry id=function.iis-set-dir-security refnamediv refnameiis_set_dir_security/refname refpurposeSets Directory Security/refpurpose /refnamediv refsect1 titleDescription/title funcsynopsis funcprototype funcdefint functioniis_set_dir_security/function/funcdef paramdefint parameterserver_instance/parameter/paramdef paramdefstring parametervirtual_path/parameter/paramdef paramdefint parameterdirectory_flags/parameter/paramdef /funcprototype /funcsynopsis para /para /refsect1 /refentry refentry id=function.iis-get-dir-security refnamediv refnameiis_get_dir_security/refname refpurposeGets Directory Security/refpurpose /refnamediv refsect1 titleDescription/title funcsynopsis funcprototype funcdefint functioniis_get_dir_security/function/funcdef paramdefint parameterserver_instance/parameter/paramdef paramdefstring parametervirtual_path/parameter/paramdef /funcprototype /funcsynopsis para /para /refsect1 /refentry refentry id=function.iis-set-server-rights refnamediv refnameiis_set_server_rights/refname refpurposeSets server rights/refpurpose /refnamediv refsect1 titleDescription/title funcsynopsis funcprototype funcdefint functioniis_set_server_rights/function/funcdef paramdefint parameterserver_instance/parameter/paramdef paramdefstring parametervirtual_path/parameter/paramdef paramdefint parameterdirectory_flags/parameter/paramdef /funcprototype /funcsynopsis para /para /refsect1 /refentry refentry id=function.iis-get-server-rights refnamediv refnameiis_get_server_rights/refname refpurposeGets server rights/refpurpose /refnamediv
[PHP-DOC] cvs: phpdoc /en/functions fbsql.xml
fmk Fri Sep 21 13:21:57 2001 EDT Modified files: /phpdoc/en/functionsfbsql.xml Log: Fixing wrong return type Index: phpdoc/en/functions/fbsql.xml diff -u phpdoc/en/functions/fbsql.xml:1.21 phpdoc/en/functions/fbsql.xml:1.22 --- phpdoc/en/functions/fbsql.xml:1.21 Wed Sep 19 06:25:17 2001 +++ phpdoc/en/functions/fbsql.xml Fri Sep 21 13:21:57 2001 @@ -1,5 +1,5 @@ ?xml encoding=iso-8859-1? -!-- $Revision: 1.21 $ -- +!-- $Revision: 1.22 $ -- reference id=ref.fbsql titleFrontBase functions/title titleabbrevFrontBase/titleabbrev @@ -1858,7 +1858,7 @@ titleDescription/title funcsynopsis funcprototype - funcdefresource functionfbsql_select_db/function/funcdef + funcdefbool functionfbsql_select_db/function/funcdef paramdefstring parameterdatabase_name/parameter/paramdef paramdefresource parameter
[PHP-DOC] cvs: phpdoc /en/functions fbsql.xml
fmk Tue Sep 18 19:15:22 2001 EDT Modified files: /phpdoc/en/functionsfbsql.xml Log: Adding documentation for fbsql_commit, fbsql_rollback and fbsql_db_status Index: phpdoc/en/functions/fbsql.xml diff -u phpdoc/en/functions/fbsql.xml:1.18 phpdoc/en/functions/fbsql.xml:1.19 --- phpdoc/en/functions/fbsql.xml:1.18 Sun Aug 19 07:42:10 2001 +++ phpdoc/en/functions/fbsql.xml Tue Sep 18 19:15:22 2001 @@ -1,5 +1,5 @@ ?xml encoding=iso-8859-1? -!-- $Revision: 1.18 $ -- +!-- $Revision: 1.19 $ -- reference id=ref.fbsql titleFrontBase functions/title titleabbrevFrontBase/titleabbrev @@ -48,7 +48,6 @@ /paramdef /funcprototype /funcsynopsis - warn.experimental.func; para functionfbsql_affected_rows/function returns the number of rows affected by the last INSERT, UPDATE or DELETE query @@ -106,12 +105,20 @@ /paramdef /funcprototype /funcsynopsis - warn.experimental.func; para functionfbsql_autocommit/function returns the current autocommit status. if the optional OnOff parameter is given the auto commit status will be changed. + With OnOff set to true each statement will be commited + automatically, if no errors was found. + With OnOff set to false the user must commit or rollback + the transaction unsing either functionfbsql_commit/function or + functionfbsql_rollback/function. /para +para See also: + functionfbsql_commit/function and + functionfbsql_rollback/function +/para /refsect1 /refentry @@ -141,7 +148,6 @@ /paramdef /funcprototype /funcsynopsis - warn.experimental.func; para functionfbsql_change_user/function changes the logged in user of the current active connection, or the connection given by the @@ -170,7 +176,6 @@ /paramdef /funcprototype /funcsynopsis - warn.experimental.func; para Returns: true; on success, false; on error. /para @@ -201,6 +206,39 @@ /para /refsect1 /refentry + + refentry id=function.fbsql-commit + refnamediv +refnamefbsql_commit/refname +refpurposeCommits a transaction to the database/refpurpose + /refnamediv + refsect1 +titleDescription/title +funcsynopsis + funcprototype + funcdefbool functionfbsql_commit/function/funcdef + paramdefresource + parameter +optionallink_identifier/optional + /parameter + /paramdef + /funcprototype +/funcsynopsis +para + Returns: true; on success, false; on failure. +/para +para + functionfbsql_commit/function ends the current transaction + by writing all insertsm updates and deletes to the disk and unlucking + all row and table locks held by the transaction. + This command is only needed if autocommit is set to false. +/para +para See also: + functionfbsql_autocommit/function and + functionfbsql_rollback/function +/para + /refsect1 + /refentry refentry id=function.fbsql-connect refnamediv @@ -230,7 +268,6 @@ /paramdef /funcprototype /funcsynopsis - warn.experimental.func; para Returns a positive FrontBase link identifier on success, or an error message on failure. @@ -292,7 +329,6 @@ /paramdef /funcprototype /funcsynopsis - warn.experimental.func; para functionfbsql_create_db/function attempts to create a new database on the server associated with the specified link @@ -336,7 +372,6 @@ /paramdef /funcprototype /funcsynopsis - warn.experimental.func; para Returns: The database password for the database represented by the link identifier. @@ -372,7 +407,6 @@ paramdefint parameterrow_number/parameter/paramdef /funcprototype /funcsynopsis - warn.experimental.func; para Returns: true; on success, false; on failure. /para @@ -440,7 +474,6 @@ /paramdef /funcprototype /funcsynopsis - warn.experimental.func; para Returns: A positive FrontBase result identifier to the query result, or false; on error. @@ -459,6 +492,85 @@ /refsect1 /refentry + refentry id=function.fbsql-db-status + refnamediv +refnamefbsql_db_status/refname +refpurposeGet the status for a given database./refpurpose + /refnamediv + refsect1 +titleDescription/title +funcsynopsis + funcprototype + funcdefint functionfbsql_db_status/function/funcdef + paramdefstring parameterdatabase_name/parameter/paramdef + paramdefresource + parameter +optionallink_identifier/optional + /parameter + /paramdef + /funcprototype +/funcsynopsis +para + Returns: An integer value with the current status. +/para +para + functionfbsql_db_status/function requests the current +
[PHP-DOC] cvs: phpdoc /en/functions fbsql.xml
fmk Fri Aug 3 13:06:20 2001 EDT Modified files: /phpdoc/en/functionsfbsql.xml Log: Removed experimental warning Index: phpdoc/en/functions/fbsql.xml diff -u phpdoc/en/functions/fbsql.xml:1.16 phpdoc/en/functions/fbsql.xml:1.17 --- phpdoc/en/functions/fbsql.xml:1.16 Thu Aug 2 13:36:55 2001 +++ phpdoc/en/functions/fbsql.xml Fri Aug 3 13:06:20 2001 @@ -1,9 +1,8 @@ -!-- $Revision: 1.16 $ -- +!-- $Revision: 1.17 $ -- reference id=ref.fbsql titleFrontBase functions/title titleabbrevFrontBase/titleabbrev partintro - warn.experimental; simpara These functions allow you to access FrontBase database servers. In order to have these functions available, you must compile php
[PHP-DOC] cvs: phpdoc /en/functions fbsql.xml mssql.xml
fmk Mon May 14 13:22:53 2001 EDT Modified files: /phpdoc/en/functionsfbsql.xml mssql.xml Log: Adding documentation for next_result functions Index: phpdoc/en/functions/fbsql.xml diff -u phpdoc/en/functions/fbsql.xml:1.8 phpdoc/en/functions/fbsql.xml:1.9 --- phpdoc/en/functions/fbsql.xml:1.8 Fri May 11 00:37:44 2001 +++ phpdoc/en/functions/fbsql.xml Mon May 14 13:22:52 2001 @@ -347,7 +347,7 @@ fbsql_select_db (samp_db) or die (Could not select database); -$query = SELECT last_name, first_name FROM friends; +$query = SELECT last_name, first_name FROM friends;; $result = fbsql_query ($query) or die (Query failed); @@ -476,7 +476,7 @@ echo fbsql_errno().: .fbsql_error().lt;BR; fbsql_select_db(nonexistentdb); echo fbsql_errno().: .fbsql_error().lt;BR; -$conn = fbsql_query(SELECT * FROM nonexistenttable); +$conn = fbsql_query(SELECT * FROM nonexistenttable;); echo fbsql_errno().: .fbsql_error().lt;BR; ?gt; /programlisting @@ -526,7 +526,7 @@ echo fbsql_errno().: .fbsql_error().lt;BR; fbsql_select_db(nonexistentdb); echo fbsql_errno().: .fbsql_error().lt;BR; -$conn = fbsql_query(SELECT * FROM nonexistenttable); +$conn = fbsql_query(SELECT * FROM nonexistenttable;); echo fbsql_errno().: .fbsql_error().lt;BR; ?gt; /programlisting @@ -1090,7 +1090,7 @@ fbsql_connect (localhost, _SYSTEM, ); fbsql_select_db (wisconsin); -$result = fbsql_query (SELECT * FROM onek); +$result = fbsql_query (SELECT * FROM onek;); $fields = fbsql_num_fields ($result); $rows = fbsql_num_rows ($result); $i = 0; @@ -1161,14 +1161,14 @@ /funcsynopsis para functionfbsql_insert_id/function returns the ID generated for - an AUTO_INCREMENT column by the previous INSERT query using the + an column defined as DEFAULT UNIQUE by the previous INSERT query using the given parameterlink_identifier/parameter. If parameterlink_identifier/parameter isn't specified, the last opened link is assumed. /para para functionfbsql_insert_id/function returns 0 if the previous - query does not generate an AUTO_INCREMENT value. If you need to + query does not generate an DEFAULT UNIQUE value. If you need to save the value for later, be sure to call fbsql_insert_id() immediately after the query that generates the value. /para @@ -1176,22 +1176,10 @@ para The value of the FrontBase SQL function literalLAST_INSERT_ID()/literal always contains the most - recently generated AUTO_INCREMENT value, and is not reset + recently generated DEFAULT UNIQUE value, and is not reset between queries. /para /note -warning - para - functionfbsql_insert_id/function converts the return type of - the native FrontBase C API function - literalfbsql_insert_id()/literal to a type of - literallong/literal. If your AUTO_INCREMENT column has - a column type of BIGINT, the value returned by - functionfbsql_insert_id/function will be incorrect. - Instead, use the internal FrontBase SQL function - literalLAST_INSERT_ID()/literal. - /para -/warning /refsect1 /refentry @@ -1345,6 +1333,50 @@ /refsect1 /refentry + refentry id=function.fbsql-next-result + refnamediv +refnamefbsql_next_result/refname +refpurposeMove the internal result pointer to the next result/refpurpose + /refnamediv + refsect1 +titleDescription/title +funcsynopsis + funcprototype + funcdefbool + functionfbsql_next_result/function + /funcdef + paramdefint parameterresult_id/parameter/paramdef + /funcprototype +/funcsynopsis +para + When sending more than one SQL statement to the server or executing a stored +procedure + with multiple results will cause the server to return multiple result sets. + This function will test for additional results available form the server. if an + additional result set exists it will free the existing result set and prepare to + fetch the wors from the new result set. + The function will return literalTRUE/literal if an additional result set was + available or literalFALSE/literal othervise. +/para +example + titlefunctionfbsql_next_result/function example/title + programlisting role=php +lt;?php +$link = fbsql_connect (localhost, _SYSTEM, secret); +fbsql_select_db(MyDB, $link); +$SQL = Select * from table1; select * from table2;; +$rs = fbsql_query($SQL, $link); +do { +while ($row = fbsql_fetch_row($rs)) { +} +} while (fbsql_next_result($rs)); +fbsql_free_result($rs); +fbsql_close ($link); +?gt; + /programlisting +/example + /refsect1 + /refentry + refentry id=function.fbsql-num-fields refnamediv refnamefbsql_num_fields/refname @@ -1397,7 +1429,7 @@ $link = fbsql_connect(localhost, username,
[PHP-DOC] cvs: phpdoc /en/functions fbsql.xml
fmk Wed May 9 11:53:07 2001 EDT Modified files: /phpdoc/en/functionsfbsql.xml Log: Port numbers is not allowed when specifying the host name, but a specific port number can be specified as insted of the database name. Index: phpdoc/en/functions/fbsql.xml diff -u phpdoc/en/functions/fbsql.xml:1.3 phpdoc/en/functions/fbsql.xml:1.4 --- phpdoc/en/functions/fbsql.xml:1.3 Wed May 9 11:12:22 2001 +++ phpdoc/en/functions/fbsql.xml Wed May 9 11:53:07 2001 @@ -1088,7 +1088,7 @@ programlisting role=php lt;?php -fbsql_connect (localhost:3306); +fbsql_connect (localhost, _SYSTEM, ); fbsql_select_db (wisconsin); $result = fbsql_query (SELECT * FROM onek); $fields = fbsql_num_fields ($result); @@ -1451,17 +1451,11 @@ para functionfbsql_pconnect/function establishes a connection to a FrontBase server. The following defaults are assumed for - missing optional parameters: parameterhost:port/parameter = - 'localhost:3306', parameterusername/parameter = name of the - user that owns the server process and - parameterpassword/parameter = empty password. + missing optional parameters: parameterhost/parameter = + 'localhost', parameterusername/parameter = _SYSTEM + and parameterpassword/parameter = empty password. /para para - The hostname string can also include a port - number. eg. quot;hostname:portquot; or a path to a socket - eg. quot;:/path/to/socketquot; for the localhost. -/para -para functionfbsql_pconnect/function acts very much like functionfbsql_connect/function with two major differences. /para @@ -1660,6 +1654,14 @@ called, and use it. /para para + The client contacts FBExec to obtain the port number to use for + the connection to the database. if the database name is a number + the system will use that as a port number and it will not ask + FBExec for the port number. + The FrontBase server can be stared as + FRontBase -FBExec=No -port=port number database name. +/para +para Every subsequent call to functionfbsql_query/function will be made on the active database. /para @@ -1695,7 +1697,7 @@ titlefunctionfbsql_tablename/function example/title programlisting role=php lt;?php -fbsql_connect (localhost:3306); +fbsql_connect (localhost, _SYSTEM, ); $result = fbsql_list_tables (wisconsin); $i = 0; while ($i lt; fbsql_num_rows ($result)) {
[PHP-DOC] cvs: phpdoc / global.ent
fmk Tue May 1 11:10:18 2001 EDT Modified files: /phpdoc global.ent Log: Adding urls for FrontBase Index: phpdoc/global.ent diff -u phpdoc/global.ent:1.89 phpdoc/global.ent:1.90 --- phpdoc/global.ent:1.89 Wed Apr 25 14:43:52 2001 +++ phpdoc/global.ent Tue May 1 11:10:17 2001 @@ -1,6 +1,6 @@ !-- -*- SGML -*- - $Id: global.ent,v 1.89 2001/04/25 21:43:52 hholzgra Exp $ + $Id: global.ent,v 1.90 2001/05/01 18:10:17 fmk Exp $ Contains global macros for all the SGML documents. @@ -38,6 +38,8 @@ !ENTITY url.expat http://www.jclark.com/xml/; !ENTITY url.expat.rpm http://www.guardian.no/~ssb/phpxml.html; !ENTITY url.fastio http://www.fastio.com/; +!ENTITY url.fbsql http://www.frontbase.com/; +!ENTITY url.fbsql.docs +http://www.frontbase.com/cgi-bin/WebObjects/FrontBase.woa/wa/productsPage?currentPage=Documentation; !ENTITY url.filepro http://www.fptech.com/; !ENTITY url.freetype http://www.freetype.org/; !ENTITY url.freeodbc http://users.ids.net/~bjepson/freeODBC/;