Forum: PHP Dec 27th, 2006 |
| Replies: 4 Views: 1,684 Use the phpBB's phpbb_users table for the authentication in all the sections.
As I remember you can find in phpBB's includes/sessions.php file. |
Forum: PHP Dec 27th, 2006 |
| Replies: 3 Views: 4,476 I believe you want to calculate the age if teh date of birth is given:
If that is the case you can use the following function:
function persons_age($year, $month, $day)
{
//list($year,... |
Forum: PHP Dec 27th, 2006 |
| Replies: 1 Views: 9,507 You should not send any output to the browser before
header("Content-length: $size");
header("Content-type: $type");
header("Content-Disposition: attachment; filename=$name");
Always... |
Forum: PHP Dec 27th, 2006 |
| Replies: 1 Views: 2,168 Sending through URL means sending information using GET method which will accept maximum of 4KB.
better you should encode the data while sending by GET method becuase if your data is having '&'... |
Forum: PHP Dec 27th, 2006 |
| Replies: 11 Views: 3,741 Normally file upload using files will be allowed 2MB in PHP (That is default setting in php.ini file).
Ask your server admin about this limit.
You can use FTP functions to upload can be found... |
Forum: PHP Dec 27th, 2006 |
| Replies: 2 Views: 4,013 Use
$face = array_rand($names);
instead of
$face = array_rand($names) ;
You are using a <SPACE> after the array_rand() function |