Archive

Archive for the ‘php’ Category

Is PHP the best language for web programming?

March 30th, 2010

With the many web programming languages available, it should come as no surprise that there’s a lively discussion about which is the best. Of course, there is no easy answer to that question, but programming in php can be an excellent skill if you plan on working with a database like MySQL. Working with such a dynamic language like php scripting can enable you to create interesting and professional php web applications even if you’re using free web hosting or cheap web hosting, as almost every web host will include PHP hosting. These php web applications can interface with the database to enable users to do anything from entering their information to playing games, if your ability for programming in php is advanced enough.

Some people may worry that if they have free web hosting from free webspace hosts, or even if they have cheap web hosting, that they will not be able to use php scripting. This worry is unfounded, because hosts realise that php web applications are such powerful tools that they will make sure to include it. PHP is entirely free and open source, as well, so they won’t have to charge extra for people to use it like they might with proprietary languages. It’s fairly easy to learn php scripting and the use of object oriented php if you’ve used other languages in the past, as it shares many of the same ideas and patterns.

Even better, since it’s an open source movement, there are plenty of php IDE toolkits you can use to further implement this powerful language. Eclipse, Netbeans, or Zend are all examples of a php IDE that further enhance the abilities of object oriented php.

Here are just a few of the things you can accomplish easily with php scripting:
* Make a php web application that connects to a MySQL database so users can input data and collate it from one central location.
* Allow users to send e-mails with a web-based form and protect yourself from spam.
* Allow users to upload files in a secure environment.
* Keep track of downloads for your files.

We offer a unique variety of Internet marketing opportunities that can help your business establish a strong online presence. Our web marketing campaigns are built on time-tested and proven techniques that deliver real results. We will strategically market your business toward specific audiences, with content and media created to deliver appropriate messages to niches and specialized interest groups.

php , ,

What Web Sites are using PHP?

March 30th, 2010

There are countless web sites that are using PHP nowadays. Why? PHP hosting allows for a website to take advantage of the advanced features and functionality that PHP can provide. This can be anything from the increased security of your website code using PHP to the advanced level of interactivity that can be achieved through PHP hosting.

Combine PHP scripting with MySQL and your website can be capable of securely storing and retrieving information from the MySQL database. This can be used for anything from user login information being stored to retrieving messages from one user to another.

What’s really great is that there are plenty of cheap PHP hosts out there, allowing you to find the cheap web hosting you are looking for, while still ensuring that your website will benefit from the advantages that PHP scripting can provide.

Programming in PHP allows your website to become dynamic, allowing a single page to handle the work that might have required countless pages beforehand and even to handle things that would have been impossible without PHP scripting.

There are countless websites out there which are using PHP to provide you with the functionality and interactivity that you have become used to from websites. Since PHP is free software, this enables users to start programming in PHP immediately, allowing them to easily and effectively learn how to create amazing websites. PHP web application building is also a great use of PHP, since PHP scripting allows for a programmer to program interactions and calculations: everything you need to make an effective web application.

If you are thinking about creating your own website, then check into the cheap web hosting that is available. Many of the cheap and free webspace hosts provide you with the ability to use PHP on your website. Remember, without PHP scripting, your website will often be unable to interact effectively with the users!

In short,PHP hosting is a way to run very powerful server-side language that enables developers to deploy feature rich, dynamic sites to virtually any platform capable of browsing the web.

php ,

Get your free scripts today!

March 30th, 2010

Whether you are looking for a PHP script, DHTML tutorials or you are more attracted to website design, it’s practically impossible not to find something that strike’s your interest. Plus, who doesn’t love some free scripts?

Wanting to satisfy the preferences of all the people visiting their website, the specialists offering web scripts have included Ajax, C++, graphic design and Photoshop among their resources. You can trust similar resources to discover an ASP script, a PERL tutorial and even an Ajax tutorial. The information is presented in clear and comprehensive terms, making it quite easy for everyone to understand.

Let’s say you are interested in learning how to send an email from a PHP script. Well, all you have to do is go online and check out the PHP tutorial presented especially for those interested. You can simplify the search process by finding the category in which the PHP tutorial is found meaning PHP e-mail systems. For all those of you there interested in sending an email using PHP programming, this tutorial is more than perfect. You will be instructed which functions to use – mail() – and given arguments on the subject.

Do you want to add a chess game to your website? Are you interested in free scripts Java? All of these things can be found on specialized websites. Java web scripts can be used for numerous reasons, including the ones that were mentioned above. They are often preferred by those who want to install different games on their websites, making them both fun and entertaining. Other free scripts can be found for creating email links, create meta data using special generators and encrypting the source code of one’s webpage. All of these things require a great deal of knowledge and this is the reason why there are not a lot of people searching the web for free scripts.

You can use the free scripts to create buttons for your website, to generate a combo box or even to color the scrollbar of your website. The list of opportunities is endless, especially since there are so many web scripts to be found over the Internet. There are status bar messages for links that can be created with JavaScript, digital clocks and timer-controlled pop-up windows.

Create an account on one of these websites and make sure that the best programming scripts are made available to you. Check out the DHTML tutorials but also the free scripts, not to mention all the advice present on the website. Don’t hesitate to submit your own web scripts and impress everyone with your knowledge in programming language. In case you have any questions regarding the free scripts found online, contact the specialists working for the website and wait for their feedback. They will certainly provide the answers you were looking for and even more!

Welcome to ScriptSources.com! Best Programming Scripts! Web scripts, php script.

php , ,

php tutorial – what does php stand for?

March 30th, 2010

So what do you think php stands for? What is php? Well I guess you wouldn’t be reading this if you knew the answer so let me fill you in.

I have head many interesting and comical answers to the question “what does php stand for” let me give you some of the examples I have heard;

• people helping people

• property holding place

• please hold properly

If your one of these people then do not worry, after reading the set of tutorials I have written to explain what php stands for, you will be able not only to tell people what PHP means but also how to create your own set of PHP scripts.

So tell me already! Ok, well the truth is PHP is a widely-used general-purpose scripting language, the acronym PHP stands for “personal home page” up until a few years ago when php was renamed to “PHP Hypertext Preprocessor” after the programming language fell into common use on the web at version 3.0. (the latests version is 5+ so they have many many changed since its name was change!)

So there you go, the answer to your question “what does php stand for” is simply “PHP Hypertext Preprocessor”.

For more indebt information on php refer to their website at http://php.net/ where you will find a mass of information, tutorials and guides on how to setup, install and manage a php script. Dont forget to check out the rest of my articles on how to develop your very own php scripts and learn more what it takes to be a php developer.

Mark Fail (http://www.markfail.com) is a freelance php script developer and owner of itscripts. http://www.itscripts.com

php ,

Facts About PHP

March 30th, 2010

What is PHP?
PHP is a scripting language that was designed originally for the production of featured dynamic web pages. PHP has since evolved to include a command line interface ability that can be used in a standalone graphical application dynamic.

Facts about PHP
PHP was designed and developed by a man named Rasmus Lerdorf in 1995, however, since then, control of the implementation and script maintenance is now conducted by a PHP Group, a sort of cyber governing body on PHP scripting.
PHP is a free software released under a license called the PHP license, however, this is not compatible with the GNU General Public license or GPL because of restrictions and terms of use for PHP.
PHP is normally used for general scripting purposes, though it is specially suited for web page development and is one of the premier means to embed HTML format. PHP generally runs on a type of web server that is configured to take the script and input it for the sake of creating web page content. PHP can also be deployed on many web servers, and on just about any other operating system or platform for no cost to the user. PHP has been installed on more than 25 million websites and over 1 million web servers.
PHP scripts also are normally kept as readable source code on production of web servers. PHP is compiled at the runtime of the script as it common with other script codes and languages. This makes its read time by the computer much easier.
Accessories for PHP are also available to make this script easier to read and go faster on the computer on which it is installed. These are called PHP accelerators. PHP accelerators provide performance gains by decoding the compiled form of PHP script in the computer’s shared memory to avoid overheating due to under-compiled code.

We offer a unique variety of Internet marketing opportunities that can help your business establish a strong online presence. Our web marketing campaigns are built on time-tested and proven techniques that deliver real results. We will strategically market your business toward specific audiences, with content and media created to deliver appropriate messages to niches and specialized interest groups.

php ,

How to Implement Captcha With Php and Gd

March 30th, 2010

How to implement CAPTCHA with PHP and GD

So, you have a public submission form on your website (contact page, forum submission,blogs comment form) and need to prevent spam by auto-submitters. Common way to do this is to implement CAPTCHA – an image with randomly generated string

(quote from Wikipedia, free online enciclopedia: “A CAPTCHA is a type of challenge-response test used in computing to determine whether the user is human. “CAPTCHA” is an acronym for “Completely Automated Public Turing test to tell Computers and Humans Apart”, trademarked by Carnegie Mellon University.”)

Simple and quick PHP solution for implemet CAPTCHA:

1) Make a PHP script which will generate a CAPTCHA image:

[?php

session_start();

header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");

header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");

header("Cache-Control: no-store, no-cache, must-revalidate");

header("Cache-Control: post-check=0, pre-check=0", false);

header("Pragma: no-cache");

function _generateRandom($length=6){

$_rand_src = array(

array(48,57) //digits

, array(97,122) //lowercase chars

// , array(65,90) //uppercase chars

);

srand ((double) microtime() * 1000000);

$random_string = "";

for($i=0;$i

$i1=rand(0,sizeof($_rand_src)-1);

$random_string .= chr(rand($_rand_src[$i1][0],$_rand_src[$i1][1]));

}

return $random_string;

}

$im = @imagecreatefromjpeg(“captcha.jpg”);

$rand = _generateRandom(3);

$_SESSION['captcha'] = $rand;

ImageString($im, 5, 2, 2, $rand[0].” “.$rand[1].” “.$rand[2].” “, ImageColorAllocate ($im, 0, 0, 0));

$rand = _generateRandom(3);

ImageString($im, 5, 2, 2, ” “.$rand[0].” “.$rand[1].” “.$rand[2], ImageColorAllocate ($im, 255, 0, 0));

Header (‘Content-type: image/jpeg’);

imagejpeg($im,NULL,100);

ImageDestroy($im);

?]

2) Add the following line at the top of the page where you need to implement the CAPTCHA (there should not be any output before this line, except you use php functions ob_start() and ob_end_flush() to turn on output buffering):

3) Add the following line for check is CAPTCHA entered by visitor valid, before the line where you will proceed submitted message:

[?php if($_SESSION["captcha"]==$_POST["captcha"])

{

//CAPTHCA is valid; proceed the message: save to database, send by e-mail …

echo ‘CAPTHCA is valid; proceed the message’;

}

else

{

echo ‘CAPTHCA is not valid; ignore submission’;

}?]

4) Finaly add the CAPTCHA to the form:

[img src="captcha.php" alt="captcha image"][input type="text" name="captcha" size="3" maxlength="3"]

P.S.

notice:

- the tags “[?" and "?]” in code samples above should be replaced to the “”, you may download original article and code sample here: free download php captcha demo

- requirements: a webserver (windows or linux no matter) with PHP engine, with GD (graphic library) support, you may check your php settings with phpinfo() function

- you need some blank jpg image for use it as background for CAPTCHA string

php ,

Web Hosting Technology for Php

March 30th, 2010

As we know that HTML only supports web hosting. As a beginner it is not possible to use PHP scripting in desired web site. Web hosting is dynamically increasing the flexibility of your web sites. You have to go through basic web design and have to move up to adding various professional extras to your site. This web hosting technology helps to start out the online business. So you can start out in the online business all was well until learned more about what you could actually do. When you want to add refer a friend part to one of first websites, is one of the headache and it’s time consuming, so it took a lot of valuable time to figure out, why it would not work.

If you realize that your web hosting package is not supported PHP, you have to upgrade that web hosting software. It is very simply to upgrade. Once this was set up, it was free to carry on with the plans that you have to increase the amount of things; it could do on the sites. In fact, all membership sites were something, you can see into and you needed web hosting for PHP to do this. As the starting time you have to refer a friend script and also required having web hosting for PHP.

You can observe that if you are moving in the right direction with your online business, then it is obtain a web hosting for PHP. But always remember that do not just opt for any web hosting for PHP. You have to look into WHICH PHP version you require. Actually now days PHP 4 is more popular than PHP 5, because your web hosting for PHP is running on a PHP 5.

Me Santanu Boral, describe the PHP terms on the web where you can find additional information.

php ,

How Find a Software Scripts

March 30th, 2010

A Developer’s Resource of helpful PHP Scripts, Tutorials and Applications Designed to help make your Life as a Webmaster Easier! Build Your Own Community with Zip Code Finder provided by PhpScripts. Visit the zipcode-finder.com for new type’s scripts, CRM, ASP Script, JSP Scripts and Zip Code Links to many Other Resources.Are you after a script that isn’t in the Free Scripts section? Then we can help! Click here to find out more about CRM, ERP, and eCommerce Customs Scripts .We have now added a PHP Tools and ASP Programs section, providing you with Free PHP Scripts such as Servers Side Script included MySQL.As time saving for adding more Free Scripts to extend our Current Selection of different types Scripts such as Auction , CRM ERP, AdSpaceSeller to Increase your Site’s Revenue, Inquiry Handler to Improve your Customer Relations, Cosmic Mailing to Keep your Clint up to date with new developments, and much more.

We shall also be adding Free PHP scripts for Beginners through to the more advanced Technique.Zip code finder is a provided ASP, .NET, PHP Scripts code is live or search customer support web chat script source code which offer secure, reliable and fast connection between clients and supported for USA & UK area zip code executives for conversation, chat, messaging and online conference. Braintech provides complete Software Script Code, Template Design services, Web Script Code, CRM Software script, Web business solution and technical information details to webmasters, clients and site visitors along with many customizable script code options to fit with customer needs. Chat, ERP, eCommerce script codes provide to see visitors & clients host name, IP address and block any unwanted visitors.

It helps to improve trust, approval and confidence of customers for script code, Template designs sales and business like Software development, Web Solution, Logo/Header Design sales, and web design related services of UK & USA. Live web solutions and website maintenance, Zip code Provider, Script Code and chat support is very trustworthy its services is flexible and cost-effective software script to help and manage customer target. This support all type of Browsers like Internet Explorer, Mozilla firefox, Netscape Navigator and Opera. Free demo illustrate the full functionality and exclusive features of the chat software with the communication between customer and administrator and interface, look n feel of software.

Features:

* Live support ASP Script offers secure and dedicated chat.

* Software can easily fit with any website.

* Live Web chat script is the reliable customer support system.

* Automatic page refresh make possible to provide real time communication.

* Possible to view and save online chat history also sends this by mail.

* Software increases the customer product sales, service and satisfaction.

* This complete online customer help software provides full support to webmasters, site visitor or clients with live, secure and dedicated link.

* This is very easy to install, no need of any extra components control and other server utility.

* Online business, chat events, joint work sessions, meetings and conferences can be easily organized.

This is write Robert williams will be dealing with Zip Code as they were defined for the purpose of Zip code Map PHP Script summary.

php , ,

Php for Internet Marketing Websites

March 30th, 2010

A scripting language popularly known as PHP, originated in 1995 by Rasmus Lerdorf. PHP stands for Personal Home Page Tools. In just maximum 10 years this language has become a favorite of internet marketers, even small business webmaster with the newer and stable version of the internet.

Why is PHP so popular?

Before PHP, there was Javascript. It does some really cool things like rotate ads, graphics, text etc. But unfortunately it is not tough to readable by the search engines. Who are working on internet, they love PHP because it does all the Javascripts does and everything that does and the turns up on the pages is read and counted by the search engines.

One thing is that, you need to get a script written in PHP and learn how to install a script on the web server. In fact PHP is not software which you can simply download, installed and open on your computer. If you want to import and rotate articles to keep my content sites full of good and search engine. It also should be fresh content. Even you can use PHP to complete this.

Where To Find PHP Scripts.

You can find PHP script at sites that host a listing of hundreds of different scripts. It includes all kinds of CGI and Java. All those sites have a section of scripts written just in PHP, which you have to find some really nice free scripts and some low cost PHP scripts to improve our websites performance and place in the search engines. One thing is that, you would learn to write PHP since there are so many ways a webmaster as well as internet marketer could use the script to help with automation and site improvements.

Me Santanu Boral, describe the PHP terms on the web where you can find additional information.

php , ,

Crop Image File Size, Width & Height Using Php Script

March 30th, 2010

Crop Images Contextually

Crop images contextually for faster downloads and higher impact. By cropping maximally and resizing you can convey meaning without slowing down your web pages.

However, we’ve seen many sites that either use HTML’s width and height attributes to resize larger images, or minimally crop and resize images to lose vital information. A better way to create images optimized for the Web is to crop them contextually.

Contextually Cropping

What is cropping contextually? Many times digital images shot for Web use have a border of useless space around the object(s) of interest. Rather than crop to just the film or chip’s border, crop contextually down to the minimum dimensions that still convey the meaning or context of your image.

Note how the author is now more recognizable in the cropped version (behind the sunscreen) and the lettering is larger and more legible. Most importantly, the image has more impact, with the subject taking up more of the frame. This cropped image could be shown with a smaller dimension, saving file size.

Resize to a Smaller Thumbnail

Once you’ve got your image maximally cropped, resize and sharpen it to create a smaller thumbnail image. To give the reader more detail, you can provide a larger version (cropped or uncropped) of the image linked to that thumbnail.

This two-step process of cropping maximally and resizing is what Jakob Nielsen calls “relevance-enhanced image reduction.” Nielsen writes that by combining cropping and scaling you can “preserve both content and detail, even at very small sizes.” (Nielsen 2000)

Extreme Closeup for a Sneak Preview

Some high fashion sites actually use only the important part of an image as a thumbnail. For example, just the shoulder or neckline of a style – click and you get the full shots with details. This “image tease” technique can add an artistic feel to a site. Let’s get up close and personal with our intrepid traveler.

Extreme Cropping through Rearrangement

In extreme cases you could rearrange the target objects and reshoot, or move them closer together in your favorite image editing program. The idea is to use the smallest possible image that still conveys the information you want to display. You may need to bump up font sizes to withstand more extreme image reductions.

JPEG Cropping Caution

Be careful when resaving JPEG images. Reoptimizing an existing JPEG can compound compression artifacts. It is possible to transform JPEGs losslessly, however. Lossless transformations (like 90-degree rotations and flips) require the dimensions of the JPEG to be a multiple of the block size (16×16, 16×8, or 8×8 pixels for color JPEGs). Lossless crops are also possible by cropping to block boundaries with specialized software, like JPEG Wizard.

I am Asif Khalyani. I am software Engineer. PHP and ajax free script download site phpasks. User can download free php script.

php , , , , , , ,

Powered by Yahoo! Answers