Want to hire a development team?
Search Filter
Search Filter
Sort Listings By
Show Only
By Customer Review
Licence Type

New Scripts | PHP | Tutorials & Tips

Results 341-360 of 648
PHP Cookie example and function-helper
PHP has a function setcookie since version 3.0, but this function is too low-level for simple usage. Function ae_put_cookie provided, sets cookie for current domain without specifying long arguments lists. Just three arguments: 'name', 'value', session cookie flag/number of days/forever cookie flag
(6 ratings)
Reviews0
PriceFree
Views1920
Checking your spam status
Spam is a major problem. As spam filters become more effective the spam changes to evade prompting the spam filters to again step up their aggressiveness. In this escalating battle it is all too easy for legitimate email to be filtered out in error. If you have ever had to deal with a complaint from a customer who never received their activation email, only to find it in their spam folder then you are familiar with the problem. No single approach is going to ensure that all your mail gets through but one quick and easy thing you should be doing is checking the black lists and make sure you are not on them. In this tutorial I go through creating a script which will automatically and periodically check the black lists for you. Once set up you can just leave it and rest a little more secure.
(0 ratings)
Reviews0
PriceFree
Views1605
Handling Non ASCII Characters in PHP String Literals
This PHP tutorial helps you understand: Basic rules of handling non ASCII characters; Example PHP scripts of French/Chinese strings in UTF-8/GB2312 encoding.
(0 ratings)
Reviews0
PriceFree
Views2072
Making thumbnails with PHP
A simple 2 file, 2-part tutorial about how to upload a picture of .gif or .jpg format and how to store that photo in a folder and also make a thumbnail of that picture.
(6 ratings)
Reviews0
PriceFree
Views4021
Simple and secure mail function based on php mail()
Contains useful arguments (from, to, subject, text) and protection from malformed headers. Also, there is a simple mail form example.
(6 ratings)
Reviews0
PriceFree
Views3112
Display MySQL table as HTML example
This example use MySQL functions from PHP to display full MySQL table(every column and every row) as HTML.
(9 ratings)
Reviews0
PriceFree
Views5376
PHP: Functions
A function is a block of code which can be called from any point in a script after it has been declared. It is basically a compartmentalized PHP script designed to accomplish a single task. Functions are useful because they contribute to rapid, reliable, error-reducing coding, and increase legibility by tiding up complicated code sequences.
(0 ratings)
Reviews0
PriceFree
Views1190
PHP: Multidimensional Arrays
Array does not have to be a simple list of keys and values; each array element can contain another array as a value, which in turn can hold other arrays as well. This way, you can create a multi-dimensional array. In this article principles of using multidimensional arrays are explained and source code defining multidimensional array and displaying the array values on the web page is given.
(0 ratings)
Reviews0
PriceFree
Views2018
How to Sort an Array in PHP
It is often necessary to arrange the elements in an array in numerical order from highest to lowest values (descending order) or vice versa (ascending order). If the array contains string values, alphabetical order may be needed. Sorting a one-dimensional arrays is quite easy.
(3 ratings)
Reviews0
PriceFree
Views1656
Optimized script for fetching google pagerank
Most scripts written for getting a google pagerank connect to the google servers everytime someone views a page where the script is called. Depending on how busy your site is this can mean that you connect to google thousands of times each day to get exactly the same information. This script uses a cache to prevent this from happening. The first time someone visits your site the script connects to google and then after that the pagerank value is fetched from a cache. This is far faster (my tests suggested about 30 times faster) and requires less bandwidth. Beyond the benefits in time it is also easy to use and can be used to either fetch a value for the pagerank or generate html code to display an image representing the pagerank
(0 ratings)
Reviews0
PriceFree
Views2280
Contacting a contact list
Using freely available php classes I show how it is possible to download the contact list from Gmail and/or the MSN messenger service (given a username and password) and return this to the user. The user can then select or deselect the contacts they wish to send an email to before submitting the form and sending emails to all their chosen contacts. This is quite a nice method to 'turbocharge' the basic 'tell-a-friend' style script. Rather than contacting one friend it is quick and simple to contact fifty or a hundred contacts which means more likely visitors to your site.
(0 ratings)
Reviews0
PriceFree
Views1848
Handling BBCode with HTML_BBCodeParser
BBcode is popular on many discussion boards and allows your users to submit formatted content in an easy to understand way. Correctly processing this content and converting it to html for display on your site can unfortunately be difficult. In this article I demonstrate a simple and straightforward way to process BBCode formatted content using the HTML_BBCodeParser package available from PEAR.
(0 ratings)
Reviews0
PriceFree
Views1884
Using cron with PHP
Scheduling events to run at certain times can be a useful feature. You may want to backup your database or update a set of files you have cached on your server or perform any number of other resource intensive tasks. You can manually visit the page and this works fine if you have a good memory, it isn't time critical and it doesn't need to be run several times a day. If you and your task don't fit into all those categories (and even if you do but have better things to do with your time) a better alternative will be to run your script using cron. In this article I list the options for scheduling a task to run periodically and I go into detail on running a script with cron.
(3 ratings)
Reviews0
PriceFree
Views1673
Create syntax highlighted php code as html text
This tutorial teaches you how to convert an existing php code to a syntax colored html text.
(0 ratings)
Reviews0
PriceFree
Views1834
How to connect to MySQL database using PHP
Before you can get content out of your MySQL database, you must know how to establish a connection to MySQL from inside a PHP script. To perform basic queries from within MySQL is very easy. This article will show you how to get up and running.
(6 ratings)
Reviews0
PriceFree
Views2387
PHP Arrays
Arrays can be used in many ways to store and organize data quickly and efficiently. It is one of the more useful data types available to any programming language. This article describes the basics to create and make operations with indexed, associative, and multidimensional arrays.
(0 ratings)
Reviews0
PriceFree
Views1328
Passing JavaScript variables to PHP
JavaScript is mainly used as a client side scripting language, while PHP is a server side technology. Unlike Java or ASP.Net, PHP doesn't have tools to make it work client side. That is why you need to combine JavaScript and PHP scripts to develop powerful web-applications.
(3 ratings)
Reviews0
PriceFree
Views2308
MySQL FAQs - Managing Tables and Running Queries with PHP Scripts
A collection of 18 tips on managing tables and data rows with PHP scripts. Clear explanations and tutorial exercises are provided on creating and dropping tables; inserting, updating, and deleting rows, selecting and looping through data rows by pages; setting auto-increment IDs.
(0 ratings)
Reviews0
PriceFree
Views2364
Conditional Statements in PHP
Sometimes when you write code, you want to perform different actions for different decisions. You can use conditional statements in your code to do this. In this tutorial we will look at two structures: if...else and switch statements.
(0 ratings)
Reviews0
PriceFree
Views1391
How to connect to MS SQL Server database
Before you can get content out of your MS SQL database, you must know how to establish a connection to MS SQL Server from inside a PHP script. This tutorial describes how to connect to MS SQL database with a DSN and without a DSN.
(12 ratings)
Reviews0
PriceFree
Views4510
Results 341-360 of 648