When to Use a Separate Root Domain


If you have a single, primary site that has earned links,
 built content, and attracted brandattention and
awareness, it is very rarely advisable to place
any new content on a completely separate domain.
 There are rare occasions when this can make sense,
 and we’ll walk through these, as well as explain how
 singular sites benefit from collecting all of their
content in one root domain location.Splitting similar
or relevant content from your organization onto
 multiple domains can be likened to a store taking
American Express Gold cards and rejecting American Express
Corporate or American Express Blue—it is overly segmented
 and dangerous for the consumer mindset.



If you can serve web content from a singular domain,
 that domain will earn branding among the minds of
your visitors, references from them, links from other
 sites, and bookmarks from your regular customers.
 Switching to a new domain forces you to rebrand
 and to earn all of these positive metrics all over again.

Microsites
There is a lot of debate about microsites, and although
 we generally recommend that you do not saddle yourself
 with the hassle of dealing with multiple sites and their
 SEO risks and disadvantages, it is important to
understand the arguments, if only a few, in favor of doing so

Online Marketing PPC terms

Online Marketing Top PPC terms

PPC Online Marketing terms

CPC:Cost per click. The actual dollar value you
pay. Some people reserve CPC for banners that
charge by the click and PPC for sponsored ads
on search engines.

CPM:Cost per thousand impressions. Allows
you to compare costs from one ad venue, or
type, to another. If an ad costs $500 for 10,000
impressions, your CPM is $500 divided by 10, or
$50. Because most PPC sites also provide the
number of impressions, you can compute CPM
for your PPC campaign.

CTR:Click-through rate. The number of clicks
divided by the number of impressions. Expect
costs for a click-through to be higher than costs
for an impression.

Conversion rate:The number of actions taken
or purchases made divided by the number of
clicks received.

Landing page:The destination page on your site
that viewers see when they click your ad.



Paid inclusion:Payment to be listed in a search
engine or directory, often for faster review or
guaranteed listing. Generally, the search engine
or directory charges a flat annual fee or monthly
charge per URL, although Yahoo! Express uses
a combination of flat fee plus PPC.

PPC:Pay per click payment method.

PPA:Pay per action. Payment is made only
when a prospect takes a prespecified action
(such as makes a phone call, signs up for
newsletter, completes a purchase). Acts almost
like a commission. Expect to pay more per
transaction unit for PPA than for PPC. That’s
reasonable, because your prospect has prequalified
by taking an additional action towardpurchase.

ROI:Return on investment. For PPC, refers to the
profit made divided by the cost of the PPC campaign.
 It might be more useful to compute ROI
over a whole program than for an individual
product. Sometimes, you deliberately lose
money or break even on one product called a
loss leader to draw customers into a store, only
to make more on sales

Top PHP Online Resources

Top PHP Online Resources

5 Top excellent PHP online resource

 http://www.php.net/
This is perhaps the most useful of the sites listed
 in this appendix, simply because this is the site
that contains up-to-date versions of not only the
 official documentation, but also the latest releases
 of PHP, including the PHP source and PHP binaries.
 If that is not enough, this site also contains an up-to-date
 listing of the major sites that use PHP, and a listing of al
l the books written on PHP. Not only does this site contain
 a plethora of resources, it also contains links to the other
 PHP sites, the latest news about all things PHP



http://www.zend.com
The Zend engine is the engine that powers PHP.
The Zend Web site is the site of the company that
 puts out the Zend engine, as well as many other
tools. For example, at this site you can also
download the Zend Optimizer, which gives your
PHP scripts a 40-100% increase in speed on average.

http://www.phpbuilder.com
The documentation on PHP is an awesome reference,
but some of the more abstract concepts of PHP can't
 be covered by a simple function reference; they need
to be explained by experts who have been there and
done that. PHPBuilder offers an impressive set of tutorials

http://www.phpwizard.net
This site contains an excellent repository of daily tips
 and tricks. In addition to the daily tips, this Web site
contains high-quality programs such as an online quiz
system and an online chat program.
ranging in level from beginner to advanced. 


http://www.devshed.com
DevShed is an excellent resource for all things open
source including Perl, Python, Jserv, Zope, and, of
course, PHP. It contains a nice repository of introductory
 PHP tutorials and an active message board. It also
has the latest PHP news posted on its site. Although
DevShed's PHP section is not as comprehensive as
 Zend's or PHPBuilder's, beginning and intermediate
 PHP programmers are sure to find something they like.













PHPINFO-Displaying information about the PHP environment

PHPINFO-Displaying information

PHPINFO-about the PHP environment


Functions that are built into PHP can be called from
any PHP script. When you call functions, you are
executing the code inside them, except the code
 is reusable and more maintainable.
Phpinfo- It returns configuration and technical information
 about your PHP installation. The function helps you
 diagnose common problems and issues.
You may find that this is one of the most helpful
places to look when checking to see whether
 you meet the requirements of a PHP script.



To call a function, write the name of the function
 followed by an opening parenthesis , the parameters, and then
a closing parenthesis , followed by a semicolon ;
. It would look like this: function_name(parameters);.
 Function names aren't case sensitive, so calling phpinfo
 is the same as calling PhpInfo.


How to Sending Data to a Database php

How to Sending Data to a Database php

Save Data to a Database by php


The process of adding information to a table is similar
 to creating the table itself in terms of which functions
 you use, but the SQL query will be different.

$Query = "INSERT into $TableName values
 ('value1', 'value2', 'value3', etc.)";
mysql_db_query ("DatabaseName", $Query,
 $Link);


The query begins with INSERT into $TableName values. Then, within the parentheses, the value for each column should be put within single quotation marks with each value separated by a comma. There must be exactly as many values listed as there are columns in the table or else the query will not work! Then the query is submitted to the MySQL using mysql_db_query().



To demonstrate this, you'll use an HTML form that takes the user's first name, last name, E-mail address, and comments. The PHP script that handles this form will put the submitted information into the database.

To enter data into a database from an HTML form:

Create a new HTML document in your text editor that will create the HTML form.

Code the standard HTML header

<HTML><HEAD><TITLE>HTMLForm
 </TITLE><BODY>

Create a form.

<FORM ACTION="HandleForm.php"
 METHOD=POST>

Code for four text inputs.

First Name <INPUT TYPE=TEXT
 NAME="Array[FirstName]"
 SIZE=20><BR>
 Last Name <INPUT TYPE=TEXT
 NAME="Array[LastName]" SIZE=40><BR>
 E-mail Address <INPUT TYPE=TEXT
 NAME="Array[Email]" SIZE=60><BR>
 Comments <TEXTAREA
 NAME="Array[Comments]" ROWS=5
 COLS=40></TEXTAREA><BR>

You can make your form more attractive than this one but be sure to make note of your input variable names, which you'll need in the HandleForm.php page.

Add the submit button, close the form, and close the HTML page.

<INPUT TYPE=SUBMIT NAME="SUBMIT"
 VALUE="Submit!"
</FORM>
</BODY>
</HTML>

Save the page as form.html and upload it to the server.

Now you will write the HandleForm.php page, which takes the data generated by the form and puts it into the database.

Create a new PHP document in your text editor.







PHP method of securely Tips

PHP method of securely website

PHP Web security tips

Passwords used within your PHP application
 should always be encrypted. If the server you
are using does not support mcrypt(), use crypt() to
encrypt the password entered during the login,
then check this against the stored encrypted password.

Cryptography is just a part of a secure solution as it can
 only be used once data has been received by the server.


 You may also need to take advantage of SSL connections
 in your Web sites. SSL, which stands for Secure Sockets Layer,
 is a method of securely transmitting information between a
 client the Web browser and the server. Utilization of SSL
connections indicated by the https://prefix in a URL is a
must for e-commerce applications. You can also specify
that cookies are sent over a SSL connection by setting the
 proper parameters when using the setcookie() function.
Check with your ISP or server administrator to see if SSL
 connections are supported on the machine you are using.

Security Resources.




There are literally dozens upon dozens of Web sites you can
 visit to keep yourself informed of pertinent security issues. The most prominent four, in my opinion, are:

Computer Response Emergency Team (http://www.cert.org)

Security Focus (http://www.security-focus.com)

Packet Storm (http://packetstorm.securify.com)

World Wide Web Consortium (http://http://www.w3.org/Security/Faq/www-security-faq.html)

There are also any number of books available ranging from those that generically discuss security to those that will assist in establish secure Windows NT or Linux Web servers.

With respect to PHP, do not forget to read the PHP manual's
section on security. Also review the security section of the
documentation for the database you are using on the server.
 Some, such as MySQL's manual, includes tips specifically
 with respect to using PHP and MySQL.









Govt. of India ITI LIMITED Job Post


Govt Job At ITI LIMITED

ITI LIMITED Job Post

ITI Limited is looking for  Professionals to be hired
 on Tenure basis for a period of Five Years :

    Mathematician
    Computer Science Engineers
    Electronics and Communications Engineers

How to Apply : Application in the prescribed format
 should be send on or before 30/04/2015 to
Chief Manager - HR (B), Network Systems Unit,
ITI Limited, ITI Bhavan, Doorvaninagar, Bangalore - 560016





View Details: http://www.itiltd-india.com/upload/careers.html

Govt job at HINDUSTAN COPPER LIMITED

Govt job at HINDUSTAN COPPER LIMITED

job at HINDUSTAN COPPER LIMITED

Hindustan Copper Limited HCL invites online applications from
 qualified and experienced Indian Nationals  for the following  posts:

    Mining : 05 posts
    Geology : 02 posts
    Metallurgy : 01 post
    Civil : 03 posts
    Research & Development : 03 posts
    Mechanical : 10 posts
    Electrical : 10 posts
    Systems : 04 posts
    Finance : 11 posts
    Human Resources : 09 posts
    Law : 01 post
    Medical & Health Services : 07 posts
    Materials and Contract : 03 posts
    Marketing : 04 posts
    Company Secretary : 01 post
    Corporate Social Responsibility : 02 posts

Application Fee :  Rs.750/- Rs.375/- for fee from SC/ST/PWD/ Female candidates
 in the form of DD in favour of Hindustan Copper Limited payable at Kolkata.   

How to Apply : Apply Online at Hindustan Copper website from 20/04/2015 to 19/05/2015 only.






View Details: http://www.hindustancopper.com/career.asp

Government Jobs Recruitment At Hindustan Aeronautics Limited

 

Government Jobs Hindustan Aeronautics Limited

Government Jobs Recruitment At Hindustan Aeronautics Limited

HAL  invites applications from following posts :

    Assistant Officer (Fire) : 02 posts
    Medical Officer (General Duty) Gr. II : 01 post
    Deputy Manager (Safety) : 02 posts
    Senior Medical Officer (Surgeon) : 01 post
    Senior Medical Officer (Medicine) : 02 posts

How to Apply : Application in the prescribed format
 should be send on or before 15/05/2015 to Dy.
Director General (Human Resources), Post Box no. 23,
 Ojhar Township Post Office, Niphad (Tal),  Nashik - 422207.



View Details:http://www.hal-india.com/CAREERS/M__206 

PHP File Upload Script


PHP File Uploading Code

Take a moment to commit the following list to memory—
it contains the variables that are automatically placed in the
 $_FILES superglobal after a successful file upload.
 The base of img1 comes from the name of the input
 field in the original form.

$_FILES[$img1] [tmp_name]. The value refers to the temporary file on the Web server.

$_FILES[img1] [name]. The value is the actual name of the file that was uploaded. For example, if the name of the file was me.jpg, the value of $_FILES[img1] [name] is me.jpg.

$_FILES [img1] [size]. The size of the uploaded file in bytes

$_FILES [img1] [type]. The mime type of the uploaded file, such as image/jpg

uploaded file by PHP code




The goal of this script is to take the uploaded file and copy it to the document root of the Web server and return a confirmation to the user containing values for all the variables in the preceding list.

Open a new file in your text editor and start a PHP block:

<?

Create an if…else statement that checks for a value in $_FILES[img1].

if ($_FILES[img1] != "") {

If $_FILES [img1] is not empty, execute the copy function. Use @ before the function name to suppress warnings, and use the die() function to cause the script to end and a message to display if the copy() function fails.

@copy($_FILES[img1][tmp_name], "/usr/local/bin/apache_1.3.26/
htdocs/".$_FILES[img1][name]) or die("Couldn't copy the file.");




 Note  If the document root of your Web server is not /usr/local/bin/apache_1.3.26/htdocs/ as shown in step 3, change the path to match your own system. For example, a Windows user might use /Apache/htdocs/.


Continue the else statement to handle the lack of a file for upload:

} else {
   die("No input file specified");

Close the if…else statement, then close your PHP block:

}
?>

Add this HTML:

<HTML>
<HEAD>
<TITLE>Successful File Upload</TITLE>
</HEAD>
<BODY>
<H1>Success!</H1>


Mingle HTML and PHP, printing a line that displays values for the various elements of the uploaded file (name, size, type):

<P>You sent: <? echo $_FILES[img1][name]; ?>, a <? echo
$_FILES[img1][size]; ?> byte file with a mime type of <? echo
$_FILES[img1][type]; ?>.</P>

Add some more HTML so that the document is valid:

</BODY>
</HTML>

Save the file with the name do_upload.php.