¡@

Home 

php Programming Glossary: jpath_base

Accessing session data outside Joomla

http://stackoverflow.com/questions/1175598/accessing-session-data-outside-joomla

on wire and could be sniffed. define '_JEXEC' 1 define 'JPATH_BASE' dirname dirname __FILE__ define 'DS' DIRECTORY_SEPARATOR require_once.. __FILE__ define 'DS' DIRECTORY_SEPARATOR require_once JPATH_BASE . DS . 'includes' . DS . 'defines.php' require_once JPATH_BASE.. . DS . 'includes' . DS . 'defines.php' require_once JPATH_BASE . DS . 'includes' . DS . 'framework.php' mainframe JFactory..

How to Save Uploaded File's Name on Database

http://stackoverflow.com/questions/12927464/how-to-save-uploaded-files-name-on-database

file JRequest getVar 'jform' null 'files' 'array' path JPATH_BASE Make the file name safe. jimport 'joomla.filesystem.file' file..

Access Joomla 2.5 from external script to get article by id

http://stackoverflow.com/questions/15042262/access-joomla-2-5-from-external-script-to-get-article-by-id

I'm trying define '_JEXEC' 1 define '_VALID_MOS' 1 define 'JPATH_BASE' realpath dirname __FILE__ define 'DS' DIRECTORY_SEPARATOR require_once.. __FILE__ define 'DS' DIRECTORY_SEPARATOR require_once JPATH_BASE .DS.'includes'.DS.'defines.php' require_once JPATH_BASE .DS.'includes'.DS.'framework.php'.. JPATH_BASE .DS.'includes'.DS.'defines.php' require_once JPATH_BASE .DS.'includes'.DS.'framework.php' echo JPATH_BASE .DS.'includes'.DS.'framework.php'..

How to log into joomla through an external script?

http://stackoverflow.com/questions/2075335/how-to-log-into-joomla-through-an-external-script

username passwd password define '_JEXEC' 1 define 'JPATH_BASE' '.. ' define 'DS' DIRECTORY_SEPARATOR require_once '.. configuration.php'.. require_once '.. configuration.php' require_once JPATH_BASE .DS.'includes'.DS.'defines.php' require_once JPATH_BASE .DS.'includes'.DS.'framework.php'.. JPATH_BASE .DS.'includes'.DS.'defines.php' require_once JPATH_BASE .DS.'includes'.DS.'framework.php' require_once JPATH_BASE .DS.'libraries'.DS.'joomla'.DS.'factory.php'..

How to get current Joomla user with external PHP script

http://stackoverflow.com/questions/2445549/how-to-get-current-joomla-user-with-external-php-script

as Joomla's index.php php define '_JEXEC' 1 define 'JPATH_BASE' dirname __FILE__ define 'DS' DIRECTORY_SEPARATOR require_once.. __FILE__ define 'DS' DIRECTORY_SEPARATOR require_once JPATH_BASE .DS.'includes'.DS.'defines.php' require_once JPATH_BASE .DS.'includes'.DS.'framework.php'.. JPATH_BASE .DS.'includes'.DS.'defines.php' require_once JPATH_BASE .DS.'includes'.DS.'framework.php' Create the Application mainframe..

include Jfactory class in an external php file, Joomla

http://stackoverflow.com/questions/9459430/include-jfactory-class-in-an-external-php-file-joomla

define '_JEXEC' 1 define 'DS' DIRECTORY_SEPARATOR define 'JPATH_BASE' _SERVER 'DOCUMENT_ROOT' Then you need to include three files.. Then you need to include three files like require_once JPATH_BASE . DS . 'includes' . DS . 'defines.php' require_once JPATH_BASE.. . DS . 'includes' . DS . 'defines.php' require_once JPATH_BASE . DS . 'includes' . DS . 'framework.php' require_once JPATH_BASE..