Zend Framework on Codeigniter: Youtube

youtube3
This post is about how to use Zend Framework on Codeigniter to show Youtube videos.
Continue reading Zend Framework on Codeigniter: Youtube

How to implement Zend Framework with Codeigniter

Download Files

There are quite few posts how to use Zend framework in Codeigniter.

  1. Beyond Coding
  2. Freakauth
  3. Phil’s post

However none of them worked on my XAMPP. I thought there might be some who are struggling to use Zend frame work on Windows. Here is how I did.

Here you can read why they don’t work with Windows.

Adding Zend Framework

Here you can read how to add Zend Framework. And I use this structure for this post.

You need to create a folder ../system/contrib/ and add Zend folders in this folder.

../system/ contrib/ Zend/ Acl/ Acl.php Amf/ Amf.php ...

Create a file system/application/helpers/zend_framework_helper.php and add the following.
Continue reading How to implement Zend Framework with Codeigniter

Path problems with Codeigniter on Windows

I posted how to implement Zend Framework here. However I had a problem with Window’s path when I was trying it.

I have found a couple of things about paths in Windows when I am using Codeigniter.
As all know that Windows uses \ for the path. For example, C:\xampp\htdocs\codeigniter\system\contrib. Linux uses / for the path. For example, /home/1/o/mywebsite/www/codeigniter/system/.

If you are using XAMPP or WAMP for your web development, you might have a problem with this difference.
Continue reading Path problems with Codeigniter on Windows

Zend framework Youtube class on Codeigniter with jquery

Download

This does not contain Codeigniter or Zend framework. If you need them please download it from here.

Introduction

The previous post “Zend Framework on Codeigniter: Youtube” involved three steps to see a video. And it did not have any style.

Goals

I will reduce it to two steps, add a minimum styling and use jquery tools scrollable.
zend_youtube_2_1

Continue reading Zend framework Youtube class on Codeigniter with jquery

How to delete index.php from Codeigniter in localhost

If you have installed a codeigniter in XAMPP and want to delete index.php in your URL, this is how I did it.

For example your URL is,

http://127.0.0.1/ci_cms/index.php/admin/users/manage

And you want to make it to,

http://127.0.0.1/ci_cms/admin/users/manage

Firstly, it does not matter if you move application folder out of system folder or [...]

How to add httpd.conf to XAMPP

I was reading “Practical web 2.0″ by Quentin Zervaas. In chapater 2 there is a section which adds httpd.conf to folder. I struggled a bit but I made it finally. This is how.

My directory structure is like this.

-hdocs -phpweb20 -data -htdocs -include -templates -httpd.conf

I added the following to httpd.conf

<VirtualHost [...]

How to start Zend Framework in Xampp

I am using XAMPP and I just downloaded Zend Framework 1.9.2. I moved that folder under htdocs. I also created a folder called zendpractice in htdocs. Then Start> Start search, type cmd. You should have a cmd.exe pop up.

Type the following in cmd.

cd c:\xampp\htdocs\zendpractice

Hit enter. Then you will see c:\xampp\htdocs\zendpractice>. [...]

How to send email from your own localhost

email180

Continue reading How to send email from your own localhost