cakephp - parse the part of url and send to function -
i have controller called customers , function called products. have link http://mysite.com/customers/products/{customernumber}/imagefile.png
i want have function imagefile.png once customer put link in browser on site.
howd cakephp
your action called products
needs 2 arguments deal that:
function products($customernumber, $image) { //here can access these variables , use them further processing }
i hope problem in case, please comment if need on "getting image" case.
Comments
Post a Comment