Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~551 People Reached
Favorite Forums
Favorite Tags
php x 6
Member Avatar for kibanga

I have a class and defined as follows: [PHP] class theclass { var a; var b; function seta(x) {this->a=x; } function setb(x) {this->b=x; } } global $myclass; $myclass=new theclass; [/PHP] This is saved in a [B]fileone.php[/B] Then I use it in the fisrt script file as [PHP] include_once("fileone.php"); global $myclass; …

Member Avatar for kibanga
0
145
Member Avatar for kibanga

I am learning to set up a cookie and assign a user_Id to whoever visits my website. I want to keep a record of all user IDs in mySQL database. I tried something like this: [PHP]if(!isset($HTTP_COOKIE_VARS['user_id'])) { $cart_id = md5(uniqid(rand())); $COOKIE=setcookie("cart_id", $user_id, time() + 14400); if (!$COOKIE) { echo "To …

Member Avatar for Puckdropper
0
240
Member Avatar for kibanga

I have files of several with geographical information of several places and animals that i want to be accesed by through the menu. Here is an outline of my project; I have simplified it by taking only parts that are relavent for my questions below. I have a PHP class …

0
166