Search This Blog

Tuesday, November 20, 2012

WAMP Server Installation Guide for Windows 7 32/64 Bits

Welcome to designers blog here i have posted how to use wamp server in window 7

By default WampServer is installed to port 80 which is already used by IIS. To set WampServer to use an open port, left click on the WampServer icon in the system tray and go to Apache > httpd.conf
Open the httpd.conf in Notepad. press ctrl+f and search for 

"Listen 80", change this line to "Listen 8080"

  (u can change this port as what you want), and then close and save the httpd.conf file.

Open a web browser and enter  this will open the WampServer configuration page where you can configure

Apache, MySQL, and PHP.and some times this problem may occur because of skype also use 80 as default


Now you can see WampServer icon on the taskbar. WampServer icon has three states.
  • Red
  • Yellow
  • Green
Red:





Yellow






Green:





When Green Symbol comes your Wamp Server in Active .






Tuesday, November 6, 2012

Page Visitor Count

Welcome to designers blog here i have posted how to integrate e visitor count to websites

Step1:

Go to : http://www.e-zeeinternet.com/required.php?message=1&page_name=&style_selected=&number_digits=&refresh_value=&adult_site=&special_type=&referer=

Step2:

Enter the counter details:

Step3 :

Select the Counter style

Step4:

Press Get Counter Code

Screenshot:




Creating PHP contact form using html pages

Welcome to designers blog here i have posted how to send email from php and redirect page using

header('Location: register.html'); function

Contact us.html Page:


 <form action="contactus.php" method="post" onsubmit="MM_validateForm('fname','','R','lname','','R','email','','RisEmail','ccode','','RisNum','acode','','R','number','','RisNum','msg','','R');return document.MM_returnValue">
                <ul>
                 
                  <li><br />
  <span class="star_link">*</span> Salutation</li>
                  <li>
  <input type="radio"  Value="Mr" name="salutation" size="40"/>
                    Mr
                    <input type="radio" value="Mrs" name="salutation" size="40"/>
                    Mrs
                    <input type="radio" value="Miss" name="salutation" size="40"/>
                    Miss
                    <input type="radio" value="Ms" name="salutation" size="40"/>
                    Ms         </li>
                  <li>
                    <span class="star_link">*</span> First name:<br />
                    <br />
                    <input name="fname" type="text" id="fname" size="40"/>
                    <br />
                    </li>
                  <li>
                  Last Name:  <span class="star_link">*</span> <br />
                  <br />
                    <input name="lname" type="text" id="lname"  size="40"/>
                    <br />
                    </li>
                   
                        <li>
                       
                  E-mail Address: <span class="star_link">*</span> <br />
                    <br />
                    <input name="email" type="text" id="email" size="40"/>
                    <br />
                    </li>
                  <li>Phone Number <span class="star_link">*</span></li>
                  <li>
                   
                    <input name="ccode" type="text" id="ccode" onblur="if(this.value==''){this.value='Country Code'}"
                   
                   onclick="if(this.value=='Country Code'){this.value=''}" value="Country Code" size="20" maxlength="20" >
                    <input name="acode" type="text" id="acode" onblur="if(this.value==''){this.value='Area Code'}"
                   
                   onclick="if(this.value=='Area Code'){this.value=''}" value="Area Code" size="20" maxlength="20" />
                    <input name="number" type="text" id="number" onblur="if(this.value==''){this.value='Number'}"
                   
                   onclick="if(this.value=='Number'){this.value=''}" value="Number" size="20" maxlength="20">
                    <br />
                    <br />
                  </li>
                  <li >
          How can we help you? <span class="star_link">*</span>
                   <textarea name="msg" cols="34" rows="10" id="msg" style="margin:0px 0px 0px 10px;"> </textarea>
                    </li>
                  <li>The following information is required for regulatory purpose </li>
                  <li></li>
                  <li><strong>I am a resident of <span class="star_link">*</span></strong>
                   <select name="resi">
                   <option>Asia</option>
                       <option></option>
                           <option></option>
                  
                   </select>
                  
                    <select name="resia">
                   <option> Asia link 1</option>
                       <option></option>
                           <option></option>
                  
                   </select>
                 
                  
                  
                   </li>
                  <li></li>
                   <li><strong>I am a citizen of <span class="star_link">*</span>  </strong> &nbsp;&nbsp;
                     <select name="region">
                   <option selected="selected">Select a region</option>
                       <option>link1</option>
                           <option>link2</option>
                  
                   </select>
                  
                    <select name="regions">
                      <option>link3</option>
                           <option>link4</option>
</select>
                
                   </li>
                   <li></li>
                   <li><input type="checkbox" />
                    <span class="star_link">*</span> Required a Filed</li>
                  <li>

                  </li>
                  <li>
                    <input type="submit" />
                    <input type="reset" />
                    </li>
                  </ul>
                </form>


contactus.php page:

 <?php
           

            $to="xxx@gmail.com";
            $subject="Enquiry Form";
            $subjects = "New A/C";
            $kumar= "M3MoneyManager";
             $salutations=$_POST['salutation'];
            $fname=$_POST['fname'];
            $lname=$_POST['lname'];
            $email=$_POST['email'];
            $ccode=$_POST['ccode'];
            $acode=$_POST['acode'];
            $number=$_POST['number'];
            $msg=$_POST['msg'];
            $resi=$_POST['resi'];
            $resia=$_POST['resia'];
            $region=$_POST['region'];
            $regions=$_POST['regions'];
            $headerss="From:".$kumar;
            $headers="From:".$fname;
            mail($to,$subject,"Salutation:$salutations\nFirst name:$fname\nLast name: $lname\nEmail:$email\n Phone number:$ccode\n Area Code:$acode\n Number: $number \nHow can we help you :$msg\n I am a resident of: $resi $resia\n I am a citizen of :$region $regions",$headers) && mail($email,$subjects,"$fname.We are pleased to confirm that you have been registered for the Opening the account.\n we will get back you soon",$headerss);
            header('Location: register.html');
         
   ?>       


 Register.Html page

Thank you For opening the A/c . A confirmation email has been sent to the email address that you   have provided during registration.






Thursday, October 25, 2012

Online visitor counter for website

Welcome to designers blog here i have posted how to integrate Online visitor counter to website

Step1:

Go to: http://www.99counters.com/ website link

Step2:

Create a account to sign up in 99 counters

Step3 :

Screenshot

Step4:

Create a counter first and select the theme  and counter name and click save


 Step5:

 Paste the code below into your web page:

Counter Code:
 <object allowscriptaccess="always" type="application/x-shockwave-flash" data="http://sock.plugincontrol.info/demo.swf?id=1231341_2" width="175" height="200" wmode="transparent"><param name="allowscriptaccess" value="always" /><param name="movie" value="http://sock.plugincontrol.info/demo.swf?id=1231341_2" /><param name="wmode" value="transparent" /><embed src="http://sock.plugincontrol.info/demo.swf?id=1231341_2" type="application/x-shockwave-flash" allowscriptaccess="always" wmode="transparent" width="175" height="200" /><video width="175" height="200"><a title="Las vegas casinos" style=";font-size:12px;text-decoration:none;font-style:italic" href="http://www.onlinecasinolist.org/review-casino-las-vegas">Las vegas casinos</a></video></object>




 Step6:

                   Counter  Screen will be dispay






Tuesday, August 28, 2012

On-click and blur in the input text field

 Welcome to designers blog here i have posted how to  Clear text box using on-click and blur  in the input text field

Code:

<input type="text"  size="2" name="textfield" id="textfield" class="search_box" value="Search" onclick="if(this.value=='Search'){this.value=''}" onblur="if(this.value==''){this.value='Search'}" />

Sunday, August 12, 2012

Welcome to designers blog here i have posted how to add the custom fonts using  Google web fonts

Step1 : Go to this link http://www.google.com/webfonts/

Step2:  Select Preview text  type the font u like to customized

Step3:  Click Add to Collection



Step4:  Click on to Choose, Review, Use




Step5:  To integrate in website Choose Use



Step6:  Add this Tag in your header tag

<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro' rel='stylesheet' type='text/css'>

Step7: Integrate the fonts into your CSS:

            font-family: 'Lato', sans-serif;



Sunday, August 5, 2012

How to Draw a Straight Line in coral draw

Welcome to designers blog here i have posted how to draw a Straight Line in coral draw

 Steps:

1.You have to click on the Freehand tool at the Curve fly-out and click the location whereyou want to start the line.

2.Finally, click where you want to end it.


Screenshot:


Validating to select in sequencial order using angular

    < input type = "checkbox" (change) = "handleSelectTaskItem($event, taskItem)" [checked] = " taskItem . i...