User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 373,519 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,783 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 2945 | Replies: 1
Reply
Join Date: Jun 2004
Posts: 1
Reputation: rkmarketing is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
rkmarketing rkmarketing is offline Offline
Newbie Poster

PHP Login

  #1  
Jun 5th, 2004
Hi, I'm trying to figure this php stuff out, but, i'm too right brained
or something (or is it left?).

Here's what I'm trying to do:

When someone lands on my site I want them to enter a
code (which they will get from one of my ads).

I want that code to carry over to my one page website and
then through the order page (probably paypal) and then to
a cgi registration form which will email the registration data
including the code number to me.

Does this make sense and can it work?

Any help would be much appreciated!

Rick
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2004
Location: Phoenix Arizona
Posts: 115
Reputation: Arizona Web is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 2
Arizona Web's Avatar
Arizona Web Arizona Web is offline Offline
Junior Poster

Re: How do I do this?

  #2  
Jun 5th, 2004
You can set a cookie if your user will leave the site (probably will for a monent if paypal is being used) or you can use a session if all pages reside on your server.

Check out php.net and search for setcookie and/or session.
Need a website designer? arizona web design : phoenix web design : MCP Media intelligent web design and web development solutions. MCP Media is owned and operated by Chris Hooley - who happens to be a real nerd... on purpose :-)
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb PHP Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 6:24 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC