Invision Power Board issue

Questions about remote GET support.

Moderator: Moderators

Invision Power Board issue

Postby Sacred on Thu Oct 23, 2008 10:10 pm

Hello There,
I'm an IPB developer, i recently created a modification of IPB to show Visitors/Guests Country Flags (Doesnt connect to databse) and Members Current Country/City/Country code (which connects to database and insert/update members tables with the previous returns i mentioned.

So anyways my issue is when is down my site (and of course everyone that uses my script) goes down as well!

here are the codes i'm using

Code: Select all
      // -SRD23- Flag IP
   $DB->simple_construct( array(
      'select'   => 'cc,country,city',
      'from'      => 'members',
      'where'         => 'id ='.$member['id']
   )  );
  $memip = $this->ipsclass->DB->fetch_row();
       #get ip
   if (!empty($_SERVER['HTTP_CLIENT_IP']))
  //check ip from share internet
  elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR']))
  //to check ip is pass from proxy
  //verify the IP address for the 
  ip2long($ip)== -1 || ip2long($ip) === false ? trigger_error("Invalid IP", E_USER_ERROR) : "";


  //get the XML result from
  $xml = file_get_contents("".$ip); //Here were  i have the problem







  //return the array containing city, country and country code
  $country = $ipDetail['country'];
  $city = $ipDetail['city'];
  $country_code = str_replace( "XX" , "" , $ipDetail['country_code']); //remove XX if return is unkown

  #Check if we have new info for registered members
  if (($member['id']) AND ($member['cc'] != $country_code OR $member['country'] != $country OR $member['city'] != $city))
#update to databse if new info found
  $DB->do_update( 'members', array(
         'cc'       => $country_code,
         'country'       => $country,
         'city'        => $city,
      ),      'id ='.$member['id']);
//set Our vars
      $members_flag = "<b>Current Country:</b> {$memip['country']} <img src='flags/{$memip['cc']}1.gif' alt='{$memip['country']}' /> <b>Current City:</b> {$memip['city']}";
   $guests_flag = "<b>Current Country:</b> {$country} <img src='flags/{$country_code}1.gif' alt='{$country}' /> <b>Current City:</b> {$city}";
if(empty($member['id'])) {echo $guests_flag;}else{echo $members_flag;}

Now is there is a way to limit the time out of the get_file_content? because as i said earlier when you guys are down all our sites goes down as well!!!

Thanks in advanced

Sacred [at]
Posts: 1
Joined: Thu Oct 23, 2008 9:48 pm


Postby wewetq7011980 on Wed Dec 17, 2008 10:52 am

there are two things,costume jewelry,handmade jewelry,which one do u like?
Posts: 14
Joined: Tue Dec 16, 2008 11:46 pm


Postby wewetq7011980 on Thu Dec 18, 2008 11:35 pm

Posts: 14
Joined: Tue Dec 16, 2008 11:46 pm

How are lace wigs made

Postby bcde130 on Mon Dec 22, 2008 11:15 am

The wig’s cap is made entirely of French stock full lace wigs or Swiss lace (custom lace front wig may be ordered in French or Swiss front lace wigs). Strands are hand-tied to the lace. Knots are blended so they are not seen. The knotting technique allows natural hair flow for multi-directional hairstyling. The process of creating a Lace Wig takes approximately 30 to 45 days to complete.
Posts: 30
Joined: Sun Dec 07, 2008 11:45 pm


Postby Gusoir91 on Tue Feb 10, 2009 9:09 am

Earrings are an important part of every woman's wardrobe, whether we are headed for a day at the beach, to the office, or to a wedding. Your earrings give a subtle hint about your personality. You can change the entire look and wow power leveling feel of your wardrobe by adding the right earrings. You can bring out your softer feminine side, the sexy goddess, or present simple charm, sophistication, or elegance. For both men and women, today earrings are a definite fashion statement.

Earrings have been a part of human culture since 3000 BC. In past times, earrings actually established your position in society, because only royalty and very wealthy were able to afford expensive jewelry. Fine jewelry was worn by only wow power leveling the wealthy. The rest of the cheap archlord gold population also wore earrings to decorate their body, but they were replicas of high society jewelry.

There are many styles of earrings. There are quite literally thousands of choices. There is an earring style for every personality. Fine jewelry remains popular with precious stones such as sapphire and emeralds. Semi precious stones are also archlord online gold very popular. But even more popular are the costume jewelry earrings. These are affordable, look great, and are great for staying trendy and in style.

From dangles, to chandeliers, to droplets, to hoops, to studs. The choices and styles are never ending. If you don't have pierced ears, no worries! These days there is a terrific selection or clip on earrings available. You can be dazzling, subtle, glamorous, sexy. You can be highly refined, professional, high classed, or fun and funky, and trendy! You can never have enough earrings. Your earrings can add the finishing touches your outfit. Change your earrings and you can change the entire appearance of your look. Think about that little black dress you own. Add a pair of sapphire studs and you'll be highly refined. Add a pair of large chandelier rhinestones and you'll be Hollywood glamour. Add a pair of wood dangles, and a pair of flip flops archlord power leveling and you'll look fun and funky. Add a pair of red button earrings with a red bead necklace and you'll be "so sexy."

It's amazing what a pair of earrings can do to your look! So keep a good selection of earrings on hand to meet all your fashion needs. Earrings are the most important wardrobe accessory you can own. You'll get great value from your earrings. Choose earrings that meet your life style, your personality, and your tastes. There is no point in buying a pair of trendy earrings that you'll never wear because they don't feel like "you."

Earrings also make a great gift as they can be very personalized. Choose a style to meet their personality. From gemstones to beads, you can spend a little or you can spend a lot. The gift recipient will be thrilled that you were so thoughtful as to buy such a personal gift. Use your earrings to make a lasting impression, from the board room to the beach. Be sure people remember who you are. It's important to always Make Your fashion Statement!

Copyright Sher Matsen, All Rights Reserved.
Posts: 2
Joined: Mon Feb 02, 2009 12:38 am

Return to remote GET/PHP support

Who is online

Users browsing this forum: No registered users and 1 guest