Monday, October 13, 2014

wamp server not work



wamp server not work but server is online my wamp server 2.4

Step1

 



1.Quit your skype and then again restart your wamp


Problem Not solved ? 

Follow 

step 2

Solution for MSVCR100.dll is missing when WAMP server install

This MSVCR100.dll is missing when WAMP server install problem mostly happen when you install new ‘Operating system’. It’s a general problem but its soved easily  follow the next steps
Step 1.
That MSVCR100.dll file is one part of Microsoft Visual C++. IF this component is missing means, ‘Apache Server’ won’t run. So, download following exe file and just install that. It’s enough for MSVCR100.dll is missing when WAMP server install problem.
For Windows 32 bit OS:
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)

Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)

Here just select your Language and click ‘Download’ Button. You will get ‘vcredist_x86.exe’ file. Just Download that file and install as usual( double click ).
windows 64

restart PC and check
If the problem is not solved yet the follow step 3

Stp3

3 changeWampServer port



Sometimes wamp server

WampServer is a Windows web development environment. It allows you to createweb applications with Apache2, PHP and a MySQL database. This post basically explain how to change WampServer Port. The reason we need to changeWampServer port to avoid the same port used for IIS (Internet Information Services) or Xampp which results in failure of installation or running the application perfectly.

Here is steps taken to change the port for WampServer

1. After installation, left click the wamp icon
2. Go to “apache” and choose “httpd.conf”
3. Find the word “Listen 80″ 
4. Replace with “Listen 8080″.

Take note that 8080 is an example of port number. Feel free to pick any number to be the port number for WampServer.

5. Save the file and restart the application

6. Use http://localhost:8080 to access the WampServer

Thank You


Friday, June 20, 2014

Aestan Tray Menu has encountered a problem WAMP SERVER


Aestan Tray Menu has encountered a problem

Make sure no other program conflict Wamp such as IIS,

Microsoft Web Deploy, Web Deployment Agent Service, SQL,

Skype, Zonealarm, firewall/antivirus, NOD32, Eset, any web

related program including Remote Desktop, Teamviewer or

Apache, MySQL, PHP outside wamp folder (ie. in Program

Files or System32 folder) ...

IIS and Apache/Wamp are both web server and might conflict

in some way, so you have to disable IIS in order for Wamp

to work

Disable IIS in Vista/W7:

Control Panel, Uninstall Programs, Turn Widows Features On

or Off, uncheck Internet Information Services

Disable IIS in XP:

Control Panel, Add/Remove Programs, Add/Remove Windows

Components, uncheck Internet Information Services (IIS)

Restart computer, then restart Wamp

Also, in folder C:\WINDOWS\System32\drivers\etc, open file

hosts and delete anything in this file and have only this

line below and nothing else

127.0.0.1 localhost

If using Skype, open Skype > Tools > Options > Advanced >

Connection then uncheck "use port 80..." restart Wamp then

Skype

--------------------
Try this: open file httpd.conf through wamp tray icon and

find:

listen 80

Replace with:

listen 8181

In browser, use 'http://localhost:8181'
If it work, then probably your ISP block port 80

-----------------------------------

   

Try to install .Net framework Latest version.

 Link:
http://www.microsoft.com/en-us/download/details.aspx?id=21
Before Installing WAMP make sure that you uninstalled old

versions.

FOR 32 Bit windows

http://www.microsoft.com/en-us/download/confirmation.aspx?id=5582

FOR 64 Bit windows

http://www.microsoft.com/en-us/download/details.aspx?id=15336

Friday, June 6, 2014

send mail using codeigniter

Taste Your Words ... Judge tosses interrogatio...
Taste Your Words ... Judge tosses interrogation in fatal Brevard deputy shooting (Oct. 8, 2013) ...item 2.. 'Rapebait' Fraternity Email Causes Stir (Oct 09, 2013) -- Class stupid @ 'Phi Kappa Tau' ... (Photo credit: marsmet53)
Funny Internet Spam for eMail and Websites is ...
Funny Internet Spam for eMail and Websites is Spicy (Photo credit: epSos.de)
LIFE Magazine (September 27, 1923)  ...item 3....
LIFE Magazine (September 27, 1923) ...item 3.. Is life really fair? -- This is the calculus of unfairness. (October 9, 2011 / 11 Tishrei 5772) ...item 4.. Coping with homework insanity (Posted on Tuesday, 09.18.12) ... (Photo credit: marsmet541)
 
If you want send mail using codeigniter
 on loclahost then you can use the following code for this purpose.
 
 
 
 
 
 
 
 
 
function sendMail()
{
    $config = Array(
  'protocol' => 'smtp',
  'smtp_host' => 'ssl://smtp.googlemail.com',
  'smtp_port' => 465,
  'smtp_user' => 'xxx@gmail.com', // change it to yours
  'smtp_pass' => 'xxx', // change it to yours
  'mailtype' => 'html',
  'charset' => 'iso-8859-1',
  'wordwrap' => TRUE
);

        $message = '';
        $this->load->library('email', $config);
      $this->email->set_newline("\r\n");
      $this->email->from('xxx@gmail.com'); // change it to yours
      $this->email->to('xxx@gmail.com');// change it to yours
      $this->email->subject('Resume from asd for your Job posting');
      $this->email->message($message);
      if($this->email->send())
     {
      echo 'Email sent.';
     }
     else
    {
     show_error($this->email->print_debugger());
    }

}
Enhanced by Zemanta

Wednesday, June 4, 2014

Wednesday, May 14, 2014

HTML 5 number validation

HTML 5 number digit validator



<input type="number" id="r" size="20" name="r"  placeholder="Input value" pattern="[0-9]+([.][0-9]+)?" step="0.01" title="Enter Numeric Digit" />

pattern  =
step       =
title       =

validation of two Password Match

 

 Validation of two Password Match

 

I make a project and i want to match both password .

if password same then carry on ...

else abort . ...............................

 


example:


--------------

 

 

 
 
 
 
 
<script type="text/javascript">
function validate()
     {
        var pw1 = document.getElementById("password1").value;
        var pw2 = document.getElementById("password2").value;

        //Check values are present in both fields
        if(pw1 ==='' || pw2 === '')
        {
            alert("Please enter your password twice.");
            return false;
        }
        //Check there no spaces
        else if(document.getElementById("password1").value.indexOf(" ") > - 1) 
        {
            alert("Spaces are not allowed in passwords!");
            return false;
        }
        //Check passwords are the same
        else
        {
            if(pw1 !== pw2) 
            {
                alert("The passwords you entered were not the same. Please try again!");
                return false;
            }
            else
            {
                alert("Password accepted!");
                return true;
            }
        }

    }
 </script>
</head>

<body>
<form id="register">
    <label for="username">Username</label>
    <input type="text" class="input_text" name="username" id="name" placeholder="username" />
    <br />
    <label for="password">Password</label> 
    <input type="text" class="input_text" name="password1" id="password1" placeholder="123456" />
    <br />
    <label for="re-enterpassword">Re-enter password</label>
    <input type="text" class="input_text" name="password2" id="password2" placeholder="123456" />

    <input type="submit" class="button" onclick="validate()" value="Register" />
    </form>
</body>
</html>

Friday, May 2, 2014

bit bucket

Explore GIT


There is main problem in uploading the project on GIT.
 Many Technical student face problem to

how to upload 
how to create repository
how to push
how to pull

  1. Log into Bitbucket under your individual account.
  2. Click Repositories > Create repository or the Create new repository link.
  3. Choose a repository Owner.
    This only appears if you are creating under an account with membership in one or more teams. 
  4. Enter a Name and Description for your repository.
  5. Tick Private if you want to hide your repository from the general public, so that only selected people can see it.
  6. Select the Repository type.
  7. Click Create repository.
step1 :

Download GIT

Step 2:

create Account on GIT
bitbucket
github

step 3:

use these commands on CMD of Git


$ cd /C/ PATH TO FOLDER
$ git init
$ git add --all
$ git commit -m "adding repo instructions"
  


 commands >.>

mkdir /path/to/your/project 

cd /path/to/your/project 

git init 

git remote add origin ssh://git@bitbucket.org/username/bbreponame.git


Create a project with some code:

$ mkdir my_project
$ cd my_project
$ echo "foobar" > some_file

Then, while inside the project's folder, do an initial commit:
 
$ git init
$ git add some_file
$ git commit -m "Initial commit"

then for using bitbucket or such you add a remote and push up
 
$ git remote add some_name user@host:repo
$ git push some_name

you also might then want to configure tracking branches etc. see git remote set-branches and related commands for that.


How to Host a Laravel Project on Hostinger’s hPanel: A Step-by-Step Guide

How to Host a Laravel Project on Hostinger’s hPanel: A Step-by-Step Guide If you're looking to host a Laravel project on Hostinger’s hPa...