
03-27-2003, 11:54 AM
|
|
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
|

03-27-2003, 12:01 PM
|
|
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
|

03-27-2003, 12:14 PM
|
|
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
|

03-27-2003, 12:16 PM
|
|
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.
|

03-27-2003, 12:27 PM
|
|
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 
|

03-27-2003, 12:52 PM
|
|
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
|

03-27-2003, 01:03 PM
|
|
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.
|

03-27-2003, 04:13 PM
|
|
New Member
|
|
Join Date: Mar 2003
Location: Cincinnati, OH, USA
Posts: 1
|
|
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.
|

03-27-2003, 05:05 PM
|
|
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
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| 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
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|