05-08-2009
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
help, what is the difference between core dump and panic dump? (1 Reply)
Discussion started by: aileen
1 Replies
2. UNIX for Dummies Questions & Answers
hello everbody:
I've just faced this weird case, on my sol8 machine i created user called:
mmsctest, and assigned its passwrd to be same as user name "mmsctest".
however when I enter the password follwoed by any charecters like:
mmsctest1,mmsctest123,mmsctest666
Im managed to log in wth that... (2 Replies)
Discussion started by: aladdin
2 Replies
3. AIX
Hey,
i'm using AIX 5.3 which authenticates against a Microsoft Active Directory.
Everything works fine but like everytime there's a problem.
I created users with usernames with more than 8 characters.
Now i tried do login on AIX with these users, which didn't work. The login-window... (3 Replies)
Discussion started by: damn-86
3 Replies
4. Shell Programming and Scripting
I'm trying to use lynx --dump to keep an eye on updates for a website.
The site needs a username and password and I can't find a way to log in using lynx --dump
Any ideas??
Thanks in advance! (12 Replies)
Discussion started by: 64mb
12 Replies
5. Post Here to Contact Site Administrators and Moderators
Is it possible to change my username in this site or is thre a way to delete my account and then create a new one with a diffrent user name (2 Replies)
Discussion started by: floresr
2 Replies
6. Forum Support Area for Unregistered Users & Account Problems
Hi
i have registered but my username is set to default value ( my email). can i change this ? (2 Replies)
Discussion started by: customizeemai
2 Replies
7. Post Here to Contact Site Administrators and Moderators
Moderators,
I want to change my username. I tried but unable to find a way to do that. Can you please assist?
Thanks & Regards
Abedi (1 Reply)
Discussion started by: katherine2008
1 Replies
8. Solaris
Hi all,
System is Solaris10
There is one script which i was able to execute with following entry:-
su user1 -c "/u01/scripts/mfg/_db-start.all"
But when I do this, which asked to do with -i option
su -i user1 -c "/u01/scripts/mfg/_db-start.all"
It gives following message:-... (1 Reply)
Discussion started by: manalisharmabe
1 Replies
9. Solaris
Password got expired but not prompting for new passowrd in soalris 10 and another user got locked why it got locked and when it got locked how to check the logs (1 Reply)
Discussion started by: upender
1 Replies
10. UNIX for Beginners Questions & Answers
Greetings,
The title pretty much says it all. I've snooped everywhere and can't find anything on this. Since our organization went to numeric usernames, using the u|U option for ps returns no processes. Example passwd entry:
320074:DjZAJKXun8HBs:10129:6006:Joe Y:/cadhome/analysis/jy:/bin/bash... (4 Replies)
Discussion started by: crimso
4 Replies
LEARN ABOUT PHP
dbx_connect
DBX_CONNECT(3) 1 DBX_CONNECT(3)
dbx_connect - Open a connection/database
SYNOPSIS
object dbx_connect (mixed $module, string $host, string $database, string $username, string $password, [int $persistent])
DESCRIPTION
Opens a connection to a database.
PARAMETERS
o $module
- The $module parameter can be either a string or a constant, though the latter form is preferred. The possible values are given
below, but keep in mind that they only work if the module is actually loaded.
o DBX_MYSQL or "mysql"
o DBX_ODBC or "odbc"
o DBX_PGSQL or "pgsql"
o DBX_MSSQL or "mssql"
o DBX_FBSQL or "fbsql"
o DBX_SYBASECT or "sybase_ct"
o DBX_OCI8 or "oci8"
o DBX_SQLITE or "sqlite"
o $host
- The SQL server host
o $database
- The database name
o $username
- The username
o $password
- The password
o $persistent
- The $persistent parameter can be set to DBX_PERSISTENT, if so, a persistent connection will be created.
The $host, $database, $username and $password parameters are expected, but not always used depending on the connect functions for the
abstracted module.
RETURN VALUES
Returns an object on success, FALSE on error. If a connection has been made but the database could not be selected, the connection is
closed and FALSE is returned.
The returned $object has three properties:
o database
- It is the name of the currently selected database.
o handle
- It is a valid handle for the connected database, and as such it can be used in module-specific functions (if required).
<?php
$link = dbx_connect(DBX_MYSQL, "localhost", "db", "username", "password");
mysql_close($link->handle); // dbx_close($link) would be better here
?>
o module
- It is used internally by dbx only, and is actually the module number mentioned above.
CHANGELOG
+--------+---------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------+
| 5.0.0 | |
| | |
| | Introduced DBX_SQLITE. |
| | |
| 4.3.0 | |
| | |
| | Introduced DBX_OCI8. |
| | |
| 4.2.0 | |
| | |
| | Introduced DBX_SYBASECT. |
| | |
| 4.1.0 | |
| | |
| | Introduced DBX_FBSQL. |
| | |
+--------+---------------------------+
EXAMPLES
Example #1
dbx_connect(3) example
<?php
$link = dbx_connect(DBX_ODBC, "", "db", "username", "password", DBX_PERSISTENT)
or die("Could not connect");
echo "Connected successfully";
dbx_close($link);
?>
NOTES
Note
Always refer to the module-specific documentation as well.
SEE ALSO
dbx_close(3).
PHP Documentation Group DBX_CONNECT(3)