Home » PHP

PHP

Laravel 5.6.12 Released

Laravel has come a long way becoming better with each new release. The new release 5.6.12 added support for signed routes and URLs along with quite a few other new additions. The signed routes were added by Taylor Otwell, which provides a few new methods you can use to generate a signed route and a temporary signed route. For example, if you have ...

Read More »

HTML to PDF Conversion in CodeIgniter

A number of PHP libraries to convert HTML page to PDF file. After a lot of research and googling find TCPDF PHP library to convert HTML page to PDF file for client requirement. TCPDf PHP library quite easy to integrate with CodeIgniter. The implementation of the code. Download the TCPDF library code Download it from TCPDF website http://www.tcpdf.org/ Now create ...

Read More »

Hiring PHP Programmers with 2+ yrs Exp.

Greenfos technologies,Kochi Hiring PHP Programmers with 2+ yrs Exp. Eligibility: 1. Candidates should have min 2 yrs experience 2. Excellent knowledge of PHP and well known how to work on OOP concepts. 3. Knoweldge in Yii Framework is Preferable but not necessary. Immediate Joining…. Salary: Will depend on the Interview and experience Location: KOCHI send your updated CV Email: hr@greenfoss.com

Read More »

Export Database using codeigniter

Database Utility Class : CodeIgniter PHP script to download mysql db-codeigniter,Backup MySQL database with CodeIgniter public function dbexport() { $this->load->dbutil(); $prefs = array( 'format' => 'zip', 'filename' => 'my_db_backup.sql' ); $backup =& $this->dbutil->backup($prefs); $db_name = 'backup-on-'. date("Y-m-d-H-i-s") .'.zip'; $save = 'public/uploads/'.$db_name; $this->load->helper('file'); write_file($save, $backup); $this->load->helper('download'); force_download($db_name, $backup); }

Read More »

How to print Codeigniter upload error

if you want to display errors on upload functionality in codeigniter. Use the following function if($this->upload->do_upload('image')) { $contentimagedata=$this->upload->data(); $descdata['image']=$contentimagedata['file_name']; }else { $error = array('error' => $this->upload->display_errors()); print_r($error); }

Read More »

Download failed.: SSL certificate problem, verify that the CA cert is OK

Follow the simple steps to recover from the above wordpress upgrade error step 1 .Create a folder, which may be missing: /wp-content/mu-plugins step 2. Create a php file inside that folder and name upgrade_fix.php put the following code into the php file and save add_filter('https_ssl_verify', '__return_false'); add_filter('https_local_ssl_verify', '__return_false'); step3. Go directly and run the network upgrade again, the issue should be solved.

Read More »

check ssl port in shared hosting is closed

Check ssl port in shared hosting is closed, use the php code to check if it is open. Here use gmail smtp for checking. $fp = fsockopen("www.google.com", 80, $errno, &$errstr, 10); // work fine if (!$fp) echo "www.google.com - $errstr ($errno)n"; else echo "www.google.com - okn"; $fp = fsockopen("smtp.gmail.com", 465, $errno, $errstr, 10); // NOT work if (!$fp) echo "smtp.gmail.com ...

Read More »

Generate three letter month name from a date with example code

Php date function have number of usages in Web programming. You can make it our own different ways for desired output. Here the piece of php code tell how to Generate three letter month name from a date echo date('M', strtotime('14-12-1985')); OutPut Dec 3 letter abbreviation of english Month December Searches related to php date function php date format, php ...

Read More »

Enabling Maintenance Mode in OpenCart

Enabling Maintenance Mode in OpenCart

Opencart is a Lightweight E-commerce CMS with large number of modules and extensions. Easy steps for Enabling Maintenance Mode Sign in Opencart Admin Step-1: Go to System -> Settings Step-2: Select your store from the list and click on edit.           Step-3: Select the Server tab and Go to the Maintenance Mode Option and change it ...

Read More »

Looking for PHP Expert with 3-4+ years of experience

Looking for PHP Programmer with 3-4+  years of experience to join our team! Company: Bridge India ,Palarivattom Job Location:Cochin Requirements: Experience in any PHP frameworks. CakePHP  is Preferred Strong knowledge of PHP, OOPS, MySQL, Javascript, Jquery, HTML5, CSS. Experience in GIT. Must have excellent communication skills, logical skills and problem-solving skills. Salary: Negotiable Interested applicants may please forward your updated ...

Read More »