bonienl Posted August 24, 2011 Posted August 24, 2011 I am trying to add a new settings page which will use new variable names, e.g. $var['newname']. How can I add these names to the already existing array? It is not fully clear to me how POST parameters are processed, it looks like an internal emhttp thing, but I could be wrong here. Any help is appreciated
Zeron Posted August 24, 2011 Posted August 24, 2011 Paramaters are in $argv[1] I use thise code to make it look like the standard $_REQUEST[] array you see in normal php. parse_str($argv[1], $_REQUEST); $var = parse_ini_file( "/var/local/emhttp/var.ini", TRUE), You can create your own .ini file in you addon directory and use parse_ini_file
Recommended Posts
Archived
This topic is now archived and is closed to further replies.