hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : looking to build up portfolio?
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

looking to build up portfolio?

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-27-2003, 11:54 AM
jmb1881 jmb1881 is offline
Disabled
 
Join Date: Sep 2002
Location: Louisville, Ky
Posts: 168

looking to build up portfolio?


if so i need a script at
www.eliquidonline.com

i need something that can take the referring page domain/url and keep it stored somehow while the vistors are looking through the site ..and if the vistor fills out my contact form, inserts the referral page domain/url into the form so its sent to my email. I already have a form that sends the email from the form, it just doesnt get me the referral info. I would like to keep the form I have

Im not interested in any javascript, and would not like to use cookies if i could...

any takers?

I could offer free hosting, or a payment of up to 10.oo

Reply With Quote


Sponsored Links
  #2  
Old 03-27-2003, 12:01 PM
krumms krumms is offline
Web Hosting Guru
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 270
Would probably be difficult without cookies - although it might be possible to use their IP as a key in a database or something.

Contact me anyway: the_edge2020 a t hotmail.com

Reply With Quote
  #3  
Old 03-27-2003, 12:14 PM
jmb1881 jmb1881 is offline
Disabled
 
Join Date: Sep 2002
Location: Louisville, Ky
Posts: 168
i was thinking maybe grab the domain somehow and make it part of the url string? and pass it that way until they got to the form...
I know people are turning off java and cookies, which is why i would like to go that way

Reply With Quote
Sponsored Links
  #4  
Old 03-27-2003, 12:16 PM
csparks csparks is offline
Disturbed
 
Join Date: Dec 2002
Location: Jackson, MI
Posts: 1,521
You could try sessions, passing the session id through the url. That woud require all your pages be .php.

__________________
Talk about all your favorite TV shows at http://allepisodes.info

Reply With Quote
  #5  
Old 03-27-2003, 12:27 PM
krumms krumms is offline
Web Hosting Guru
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 270
I reckon storing the IP may be a better solution, since it would no longer depend on pages being .php or even on using sessions, but I can look into it.

Contact me with a return e-mail and I'll get back to you tomorrow or the next day - 2:30am here

Reply With Quote
  #6  
Old 03-27-2003, 12:52 PM
jmb1881 jmb1881 is offline
Disabled
 
Join Date: Sep 2002
Location: Louisville, Ky
Posts: 168
i couldnt use the ip though.. i need to specifically have the domain name or referring page url

Reply With Quote
  #7  
Old 03-27-2003, 01:03 PM
krumms krumms is offline
Web Hosting Guru
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 270
huh? Yeah having the domain name or referring page url is fine, but the IP defines which visitor to your site that domain/url is associated with so it can be retreived from the database - since each IP will be unique to a user. But then there's proxies ... ah I dunno, perhaps the URL-stored SID might be an idea, but you may have to modify the rest of your site to suit your needs as a result.

Anyway, the domain name/url is stored in the database AS WELL AS the IP of the person visiting your site so it can be retrieved later. The IP more or less stands in for the session ID.

Anyway I'm going to bed Nights all.

Reply With Quote
  #8  
Old 03-27-2003, 04:13 PM
woodwardb woodwardb is offline
New Member
 
Join Date: Mar 2003
Location: Cincinnati, OH, USA
Posts: 1
Wink

I was able to do this using php and sessions. I can help you out if you'd like. AIM doowb, email brian@woodwardb.com.

Reply With Quote
  #9  
Old 03-27-2003, 05:05 PM
harmonic harmonic is offline
WHT Addict
 
Join Date: Jul 2002
Posts: 117
okay, start using PHP.

make a file named ipsession.php and in it include this:

<?
session_start();
if(!isset($_SESSION['ref'])){
$_SESSION['ref'] = $_SERVER['HTTP_REFERER'];
}
$ref = $_SESSION['ref'];
?>

now, just include() that on your pages, you can access the variable for use in forms by using $ref

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Quest Software Acquisition to Help Dell Compete in Server, Storage Management Web Hosting News 2012-07-03 15:50:35
Web Host Avnet Launches Cloud Services for Resellers, ISV Partners Web Hosting News 2012-05-31 16:31:33
UK Data Center Operator Infinity Acquires Facility in Slough Web Hosting News 2011-11-07 16:55:31
Google to Invest $200 Million in Asia Data Center Development Web Hosting News 2011-09-28 15:24:34
Web Host Rackspace Launches Hosted Virtual Desktop Platform Web Hosting News 2011-05-24 15:14:32


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?