Location of Roundcube config file
Location is:
/usr/local/cwpsrv/var/services/roundcube/
# find / -name defaults.inc.php /usr/local/cwpsrv/var/services/roundcube/config/defaults.inc.php
location of htdocs folder: /usr/local/apache/htdocs/
by dev
Location of Roundcube config file
Location is:
/usr/local/cwpsrv/var/services/roundcube/
# find / -name defaults.inc.php /usr/local/cwpsrv/var/services/roundcube/config/defaults.inc.php
location of htdocs folder: /usr/local/apache/htdocs/
by dev
Go to App Store in the left sidebar.
Search and install Node.js Version Manager and PM2Manager.
Open Setting in PM2Manager.
Add and manage your Node.js projects
by dev
SPF/DKIM/DMARC deployment tools fall into 2 categories: generators (creators/builders) to generate records and checkers (validators/testers) to look up the DNS.
To create/generate an SPF record, there is the SPF record generator, or SPF record creator/builder, which takes these mechanisms and qualifiers: mx, a, ip4, ip6, include, and all, and returns an SPF record.
To check an SPF record, there is the SPF record checker, or SPF record validator/tester, which checks if an SPF record is published on your domain, and if its syntax is correct.
To create/generate a DKIM record, there is the DKIM record generator, or DKIM record creator/builder, which takes a domain and a selector, and returns a DKIM record.
To check a DKIM record, there is the DKIM record checker, or DKIM record validator/tester, which checks if a DKIM record is published on your domain, and if its syntax is correct.
To create/generate a DMARC record, there is the DMARC record generator, or DMARC record creator/builder, which takes these tags: p, rua, ruf, sp, adkim, and aspf, and returns a DMARC record.
To check a DMARC record, there is the DMARC record checker, or DMARC record validator/tester, which checks if a DMARC record is published on your domain, and if its syntax is correct.
by dev
Associative arrays
// How to create
$person1 = array("first_name" => "John", "last_name" => "Doe");
$person2 = ["first_name" => "Jane", "last_name" => "Smith"];
// Accessing Values
echo $person1["first_name"];
//Looping Through an Associative Array
foreach ($person1 as $key => $value) {
echo "$key : $value<br />";
}
by dev
// M7C1-LV
Indexed Arrays //24:10-indexed array
You can create an indexed array using the array() function or the short array syntax [].
How to create
$fruits1=array("apple","banana","cherry");
$fruits2=["apple","banana","cherry"];
print_r($fruits1); print_r($fruits2);
// Accessing Values of Indexed Array
echo $fruits1[2]; print_r($fruits2[1]);
How to loop over Indexed Arrays // 28:30
// For Loop through an Indexed Array
for ($i=0; $i<count($fruits1); $i++){
echo $fruits1[$i]."\n";
}
// foreach Loop through an Indexed Array
$app=['Android','IOS','Windows','Linux'];
foreach($app as $item){
echo $item."\n";
}