├── Lezione-01 ├── README.md ├── Esempio-00.php └── Esempio-01.php ├── prova.php ├── Lezione-03 ├── Registro.txt └── guida-git.txt ├── README.md ├── Lezione-02 ├── Esempio-01.php ├── README.md ├── Esempio-03.php ├── Esempio-04.php └── Esempio-02.php ├── Lezione-04 └── Info.txt └── LICENSE /Lezione-01/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /prova.php: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Lezione-03/Registro.txt: -------------------------------------------------------------------------------- 1 | Piero S 2 | Alessandro -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Corso-PHP 2 | Corso di programmazione PHP 3 | -------------------------------------------------------------------------------- /Lezione-02/Esempio-01.php: -------------------------------------------------------------------------------- 1 | 13 | 14 |
21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /Lezione-02/Esempio-04.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 21 | -------------------------------------------------------------------------------- /Lezione-02/Esempio-02.php: -------------------------------------------------------------------------------- 1 | [ 6 | "nome" => "....", 7 | "cognome" => "....", 8 | ], 9 | 10 | "BNC2....." => [ 11 | "nome" => "....", 12 | "cognome" => "....", 13 | ], 14 | 15 | ] 16 | 17 | 18 | $elenco_telefoni = [ 19 | 20 | ["propietario" => "FNC...", "modello" => "9930", "marca" => "Nokia", "guasto" => "display rotto"], 21 | ["propietario" => "FNC...", "modello" => "K100", "marca" => "Motorola", "guasto" => "microfono guasto"], 22 | ["propietario" => "FNC...", "modello" => "PROV", "marca" => "Ericson", "guasto" => "non accnede"], 23 | 24 | 25 | ]; 26 | -------------------------------------------------------------------------------- /Lezione-03/guida-git.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | -- Come usa GIT -- 4 | 5 | 1. Da terminale chimare il comando principale "git --version" 6 | 7 | 2. Scarica il progetto da GitHub.com da terminale lanciare 8 | 9 | git clone https://github.com/ProgettoG55/Corso-PHP/ 10 | 11 | 3. Individuare la cartella del progetto 12 | 13 | 4. Entrare nella cartella del progetto e poi digitare 14 | 15 | git pull 16 | 17 | 5. Conservare le modifice effettuate con 18 | 19 | git config user.email miaemail@miaemail.org 20 | 21 | git config user.name mionome 22 | 23 | git checkout master 24 | 25 | git commit -m "il mio lavoro e completo" 26 | 27 | git push 28 | 29 | git status 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 ProgettoG55 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | --------------------------------------------------------------------------------