- Add PHP.exe Path to Your Windows Path Variable. Means we need to add php.exe's path to windows path variable So that you can execute php...
- http to https, Follow the following: Open htaccess file in /public OR /public_html. Add following code in your .htaccess at topRewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] Save the File . Refresh the webpage, you will see same page...
- How to change layout from controller's action? $this->_helper->layout->setLayout('newLayout'); How to change layout from view file? $this->layout()->setLayout('newLayout'); <!--...
- Scenario: I have list of messages for each user. I want to delete all the messages for an particular user. Here important part is, I don't to do something with deleting each message of user. Problem: I don't want to use the delete function which creating new query. As I want...
- Zend pagination can be implemented with used of pagination component which is available with Zend Framework v1.6. It is so loosely coupled that you can use it wherever you want without worrying about any other component at all. In zend frameowork 1.12, Zend...
- For youtube v3 API, you must need an API_KEY for video search, get video details, upload video and delete video etc. In each request, you need to pass the APK_KEY to get the records, If you didn't pass the API_KEY, you will not get the response from youtube api. In Youtube V2 API_KEY...
- Â How to set authorization header in Curl using Zend Framework $url ='www.domain.com/web-service-API'; $config = array( 'adapter' => 'Zend_Http_Client_Adapter_Curl', 'curloptions' => array(CURLOPT_FOLLOWLOCATION => true,CURLOPT_SSL_VERIFYPEER =>FALSE), ); ...
- How to create an object of Zend Cache $cache = Zend_Cache::factory( 'Core', 'File', array( 'lifetime' => 3600 * 24 * 7, //cache is cleaned once a day 'automatic_serialization' => true ...
- Email functionalities in websites is very common and used in mostly in all web application. Whether it is registration process or Order detail, we need to send an email to your valuable client. To send the email using Email Template follow the following steps 1....
- How to get youtube video detail in Zend (Response in JSON) $uTubeVideoCode ='ryJReIcMGOs'; $jsonData=''; try{ $client = new Zend_Http_Client("http://gdata.youtube.com/feeds/api/videos/{$uTubeVideoCode}?v=2&alt=json"); $response = $client->request('GET'); $jsonData =...
- Sending an attachment in Email is very easy in zend framework. Attachmnet can be PDF file, image file, text and excel file etc. For Different type of attachment have different types of mime type. For example pdf mime type is "application/pdf" where gif image mime type...
- In websites, We send email to our clients for Following: - Registration Email - Forget Password - Change Password - Notification Email - Newsletter - Order completed - Order In transist - Order deliver Successfully Following code, Which can be used to send email in Zend-Framework (HTML EMAIL). /** Must fill Following detail...
- In Website we need to send email on Registration, Forget , Order email to our Clients/Customer. We want email should be deliver timely in inbox folder not in junk/spam folder. For this we have to use SMTP Server. GMAILÂ SMTPÂ Server is free to use, if you...
- Google Trends is a public web facility of Google Inc., based on Google Search, that shows how often a particular search-term is entered relative to the total search-volume across various regions of the world, and in various languages. From: en.wikipedia.org/wiki/Google_Trends Use following code to get the hot trends from google. try { ...
- There are different ways to multiple column ordering in Zend. Following are two different ways to do multiple column ordering in Zend Framework. you can use either First way OR Second...
- Get TimeZone & Local time from Latitude/Longitude $localtime = 0; $latitude = '40.71417'; $longitude = '-74.00639'; try { $client = new Zend_Http_Client('http://www.earthtools.org/timezone-1.1/' . $latitude . '/' . $longitude); $response = $client->request('GET'); ...
- Youtube API is very useful to show the youtube videos in your website. You don't required any account for search the video. You can filter the video by query string, category, limit no of records & you can see even video detail. You can also upload OR do changes in uploaded videos...
- $newFileName = "download_filename.mp4"; header('Content-Type: video/mp4'); header('Content-Disposition: attachment; filename="' . $newFileName . '"'); $my_aws_key = 'AWS_KEY'; $my_aws_secret_key = 'AWS_SCRET_KEY'; ...
- Step 1: Don't execute bootstrap's run function directly in index.php File Location: public_html/index.php Update Following code: if (php_sapi_name() != 'cli' || !empty($_SERVER['REMOTE_ADDR'])) { $application->bootstrap()->run(); } Step 2: Create a folder...
- Zend_Cache provides a flexible approach toward caching data, including support for tagging, manipulating, iterating, and removing data. Question: What is Zend Cache? It is Inbuilt component of zend framework which is used to speed up the application...
- Question: How to disable layout from controller? $this->_helper->layout()->disableLayout(); Disable Zend Layout from controller for Ajax call only if($this->getRequest()->isXmlHttpRequest()){ $this->_helper->layout()->disableLayout(); } How to...
- Question: What is a framework? In software development, a framework is a defined structure in which we can developed a new project. Its better to developed in framework than in core technology Because when we get a easy...
- After making a successful website, we add an  google analytics code to track the activities on our website. It gives all tracking information from all geo regions on all the pages. It help us to know daily, monthly, yearly visiter in different countries and list of pages which searched...
- When user submit the data through Form, Developer need to filter the submitted data. because we can not trust on end user, he can be hacker. User can be add invalid data that cause, crash your page OR website. So Never trust on user and  always filter form data before...
- Get List of buckets in Amazon S3 bucket and upload a file in Amazon S3 bucket with Zend Framework. Uploading files in zend framework is very simple because zend framework provides the API which is very...
- Zend framework is framework created by zend company who is owner of PHP. It means it is more reliable as compare to other framework and CMS. That's why most of people are using Zend for their project. It is lots of qualities and are below: Its created by zend.com -...
- Zend Profiler: It is used to display the queries executed by zend indirectly with MySql. It will show all the queries like insert, update, delete etc. Zend Profiler is very important just because it show the queries but It can help you to improve the performance of your website. See...
We are Web Technology Experts Team who provide you Important information on Web Development, Interview Questions and Answers, live project problem and their solution and online free tutorials.