3 && $month < 11){ return date("F d, Y h:i A", strtotime("+10 hours 30 minutes", strtotime($date))); } else if ($month == 3 && $day >= 10){ return date("F d, Y h:i A", strtotime("+10 hours 30 minutes", strtotime($date))); } else if ($month == 11 && $day <= 3){ return date("F d, Y h:i A", strtotime("+10 hours 30 minutes", strtotime($date))); } else{ // non-DST time return date("F d, Y h:i A", strtotime("+11 hours 30 minutes", strtotime($date))); } } function convert_to_india_time_short($date){ $month = date("n", strtotime($date)); $day = date("j", strtotime($date)); //DST from March 10th to November 3 for USA if ($month > 3 && $month < 11){ return date("d/m/Y", strtotime("+10 hours 30 minutes", strtotime($date))); } else if ($month == 3 && $day >= 10){ return date("d/m/Y", strtotime("+10 hours 30 minutes", strtotime($date))); } else if ($month == 11 && $day <= 3){ return date("d/m/Y", strtotime("+10 hours 30 minutes", strtotime($date))); } else{ // non-DST time return date("d/m/Y", strtotime("+11 hours 30 minutes", strtotime($date))); } } function cleanup_for_url( $string ){ $string = str_replace(" - ", "_", $string); $string = str_replace("-", "_", $string); $string = str_replace(" ", "_", $string); $string = str_replace("'", "", $string); $string = str_replace(",", "", $string); $string = str_replace("?", "", $string); $string = str_replace("!", "", $string); $string = str_replace("%", "", $string); $string = str_replace("__", "_", $string); return $string; } //Use this to prevent SQL Injection function sql_quote( $value ){ if( get_magic_quotes_gpc() ) { $value = stripslashes( $value ); } //check if this function exists if( function_exists( "mysql_real_escape_string" ) ) { $value = mysql_real_escape_string( $value ); } //for PHP version < 4.3.0 use addslashes else { $value = addslashes( $value ); } return $value; } function display_pagenation($total_pages, $current_page, $file_name){ $display_count = 12; $display_count_before = 5; $display_count_after = 1 + $display_count - $display_count_before; global $category_id; if ($total_pages > $display_count){ $start = ($current_page - $display_count_before); if ($start < 0) $start = 0; $end = ($current_page + $display_count_after); if ($end > $total_pages) $end = $total_pages; } else{ $start = 0; $end = $total_pages; } if ($current_page > 0){ echo " << previous"; } for($i = $start; $i < $end; $i++){ if ($i == $current_page){ if ($i == $start){ echo "  " . ($i + 1); } else{ echo " | " . ($i + 1); } } else{ echo " | " . ($i + 1) . ""; } } if ($current_page < $total_pages - 1){ echo " | next >>"; } } function display_pagenation_querystring($total_pages, $current_page, $file_name){ $display_count = 12; $display_count_before = 5; $display_count_after = 1 + $display_count - $display_count_before; global $category_id; if ($total_pages > $display_count){ $start = ($current_page - $display_count_before); if ($start < 0) $start = 0; $end = ($current_page + $display_count_after); if ($end > $total_pages) $end = $total_pages; } else{ $start = 0; $end = $total_pages; } if ($current_page > 0){ echo " << previous"; } for($i = $start; $i < $end; $i++){ if ($i == $current_page){ if ($i == $start){ echo "  " . ($i + 1); } else{ echo " | " . ($i + 1); } } else{ echo " | " . ($i + 1) . ""; } } if ($current_page < $total_pages - 1){ echo " | next >>"; } } function only_numbers_and_comma($val){ $reg = "#[^0-9 -]#i"; $count = preg_match($reg, $val, $matches); if ($count > 0){ return false; } else{ return true; } } //strip all chars from source other than those mentioned in $allow. //eg: cleanup_allow("12,13,14a", "0123456789,") => "12,13,14" function cleanup_allow($value, $allow){ $output = $value; for($i = 0; $i < strlen($value); $i++){ $temp = substr($value, $i, 1); $allowed = false; for ($j = 0; $j < strlen($allow); $j++){ $temp_allow = substr($allow, $j, 1); if ($temp == $temp_allow){ $allowed = true; break; } } if ($allowed == false){ $output = str_replace($temp, "", $output); } } return $output; } //find_invalid_chars returns true if invalid chars are found. function find_invalid_chars($value, $invalid){ for($i = 0; $i < strlen($invalid); $i++){ $invalid_char = substr($invalid, $i, 1); if (strpos($value, $invalid_char) === false){ continue; } else{ return true; } } return false; } ?>
     
   :: DISCLAIMER
By accessing Forwomen.in, you have read, understood and agree to be legally bound by the terms of the following disclaimer and user agreement.

We maintain Forwomen.in (hereinafter "website") to enhance public access to general information, news and current affairs especially relating to women. This service is provided on an "As Is" basis and is continually under development.

Though we work very hard to keep correct and updated information, Forwomen.in and its group companies, affiliates, third party content providers or licensors do not make any representations or warranties of any kind, express or implied, about the completeness, accuracy, authenticity, reliability, suitability or availability with respect to the website or the information, products, services, or related graphics contained on the website for any purpose nor does we make any warranty that the website will be uninterrupted or error free or as to the results that may be obtained from use of the website or the information contained therein. Any reliance you place on such information/service/products/ graphics and/or the website is therefore purely and strictly at your own risk and consequences.

In no event will we be liable for any loss or damage, including without limitation, direct, indirect, incidental, special, consequential or punitive loss or damages or any loss or damage whatsoever arising out of the use of or inability to use the website or any service contained therein. Through this website you are able to link to other websites which are not under our control. We have no control over the nature, content and availability of those sites or the services/products provided. The inclusion of any links does not necessarily imply a recommendation or endorse the views expressed within them.

We have taken due care and caution in compilation of data for the web site. The views and investment tips expressed by investment experts on this site are their own, and not that of the website or its management. The website advises its users to check with certified experts before taking final decision. However, the website does not guarantee the accuracy, adequacy or completeness of any information and is not responsible for any errors or omissions or for the results obtained from the use of such information. The website especially states that it has no financial liability whatsoever to any user on account of the use of information provided on its website.

We encourage all users to use the information on the site as a resource only to further their own research on the topics presented on the site. Nothing published on this site should be considered as final advice.

Forwomen.in is not responsible for any errors, omissions or representations on any of its pages or on any links on any of its pages. The website does not endorse in anyway any advertisers on its web pages. Please verify the veracity of all information on your own before undertaking any alliance.

Every effort is made to keep the website up and running smoothly. However, we takes no responsibility for and will not be liable for the website being temporarily unavailable due to technical issues beyond its control.
   :: OUR EXPERT TEAM  ASK A QUESTION


 READ ALL QUESTIONS & ANSWERS  
ALL CATEGORIES
  anubandham   beauty tips   bollywood
  bullion   cinema news   consumer rights & disputes
  cooking tips   crafts   decoration
  designer news   dharma sandehalu   dress sense
  etiquette   exhibitions   festivals
  fitness   food and health   for teens
  friends   from mars   galleries
  grahabalam   health   health and beauty
  hollywood   indu kaburlu   interviews
  investments   juices   kalam kathalu
  makeup   mutual funds   my story
  news   nri, tax etc.,   parenting queries
  personality development   pet care   planning
  positive body language   pregnancy   pretty tweens
  recipes   review   senior citizens
  serial   share market   shopping
  soups   stories   sweets
  tiny tantrums   tirumala tirupati   vaaraphalam
  where and what
0){ $email_template = "newsletter_email_verification_template.html"; $to_email = $nl_email; $from_email = "webmaster@forwomen.in"; $subject = "ForWomen.in Newsletter Subscription Verification"; $email_body = read_file($email_template); $sidcode = $sid * 379; $email_body = str_replace("##sidcode##", $sidcode, $email_body); phpmail($from_email, $to_email, $subject, $email_body, "html"); } } else{ $status = "duplicate"; } } } ?>
NEWS LETTER SIGN-UP
  Thank you. Please check your email and click on the confirmation link to complete your registration. You have already been subscribed with this email. Subscribe to Forwomen.in Free email newsletter for Feature Articles, Interviews and more.
© Copyrights 2011. forwomen.in | home | about us | contact us | feedback | advertise | privacy | terms of use | disclaimer
Best view in IE 7.0+, FF 3.5+, Chrome 8 and above | Design & Developed by mediaone.in