networking
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
networking [2014/11/01 18:20] – [Learning HTML] karl | networking [2018/03/26 00:44] (aktuell) – [php.ini] karl | ||
---|---|---|---|
Zeile 56: | Zeile 56: | ||
Accept-Encoding: | Accept-Encoding: | ||
Connection: keep-alive | Connection: keep-alive | ||
+ | | ||
As we can see now, all the name-value-pairs are transmitted in the HTTP-message-header, | As we can see now, all the name-value-pairs are transmitted in the HTTP-message-header, | ||
+ | |||
+ | A HTTP request header ends with an empty line. The new line characters are < | ||
+ | |||
+ | ===== nmap ===== | ||
+ | check accessible ports on a computer in the network or on the internet: | ||
+ | nmap -A zeilhofer.co.at | ||
===== Learning HTML ===== | ===== Learning HTML ===== | ||
Zeile 68: | Zeile 75: | ||
I have created a printable version of "PHP Programming" | I have created a printable version of "PHP Programming" | ||
https:// | https:// | ||
+ | |||
+ | Here are links to my first PHP files:\\ | ||
+ | http:// | ||
+ | <file php helloworld.php> | ||
+ | <?php | ||
+ | |||
+ | echo "Hello World!< | ||
+ | |||
+ | ?> | ||
+ | </ | ||
+ | |||
+ | http:// | ||
+ | <file php myfirstphpfile.php> | ||
+ | <?php | ||
+ | |||
+ | echo "Hello World!< | ||
+ | |||
+ | // print unix time stamp (in seconds) | ||
+ | // append strings with dot | ||
+ | echo "unix time = " | ||
+ | |||
+ | // receive arguments form the url (webrequest): | ||
+ | |||
+ | // declare variables: | ||
+ | $relay1 = $_REQUEST[' | ||
+ | $relay2 = $_REQUEST[' | ||
+ | |||
+ | echo " | ||
+ | ?> | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== php.ini ===== | ||
+ | |||
+ | diff / | ||
+ | |||
+ | If this command returns nothing, then your PHP uses dev configuration. | ||
+ | |||
+ | diff / | ||
+ | |||
+ | If this command returns nothing your PHP uses production configuration. | ||
+ | |||
+ | If you want to use dev configuration, | ||
+ | |||
+ | sudo cp / | ||
+ | |||
+ | If you want to use production configuration, | ||
+ | |||
+ | sudo cp / | ||
+ | | ||
+ | | ||
+ | {{tag> | ||
networking.1414862426.txt.gz · Zuletzt geändert: 2014/11/01 18:20 von karl