lammadog

Member
Dec 21, 2002
17
0
151
http://www.gwsa.net/skinny/


I went looking for the api list, and I looked at the api.txt and newapi.txt, but I couldn't really find anything expect everyone asking for a list. So, here ya go.


It's not really a list, it's a PHP script to stock all the API data into variables that make sense :p

It's not yet fully complete, or even tested, but it's a great start ( just now put it together)

If anyone can fill in the missing stuff, post in this thread and I will update
 

mind-field

Active Member
Sep 28, 2002
42
0
156
I am looking for this, except I want to use this list:

$&os&
$&kernelver&
$&sendmailpath&
$&servicestatus&
$&perlpath&
$&manpage&
$&perlversion&
$&perlmodules&
$&linkedperlmodules&
$&phpversion&
$&mysqlversion&
$&apacheversion&
$&showquotaused&
$&showquotamax&
$&showquotaremain&
$&analog&
$&showbandwidth&
$&printsubanalinks&
$&printsubwebalinks&
$&printsubawstatslinks&
$&analoglist&
$&errlog&
$&webalizer&
$&awstats&
$&webalizerftp&
$&countbandwidth&
$&lastvisitors&
$&getemail&
$&saveemail&
$&change_password&
$&listaddons&
$&mainpage&
$&installpage&
$&killpage&
$&charsetoptions&
$&displaynews&
$&listgpgkeys&
$&listgpgkeysselect&
$&genkey&
$&importkeys&
$&deletekey&
$&deletesecretkey&
$&exportkey&
$&exportsecretkey&
$&lastlogin&
$&adduser&
$&addhost&
$&delhost&
$&deluser&
$&adddb&
$&deldb&
$&updatehosts&
$&updateprivs&
$&listusers&
$&listusersopt&
$&listdbsopt&
$&listdbsbackup&
$&listhostsopt&
$&listhosts&
$&listdbs&
$&diskusage&
$&countdbs&
$&listusersindb&
$&adduserdb&
$&deluserdb&
$&traceroute&
$&dnslookup&
$&dnszone&
$&edit_cron&
$&rem_cron&
$&list_cron&
$&addfp&
$&fpstatus&
$&delfp&
$&countsubdomains&
$&listsubdomains&
$&cplistsubdomains&
$&listsubdomainsop&
$&addsubdomain&
$&delsubdomain&
$&setsuburl&
$&subdomainurl&
$&disablrd&
$&getindex&
$&setindex&
$&htdirls&
$&set_protect&
$&checkprotected&
$&resname&
$&showusers&
$&set_pass&
$&del_user&
$&randhtmllink&
$&entropybannerlink&
$&listphpchats&
$&installphpchat&
$&upgradeboard&
$&upgradephpbbboard&
$&listacarts&
$&listacartselect&
$&installacart&
$&killacart&
$&listgbooks&
$&installgbook&
$&listboards&
$&installboard&
$&installphpbbboard&
$&accessloglink&
$&phpmyadminlink&
$&backuplink&
$&mkcounter&
$&initcart&
$&mkclock&
$&mkcountdown&
$&changelink&
$&indexbanners&
$&showbanners&
$&changeprio&
$&indexsearch&
$&listengines&
$&submitengs&
$&linkurls&
$&linkenable&
$&linkrurl&
$&linkallownull&
$&linkexts&
$&add_hotlink&
$&del_hotlink&
$&add_redirect&
$&del_redirect&
$&add_mime&
$&del_mime&
$&add_handler&
$&del_handler&
$&system_mime&
$&system_handlers&
$&listredirects&
$&listredirects_options&
$&user_mime&
$&user_handlers&
$&user_mime_options&
$&user_handlers_options&
$&fullbackup&
$&listfullbackups&
$&listfiles&
$&newcgifile&
$&suexecperm&
$&listtemplates&
$&printdir&
$&printhiddenfile&
$&printfile&
$&getfile&
$&dofileop&
$&fileops&
$&showactions&
$&uploadfiles&
$&restorefiles&
$&restoreaf&
$&restoredb&
$&viewfile&
$&extractfile&
$&fmmkfile&
$&installfile&
$&showperm&
$&changeperm&
$&fmmkdir&
$&fmrename&
$&editfile&
$&delfile&
$&realdelfile&
$&fileimg&
$&restorefile&
$&fmpushfile&
$&fmsavefile&
$&showtrash&
$&emptytrash&
$&showdiractions&
$&listftpstable&
$&countftp&
$&get_anonftp&
$&get_anonftpin&
$&set_anonftp&
$&set_anonftpin&
$&kill_ftp_session&
$&get_welcomemsg&
$&set_welcomemsg&
$&addftp&
$&passwdftp&
$&listftpstatsurl&
$&ftpstatslogin&
$&delftp&
$&ftp_sessions&
$&printdomainoptions&
$&listaliasbackups&
$&listfilterbackups&
$&setdefaultaddress&
$&defaultaddress&
$&listmxs&
$&getmx&
$&listmxstable&
$&listmx&
$&changemx&
$&addautoresponder&
$&delautoresponder&
$&getarsbody&
$&getarshtml&
$&getarsfrom&
$&getarssubject&
$&listautoresponders&
$&countfilters&
$&countlists&
$&countpops&
$&countresponders&
$&countforwards&
$&getpopquota&
$&listmaildomainsopt&
$&addpop&
$&listlists&
$&dellist&
$&addlist&
$&addspam&
$&delspam&
$&spamstatus&
$&delpop&
$&passwdpop&
$&editquota&
$&addfilter&
$&delfilter&
$&addforward&
$&delforward&
$&listpopstable&
$&listpopsselect&
$&listpops& || $&listpoplogins&
$&listforwards&
$&listforwardstable&
$&listfordwardsselect&
$&listfiltersselect&
$&listfilterstable&
$&listfilters&

but, I need the filler &cpanel *filler*=&$whatever()&&

Anyone know where I can find this out, without reviewing thousands and files and checking off each one I find with the above list?

Thanks!
 

lammadog

Member
Dec 21, 2002
17
0
151
yeah, I'm still figuring this all out myself (I just started with Cpanel a few days ago)

but, if you look at the first one on the api.txt list you pasted
$&os&
then find the coresponding one on my list
&cpanel Serverinfo=&os()&&

... you can start to get the idea of how the syntax works.

heres a few that I kinda know off hand

&cpanel include=
&cpanel print=
&cpanel Email=
&cpanel Ftp=
&cpanel Htaccess=


there's a bunch more, but I havn't gotten around to compling those yet, right now I'm banging my head on trying to get the variables working right. once I get this figured out and can use the &cpanel Email=addpop down and working, then things will start going much quicker.

I'll work on updating that api list I posted as I go along
 

dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,531
10
343
Toronto, Ontario Canada
cPanel Access Level
DataCenter Provider
I've check most of these and they seem to work.

&cpanel shortuptime=&&&
&cpanel Cgi=&accessloglink()&&
&cpanel print=&$user&&!
&cpanel hostname=&&&
&cpanel print=&$CPDATA{'PLAN'}&&
&cpanel print=&$FORM{'w'}&&&cpanel print=&$FORM{'h'}&&
&cpanel print=&$ip&&
&cpanel print=&DOMAIN&&
&cpanel Serverinfo=&perlpath()&&
&cpanel email=&listfiltersselect()&&
&cpanel printvar=&dprefix&&
&cpanel News=&displaynews()&&
&cpanel printvar=&dprefix&&
&cpanel print=&$FORM{'dir'}&&
&cpanel print=&$FORM{'dir'}&&
&cpanel Stats=&analoglist($FORM{'domain'})&&
&cpanel Stats=&analoglist($CPDATA{'DNS'})&&
&cpanel Cgi=&mkclock(0,$FORM{'TZ'},$FORM{'timeformat'},$FORM{'border'},$FORM{'date'},$FORM{'fg'},$FORM{'bg'})&&
&cpanel Cgi=&mkcountdown(1,$FORM{'TZ'},$FORM{'month'},$FORM{'hour'},$FORM{'day'},$FORM{'year'})&&
&cpanel print=&$FORM{'dir'}&&
&cpanel Cgi=&mkcounter($FORM{'preview.x'},$FORM{'html.x'},$FORM{'type'},$FORM{'timezone'},$FORM{'timeformat'},$FORM{'dateformat'},$FORM{'framethickness'},$FORM{'fred'},$FORM{'fgreen'},$FORM{'fblue'},$FORM{'maxdigits'},$FORM{'style'},$FORM{'sred'},$FORM{'sgreen'},$FORM{'sblue'},$FORM{'rred'},$FORM{'rgreen'},$FORM{'rblue'},$FORM{'name'})&&
&cpanel Ftp=&get_anonftp()&& name=&allowanonftp& type=&checkbox&
&cpanel Ftp=&get_anonftpin()&& name=&allowanonftpin& type=&checkbox&
&cpanel setvar=&debug=0&&&cpanel include=&../stdheader.html&&
&cpanel print=&$FORM{'dir'}&&
&cpanel print=&$FORM{'doremovefolder'}&&
&cpanel sprint=&$FORM{'email'},=,0&&
&cpanel Ftp=&get_welcomemsg()&&
&cpanel print=&$FORM{'email'}&&
&cpanel print=&$FORM{'acct'}&&
&cpanel print=&$FORM{'email'}&&
&cpanel print=&FORM{'password'}&&
&cpanel print=&&$CPDATA{'BWLIMIT'}&&& / 1048576;&
&cpanel Htaccess=&&showusers($FORM{'dir'})&&&&
&cpanel print=&&$FORM{'dir'}&&&&&&&
&cpanel Cgi=&&initcart()&&&&
&cpanel News=&&displaynews()&&&&
&cpanel Htaccess=&&getindex($FORM{'dir'},0)&&&&&
&cpanel print=&&$FORM{'opdir'}&&&
$ADMIN = &&cpanel print=&$FORM{'admin'}&&&;
$ADMINEMAIL = &&cpanel print=&$FORM{'adminemail'}&&&;
$ADMINPASS = &&cpanel print=&$FORM{'password'}&&&;
$DBS=&cpanel print=&$CPDATA{'MAXSQL'}&& -&cpanel Mysql=&countdbs()&&;
$USER_ROOT = &&cpanel print=&$FORM{'doremovefolder'}&&&;
&cpanel Cgi=&randhtmllink()&&&-->
&cpanel print=&$ENV{'REMOTE_USER'}&&&>
&cpanel print=&$ENV{'REMOTE_USER'}&&&>
&cpanel Email=&listmxs()&&
&cpanel Cgi=&!upgradephpbbboard($FORM{'board'})&&
&cpanel Cgi=&changelink($FORM{'banner'},$FORM{'link'})&&
&cpanel Cgi=&changeprio($FORM{'banner'},$FORM{'priority'})&&
&cpanel Cgi=&indexbanners()&&
&cpanel Cgi=&indexbanners()&&
&cpanel Cgi=&indexsearch()&&
&cpanel Cgi=&installacart($FORM{'url'},$FORM{'auser'},$FORM{'apass'})&&
&cpanel Cgi=&installboard($FORM{'url'})&&
&cpanel Cgi=&installgbook($FORM{'url'})&&
&cpanel Cgi=&installphpbbboard($FORM{'url'})&&
&cpanel Cgi=&installphpchat($FORM{'url'},$FORM{'user'},$FORM{'pass'})&&
&cpanel Cgi=&listacarts()&&
&cpanel Cgi=&listacarts()&&
&cpanel Cgi=&listboards()&&
&cpanel Cgi=&listboards()&&
&cpanel Cgi=&listboardsdel()&&
&cpanel Cgi=&listboardsdel()&&
&cpanel Cgi=&listgbooks()&&
&cpanel Cgi=&listphpchats()&&
&cpanel Cgi=&showbanners($FORM{'start'},$FORM{'direction'})&&
&cpanel Cgi=&upgradeboard($FORM{'board'})&&
&cpanel Cgi=&upgradeboard($FORM{'board'})&&
&cpanel cprint=&$FORM{'dir'}&&/&cpanel cprint=&$FORM{'file'}&& Saved
&cpanel cprint=&$FORM{'file'}&& Saved&hr&
&cpanel Cron=&edit_cron()&&
&cpanel Cron=&list_cron()&&
&cpanel Cron=&rem_cron($FORM{'cnum'})&&
&cpanel Email=&addautoresponder($FORM{'email'},$FORM{'from'},$FORM{'subject'},$FORM{'body'},$FORM{'domain'})&& was successfully created.
&cpanel Email=&addfilter($FORM{'email'},$FORM{'fmethod'},$FORM{'msgpart'})&&
&cpanel Email=&addforward($FORM{'email'},$FORM{'forward'},$FORM{'domain'})&&
&cpanel Email=&addspam()&&
&cpanel Email=&changemx($FORM{'domain'},$FORM{'mx'})&&
&cpanel Email=&delfilter($FORM{'email'})&&
&cpanel Email=&delforward($FORM{'email'})&&
&cpanel Email=&delpop($FORM{'email'},0,$FORM{'domain'})&&
&cpanel Email=&delspam()&&
&cpanel Email=&editquota($FORM{'email'},$FORM{'domain'},$FORM{'quota'})&&
&cpanel Email=&listaliasbackups()&&
&cpanel Email=&listfilterbackups()&&
&cpanel Email=&listfilterstable()&&
&cpanel Email=&listfordwardsselect()&&
&cpanel Email=&listmaildomainsopt()&&&/select&
&cpanel Email=&listmaildomainsopt()&&&/select&
&cpanel Email=&listmaildomainsopt()&&&/select&
&cpanel Email=&listpopsselect()&&
&cpanel Email=&passwdpop($FORM{'email'},$FORM{'password'},$FORM{'quota'},$FORM{'domain'})&&
&cpanel Email=&printdomainoptions()&&
&cpanel Email=&printdomainoptions()&&
&cpanel Email=&printdomainoptions()&&
&cpanel Email=&printdomainoptions()&&
&cpanel Email=&printdomainoptions()&&
&cpanel Email=&setdefaultaddress($FORM{'forward'},$FORM{'domain'})&&
&cpanel exec=&forhprint(listpops)&&
&cpanel exec=&forhprintselect(listpops)&&
&cpanel Fileman=&dofileop($FORM{'opdir'},$FORM{'opfile'},$FORM{'dir'},$FORM{'fileop'})&&
&cpanel Fileman=&extractfile($FORM{'dir'},$FORM{'file'})&&
&cpanel Fileman=&fileimg($FORM{'dir'},$FORM{'file'})&&
&cpanel Fileman=&fileimg($FORM{'opdir'},$FORM{'opfile'})&&
&cpanel Fileman=&fileops($FORM{'opdir'},$FORM{'opfile'},$FORM{'dir'},$FORM{'fileop'})&&
&cpanel Fileman=&fmmkdir(&$homedir&,&.entropybanner&)&&
&cpanel Fileman=&fmmkdir(&$homedir&,&.htmltemplates&)&&
&cpanel Fileman=&fmmkdir(&$homedir&,&.htmltemplates&)&&
&cpanel Fileman=&fmmkdir(&$homedir/public_html/&,&entropybanner&)&&
&cpanel Fileman=&fmmkdir(&$homedir/public_html/&,&scgi-bin&)&&
&cpanel Fileman=&fmmkdir($FORM{'scriptpath'},$FORM{'adminfolder'})&&
&cpanel Fileman=&fmmkdir($FORM{'scriptpath'},$FORM{'adminfolder'})&&
&cpanel Fileman=&fmmkdir($FORM{'userrootpath'},$FORM{'linksfolder'})&&
&cpanel Fileman=&fmmkdir($FORM{'userrootpath'},$FORM{'shopfolder'})&&
&cpanel Fileman=&fmmkdir($homedir,.htpasswds)&&
&cpanel Fileman=&fmmkdir($homedir,.htpasswds)&&
&cpanel Fileman=&fmmkdir($homedir/.htpasswds,$FORM{'linksfolder'})&&
&cpanel Fileman=&fmmkdir($homedir/.htpasswds,$FORM{'shopfolder'})&&
&cpanel Fileman=&fmmkdir($homedir/.htpasswds/links,$FORM{'adminfolder'})&&
&cpanel Fileman=&fmmkdir($homedir/.htpasswds/shop,$FORM{'adminfolder'})&&
&cpanel Fileman=&fmrename($FORM{'dir'},$FORM{'file'},$FORM{'newname'})&& in&cpanel cprint=&$FORM{'dir'}&&&/i&
&cpanel Fileman=&fmsavefile($FORM{'dir'},$FORM{'file'},$FORM{'page'})&&
&cpanel Fileman=&fmsavefile($FORM{'dir'},$FORM{'file'},$FORM{'page'})&&
&cpanel Fileman=&fmsavefile($FORM{'dir'},$FORM{'file'},$FORM{'page'})&&
&cpanel Fileman=&fmsavefile($FORM{'dir'},$FORM{'file'},$FORM{'page'})&&
&cpanel Fileman=&getfile($FORM{'dir'},$FORM{'file'})&&
&cpanel Fileman=&installfile(&/usr/local/cpanel/cgi-sys/cgiecho&,&$homedir/public_html/cgi-bin/cgiecho&)&&
&cpanel Fileman=&installfile(&/usr/local/cpanel/cgi-sys/cgiemail&,&$homedir/public_html/cgi-bin/cgiemail&)&&
&cpanel Fileman=&installfile(&/usr/local/cpanel/cgi-sys/entropybanner.cgi-wrap&,&$homedir/public_html/cgi-bin/entropybanner.cgi&)&&
&cpanel Fileman=&installfile(&/usr/local/cpanel/cgi-sys/entropybanner.cgi-wrap&,&$homedir/public_html/cgi-bin/entropybanner.cgi&)&&
&cpanel Fileman=&installfile(&/usr/local/cpanel/cgi-sys/randhtml.cgi-wrap&,&$homedir/public_html/cgi-bin/randhtml.cgi&)&&
&cpanel Fileman=&installfile(&/usr/local/cpanel/cgi-sys/randhtml.cgi-wrap&,&$homedir/public_html/cgi-bin/randhtml.cgi&)&&
&cpanel Fileman=&installfile(&/usr/local/cpanel/share/htmltemplates/default&,&$homedir/.htmltemplates/default&)&&
&cpanel Fileman=&installfile(&/usr/local/cpanel/share/htmltemplates/default&,&$homedir/.htmltemplates/default&)&&
&cpanel Fileman=&listfiles($FORM{'dir'})&&
&cpanel Fileman=&listtemplates()&&
&cpanel Fileman=&newcgifile(&$homedir/.guestbook&)&&
&cpanel Fileman=&printdir()&&
&cpanel Fileman=&printdir()&&
&cpanel Fileman=&printdir()&&
&cpanel Fileman=&printdir()&&
&cpanel Fileman=&printdir()&&
&cpanel Fileman=&printfile()&&
&cpanel Fileman=&printfile()&&
&cpanel Fileman=&printhiddenfile()&&
&cpanel Fileman=&realdelfile($FORM{'dir'},$FORM{'file'})&&
&cpanel Fileman=&restoreaf()&&
&cpanel Fileman=&restoredb()&&
&cpanel Fileman=&restorefile($FORM{'file'})&&.....
&cpanel Fileman=&restorefiles()&&
&cpanel Fileman=&showperm($FORM{'dir'},$FORM{'file'})&&
&cpanel Fileman=&suexecperm(&$homedir/.guestbook&)&&
&cpanel Fileman=&uploadfiles()&&
&cpanel Frontpage=&addfp()&&
&cpanel Frontpage=&delfp()&&
&cpanel Ftp=&addftp($FORM{'login'},$FORM{'password'})&&
&cpanel Ftp=&addftp($FORM{'user'},$FORM{'pass'})&&
&cpanel Ftp=&delftp($FORM{'domain'})&&
&cpanel Ftp=&delftp($FORM{'login'})&&
&cpanel Ftp=&ftp_sessions()&&
&cpanel Ftp=&kill_ftp_session($FORM{'login'})&&
&cpanel Ftp=&listftpstable()&&
&cpanel Ftp=&set_anonftp($FORM{'allowanonftp'})&&
&cpanel Ftp=&set_anonftpin($FORM{'allowanonftpin'})&&
&cpanel Ftp=&set_welcomemsg($FORM{'ftpwelcome'})&&
&cpanel Gpg=&deletekey($FORM{'key'})&&
&cpanel Gpg=&deletesecretkey($FORM{'key'})&&
&cpanel Gpg=&genkey($FORM{'name'},$FORM{'comment'},$FORM{'email'},$FORM{'expire'},$FORM{'keysize'},$FORM{'password'})&&
&cpanel Gpg=&importkeys($FORM{'gpgdata'})&&
&cpanel hostname=&&&
&cpanel Htaccess=&del_user($FORM{'dir'},$FORM{'user'})&&
&cpanel Htaccess=&htdirls($FORM{'dir'})&&
&cpanel Htaccess=&htdirls($FORM{'dir'},1)&&
&cpanel Htaccess=&set_pass($FORM{'dir'},$FORM{'user'},$FORM{'pass'})&&
&cpanel Htaccess=&set_pass($FORM{'protectdir'},$FORM{'admin'},$FORM{'password'})&&
&cpanel Htaccess=&set_pass($FORM{'protectdir'},$FORM{'admin'},$FORM{'password'})&&
&cpanel Htaccess=&set_pass($FORM{'url'}/protected,$FORM{'auser'},$FORM{'apass'})&&
&cpanel Htaccess=&set_protect($FORM{'dir'},$FORM{'protected'},$FORM{'resname'})&&
&cpanel Htaccess=&set_protect($FORM{'protectdir'},$FORM{'protected'},$FORM{'resname'})&&
&cpanel Htaccess=&set_protect($FORM{'protectdir'},$FORM{'protected'},$FORM{'resname'})&&
&cpanel Htaccess=&set_protect($FORM{'url'}/protected,1,Agora Cart Admin)&&
&cpanel Mime=&add_handler($FORM{'ext'},$FORM{'handle'})&&
&cpanel Mime=&add_hotlink($FORM{'urls'},$FORM{'exts'},$FORM{'rurl'},$FORM{'allownull'})&&
&cpanel Mime=&add_mime($FORM{'mimet'},$FORM{'ext'})&&
&cpanel Mime=&add_redirect(/$FORM{'path'},$FORM{'type'},$FORM{'url'})&&
&cpanel Mime=&del_handler($FORM{'userhandle'})&&
&cpanel Mime=&del_hotlink()&&
&cpanel Mime=&del_mime($FORM{'usermime'})&&
&cpanel Mime=&del_redirect($FORM{'path'})&&
&cpanel Mime=&listredirects()&&
&cpanel Mime=&listredirects_options()&&
&cpanel Mime=&system_handlers()&&
&cpanel Mime=&system_mime()&&
&cpanel Mime=&user_handlers()&&
&cpanel Mime=&user_handlers_options()&&
&cpanel Mime=&user_mime()&&
&cpanel Mime=&user_mime_options()&&
&cpanel module=&Email&&
&cpanel Mysql=&adddb($FORM{'db'})&&
&cpanel Mysql=&addhost($FORM{'host'})&&
&cpanel Mysql=&adduser($FORM{'dbuser'},$FORM{'password'})&&
&cpanel Mysql=&adduser($FORM{'user'},$FORM{'pass'})&&
&cpanel Mysql=&adduserdb($FORM{'connectdb'},$FORM{'connectuser'})&&
&cpanel Mysql=&adduserdb($FORM{'db'},$FORM{'user'})&&
&cpanel Mysql=&deldb($FORM{'db'})&&
&cpanel Mysql=&deldb($FORM{'doremovedb'})&&
&cpanel Mysql=&delhost($FORM{'host'})&&
&cpanel Mysql=&deluser($FORM{'doremoveuser'})&&
&cpanel Mysql=&deluser($FORM{'user'})&&
&cpanel Mysql=&deluserdb($FORM{'db'},$FORM{'user'})&&
&cpanel Mysql=&listdbs()&&
&cpanel Mysql=&listdbsbackup()&&
&cpanel Mysql=&listhosts()&&
&cpanel Mysql=&listusers()&&
&cpanel Net=&dnslookup($FORM{'dns'})&&
&cpanel Net=&dnszone($FORM{'dns'})&&
&cpanel Net=&traceroute()&&
&cpanel Park=&cplistaddons()&&
&cpanel Park=&cplistparked()&&
&cpanel Park=&listaddonsop()&&
&cpanel Park=&listparkedop()&&
&cpanel Park=&park($FORM{'domain'})&&
&cpanel Park=&park($FORM{'domain'},$FORM{'user'})&&
&cpanel Park=&unpark($FORM{'domain'})&&
&cpanel Park=&unpark($FORM{'domain'})&&
&cpanel Passwd=&change_password($FORM{'oldpass'},$FORM{'newpass'})&&
&cpanel Passwd=&change_password($FORM{'oldpass'},$FORM{'newpass'})&&
&cpanel print=&$CPDATA{'PLAN'}&&
&cpanel print=&$FORM{'dir'}&&
&cpanel print=&$FORM{'domain'}&&
&cpanel print=&$FORM{'exts'}&&
&cpanel print=&$FORM{'file'}&&
&cpanel print=&$FORM{'opfile'}&&
&cpanel print=&$FORM{'pass'}&& .
&cpanel print=&$FORM{'urls'}&&
&cpanel print=&$FORM{'user'}&&
&cpanel print=&FORM{'email'}&&
&cpanel Serverinfo=&linkedperlmodules()&&
&cpanel Serverinfo=&manpage($ENV{'QUERY_STRING'})&&
&cpanel Serverinfo=&servicestatus()&&
&cpanel sprint=&$FORM{'acct'},=,0&&
&cpanel sprint=&$FORM{'email'},=,0&&@&cpanel print=&$FORM{'domain'}&&
&cpanel Stats=&errlog($CPDATA{'DNS'},/var/domlogs/$CPDATA{'DNS'}-error_log)&&
&cpanel Stats=&lastvisitors($CPDATA{'DNS'},/var/domlogs/$CPDATA{'DNS'}-access_log,450)&&
&cpanel Stats=&printsubanalinks()&&
&cpanel Stats=&printsubawstatslinks()&&
&cpanel Stats=&printsubwebalinks()&&
&cpanel Stats=&showbandwidth()&&
&cpanel SubDomain=&addsubdomain($FORM{'domain'})&&
&cpanel SubDomain=&addsubdomain($FORM{'user'})&&
&cpanel SubDomain=&cplistsubdomains()&&
&cpanel SubDomain=&cplistsubdomains()&&
&cpanel SubDomain=&delsubdomain($FORM{'domain'})&&
&cpanel SubDomain=&delsubdomain($FORM{'domain'})&&
&cpanel SubDomain=&disablesubrd($FORM{'domain'})&&
&cpanel SubDomain=&listsubdomainsop()&&
&cpanel SubDomain=&listsubdomainsop()&&
&cpanel SubDomain=&listsubdomainsop()&&
&cpanel SubDomain=&listsubdomainsop()&&
&cpanel SubDomain=&listsubdomainsop()&&
&cpanel SubDomain=&listsubdomainsop()&&
&cpanel SubDomain=&setsuburl($FORM{'domain'},$FORM{'url'})&&
&cpanel Submit=&listengines()&&
&cpanel Submit=&submitengs(%FORM)&&
&cpanel waitforfile=&ENV{'QUERY_STRING'}&&
&cpanel Cgi=&entropybannerlink()&&
&cpanel cprint=&$FORM{'dir'}&&&cpanel cprint=&$FORM{'file'}&&
&cpanel Fileman=&delfile($FORM{'dir'},$FORM{'file'})&&
&cpanel Fileman=&printdir()&&
&cpanel Fileman=&showactions($FORM{'dir'},$FORM{'file'})&&
&cpanel Fileman=&showdiractions($FORM{'dir'},$FORM{'file'})&&
&cpanel Fileman=&showtrash()&&
&cpanel Fileman=&viewfile($FORM{'dir'},$FORM{'file'})&&
&cpanel Email=&spamstatus()&&
&cpanel Email=&spamstatus()&&
&cpanel Frontpage=&fpstatus()&&
&cpanel Email=&listforwardstable()&&
&cpanel Cgi=&phpmyadminlink()&&& target=&_blank&&phpMyAdmin
&cpanel LastLogin=&lastlogin()&&
&cpanel CustInfo=&getemail()&&&/i&
&cpanel CustInfo=&getemail()&&&/i&
&cpanel CustInfo=&getemail()&&&/i&
&cpanel CustInfo=&getemail()&&&/i&
&cpanel CustInfo=&getemail()&&&/i&
&cpanel LastLogin=&lastlogin()&&&/i&
&cpanel LastLogin=&lastlogin()&&&/i&
&cpanel LastLogin=&lastlogin()&&&/i&
&cpanel Fileman=&fmmkdir($FORM{'dir'},$FORM{'newdir'})&&
&cpanel Htaccess=&checkprotected($FORM{'dir'})&&
&cpanel print=&$FORM{'acct'}&&
&cpanel Email=&getpopquota($FORM{'email'},$FORM{'domain'})&&
&cpanel Htaccess=&resname($FORM{'dir'})&&
&cpanel Mime=&linkallownull()&&
&cpanel Mime=&linkexts()&&
&cpanel Mime=&linkrurl()&&
&cpanel SubDomain=&subdomainurl($FORM{'domain'})&&
&cpanel CustInfo=&getemail()&&
&cpanel Stats=&awstats($CPDATA{'DNS'})&&
&cpanel Stats=&webalizer($CPDATA{'DNS'})&&
&cpanel Stats=&webalizerftp($CPDATA{'DNS'})&&
&cpanel Email=&addlist($FORM{'email'},$FORM{'password'},$FORM{'domain'})&&
&cpanel Ftp=&passwdftp($FORM{'acct'},$FORM{'password'})&&
&cpanel Mysql=&listdbs()&&
&cpanel Mysql=&listdbs()&&
&cpanel Mysql=&listusers()&&
&cpanel Mysql=&listusers()&&
&cpanel print=&$FORM{'ftpwelcome'}&&
&cpanel Email=&delautoresponder($FORM{'email'})&&
&cpanel Email=&dellist($FORM{'email'})&&
&cpanel Mysql=&listdbsopt()&&&/select&
&cpanel Mysql=&listusersopt()&&&/select&
&cpanel print=&$FORM{'fileop'}&&
&cpanel sprint=&FORM{'email'},@,0&&@&select name=domain&
&cpanel Email=&getarsfrom(FORM{'email'})&&
&cpanel Email=&getpopquota($FORM{'email'},$FORM{'domain'})&&Meg
&cpanel Email=&getarssubject(FORM{'email'})&&
&cpanel HCCApi=&CurrentNameServers()&&
&cpanel Gpg=&exportkey($FORM{'key'})&&
&cpanel Gpg=&exportsecretkey($FORM{'key'})&&
&cpanel Mime=&linkurls()&&
&cpanel Fileman=&fmpushfile($FORM{'dir'},$FORM{'file'})&&
&cpanel Fileman=&fmpushfile($homedir,.randhtml)&&
&cpanel Fileman=&fmpushfile($homedir/.htmltemplates,default)&&
&cpanel Fileman=&fmpushfile($FORM{'dir'},$FORM{'file'})&&
&cpanel Fileman=&fmpushfile($FORM{'dir'},$FORM{'file'})&&
&cpanel Email=&countfilters()&&
&cpanel Email=&countforwards()&&
&cpanel Email=&countlists()&&
&cpanel Email=&countpops()&&
&cpanel Email=&countresponders()&&
&cpanel Ftp=&countftp()&&
&cpanel Mysql=&countdbs()&&
&cpanel Park=&countaddons()&&
&cpanel Park=&countparked()&&
&cpanel SubDomain=&countsubdomains()&&
&cpanel print=&$CPDATA{'MAXFTP'}&&
&cpanel print=&$CPDATA{'MAXLST'}&&
&cpanel print=&$CPDATA{'MAXPOP'}&&
&cpanel print=&$CPDATA{'MAXSQL'}&&
&cpanel print=&$CPDATA{'MAXSUB'}&&
&cpanel Quota=&showquotaremain()&&
&cpanel Quota=&showquotaused()&&
&cpanel Stats=&countbandwidth()&&
&cpanel print=&FORM{'msgpart'}&&
&cpanel print=&FORM{'fmethod'}&&
&cpanel print=&FORM{'email'}&&
&cpanel print=&$FORM{'user'}&&
&cpanel print=&$FORM{'user'}&&
&cpanel print=&$FORM{'host'}&&
&cpanel print=&$FORM{'host'}&&
&cpanel cprint=&$FORM{'dir'}&&
&cpanel cprint=&$FORM{'file'}&&
&cpanel Fileman=&emptytrash()&&
&cpanel Email=&addpop($FORM{'email'},$FORM{'password'},$FORM{'quota'},$FORM{'domain'})&&
&cpanel build=&getbuild()&&
&cpanel Cgi=&accessloglink()&&Raw Access Log
&cpanel Email=&countfilters()&&
&cpanel Email=&countforwards()&&
&cpanel Email=&countlists()&&
&cpanel Email=&countpops()&&
&cpanel print=&$CPDATA{'MAXPOP'}&&
&cpanel Email=&countresponders()&&
&cpanel Email=&defaultaddress()&&
&cpanel Email=&getarsbody(FORM{'email'})&&
&cpanel Ftp=&countftp()&&
&cpanel print=&$CPDATA{'MAXFTP'}&&
&cpanel hostname=&&&
&cpanel Mysql=&countdbs()&&
&cpanel print=&$CPDATA{'MAXSQL'}&&
&cpanel Mysql=&diskusage()&&
&cpanel Park=&countaddons()&&
&cpanel Park=&countparked()&&
&cpanel print=&$password&&
&cpanel print=&DOMAIN&&
&cpanel Quota=&showquotaremain()&&
&cpanel Quota=&showquotaused()&&
&cpanel Serverinfo=&apacheversion()&&
&cpanel Serverinfo=&kernelver()&&
&cpanel Serverinfo=&mysqlversion()&&
&cpanel Serverinfo=&os()&&
&cpanel Serverinfo=&perlpath()&&
&cpanel Serverinfo=&perlversion()&&
&cpanel Serverinfo=&phpversion()&&
&cpanel Serverinfo=&sendmailpath()&&
&cpanel shortuptime=&&&
&cpanel Stats=&countbandwidth()&&
&cpanel SubDomain=&countsubdomains()&&
&cpanel print=&$CPDATA{'MAXSUB'}&&
&cpanel uptime=&&&
&cpanel version=&&&
 

BubbaShuv

Registered
Jan 11, 2003
2
0
151
Gentlemen!

This is the type of post I came here looking for. Keep em coming, this mess is starting to make a lil sense now.

Thanx for sharing, y'all!
 

lammadog

Member
Dec 21, 2002
17
0
151
Ok, I pasted the rest of the &cpanel tags& dgbaker posted in here, and did some updates and even started a little organzation and catagorization. It's still kinda ugly, but it's starting to come along.

http://gwsa.net/skinny
 

rbmatt

Well-Known Member
Oct 21, 2002
211
0
166
I didnt see this one anywhere:
&cpanel print=&$CPDATA{'OWNER'}&&
 

lammadog

Member
Dec 21, 2002
17
0
151
[quote:6affa8e3f2][i:6affa8e3f2]Originally posted by rbmatt[/i:6affa8e3f2]

I didnt see this one anywhere:
&cpanel print=&$CPDATA{'OWNER'}&&[/quote:6affa8e3f2]


cool, thanks keep them coming!
 

nost

Well-Known Member
Jun 19, 2002
49
0
156
Wow !!!!

Thank you so much for this capnal tag list ... it's really appreciated :)

In the list i doesnt find the tag for the signup date (setup date) some of our clients ask for this because they forgot when they sign up with us lol .. somebody have this tag ?

Thanks a lot again

Dany Boucher
 

lammadog

Member
Dec 21, 2002
17
0
151
[quote:6aba03c45c]
In the list i doesnt find the tag for the signup date (setup date) some of our clients ask for this because they forgot when they sign up with us lol .. somebody have this tag ?
[/quote:6aba03c45c]

ok, I just matched up $CPDATA{} with /usr/cpanel/users/username

so $CPDATA will output whatever is in that file, do to answer your question, you can get the startdate with.

&cpanel print=&$CPDATA{'STARTDATE'}&&
 

nost

Well-Known Member
Jun 19, 2002
49
0
156
Hi lammadog ,

Thanks a lot your help is really appreciated :eek:)

The correct path to users accounts files is /var/cpanel/users/ ;)

The result is in Unix Date Format : 1032896174
Instead of : Tue Sep 24 15:36:14 2002 like WHM shows

I don&t have good programmer skill ... but did you find the code to show the result in good format ?

Thanks a lot again


Dany Boucher
 

nost

Well-Known Member
Jun 19, 2002
49
0
156
Nevermind,

i just reminder that i recently move my client from a non cpanel control panel to cpanel ....

and all my clients are in the same startup date lol

I'll have to edit manually each clients :(

Anyway i got a javascript who work inside cpanel : http://storm.esm.rochester.edu/noah/unixtimestamp.htm

Only few modifications is need, but it work fine for me

thanks again

Dany Boucher
 

lammadog

Member
Dec 21, 2002
17
0
151
[quote:b27db52218]The result is in Unix Date Format : 1032896174
Instead of : Tue Sep 24 15:36:14 2002 like WHM shows[/quote:b27db52218]


$date = '&cpanel print=&$CPDATA{'STARTDATE'}&&';
$date = date (&d/m/Y - H:i:s& , $date);
echo $date;

this will output it like this...
07/01/2003 - 03:41:07

you can format it as you want using the PHP date() function
http://www.php.net/manual/en/function.date.php
 

s3kk3y

Well-Known Member
Oct 12, 2002
93
0
156
is there any way to display the start date without using php? I dont want to rename my index.html to php as i have added links to other pages linking back to index and i dont want to go change all of them.
 

dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,531
10
343
Toronto, Ontario Canada
cPanel Access Level
DataCenter Provider
[quote:24a2450e15][i:24a2450e15]Originally posted by s3kk3y[/i:24a2450e15]

is there any way to display the start date without using php? I dont want to rename my index.html to php as i have added links to other pages linking back to index and i dont want to go change all of them.[/quote:24a2450e15]

You could use an redirect statement in the index.html to index.php
 

rbmatt

Well-Known Member
Oct 21, 2002
211
0
166
Can you make it a separate file and include it with ssi? or will it lose some of the vars?