Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 25th, 2004, 03:14 PM
Registered User
 
Join Date: Sep 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to jblp Send a message via AIM to jblp
Default capture a variable from url. .com?jblp

I would like to capture a variable to give a person credit for referring another to the site.
I am thinking ... myurl.com?usernumber
how would I capture this variable to write it to the database when a new user registers for the site?

 
Old October 25th, 2004, 07:26 PM
Authorized User
 
Join Date: Jun 2003
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
Take a look at this post it got me out of the problem when I wanted to track links from another site.

http://p2p.wrox.com/topic.asp?TOPIC_ID=6147

Sami





Similar Threads
Thread Thread Starter Forum Replies Last Post
capture URL SKhna ASP.NET 2.0 Basics 1 February 5th, 2008 11:02 AM
capture variable in URL Lemonluv07 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 March 31st, 2006 04:00 AM
passing a variable through URL katie456 Classic ASP Databases 2 January 20th, 2004 11:27 PM
prevent error if $_GET variable is not in URL mih100 Beginning PHP 1 September 6th, 2003 08:40 PM
catching an URL variable in xslt Flashlight XSLT 1 August 21st, 2003 01:32 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.