PHP Classes

File: fwphp/glomodul/mkd/01/001_php_html_js/Composer_Git_DDNS.md

Recommend this page to a friend!
  Classes of Slavko Srakocic   B12 PHP FW   fwphp/glomodul/mkd/01/001_php_html_js/Composer_Git_DDNS.md   Download  
File: fwphp/glomodul/mkd/01/001_php_html_js/Composer_Git_DDNS.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: B12 PHP FW
Manage database records with a PDO CRUD interface
Author: By
Last change: Update of fwphp/glomodul/mkd/01/001_php_html_js/Composer_Git_DDNS.md
Date: 1 year ago
Size: 2,317 bytes
 

Contents

Class file image Download

Composer PSR-4, Git and Github

me_at_mirror.png

To copy this script to your local (git commit) and remote (git push) Github repository (see details in git_help.ini): in Windows CLI (C:\Windows\SysWOW64\cmd.exe), in J:\awww\apl\dev1\fwphp

  or in Git Bash CLI slavk@sspc1 MINGW64, in
  /j/awww/apl/dev1/fwphp (master)

git status git add SOME_DIR SOMEPATH_TO_SCRIPT... git commit -am "Improved" ( -a = all changed files since last copy )

  or (git commit -am "Initial commit")

git pull git push -u origin master (Authentication failed for 'https://github.com/slavkoss/fwphp.git/')

More Git some button

DDNS (Dynamic DNS)

After completing 3 steps in NOTE below :

1.URL from LAN (intranet) - shows web server's document root 2.URL from inet where : http://localtest.me:8083/ is free (non commercial) wildcarded DNS Domain which always resolve back to 127.0.0.1 (your local machine)

DDNS : 3 steps for dynamic IP

Find your inet provider's nonstatic public IP adress eg 213.191.136.167 eg here: https://www.yougetsignal.com/

Register (sign up) eg here: https://freedns.afraid.org/ for free or payed DDNS account

Send your public IP adress eg 213.191.136.167 to DDNS provider so :
https://freedns.afraid.org/nic/update?hostname=phporacle.mooo.com&myip=213.191.136.167
(asks user name and password aquired in register step)

More DDNS : 1.Help 2.Development

Use the correct DocType Definition (DTD)

Especially in Internet Explorer, you MUST use a standards compliant !DOCTYPE, and for Internet Explorer this MUST be the first line of your (x)html. Using <?xml version="1.0" encoding="UTF-8"?> will switch IE into quirks mode.

A list of the recommended DTDs can be found at the following link: Recommended DTDs to use in your Web document.

What it's all about (WHY) w3c.org website says :

"Cascading Style Sheets (CSS) is a mechanism for adding style (e.g. fonts, colors, spacing) to Web documents."

It is so much more. Bootstrap with jQuery is big (>200kB) and slow. This page does not use them.

I say :

"Routing in PHP (menus, framework -  linking mosaic pieces - code snippets) is in all learning sources I found :
          insufficent / to complicated coding / bad explained.
Some of them have excellent ideas and code."