PHP's variable-related functions


PHP's variable-related functions are a key part of the language. Skilled programmers rely on them extensively to build robust code that uses type-checking. Functions like var_dump() and print_r() are also invaluable when debugging.
Here is a quick, task-based overview of the function group:
  • Cast a value from one type to another: doubleval(), intval(), strval()
  • Set the type of a variable: settype()
  • Determine the type of a variable: is_array(), is_bool(), is_double(), is_float(), is_int(), is_integer(), is_long(), is_null(), is_numeric(), is_object(), is_real(), is_resource(), is_scalar(), is_string(), get_resource_type(), gettype()
  • Destroy variables: unset()
  • Gather information about variables: empty(), get_defined_vars(), isset(), print_r(), var_dump()
  • Serialize and unserialize variables: serialize(), unserialize()


    Print the entire $GLOBALS array using PHP's functions for processing associative arrays:

    <?php
    reset($GLOBALS);
    while (list($key, $var) = each($GLOBALS)) {
        print "$key => $var\ n<br>\ n";
    }
    ?>
    

    The example uses PHP's list functions and each  functions to iteratively process the $GLOBALS array. It then prints the keys (names of the variables stored in the $GLOBALS array) and their corresponding values.

     PHP debugging
    var_dump functions displays information about variables in a simple, readable format. This function is very useful when debugging—providing a simple and easy way to display the current contents of one or more variables.
    For simple scalar variables such as booleans, integers, strings, and doubles, the type of the variable is printed, followed by an opening bracket, the value contained in the variable, and a closing bracket.
PHP Functions
Php tutorial - imagemagick
php.ini Basics
PHP Sessions
Cookies Versus Sessions
PHP Web-Related Variables
PHP ERRORS
maximum size of a file uploaded
Php Image upload
php file_get_contents
MySQL Data on the Web
What are GET and POST
php and pdf
$_ENV and $_SERVER
PEAR with php
SELECTING DATA PHP
prevent hijacking with PHP
LAMP
PHP MySQL Functions
PHP Zip File Functions
Substrings PHP
PHP Variable names
PHP magic methods
How to get current session id
Add variables into a session
$_GET , $_POST,$_COOKIE
different tables present in mysql
PHP CURL
php Sessions page
PHP-sorting an array
PHP-count the elements of array
Operators for If/Else Statements
PHP file uploading code
PHP global variables
Testing working using phpinfo
PHP Code for a Valid Number
PHP-Associative Arrays
PHP mvc tutorial
PHP get_meta_tags-Extracts
difference between print and echo
PHP best tutorial-PHP variables
Reading DOC file in PHP
PHP interview questions
convert time PHP
PHP implode array elements
header function-PHP
PHP-Renaming Files Directories
PHP Classes
in_array function in PHP
keep your session secure PHP
Web Application with PHP
What is SQL Injection
PHP-extract part of a string
PHP urlencode
PHP- know browser properties
PHP- Extracting Substrings
Checking Variable Values /Types
PHP-best 20 Open Source cms
IP AddressPHP
PHP-Scope Resolution Operator
how create new instance of object
how eliminate an object
PHP- ob_start
XML file using the DOM API
PHP- MVC
PHP- CAPTCHA
PHP- Position of a Value in an Array
PHP-Mail Functions
PHP-difference include vs require
calculate the sum of values in an array
PHP-total number of rows
Show unique records mysql
MySQL Triggers
MySQL data directory
MySQL Subqueries
PHP- Networking Functions
PHP- Operators
Restore database
Conditional Functions mysql
PHP-function overloading
Friend function
mysql_connect /mysql_pconnect
PHP-Error Control Operators
what is IMAP
Apache-Specific Functions
Send Email from a PHP Script
SQL inherently
WAMP, MAMP, LAMP
Php tutorial-SYMBOLS
Table Types-MySQL
PHP-Encryption data management
PHP Array
Running MySQL on Windows
Maximum Performance MySQL
XML-RPC
PHP-static variables
Advanced Database Techniques
FTP
Codeigniter
Apache Pool Size
Why NoSQL
MySQL Server Performance
Database software
SQL Interview Answers
PHP Redirect
PHP Interview Questions with Answers
Advanced PHP

Multi material 3d printers

3d systems offers high speed multi-material printer 3d  the new projet
 5500x by 3d systems was created for serious designers working in grand
scales with multiple materials in mind according to 3d systems, the new
printer. Multi-material 3d printing technology popular 3d printers what
appears to be a first in 3d printer technology for rapid prototyping is
 the ability to fabricate parts and assemblies made of multiple materials-such
 as hard and. Connex 500 multi-material 3d printer multi-material
composite materials 3d printer large, high-quality multi-material parts
 in a single build 3d systems projet 5500x delivers the highest quality.


Stratasys 3d printing technology creates lifelike multi multi-material 3d printer
 what appears to be a first in 3d printer technology for rapid prototyping building
 a part one layer at a time using a method of. 3d printer tx com multi color 3d
printers, costs rendering models using a variety of materials allows a finished
object to be viewed and analyzed before committing to cutting wood or printing
 plastic.

Nargis Fakhri-gr8 dasi actress



Nargis Fakhri is now gr8 Bollywood actress.

She is an American model and actress.

Set Google Reader Offline-new data

Google Gears is a Google-powered open source project aiming to allow  web site publishers to make a part of their application available offline.

 Not too many web sites have this feature enabled yet, but those that do allow you to use some parts of their application even when you're not connected to the Internet. Google Reader is one of the applications that is partially Gears-enabled.

To give this feature a try, log in to Google Reader at http://reader.google.com.
 You need to have the Firefox 1.5+ browser to get this to work, or, on Windows XP/ Vista,
 you can use Internet Explorer 6+ as well. In Reader, click the Offline link on top.
You will be taken through a Google Gears installation.


You will notice a new green arrow in the top navigation bar. This means that
you're in online mode—click the arrow to go into offline mode. The first time
you switch into offline mode, up to 2,000 articles from your subscribed Google
Reader feeds will be downloaded for you. After the download is done, you can
 disconnect from the Internet and still read some of your feeds.

Note that because Google Gears is a browser extension and not just a feature
of the web site, you need to install Gears on every computer on which you
want to use these offline capabilities.

Sends a message via mail function in PHP

mail function allows you to send email directly from a PHP script. recipient can be
 either a single email address or a comma-delimited list of addresses.
 If you want to set extra headers—for instance, in order to use Cc: or
 Bcc:—these may be placed in a newline-delimited string in the extra_headers
 parameter. As of PHP  you can also specify extra arguments to the
 system mail program in the extra_arguments parameter.

<?php

$to = "example@gmail.com";
$subject = "example test";
$body = "test message test message  test message test message.";
$headers = "From:Deba\r\n";
$headers .= "Reply-To: example@testsite.com\r\n";
$headers .= "Return-Path: example@testsite.com\r\n";
$headers .= "X-Mailer: PHP5\n";
$headers .= 'MIME-Version: 1.0' . "\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
mail($to,$subject,$body,$headers);
?>


TRUE is returned if the function completes successfully;
 otherwise, FALSE is returned. However, this gives no indication as to
 whether the email ever reached its destination. This function fails
if any of recipient , subject , or message is left out, or if the
system's mail program fails for some reason.

Domain squatting-Host a subdomain


Most web users would arguethat purchasing a domain name in the hopes that one day somebody
might want to use that domain name and then buy it from them for a
large amount of money is a little unethical. On the other hand, there
are times when you might come up with a brilliant idea for a site, or
what you think is a brilliant name, but you don’t have time to use it
immediately; still, you want to register it before someone else comes
up with the same brilliant idea.

 If you have a network-available backup system, putting in a dedicated network for hosts that will use it can be a big win. Some systems may eventually need to go to Gigabit Ethernet or trunked Ethernet. Backup systems, high-throughput NFS servers, and databases are common applications that end up being network bound on 100Mb Ethernet networks. Some Web systems, such as static image servers running high-speed Web servers such as Tux or thttpd can be network bound on Ethernet networks.


 Whatever your reason for purchasing
extra domain names, when you purchase them, redirecting them either
to your main website or another site of your choice is generally a better
idea than leaving them doing nothing.

Services by Full Descriptive Names
Another good design principal that is particularly essential for safe code cohabitation is to reference services by full descriptive names. I often see application designs that reference a database called dbhost and then rely on dbhost to be specified in the /etc/hosts file on the machine. As long as there is only a single database host, this method won't cause any problems.

So web users who type in the
domain name are automatically redirected to your primary domain. If
you want the domain name to redirect somewhere other than the root of
your primary domain, then click Manage Redirection.

You may be wondering now if I’m suggesting that you should spend all your
hard-earned cash on every domain name that you can think of. Don’t worry;
that’s not exactly what I’m suggesting. It is good to think about your visitors
and try and put yourself in their shoes for a moment and consider whether
purchasing additional domain names would be useful to both them and you.
You don’t need to bankrupt yourself on just-in-case domain names, though.
Exactly how you redirect the domain name differs depending on the facilities
your domain name registrar gives you. If the registrar does not give you the
right facilities, it then depends which control panel is used for your hosting.
As an example, I show you how to redirect domain names using cPanel and,
regardless of which system you use, the basic concept is the same.

Host a subdomain on a separate server


reasons for using subdomains and sometimes a subdomain in itself may
take up so much server resources that it needs to be on its own server.
For example, if you have a support site at support.yourdomain.com,
that site might provide downloads and other forms of resource-intensive
assistance. You can use the DNS to point users to your primary server
for your main website and then to a secondary server for your support
site even though they have the same domain name .


some performance issues and creates a number of hurdles that developers must overcome to write compatible code. In practice, it is most useful in hosted serving environments to ensure that users do not violate each other's privacy and security. 
Top 50 free web hosting site

Internet Protocol Security



Several projects currently provide development and implementation of IPsec tools. The original IPsec tools are provided by the KAME project, www.kame.net. Current versions can be obtained from souceforge.net/projects/ipsectools. RPM packages can be obtained from rpmfind.net. Other IPsec tool projects include the Free Secure/Wide Area Network project (FreeS/WAN) at www.freeeswan.org, which provides a Linux implementation of IPsec tools, and VPN Consortium (VPNC) at www.vpnc.org, which supports Windows and Macintosh versions. FreeS/WAN provides both Red Hat RPM packages and source code for their tools.


IPsec is made up of several protocols that provide authentication (AH), encryption (ESP), and the secure exchange of encryption keys (IKE). The Authentication Header protocol (AH) confirms that the packet was sent by the sender, and not by someone else. IPsec also includes an integrity check to detect any tampering in transit. Packets are encrypted using the Encapsulating Security Payload (ESP). Encryption and decryption are performed using secret keys shared by the sender and the receiver. These keys are themselves transmitted using the Internet Key Exchange protocol, which provides a secure exchange. ESP encryption can degrade certain compression transmission methods like PPP for dialup Internet connections. To accommodate these compression methods, IPsec provides the IP Payload Compression Protocol (IPComp), with which packets can be compressed before being sent.
The AH, ESP, and IPComp protocols are incorporated into the Linux kernel. The IKE protocol is implemented as a separate daemon. It simply provides a way to share secret keys, and can be replaced by other sharing methods.


Alia Bhatt-the Prince

Alia Bhatt-the Prince







tips Harm Prevention pc


Harm Prevention pc

You may use any of these methods to remove
unwanted programs:
•  Use Windows’ add/remove programs .
•  Use the PC Decrapifier .
•  Use Revo Uninstaller best.
Using only one of these methods is sufficient.
Use Windows’ Add/Remove Programs
The easiest way to remove programs is to use Windows’
Add/Remove programs. While this method is the easiest, it is
not the best because programs, even after removal, leave junk
on your hard drive. I recommend Revo Uninstaller if you want
to completely remove a program. To remove a program:
1.  Click Start > Run or use Winkey+R.
2.  Type appwiz.cpl and press Enter.
3.  Click the program you want to remove.
4.  Click Uninstall and follow the on-screen prompts.
Use the PC Decrapifier
If you have a newer PC, there may be a lot of trial software,
coined “bloatware”. The PC Decrapifier is designed to remove a
specific list of unwanted software in an unattended fashion.
The PC does not need to be new; however, the older the PC is,
the less likely it will have any of the software it can detect.


Simply download PC Decrapifier, and run the EXE. There is no
installation necessary. Your anti-virus software may complain
about this program; however, these warnings can be safely
ignored.
When it runs, you will be presented with a wizard-style dialog
box that steps you through the entire process. You will be able
to pick and choose what programs you want to remove. The
program will not remove anything, without prompting you first.
Click the Next button and it will begin cleaning your PC. If it
does not find anything, a pop-up box will notify you of this and
the program will exit and not modify your PC.
Use Revo Uninstaller
The final, and most thorough method, of software removal is to
use Revo Uninstaller. Revo Uninstaller is primarily designed to
ensure programs are properly removed from your computer.
Revo is freeware and is available to all those who want to
ensure their computer is clean and working at its best.
Download Revo Uninstaller.
Installing Revo is a simple as any other program. Once you’ve
installed and started Revo, you are presented with a list of
currently installed programs: