nost

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

First of all sorry for my english, it's not my first language, but i'm sure you will understand my request.

I'm trying to find the cpanel variables, like to show the server uptime on my client side.

For exemple :
&cpanel Serverinfo=&phpversion()&& : print the phpversion
&cpanel print=&DOMAIN&& : print the domain name

I'm sure a lot of these kind of variables exists, but i found nothing in the cpanel documentations.

Somebody on this group have a list of these variables ?

If yes, can you share the information with me ?
If not, any solutions to get this information ?

Thanks a lot for your help.

Nost
 

nost

Well-Known Member
Jun 19, 2002
49
0
156
Hi (SH)Saeed,

it's already done, it's was easy to find the common variable in an existing theme.

But i'm sure mores variables exist.

For example, in the account informations, i would like to show something like that :

Email Accounts : 5 / 10
FTP Accounts : 2 / 3
Disk Usage : 10 / 100 Megabytes

etc ....

I'ts easy to show the number of existing accounts, but bot to print the total of account supported.

Hope you understand my poor english writing :O)

Nost
 

awsol

Well-Known Member
Feb 8, 2002
578
0
316
Boston MA
Here are some examples

&cpanel print=&$CPDATA{'MAXSUB'}&& subdomains
&cpanel print=&$CPDATA{'MAXPARK'}&& park domains
&cpanel print=&$CPDATA{'MAXADDON'}&& addon domains
&cpanel print=&$CPDATA{'MAXSQL'}&& mysql databases
&cpanel print=&$CPDATA{'MAXPOP'}&& email accounts
&cpanel print=&$CPDATA{'MAXLST'}&& mailing lists
&cpanel print=&$CPDATA{'MAXFTP'}&& ftp accounts
 

nost

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

Thanks a lot for your help ...

It's really helping me !

Thanks again

Nost
 

anand

Well-Known Member
Nov 11, 2002
1,432
1
168
India
cPanel Access Level
DataCenter Provider
[quote:29a8cf3c27][i:29a8cf3c27]Originally posted by awsol[/i:29a8cf3c27]

Here are some examples

&cpanel print=&$CPDATA{'MAXSUB'}&& subdomains
&cpanel print=&$CPDATA{'MAXPARK'}&& park domains
&cpanel print=&$CPDATA{'MAXADDON'}&& addon domains
&cpanel print=&$CPDATA{'MAXSQL'}&& mysql databases
&cpanel print=&$CPDATA{'MAXPOP'}&& email accounts
&cpanel print=&$CPDATA{'MAXLST'}&& mailing lists
&cpanel print=&$CPDATA{'MAXFTP'}&& ftp accounts
[/quote:29a8cf3c27]

Dear awsol,

Is there a place where i can get a complete list ? It would be of great help.

thx for the help.

regards,

Anand
 

SHSaeed

Well-Known Member
May 9, 2002
243
0
316
I've asked AWSOL to make a list earlier, but I never got a reply. Maybe he didn't see my request.. I think many users would like that though and I'm willing to help.
 

bradandersen

Active Member
Oct 6, 2003
42
0
156
$CPDATA{} Variables????

Hello,

Can we get a list of all of the $CPDATA{} variables that are available for skins?

Thanks,
Brad