PHP Tutorials Tutorials

ABOLKOG

I was working on a project using cakephp (Version 2.5.2) and I need to run shell as cron jobs on my shared hosting server. I faced some issues executing the shell from the cpanel, so I thought about writing this quick tutorial to help other who are struggling with running cron jobs on shared hosting.

Writing the Shell

  • I created new shell called Mycron and saved it to app/Console/Command/MycronShell.php
  • In my shell I needed to use User model and Email components, so I added t
Read More
ABOLKOG

I've been working with CkEditor  for a while now. It is a pretty cool editor and makes it easy to compose and edit posts.

Recently I was working on modifying TEDxKhatoum website and I needed to embed a lot of Youtube videos into the website posts and articles. I am using CkEditor version 3 and I did not find a plugin to embed the youtube videos into the posts, and honestly I am too lazy to copy and paste the embed code from youtube. I read CkEditor documentation and found out that it is n

Read More
ABOLKOG

I've been playing around with CakePHP for a while now. I have been working on a website and I wanted to allow guests to download articles from the website in PDF format. I cam accross this plugin CakePDF and I decided to use it in my website. However, I faced some problem creating PDF using WkHTMLToPDF engine. In this article I will show how did I install the plugin with CakepPHP.

 My Environment

  • OS: Ubuntu Linux
  • PHP 5.3.10
  • CakePHP 2.3.1

Step1: Installing CakePDF

Read More

Processing your request, please wait.

P
r
o
c
e
s
s
i
n
g
.
.
.
X

Like A.B.O.L.K.O.G?

Show your Support. Become a FAN!