Post Pin

10 Natural Ways To Beat Belly Bloating

  [0]
  - Subscribe by Email or by RSS feed

10 Natural Ways To Beat Belly Bloating. I don’t know the percentage of people in the world with a bloated belly but I am sure that each and every day, more and more people are joining the ranks of those who are bloated. This is mainly due to bad diet and poor exercise regimen.

10 Natural Ways To Beat Belly Bloating

Today, I am going to share to you a forwarded email I received which could be useful all of us, bloated or unbloated(I made this word up) alike. This email was written by Kirsten Whittaker, an editor of the Daily Health Bulletin. Without further ado, here is the email content:

Stomach bloating is something that you can avoid pretty easily, so long as that bloat doesn’t come from extra pounds or is the result of a medical condition (liver or heart disease for example) according to Michael Jensen, MD, an endocrinologist and obesity researcher at the Mayo Clinic. The way to do it – avoid accumulating gas in your abdomen or intestines, as this will bring the uncomfortable feeling and the awful looking bulge.

It’s actually a well-entrenched myth that bloating in the stomach is the result of fluid accumulation, so called water weight. This isn’t true at all. In fact, the abdomen isn’t the place fluids will accumulate first in a healthy individual – they would be noticed in the feet and ankles for anyone up and about.

So if it’s not water, what is causing the gas to build in your belly and impact how you look and feel? Here are ten likely suggestions that might just explain that bloated belly.

1. Constipation: too little fiber, fluids and activity can bring on constipation and this causes bloating. Eat a diet high in fiber (25 daily grams for women; 38 for men) from whole grains, fruits and veggies, legumes, nuts and seeds. You’ll also want to be sure you’re taking in enough fluids – aim for 6-8 glasses a day. Be active for at least 30 minutes a day, five days a week.

2. Food allergies/intolerances: can cause both gas and bloating and can be confirmed by a visit to your doctor. Resist the temptation to self-diagnose and then eliminate healthy dairy and whole grains from your diet when this isn’t necessary. You can reduce the amount of the suspect food, or eat it with other foods, or try aged cheeses and yogurts as they are lower in lactose to see how your body responds.

3. Eating too fast: it’s what Mom always warned you about… eat too quickly and you swallow air and this brings bloating. You need to slow down, chew well and enjoy your meals. A meal should last at least a half hour, and remember digestion starts in the mouth. So try and cut that bloating by chewing your food better… just like Mom told you.

4. Limit carbonated drinks: as the fizz in those tasty sodas and other drinks can cause gas to get trapped in your stomach. Instead try water flavored with lemon, lime or cucumber. If you must have those carbonated drinks, at least cut the number you have a day and try other beverages – peppermint tea for a soothing, healthy change.

5. Don’t chew too much gum: as this can have you swallowing air, which leads to bloating. If you have a hard-core gum habit, alternate a piece of gum with sucking on a mint or hard candy instead. A healthy, high-fiber snack is also a good choice.

6. Watch sugar free foods: as these can cause you to take in too much sugar alcohol in those artificially sweetened foods and drinks, this can lead to bloating. You want to limit your consumption of artificially sweetened foods/drinks to no more than 2 to 3 servings a day.

7. Limit sodium: highly processed foods are high in sodium and low in fiber, both of which can contribute to feeling (and looking) bloated. You need to start reading food labels and shoot for no more than 500 mg of sodium per serving in any processed, canned or frozen food. You want to keep your total sodium intake to 2,300 mg a day.

8. Go slow with gas producing foods: there are some foods, like beans and members of the cruciferous family of veggies, that if you’re not used to eating can cause that bloated, gassy discomfort. Work these good for you foods into your diet slowly, or try to take an anti-gas product as directed when you plan on eating them.

9. Eat smaller meals, less often: this alternative meal schedule can help you stay free of the bloated feeling that comes after a large meal. Eating more often can also help keep your blood sugar stable and manage your hunger. Just be sure that the quantity of food and calories are in line with what you need, and don’t make more meals, bigger meals.

10. Try anti-bloating foods/drinks: as a few studies suggest that peppermint tea, ginger, pineapple, parsley and yogurts that have probiotics (good bacteria) might help bring down the bloating.

Understand that spot exercises will help your belly appear flatter, but that’s because you are toning and strengthening the abdominal muscles, not because doing a specific ab exercise has worked wonders. Pilates and exercise ball workouts are some of the best ab workouts we know.

Experts agree that laxatives, water pills and fasting are not the way to get rid of bloating, or lose weight. Losing even a few pounds will help your belly look (and feel) trimmer, that’s because for almost anyone who is losing body fat usually does so from the belly area more than other parts of the body. This holds true for every body type and weight loss type.

If you want to know more, then simply visit the Daily Health Bulletin site.

Post Pin

How to Fix Simple HTML Dom Memory Exhaustion Problem

  [0]
  - Subscribe by Email or by RSS feed

How to Fix Simple HTML Dom Memory Exhaustion Problem. Have you encountered an error such as this when trying to use the Simple HTML Dom script?

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 24 bytes) in /home2/asdasd/public_html/labs/lib/simple_html_dom.php on line 750

If yes, then you’ve got yourself a memory exhaustion problem! The Simple HTML Dom script is a very cool script to parse HTML documents but in terms of memory management it is not that cool. Fortunately, there is a simple solution to this problem. Simply allocate more memory dynamically! Add this line of code at the top of your PHP script:

ini_set(“memory_limit”,”200M”);

The “200M” is variable so change it to whatever suits your needs. I believe by default, PHP allocates 64M as the memory limit.

Check out the ff links for more information on this:

  • http://www.php.net/manual/en/ini.core.php#ini.memory-limit
  • http://www.php.net/manual/en/faq.using.php#faq.using.shorthandbytes

Post Pin

How to Fix a C4Parana Hack

  [0]
  - Subscribe by Email or by RSS feed

How to Fix a C4Parana Hack. Believe it or not, this site was hacked twice last year. The first one was simply a matter of deleting my administrative login and hence I was not able to login. If this happened to you, you can recover your hacked wordpress login by following the steps I outlined in another blog post. That was last November 2010. But after a month (December), it got hacked again by a Turkish hacker it seems which I am going to call a C4Parana hack.

I don’t know what a C4Parana is but what the hack did was 1) redirect my homepage to “http://maresanat.nl/media/C4Parana/$1″, 2) messed up my WP permalinks settings and 3) hacked my WP login like in the previous hack.

As I said, this happened in December and it has been 2 months since then so I’ll try my best to remember the exact steps to fix this hack. There might be some extra details I did back then but rest assured the steps below would suffice for you to fix the C4Parana hack. Another note though, there might be variations of this hack so please check against the description of the hack above if we were hacked the same way. If not, then follow the instructions with a grain of salt.

Step by step instructions on how to fix a C4Parana hack:

  1. Fix your .htaccess file. The redirect of the homepage is done by hacking the .htaccess file. Fix the file if you know how or simply delete it. We’ll create one (or WordPress will…) later. This fixes issue #1.
  2. Recover your WP login. I already have a blog post on this. Please check => recover your hacked wordpress login. This fixes issue #3.
  3. Fix your permalinks settings. Once you are able to login back into the WP dashboard, you should fix your permalinks settings. Just restore it to what you had before.

It’s really not that hard! Just follow the instructions above and you should be fine. You would do well if you keep in mind the following things as well:

  • Always upgrade to the latest stable WP version. Doing so will reduce the security vulnerabilities that WP have.
  • Make sure that your .htaccess file and wp-config.php file is not writable and accessible to the outside world. Only you (or any admin) should have access to these files.
  • Backup your files and database regularly. If all else fails, you can simply restore your backup if you get hacked.

That’s it. If you have any more questions or suggestions, please comment below.

Post Pin

How to Migrate a WP Installation from One Server to Another via Cpanel

  [0]
  - Subscribe by Email or by RSS feed

How to Migrate a WP Installation from One Server to Another via Cpanel. This post would serve as an announcement as well as a “How To”. I recently moved from one hosting service to another to consolidate a part of my domains in 1 of my hosting servers and to reduce costs. It’s never bad to save a bit even if it is just a few dollars :) .

For this tutorial, I am assuming you a know a thing or two about making backups(database and file) via CPanel and about FTP. If not, then I suggest you go learn them first, they are not that hard. If you are all set, then here is the step by step instructions to migrate a WordPress site from one server to another via CPanel:

  1. Backup the database. Now, there are a number of ways to do this but I prefer to do it via PHPMyAdmin. Backup your database by logging into PHPMyAdmin and exporting the database into a .gz file. If you are unsure how to do this, follow the official WP how to backup your database instructions.
  2. Backup your WP files. This can be done via the file manager. Select the root folder containing your site and click ‘compress’ from the clickable options above.
  3. Create a new database on your destination server. To make things just a bit easier, you may opt to name the database the same as the database you just backed-up. This way, you don’t have to update much later in the wp-config.php file.
  4. Import your backed-up database into the new database. Remember step #1? Well, just import the file(database backup) into the new database via PHPMyAdmin.
  5. Add domain to Add-on domain list. Make sure to fix the folder structure as well.
  6. Restore backed-up WP files. Restore the files via the file manager into the new folder just created in step #5.
  7. Update wp-config.php in new server. Update the database name, username and password.
  8. Update DNS of domain via registrar. Get the new DNS of your new destination server and update them via your current domain registrar.
  9. Wait. Nameserver propagation usually takes a few days so just sit back and relax.

The steps outlined above involves some downtime since we would have to wait for the nameserver propagation to finish which usually takes several days. If downtime is an issue, you can modify the steps above by adding these steps after step 6:

  1. Allow your old server to access the new database in the new server. You can allow this by going to Remote MySQL on the new server and adding the domain or IP address of your old server.
  2. Change your wp-config.php in the old site to point to the database on the new site. So, instead of accessing stale data, your site can access update information while waiting for the nameserver propagation to finish. The only downside is this could be a bit slow sometimes.

So the these are the steps to migrate a WP installation from one server to another. If you have any questions, feel free to comment/ask below.