ASSUMPTIONS: I’m expecting only 1 row of data for the fetch-ing I need the fetched-data to be in the form of an stdClass object You are familiar with using PDO – PHP Data Objects This PDO error typically occurs when you try to fetch data into an stdClass object by using fetchAll() By definition fetchAll… Read more PHP + PDO + FETCH_OBJ Issue + Notice: Trying to get property of non-object
[contentblock id=300squaretextlink] [contentblock id=300squareimagelink] The Sessions Bonanza By default sessions are stored on the disk your server, you can find out the path by echo-ing for the attribute session.save_path: echo ini_get( “session.save_path” ); (You can change that path in php.ini) PHP Sessions are destroyed automatically when you close your browser. But what if you want… Read more PHP 5.3 + How To Completely Destroy Session Variables In PHP
Assumptions: You are using a linux distro, in my instance I’m using Linux Mint, but this is applicable to any deb-based linux for example Ubuntu or Debian You’ve installed your LAMP stack ‘raw-ly‘ This issue reported here is NOT applicable to a XAMPP installation, since in xampp the ‘normal’ way of configuring xdebug works fine… Read more Linux Mint + Netbeans + xdebug Issue Not Loaded in php.ini
Assumption: You are using a linux distro, in my instance I’m using Linux Mint, but this is applicable to any deb-based linux for example Ubuntu or Debian You already have a version of Netbeans installed on your machine – (click on the following link if you wanted the How To Install Netbeans Part) The uninstall… Read more Linux Mint + How To Uninstall Netbeans Fast & Simple Via Bash Shell
Today I need to download a version of VM Player. I was confused as to what version I should download for my system. The last time I installed my Linux Mint Julia 10 was so long time ago and I have forgotten what version I installed. I have found the following to be useful in… Read more Linux Mint + How To Know which Version You Are Running (Including 32bit or 64bit)
Assumptions: You know how to setup your LAMP stack and any related Apache setups to run a website You know how to use phpMyAdmin or any other MySql query browser We are setting this up in a LOCAL environment and we are not bothering about any security or good practice scenarios Step by Step Of… Read more How To Install A Fresh MantisBT – OpenSource Bug Tracker
A platform change decision comes down to how much value you get (or the cost of not changing) vs. the cost of the change. For most people the cost of switching to HTML5 will be trivial, so the long-term benefit of merely being ready to use more features is enough payoff…
Netbeans 6.9.1 Auto Completion Freezing While using Netbeans 6.9.1 on linux, I frequently encountered the frustration of seeing the IDE freeze on auto-completing classes, specially when using PHP 5.3 / Namespace structuring. I have googled a lot about it and have not come across any solution for this and the version 6.9.1 has no updates… Read more Linux + Netbeans 6.9.1 Issue + AutoCompletion Freezing Each Time For NameSpace\Class
Assumptions: => You are running a Linux-based system – this guide is mostly targeted at debian based systems like ubuntu, linux mint or debian itself..etc => You have installed Xampp at the following path: /opt/lampp/ (if you have it somewhere else, use your path) => You are familiar with the bash terminal or a linux… Read more Linux + How To Install And Configure Suhosin As A Xampp Extension
[contentblock id=300squaretextlink] [contentblock id=300squareimagelink] To install APC (APC caching extension) for Xampp on your Linux Mint or Ubuntu distro, just follow the steps below: # cd apc (to your apc folder you just extracted) # sudo /opt/lampp/bin/phpize # ./configure –enable-apc –with-apxs –with-php-config=/opt/lampp/bin/php-config # make # sudo make install Next Step is to edit you php.ini… Read more Linux Mint + How To Install APC And Configure APC On Xampp – APC caching extension
This yet another phpize error might happen when you run phpize to install an extension to Xampp. If your bash terminal complains about the error: “Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable“, then it possibly means that you do not have autoconf installed on your machine. How To Know… Read more Linux Mint + Xampp + phpize + Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable
When you executed phpize to install an extension on xampp, you got a xampp error. The error was similar to grep: /opt/lampp/include/php/main/php.h: No Such File Or Directory. Solution is to install xampp-devel package.
What is The Maximum Length Limit Of An Email Address. That restriction in RFC 2821 on the length of an address in MAIL and RCPT commands is 254 characters according to Dominic Sayers.
If you are trying to establish a connection handle by using PDO, you might have encountered this error: Warning: PDO::__construct() : Invalid argument (trying to connect via unix://)
This is a simple step by step guide to how to install netbeans IDE from source on Linux Mint 10 Julia. It is assumed that we will not be using ‘apt-get’ or the Synaptic Package Manager.