- Create account attwilio.comwith your email address.
- Download and install OpenVBX fromopenvbx.organd connect it with your account.
- Explore OpenVBX and create application with similar features. Don't try to copy. Create it the way you think is easier to use and looks professional.
First using this code in head section <script type="text/javascript"> var RecaptchaOptions = { theme : 'custom', custom_theme_widget: 'recaptcha_widget' }; </script> this is style for adjust the width <style> #recaptcha_challenge_image{ width:230px; overflow:hidden; } #recaptcha_widget{ width:240px; } </style> Than Put this code where you want to show Captcha <?php require_once('recaptchalib.php'); ...
Date Loop from and to and search if the date is exist in this berween $date = $_POST['sdate']; $end_date = $_POST['edate']; while (strtotime($date) <= strtotime($end_date)) { $date = date ("Y-m-d", strtotime("+1 day", strtotime($date))); $date5[] = $date; } $SDdateArr = explode('-',$_POST['sdate']); $EDdateArr = explode('-',$_POST['edate']); if(in_array($SDdateArr['0'].'-'.$SDdateArr['1'].'-25',$date5)){ $code = date ("y", strtotime($SDdateArr['0'])).'M'.$SDdateArr['1'].'Q2'; }else{ $code = date ("y", strtotime($SDdateArr['0'])).'M'.$SDdateArr['1'].'Q1'; }
Comments
Post a Comment