Skip to content

Instantly share code, notes, and snippets.

View mohamedelhabib's full-sized avatar

Mohamed EL HABIB mohamedelhabib

View GitHub Profile
#!/bin/sh
####################### PRESTASHOP PARAM #######################
urladminsite=http://prestashop.domain.com/adminxxx/ # prestashop admin url
[email protected] # admin login
passwd=password # admin password
adminController=AdminPdf # the controller to call after login
adminControllerParam='&submitAction=generateInvoicePDF&id_order=250'
cookieFilePath=/tmp/cookie.txt # path of the cookie file that will be created
####################### IDENTIFICATION #######################