Tag: PHP

PHP Coding Standards (pear.php.net)

https://pear.php.net/manual/en/standards.php Always use to delimit PHP code, not the <? ?> shorthand. Control statements should have one space between the control keyword and opening parenthesis, to distinguish them from function calls. You are strongly encouraged to always use curly braces even in situations where they are technically optional. Split long if statements onto several lines […]

html2canvas- Take Screenshot of Web Page and Save It to Server (JavaScript and PHP)

FeedBack is important. Usually, end-users struggle to clarify their problems. And you might be unreachable for a phone call or remote connection. That causes a huge need of visualization. First solution that appears in mind is to capture the current screen of user. However, when I tried to implement that, it wasn’t so easy as […]