01-19-2011
More specifics
Not clear from your initial note, but are you referring to a system management notification? In other words, you desire something to exist on one of your computer systems to let you know when someone is making an internet connection 'to it'? Or, are you referring to a notification when a connection is made 'from' the server? Or...?
7 More Discussions You Might Find Interesting
1. Cybersecurity
hi
im running a web server running, connected to my cable modem, which, as usual, has 2 different network address. one from "outside"(ie from isp), and the
other for the internal network.
im giving a static ip to the server.how do i access this server from outside the network across "the... (2 Replies)
Discussion started by: R00tSc0rpi0n
2 Replies
2. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
3. UNIX for Dummies Questions & Answers
I am wondering how can I cross this technical border of my ignorance for quite sometime, 6 months to be more exact, and just don't get it quite.
I did read some newbies' literatures on UNIX OS but could not find the key to unlock the HP workstations (OS dated 1997 maybe because the man page... (0 Replies)
Discussion started by: liumx2000
0 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
6. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
7. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT PHP
mysql_close
MYSQL_CLOSE(3) 1 MYSQL_CLOSE(3)
mysql_close - Close MySQL connection
SYNOPSIS
Warning
This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQL extension should
be used. See also MySQL: choosing an API guide and related FAQ for more information. Alternatives to this function include:
omysqli_close(3)
oPDO: Assign the value of
NULL to the PDO object
bool mysql_close ([resource $link_identifier = NULL])
DESCRIPTION
mysql_close(3) closes the non-persistent connection to the MySQL server that's associated with the specified link identifier. If
$link_identifier isn't specified, the last opened link is used.
Using mysql_close(3) isn't usually necessary, as non-persistent open links are automatically closed at the end of the script's execution.
See also freeing resources.
o $
link_identifier -The MySQL connection. If the link identifier is not specified, the last link opened by mysql_connect(3) is
assumed. If no connection is found or established, an E_WARNING level error is generated.
Returns TRUE on success or FALSE on failure.
Example #1
mysql_close(3) example
<?php
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?>
The above example will output:
Connected successfully
Note
mysql_close(3) will not close persistent links created by mysql_pconnect(3).
mysql_connect(3), mysql_free_result(3).
PHP Documentation Group MYSQL_CLOSE(3)