User upload limit per day User upload limit per day
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

User upload limit per day

Started by botakedan, August 04, 2009, 08:46:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

botakedan

Hello!

I was wondering if it would be possible to make limit number of picture can upload by each member per day ?

Any help would be greatly appreciated, thank you!

Hein Traag


botakedan

i thing this is the way...

$result = cpg_db_query("SELECT pid FROM {$CONFIG['TABLE_PICTURES']} WHERE owner_id = " . USER_ID . " AND ctime > UNIX_TIMESTAMP() - 86400");

but... where is this code location ?