Go Back   Web Design & SEO Company > Free Scripts

Free Scripts Free Scripts to add to your website, includes Ajax, Javascript, php, Flash, CSS, HTML and more. No registration is required to download, these scripts are provided free to help you make the most of your website.

Old 08-09-2009, 03:45 PM
mrB mrB is offline
Junior Member
Join Date: Jul 2009
Posts: 5
Default Need Help With Script

Well, I hope I'm posting in the right topic. I didnt plan to post this, but since i see some already posted something about querying for help, I thought I'm gonna try asking myself.

Here's the thing guys, I'm really a noob in this.

I was wondering what is the php code for this activity:
I want to give away something, only after someone had finished their task 1st.

Can anyone help? I know this is so simple for pro out there.

Reply With Quote
Top SEO Tool
Harvester and Mass Blog Commenter
Blog Comment Software

Old 08-11-2009, 08:17 PM
Admin's Avatar
Join Date: Jan 2007
Location: Taree
Posts: 613

There's several ways, it depends what exactly your trying to do. Is it an affiliate type offer or something?

You could use the referrer something like:

PHP Code:
$referer == "http://www.mysite.com/completed-offer.php")
header('Location: "http://www.mysite.com/free-gift.php"');   
header('Location: "http://www.mysite.com/no-gift.php"');   
It's not real secure, in this case referrer isn't reliable to authenticate. A better way would be to use a cookie, when they complete the task drop a cookie then have the free gift on a page that requires a cookie to view it.
Reply With Quote
Top SEO Tool
Harvester and Mass Blog Commenter
Blog Comment Software


Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Real Estate Script Benivolent Free Scripts 1 12-05-2011 06:48 PM
Job Script Benivolent Free Scripts 0 04-17-2010 06:58 AM
Matrimonial Script Benivolent Free Scripts 0 04-13-2010 05:26 AM
Social Networking Script semaphoreseo Free Scripts 8 12-26-2009 08:53 AM
IP Recorder Script umairraja52 Free Scripts 0 10-24-2009 02:42 AM
Anonymous Email Script Admin Free Scripts 15 07-12-2009 04:47 PM
Flash action script criphaze22 Free Scripts 4 07-01-2009 07:19 PM

Knowledgebase | SEO | Free Scripts | Free Wordpress Themes | Free Graphics

eval gzinflate base64 decode | SEO Addons

Forum time zone is GMT. Currently it's 06:20 AM.

SEO - Top

Web Design & SEO Forums