I want to publish the magento admin username and password using curls after a successful login, I need to redirect magento admin to the control panel. How can I do it? Basically, to enter magento you need this information:
require_once ("magento\app\Mage.php" ); umask(0); // Initialize Magento Mage::app("default"); // You have two options here, // "frontend" for frontend session or "adminhtml" for admin session Mage::getSingleton("core/session", array("name" => "adminhtml")); $session = Mage::getSingleton("admin/session");
How can I continue?
php magento
mark rammmy
source share