Sophie

Sophie

distrib > PLD > ac > amd64 > media > dist > by-pkgid > dd8ef74e7a184506d40e4328053fb785 > files > 1951

php-manual-ro-20051028-1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML
><HEAD
><TITLE
>mysql_change_user</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Manual PHP"
HREF="index.html"><LINK
REL="UP"
TITLE="MySQL Functions"
HREF="ref.mysql.html"><LINK
REL="PREVIOUS"
TITLE="mysql_affected_rows"
HREF="function.mysql-affected-rows.html"><LINK
REL="NEXT"
TITLE="mysql_client_encoding"
HREF="function.mysql-client-encoding.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=ISO-8859-2"></HEAD
><BODY
CLASS="refentry"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Manual PHP</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.mysql-affected-rows.html"
ACCESSKEY="P"
>Înapoi</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.mysql-client-encoding.html"
ACCESSKEY="N"
>Înainte</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.mysql-change-user"
></A
>mysql_change_user</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN66574"
></A
><P
>    (PHP 3&#62;= 3.0.13)</P
>mysql_change_user&nbsp;--&nbsp;
     Change logged in user of the active connection
    </DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN66577"
></A
><H2
>Description</H2
>int <B
CLASS="methodname"
>mysql_change_user</B
> ( string user, string password [, string database [, resource link_identifier]])<BR
></BR
><P
>&#13;     <B
CLASS="function"
>mysql_change_user()</B
> changes the logged in user
     of the current active connection, or the connection given by the
     optional <VAR
CLASS="parameter"
>link_identifier</VAR
> parameter. If a
     database is specified, this will be the current database after
     the user has been changed. If the new user and password
     authorization fails, the current connected user stays active.
     Returneazã <TT
CLASS="constant"
><B
>TRUE</B
></TT
> în caz de succes, <TT
CLASS="constant"
><B
>FALSE</B
></TT
> în caz contrar.
    </P
><DIV
CLASS="note"
><BLOCKQUOTE
CLASS="note"
><P
><B
>Not&#227;: </B
>
      This function was introduced in PHP 3.0.13 and requires MySQL
      3.23.3 or higher. It is not available in PHP 4.
     </P
></BLOCKQUOTE
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.mysql-affected-rows.html"
ACCESSKEY="P"
>Înapoi</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Acas&#227;</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.mysql-client-encoding.html"
ACCESSKEY="N"
>Înainte</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>mysql_affected_rows</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.mysql.html"
ACCESSKEY="U"
>Sus</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>mysql_client_encoding</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>