SEN-Solutions

You are here: Home R&D All Training sessions Maher chakroun
Maher chakroun

Maher chakroun

All our stuff are available for your support.

Please contact us by email on contact@sen-solutions.com

Selon les estimations du cabinet IDC , Apple a livré 1,1 million de montres connectées au troisième trimestre 2016, quand la société en vendait 71,6% de plus l'année précédente, soit 3,9 millions. Sa part de marché passe ainsi de 70% à 41%.
Malgré ces chiffres en forte baisse, la marque à la pomme reste toutefois leader du secteur en devançant Garmin (0,6 million), Samsung (0,4 million) et Lenovo (0,1 million). 
Retrouvez l'article intégral sur le site de notre partenaire Les Echos.

 

Infographie: Les ventes de l'Apple Watch en chute libre | Statista

 

Hello :),

Today i'd like to give you a line code how to execute a Php cron job on your server. If you use Directadmin you can go to "Cron job" menu on th e home interface.

Create new cron and put your code here, we have two possibilities:

cd /home/user/domains/domain.com/public_html; /usr/local/bin/php -f script.php

 

/usr/local/bin/php -q /home/user/domains/domain.com/public_html/script.php

Wednesday, 25 February 2015 20:20

limit the size of log file on centos

Hello,

We will show you how to limit the size of log file in centos:

 

The logs directly in /var/log/httpd are controlled by logrotate.

The logs in /var/log/httpd/domains are controlled by DA.

To limit the size of httpd type:

vi /usr/local/directadmin/data/templates/apache.logrotate

and add this:

/var/log/httpd/domains/you-domain.error.log {

   missingok

   weekly

   size 10M

}

 

Hello, 

To day we will show how to install SSl on directadmin.

 

First install IP adress on your domain and go to the dirrectadmin interface:

1- SSL configuration: copy/paste your private key + signed certificate.

2- Certificate Authority SSL Certificate (check CA root)

Put here the content of the two file received:

COMODORSADomainvalidationSecureServerCA.crt

and 

COMODORSAAddTrustCA

 

Have a good evening :)

We need to rewrite a chaine of text, to make the first letter in upper case and the other letters in lower case.

Exemple:

Chaine1= "THIS IS A TEXT AA";

Chaine2= "ThIS is A teXT Aa";

Solution:

echo ucfirst(strtolower(trim($cahine1))); // will print "This is a texte aa"

echo ucfirst(strtolower(trim($cahine2))); // will print "This is a texte aa"
Page 1 of 3

Sample image

Send us an This email address is being protected from spambots. You need JavaScript enabled to view it. or give us a call on (00216) 28 20 22 36

Location

  • Office 1: Sokra Road, km3, Bussiness incubator "Sfax innovation1" - Sfax 3052 - Tunisia.
  • Office 2: Majida Boulia Avenue, Monia Building, S3, O8. Sfax 3000. Tunisia.
  • (00216) 28 20 22 36

Newsletter

Follow SEN_Solutions on Twitter