Friday, November 29, 2013

how to send value to view page in zendframe work?[Solved]

Simple its using zend framework assign reference function to view page


within controller  function pass value to view page
you can two way to pass value to view page
one is : $this->request=150
Or
$value=150;
$this->view->assign('request',$value);
--------------------------------------------------------------
Get variable value within  view page
like
echo $this->request;

Thursday, November 28, 2013

how to configure NETBean IDE for PHP

Hello Guys tricky for debugging PHP.ini . easy to debug and help it sure.
  1. First download the NetBean IDE HERE  then install in your system
  2. then some change configure  in PHP.INI file
  3. Find and  remove  the line zend_extension = "XAMPP_HOME\php\ext\php_xdebug.dll".
  4. Find and  remove ; the line xdebug.remote_host=localhost. Change the value of the setting from localhost to 127.0.0.1.
  5. Find and  remove ; the line xdebug.remote_enable = 0. Change 0 to 1.
  6. Find and  remove ; the line xdebug.remote_handler = "dbgp".
  7. Find and remove ; the line xdebug.remote_port = 9000.
  8. Find and remove ; the line xdebug.show_local_vars = 1 
  9. Save php.ini.
  10. Run the XAMPP Control Panel Application and restart the Apache server.