Popular Articles | Latest Articles | Categories | RSS Feeds
Gnews ASP open source code news manager
Published on 7/12/2010, by editor

PHP makes it very easy to do many things needed on a website, among which is to create an image. The ability to generate an image in PHP can be useful if you want to do things like create CAPTCHA images, or even design a banner or logo on the fly the way some free blogging software do.

By the end of this tutorial, you will be able to create or modify an existing image using PHP, set the colours of its background, the text and the lines you draw, write text to that image, draw a line and set its thickness. You will also be able to either send that image to a web browser or to save it as a file. Armed with this basic foundation, you will also be able to knowledgeably explore further and perform more complex operations on images using PHP if you wish.

250 hits PHP


Published on 7/12/2010, by editor

Nowadays, many websites no longer post their webmasters' email addresses, preferring instead to put up a contact or feedback form. Without the plethora of email addresses to harvest from websites, spammers have turned to using such feedback form scripts to send spam instead. If you are writing your own feedback form script, it is important that you write your script in such a way so as to prevent spammers from hijacking the script to spam others.

363 hits PHP


Published on 7/10/2010, by editor

I have always believed that the most fun way to learn a new programming language, whether it is a language like C or a scripting language like PHP, is to use it to write a real-life useful program. Of course this is not the most systematic method of learning, but it works well if you already have some background in programming.

73 hits PHP


Published on 6/20/2010, by Dotnetindex

Cache is a programming concept that can be used in a various range of applications and for various purposes. A cache library can be used for storing database queries for later use, to store rendered pages to be served again without generating them again, or to save indexed pages in a crawler application to be processed by multiple modules.

590 hits PHP


Published on 6/20/2010, by Dotnetindex

Web scrappers are simple programs that are used to extract certain data from the web. Usually the structure of the the pages is known so scrappers have reduced complexity compared to parsers and crawlers.

In this tutorial we are going to create a simple parser that extract the title and favicon from any html page.

598 hits PHP


Published on 6/20/2010, by Dotnetindex

cURL is a library which allows you to connect and communicate to many different types of servers with many different types of protocols. Using cURL you can:

  • Implement payment gateways’ payment notification scripts.
  • Download and upload files from remote servers.
  • Login to other websites and access members only sections.

PHP cURL library is definitely the odd man out. Unlike other PHP libraries where a whole plethora of functions is made available, PHP cURL wraps up a major parts of its functionality in just four functions.

578 hits PHP


Published on 6/18/2010, by Dotnetindex

In the previous article, we covered the PHP cURL basics. Specifically, we learned how to connect to a remote URL and retrieve the URL’s contents. In this article we will learn how to simulate form submission using PHP cURL.

568 hits PHP


Published on 5/19/2010, by editor

Mcrypt is useful PHP function cause it has a lot of encryption algorithms also it can be used to encrypt and decrypt data - two-way encryption. To begin, I'll explain how data can be encrypted and then later decrypted using the Mcrypt extension.
Listing below demonstrates this, first encrypting a string using a key, then displaying the encrypted data in the browser, and then decrypting the string using the same key

212 hits PHP


Published on 5/19/2010, by editor

The MySQL Insert process can be carried out in several ways: through a direct command from the command line of the MySQL console, via the web-based graphic interface PHPMyAdmin, and by using a PHP script (inserting data and scripts written in other languages - Perl, Python, etc., is possible as well). All MySQL insert methods are characterized with the following elements ...

184 hits PHP


Published on 5/12/2010, by editor

I guess since you are looking for a nested loop "solution" you already familiar with a simple database structure used in this method.

270 hits PHP


1 2 >

Welcome to Dotnetindex.com:Login  |  Register
Free software:
Giga RSS Reader
IkonAdman
QMailing list
Active News
Download Manager (PRO)
Download Manager (Lite)

Search Dotnetindex.com:



Who's online

  • There 158 online users.