Archive for the 'PHP Tips' Category

How to Customize AutoResponse Plus Thank-you Pages

Friday, August 31st, 2007

When someone submit your ARP opt-in form and confirm their subscription they arrive a thank-you page.

The AutoResponse Plus (ARP3) provides you with default subscriber-facing pages in English.

However you’re able to enter your custom pages URL in the ARP settings to redirect people to these pages.
This allows you to use extra information on these pages or use pages in your native language.


Download PDF Instead of Loading into the browser

Friday, April 6th, 2007
Download PDF I’ll bet a cookie you’ve seen those instructions on downloading PDF (ebooks) like “Please click this link with the right mouse-button, then select the “Save Target As…” option from the popup menu and save the file in your PC”.
 But why to force your customers to make extra actions if you exactly want they download your PDF?!
Also what to do with all those links inside email messages?..
I would like to set up a download page on my domain in order to give away a free ebook on generating traffic.
I want to use a link to allow users to DOWNLOAD PDF files. But when I set it up the PDF file gets directly loaded into the browser. Is there something I can do to ensure that when people click on the link on a page or in an E-mail message that the PDF file gets immediately downloaded to their disk and not loaded in their browser?

This article describes 2 ways to let them download PDFs by just clicking a link.

How to Grab Readers Attention with The KeyWords They have Googled

Friday, February 9th, 2007

The first-moment objective of your Sales Letter is to grab the reader’s attention. The headline tells him what the sales letter is about. The sub-headline is optional. Sometimes it’s used to expand the headline. A high attractive sub-headline helps to catch the reader’s eye.

Let’s suppose you keep search in Google™ by a keyword. What would you look for at a page opened with a searched link? The KeyWord you entered in the search-line. Right?
Place the reader’s KeyWords in your sub-headline to increase chances of your sales letter to be read.

This post helps you to extract the KeyWords and push it into your page.

How to protect a Contact-Form from Form-Spam bots

Sunday, January 28th, 2007

When you have a Contact-Form on your site, you are having problems with spam submissions to the form. Unfortunately, spammers have programs that find forms on the web, and automatically fill them out with spam messages.

The standard way out is the use of captchas. However, there are bots, that can recognize simple captchas in a second. Let’s review ideas of Form-Spam bots blocking without captchas.


How To Give a Discount to customers of your JV-partner

Monday, December 18th, 2006

Let’s suppose you decide to make JV with someone to sell you product.
One of the most popular methods is to give a discount to customers or subscribers of your JV partner. How to make it with your Order Page?
This simple PHP-script helps you modify your Order Page quick and easy.


Content rotation

Monday, October 30th, 2006

There are many scripts which allow you to rotate banners, ad-blocks and canned paragraphs. This scripts provide you with lot of features such as statistics, split testing, cloaked links, etc. You may have a beautiful admin panel to control your campaigns…

But sometimes, all you need is rotate some content at your page. And you can implement it quick and simple without installation of a professional script.

Let’s suppose you have a main web-page where you’d like to rotate some content on.
You can create a number of files with the HTML-snippets to rotate them at your page: page1.html, page2.html, page3.html, page4.html

<a href=" &title=Content+rotation"> <img border="0" src="/wp-content/plugins/sociable/images/digg.png" width="80" height="70" /></a><br />
<a href=" &title=Content+rotation"> <img border="0" src="/wp-content/plugins/sociable/images/delicious.png" width="80" height="80" /></a><br />
<a href=" &title=Content+rotation"> <img border="0" src="/wp-content/plugins/sociable/images/reddit.png" width="90" height="90" /></a><br />
<a href=" &title=Content+rotation"> <img border="0" src="/wp-content/plugins/sociable/images/co.mments.gif" width="80" height="80" /></a><br />


Custom Error Pages for Different Addon Domains

Sunday, October 1st, 2006

I’d like software or a script that lets me use different custom error pages for different addon domains. In Cpanel at the moment you can only use the same custom error page for all addon domains and the main domain they are under. I don’t even know if what i ask is possible but I thought I’d post it anyway :-)


Many things are possible when you know what do you want ;-)

Let’s consider various domains you may have at the same hosting in addition to your main domain (site).

A Parked Domain is pointed to the same folder as your main domain and shares the files / pages of your main site.

An Addon Domain is similar to Parked Domains. But it is pointed to a sub-folder of your main domain (site), and can have it’s own settings. However you can’t create error pages for Addon Domains through your Control panel, you can do it by hand.

A Subdomain doesn’t have an independent domain name. It’s a composite domain name which is pointed to a sub-folder of your main domain (site).


Comprehensive Feedback Form with Attachments

Thursday, September 7th, 2006

You know that spam harvesters are able to take e-mails from websites if they are just coded in standard HTML. You could encode your email as I’ve described earlier. But a feedback form is the best approach.

The most of feedback forms allow them to enter their name, email and type a message. Sometime you may need to send an attached file (a photo, a screenshot…).

This Feedback-Form script provides you with an option to send an attached file with the form message.



Simple Photo Album / Slide Show Generator

Monday, August 21st, 2006

I need a script or html coding that will enable me or my users to have a slide show of images. …there is a single image on the home page, that I would like to rotate like a banner - I expect the script here would do that, but inside there are albums. I want visitors to be able to watch a slide show in any album.


OK. The main issue is to gather images from your server folder. Javascript can’t do this. So we have to use a PHP-script to scan your server folder and generate a slide-show Javascript.


HTML to PHP Template

Saturday, July 15th, 2006

I have a folder with several hundred articles.
I would like to re-create them to PHP pages
adding a header and a footer. (PHP Template)


I have a great news!
You can do this without editing any of this hundred files.
Lets create a PHP-script to do this for you.