Php Networking Functions

There are many functions in php to convert or look up domain name, IP address,
protocol, and service information.

Domain name/IP address lookups and conversions

  • gethostbynamel()
  • gethostbyname()
  • gethostbyaddr()
  • ip2long()
  • long2ip()
 Sockets


  • fsockopen()
  • pfsockopen()
  • socket_get_status()
  • socket_set_blocking()
  • socket_set_timeout()

    DNS resource records

    • checkdnsrr()
    • getmxrr()
     

php-Error Control Operators

PHP gives one error control operator: the at sign (@).Any error messages that might be generated by that expression will be ignored.
If you have set a custom error handler function with set_error_handler() then it will still get called, but this custom error handler can call error_reporting() which will return 0 when the call that triggered the error was preceded by an @. 

<?php/* Intentional file error */$test_file = @file ('no_existent_file') or
    die (
"Failed opening file: error was '$php_errormsg'");
// this works for any expression, not just functions:$val22 = @$cache[$key];// will not issue a notice if the index $key doesn't exist.
?> 
 
or  
add  error_reporting()  in the script

how to creating a Web Site

To create your own Web site, you need access to a Web server. Red Hat automatically installs the Apache Web server on its Linux systems. You can also rent Web page space on a remote server—a service many ISPs provide, some for free. On Red Hat systems, the directory set up by your Apache Web server for your Web site pages is /var/httpd/html. Other servers provide you with a directory for your home page. Place the Web pages you create in that directory. You place your home page here. You can make other subdirectories with their own Web pages to which these can link. Web pages are not difficult to create. Links from one page to another move users through your Web site. You can even create links to Web pages or resources on other sites. Many excellent texts are available on Web page creation and management.

Web pages are created using either HTML intro, the Hypertext Markup Language, or the newer extended version, XML, the Extended Markup Language. They are a subset of Standard Generalized Markup Language (SGML). Creating an HTML or XML document is a matter of inserting HTML or XML tags in a text file. In this respect, creating a Web page is as simple as using a tag-based word processor. You use the HTML tags to format text for display as a Web page. XML tags can include more detailed information about a particular connection such as object data or transaction characteristics. The Web page itself is a text file you can create using any text editor. If you are familiar with tag-based word processing on Unix systems, you will find it conceptually similar to nroff. Some HTML tags indicate headings, lists, and paragraphs, as well as links to reference Web resources.

Instead of manually entering HTML or XML code, you can use Web page composers. A Web page composer provides a graphical interface for constructing Web pages. Special Web page creation programs can easily help you create complex Web pages without ever having to type any HTML tags explicitly. Remember, though, no matter what tool you use to create your Web page, the Web page itself will be an HTML document.

top search-engines list

Google search
 930,000,000 -  Unique Monthly Visitors


 ask
 125,000,000 -  Unique Monthly Visitors

Aol Search
36,000,000 -  Unique Monthly Visitors


bing
 164,000,000 -  Unique Monthly Visitors

 Yahoo! Search
 166,000,000 -  Unique Monthly Visitors |


 MyWebSearch
14,000,000 -  Unique Monthly Visitors



Dogpile
 2,500,000 - Unique Monthly Visitors 


 WebCrawler
 2,600,000 -  Unique Monthly Visitors



 blekko
 9,500,000 -Unique Monthly Visitors

Lycos
4,800,000 - Unique Monthly Visitors |

 

 Info
2,900,000 - Unique Monthly Visitors




 GoodSearch
1,800,000 -  Unique Monthly Visitors


Infospace
 2,700,000 -  Unique Monthly Visitors



 Excite
 1,90,000 -  Unique Monthly Visitors

Static URLs and Dynamic URLs

The search engines treat static URLs differently than dynamic  URLs.


Static URLs 
Static URLs means  not add a query string.
By this definition, a URL referencing a PHP script without
parameters is still static.
 examples of static URLs :
http://example.com/index.html
http://www.example.com/site-map.php

Dynamic URLs
Dynamic URLs are  that add a query string, add  by ?.
 This string is used to pass various parameters to a script.

http://example.com/product.php?item_id=4&pic_id=2

Static URLs can be converted to DynamicURLs with the .htaccess

Cracker Seo Tips

b tags
Add the <b>  tags of few of  keyword  phrases  on each page.
Search engines see content in <b> tag of the  pages that instances of a
term or phrase on rankings.


Heading tag
One of the great Weapons the engines use in rankings is Heading tag.
Add H1 tag  on every page.

Title tags
Add keywords in titles, text, and meta data
As title tags are such an important tip of search engine
optimization.It will be for high ranking.


Social Media connections
Add all Social networking sites it help  your web site optimization
and increase your website linkability .tell your audience  about the site info.


Link building
Link building of the website is  very important that links coming in to as many sites.
if you do link outside then make sure there is few logical reason for redirect  visitors in that site.


Newsletters
You can connect with  customers and grow the businesses by sending newsletters with many news,info
picture.It will help you get  traffic to  your website.

Alt tag
The search engine spiders  find what your  image is about is by adding an Alt tag.
Alt tag is a string  that place texts to allow the search engine spiders to properly
index your page images.



Image name
 give a descriptive image name for your image of the website.IT will also help for
your search engine rankings.


SEO-friendly URL
 Add the main keyword in your URL,
for example http://example.com/seo-optimization-tips.
IT is uickly rankings those pages.


Google Analytics
Setup Google Analytics To find out how many visitors your site gets,
and what pages they visit,exactly what keywords your visitors searched for.


Also  See  Advanced SEO tips 2013

Yahoo-Search Marketing

Yahoo are the dashboard tab, a campaigns tab, a reports tab, and an administration tab. In addition,
there are links on the pages that will take you to additional features and capabilities.

http://advertisingcentral.yahoo.com/searchmarketing/en_SG/index
                          AND
http://smallbusiness.yahoo.com/marketing/


Yahoo Search Marketing is a PPC program that’s similar to AdWords, but there’s one big difference. Yahoo is a very commercial search engine, which means that many of the search results are
paid placement ads or are web sites that have been added by the web-site owner. Editors usually
review and approve submitted listings before they are shown in search results.

Yahoo is also a portal that contains many different services, such as instant messaging, e-mail, maps,
and much more Google is structured in a similar manner. Being a portal means that Yahoo has
many loyal users who are likely to see your ads once you begin a PPC campaign with Yahoo Search
Marketing.
When you sign up with Yahoo! Search Marketing, you have two options for the type of account you’d
like to have. These options are different from Google, because you can have a free PPC plan that you
use, create, and maintain on your own, or you can choose to have a Yahoo! specialist help you create
your campaign.

Yahoo’s summary report

 Ad Performance
Daily Performance
Keyword Performance
Performance by Geographical Location
Daily Spend Performance
URL Performance
Monthly Financial Reports
Billing Transaction Detail

IT is  need to maintain your SEO efforts, including PPC advertising.

Alternatives way to PayPal


Google Checkout     http://checkout.google.com/
Money Bookers        http://www.moneybookers.com/
 Paymate                   http://www.paymate.com
Digital River               http://www.digitalriver.com
Kagi                           http://www.kagi.com/



Other  Alternatives are:


 

 

Web analytics provider- Reach Customers

Google Analytics          www.google.com/analytics               Free
Yahoo! WebAnalytics      www.web.analytics.yahoo.com     Free
Woopra                            www.woopra.com                      Free and paid  plans
CrazyEgg                           http://crazyegg.com                    Prices start at$9/month
Enquisite                          www.enquisite.com                     $49.95/month forthe Pro package


Yahoo! Web Analytics: The Yahoo! folks are no slouches when it comes
to the free analytic tools they offer. Like GA, Yahoo! Web Analytics can
give you valuable insights in to the demographics and the interest level
of your Web site visitors. It also gives you powerful and flexible dashboards
(a jargon-y way of saying control panels), market segmentation
tools, and campaign management features. And, like GA, it’s very easy to
implement.

 Woopra: Yes, it does kind of sound like a certain daytime talk show
host, but actually, it’s a great alternative to GA. Of course, it hasn’t yet
captured the sort of market share that GA enjoys, but that’s because
it’s a relative newcomer to the field. Woopra is particularly useful for
less-trafficked Web sites and blogs because in addition to offering all the
standard metrics that GA does, it also has two really nifty features


CrazyEgg: GA offers an overlay tool, and CrazyEgg offers a more
advanced version of the same thing. An overlay tool gives you the ability
to literally see where people are clicking on a Web page


Checking your referring keyword data lets
you infer the intent of your site visitors, understand how they typically
search for the kind of products or services you offer.

phone services-Marketing Services

A conversation remains the best way to build
rapport with customers. They not only get information, but they also get a
sense of your winning personality and what you’d be like to work with. You
get a sharper sense of what your customers are interested in and what their
common questions and concerns are.

Most  phone services offer other features as well. Probably the most
popular of these are call logs that give you a complete record of who called,
who they asked for, the number they used, the date and time the call was
made, the call’s duration and even, in some cases, what the result of the
transaction was.

Anyone called for a free quote but didn’t leave a message, you have her
number, and you can call her right back.