openvpn3 sessions-list
openvpn3 session-manage –session-path /net/openvpn/v3/sessions/f736b9easd8c0s4b5esb87ds1de3be2a29bc –disconnect
openvpn3 sessions-list
openvpn3 session-manage –session-path /net/openvpn/v3/sessions/f736b9easd8c0s4b5esb87ds1de3be2a29bc –disconnect
Following code will help to remove a particular element from an array
<?php
$appliedRuleIs = array(370,369,400,500);
if (($key = array_search(‘369’, $appliedRuleIs)) !== false) {
unset($appliedRuleIs[$key]);
}
?>
imagetypes() gives the image format and types supported by the current version of GD-PHP.
If we would like to pass values througn a form or an URL then we need to encode and to decode them using htmlspecialchars() and urlencode().
require() includes and evaluates a specific file, if the file is not found then it shows a Fatal Error.
require_once() includes only the file which is not being included before. It is used to be recommended for the files where you have lots of functions stored.
include() includes the file, even if the file is not found, but it gives a warning to the user to include().
Used to store variables of the current session.
The purpose of the function $_SESSION[] is to store data that you would like to preserve across page loads and to store variables of current session.
The mysql_fetch_array() function returns a row from a recordset as an associative array and a numeric array.
If two or more columns of the result have the same field names,then the last column will take precedence.
Read/Write. Creates a new file. Returns FALSE and an error if file already exists
The default execution time set in set_time_limit() function is 30 secs.
This function restarts the timer counter form zero and when the number of seconds a script is allowed to run is reached, it returns a fatal error.
<script type=”text/javascript”>
if(window.location.href.indexOf(“https:”) > -1) {
alert(“its a secure URL”);
}
</script>