Skip to content

Tag: php

PHP Comment Tag

In the wonderful world of Java/JSP, you can use this form of commenting: In in the much less wonderful world of PHP, the only reference to comments I can find are these: and these: But these WON’T comment out chucks of HTML and PHP tags: results in /* and */ being rendered to the browser, and do_somethi…

Bootstrap navbar vertical not horizontal

I am making a mobile responsive site with Bootstrap 3.3.4. I will be making it with server side includes when I can get the web.config file written up since I am using an IIS server. This is what the nav bar looks like with just the bar. This is what I want it to look like. Does Bootstrap not like

Is it possible to change PHP error log output?

I have configured the error_log directive in my php.ini file, like this: And then I configured the error_reporting directive like this: When I check the error_log file, I see normal PHP warning/error text lines: Is there is a way to change output format? I mean, if I can print, for example, the IP address and…

Error: Class ‘Stripe’ not found

I’m trying to use the Stripe php api in a Bolt extension but it’s having trouble finding the class. I added the Stripe library to composer.json: And ran composer install. myextension/vendor/composer/autoload_classmap.php now shows the classes loaded: And now I’m trying to use it in the exten…