Submit a Form Using PHP and cURL

Posted Leave a commentPosted in PHP

There are situations when you want to send data using POST to a URL, either local or remote. Why would you want to do this? Probably you want to submit data to an opt-in form, but without taking a valuable visitor away from your site. Or maybe you want to send data to several applications […]

Resizable Cell Background Image with PHP

Posted 1 CommentPosted in PHP

Putting dynamic content inside a table cell can be challenging sometimes, especially if the content is a picture of unknown size and it is required by design to put a custom cell background to fit the picture, like a frame (as displayed on Picture 1 and Picture 2). All parameters (picture size, cell size and […]

RSS Feed with PHP, Part 1

Posted Leave a commentPosted in PHP

RSS as an acronym has stood for various things, but the current standard is: Really Simple Syndication. This is the most recent variation of this very common and very useful standard. Back when the Internet was young(er), a piece of software called Pointcast pushed data to a screensaver application on a user’s computer, providing news […]

Master Pages with PHP, Part 1

Posted Leave a commentPosted in PHP

Most sites on the Internet have common design elements that do not change from page to page. Usually, only content or minor navigational cues vary. Define Elements Let us take as an example a very common layout.¬†Of course, it may be different and it can contain any graphical, multimedia and / or flash elements to […]

Anti-bot using php

Posted Leave a commentPosted in PHP

If your web site is being overwhelmed with spam, automatic registrations, automatic forum or classified ad submissions etc, you can solve this problem by introducing a picture in your HTML forms that only a human can recognize. A simple anti-bot registration check that requires registering users to type a random text drawn on the picture. […]