This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| #https://lornajane.net/posts/2010/three-ways-to-make-a-post-request-from-php | |
| #POSTing from PHP Curl | |
| #---------------------- | |
| #First we initialised the connection, then we set some options using setopt(). | |
| #These tell PHP that we are making a post request, and that we are sending some | |
| #data with it, supplying the data. The CURLOPT_RETURNTRANSFER flag tells curl | |
| #to give us the output as the return value of curl_exec rather than outputting it. | |
| #Then we make the call and close the connection - the result is in $response. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://danielmiessler.com/study/url-uri/ | |
| https://pt.stackoverflow.com/questions/47194/como-posso-adquirir-https-na-minha-aplica%C3%A7%C3%A3o-web?rq=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //Grab and test the header INFO | |
| if (!function_exists('getallheaders')) | |
| { | |
| function getallheadersNGX() | |
| { | |
| $headers = ''; | |
| foreach ($_SERVER as $name => $value) | |
| { | |
| if (substr($name, 0, 5) == 'HTTP_') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <a href="#" target="blank" ng-click="getCSVTemplate('patient')" style="color:#439367;"><img src="assets/svg/icons/csv.svg" class="svg"><br> | |
| {{ someText }} | |
| </a> | |
| //Inside the controller | |
| $scope.getCSVTemplate=function(csvType){ | |
| var page = "tools/csvTemplate.php?csvType="+csvType; | |
| document.location.href = page; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Erro no browser | |
| The test.app page isn’t working | |
| dref.app is currently unable to handle this request. | |
| HTTP ERROR 500 | |
| #=================================================== | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| https://github.com/reliese/laravel | |
| This package expects that you are using Laravel 5.1 or above. You will need to import the reliese/laravel package via composer: | |
| composer require reliese/laravel | |
| Configuration | |
| Add the service provider to your config/app.php file within the providers key: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Installation -> http://docs.guzzlephp.org/en/latest/overview.html#installation | |
| https://www.youtube.com/watch?v=GunXVUqvO-s | |
| https://www.udemy.com/http-clients-with-laravel-use-and-consume-services-and-apis/ | |
| add Guzzle as a dependency using the composer.phar CLI: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://www.howtoforge.com/tutorial/how-to-install-magento-with-nginx-on-ubuntu/ | |
| http://devdocs.magento.com/guides/v2.1/install-gde/install/sample-data-before-composer.html | |
| http://askubuntu.com/questions/762855/how-to-install-brackets-io-from-the-command-line | |
| http://devdocs.magento.com/guides/v2.1/install-gde/install/sample-data-before-composer.html | |
| http://devdocs.magento.com/guides/v2.1/config-guide/cli/config-cli-subcommands-mode.html | |
| https://github.com/magento/magento2/issues/2561 | |
| http://devdocs.magento.com/guides/v2.0/install-gde/install-flow-diagram.html | |
| http://askubuntu.com/questions/762855/how-to-install-brackets-io-from-the-command-line |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://superuser.com/questions/387948/how-can-i-determine-if-apache-is-installed-on-a-system |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://blog.netgusto.com/solving-web-file-permissions-problem-once-and-for-all/ |