Search Results

Showing results 1 to 6 of 6
Search took 0.01 seconds.
Search: Posts Made By: PeppySoft
Forum: PHP Dec 27th, 2006
Replies: 4
Views: 1,684
Posted By PeppySoft
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
Posted By PeppySoft
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
Posted By PeppySoft
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
Posted By PeppySoft
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
Posted By PeppySoft
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
Posted By PeppySoft
Use
$face = array_rand($names);

instead of

$face = array_rand($names) ;

You are using a <SPACE> after the array_rand() function
Showing results 1 to 6 of 6

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC