• About
  • CentOS server
  • Contact
  • My LinkedIn
Skip to content

ServerAdminBlog

Short Circuit…

  • About
  • CentOS server
  • Contact
  • My LinkedIn

Category: PHP

Simple PHP CURL method

- March 10, 2023 | March 13, 2023 - ServerAdmin

Here is a simple PHP method for consuming a different APIs As you can see, the method supports cookies, XML requests, basic HTTP Auth, etc…. Leave a comment if you …

Read More

Laravel whoops output – How to hide. env passwords

- January 26, 2019 | January 26, 2019 - ServerAdmin

As of Laravel 5.5.13, there’s a new feature that allows you to blacklist certain variables in config/app.php under the key debug_blacklist. When an exception is thrown, whoops will mask these …

Read More

Quick Laravel – Part 1

- September 6, 2015 | September 6, 2015 - ServerAdmin

Laravel 5.x requires PHP version 5.5.9+. Also, in case you want to use database (sqlite or mysql), install Sqlite3, Mysql or PostgreSQL server. Install composer with curl -sS https://getcomposer.org/installer | …

Read More

SSH2 extension for PHP on CentOS 6

- November 7, 2014 - ServerAdmin

Before we can build and install ssh2 extension, we’ll need a few packages yum install gcc php-devel php-pear libssh2 libssh2-devel makeyum install gcc php-devel php-pear libssh2 libssh2-devel make Install the …

Read More

CentOS 5 Call to undefined function sqlite_escape_string()

- July 19, 2013 | July 19, 2013 - ServerAdmin

If you’re using PHP 5.2.x on RHEL/CentoOS and you received error PHP Fatal error: Call to undefined function sqlite_escape_string()PHP Fatal error: Call to undefined function sqlite_escape_string() don’t worry. The reason …

Read More

Extra Packages for Enterprise Linux – EPEL HowTo

- April 18, 2013 | April 18, 2013 - ServerAdmin

EPEL (Extra Packages for Enterprise Linux) is a volunteer-based community effort from the Fedora project to create a repository of high-quality add-on packages that complement the Fedora-based Red Hat Enterprise …

Read More

Zen coding in Aptana

- February 19, 2013 - ServerAdmin

Zen Coding is a set of plug-ins for text editors that allow for high-speed coding and editing in HTML, XML, XSL, and other structured code formats. To install ZC plugin, …

Read More

Read file line by line with PHP

- November 1, 2012 - ServerAdmin

$fh = fopen("myFile.txt", "r"); while (!feof($fh)) { $line = fgets($fh); echo $line; } fclose($fh);$fh = fopen("myFile.txt", "r"); while (!feof($fh)) { $line = fgets($fh); echo $line; } fclose($fh);

Read More

PHP Fatal error: Class ‘DOMDocument’ not found in …

- March 10, 2012 - ServerAdmin

This morning I found the next errors inside the web server log. PHP Warning: include(DOMDocument.php) [<a href="function.include">function.include</a>]: failed to open stream: No such file or directory in …… PHP Warning: …

Read More

How to install phpshield loaders

- February 26, 2012 | February 26, 2012 - ServerAdmin

PHPShield is an PHP encoder application that is used to protect the PHP code which is an excellent option for encoding your PHP files if you don’t require any time …

Read More

Posts navigation

Older posts

Pages

  • About
  • CentOS server
  • Contact
  • My LinkedIn

Donate Dogecoin

Donate Dogecoin DLPHK4V8aw3vroHTvGfNyjYk3YrfQB1QgQ

Recent Posts

  • Poor man’s continuous integration
  • SecoClient on Ubuntu howto
  • Wifi not working – Failed to run INIT ucode: -110
  • Webmin with LetsEncrypt
  • Size of mysql database – howto
  • GIT data transport commands
  • Deprecated TLS and ERR_SSL_VERSION_OR_CIPHER_MISMATCH error
  • ThinkPad P16s and ThinkPad Thunderbolt Dock in boot loop
  • Mint 21 – wrong mouse theme
  • Simple PHP CURL method

Blogroll

  • CyberCity.biz
  • hackr.io Tutorials
  • Igor Šmitran
  • PostgreSQL Exercises

Linkshare

Top IT Courses- CCNP 2015 Allin

Categories

  • Amavisd-new (1)
  • Android (4)
  • AntiVirus (2)
  • Apache (4)
  • Debian (2)
  • DevOps (2)
  • DNS (2)
  • DOCSIS (1)
  • FreeRadius (7)
  • GIT (2)
  • Hardware (8)
  • Huawei (1)
  • Humor (5)
  • Java (4)
  • Links (1)
  • Linux (16)
  • Mikrotik (1)
  • Mint Linux (11)
  • MySQL (20)
  • Networks (9)
  • nginx (2)
  • Other (51)
  • PHP (18)
  • Postfix (8)
  • PostgreSQL (7)
  • Programming (10)
  • Proxmox (1)
  • Red Hat/CentOS (47)
  • RRDTool (1)
  • Server project (17)
  • Thinkpad (2)
  • Tips & Tricks (62)
  • VPN (1)
  • Web Hosting (3)
  • Windows (2)

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

eXTReMe Tracker
Powered by WordPress Theme: BlogX by wpthemespace.com