Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
putting referring url information in form
Old 11-28-2004, 02:14 AM putting referring url information in form
Yak Yak Yak Yak Yak

Posts: 593
Location: Rochester, MN
Trades: 0
Lets say I have a referring site that is sending the user via the following url:
http://www.yoursite.com/whatever/go/tickle/omega/
Is there a way of automatically putting the terms "tickle" and "omega" into a form and auto submit it?

I know this will require some sort of javascript, but I am not exactly sure what kind. I have spent hours searching the net for some scrap of information, and have come up with nothing. Perhaps I am not using the proper keywords in google, but I keep coming up with nothing.

Any help would be greatly appreciated.

Neorunner
__________________

Please login or register to view this content. Registration is FREE
neorunner is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-29-2004, 08:38 AM
KCamel's Avatar
Average Talker

Posts: 16
Trades: 0
yeah its possible as i'm a php programmer you need to get the document root. http://www.yoursite.com/whatever/go/...mega/index.php
inside index.php do

PHP Code:
$_SERVER['DOCUMENT_ROOT']; 
if you're on linux OS its will print out /home/yourdomian/whatever/go/tickle/omega/index.php
then you can use
PHP Code:
ereg_replace() 
function to take out home yourdomain whatever and go from the echo and insert it in the database.

if you didn't get it let us know i'll do example
__________________
* KCamel Inc, Host it Simple!
* Different Support Methods! 24\7!
* For more information contact me on:
Moe J. Mughrabi

Please login or register to view this content. Registration is FREE

*
Please login or register to view this content. Registration is FREE
KCamel is offline
Reply With Quote
View Public Profile
 
Old 11-29-2004, 11:59 AM wow!
Yak Yak Yak Yak Yak

Posts: 593
Location: Rochester, MN
Trades: 0
I really have no idea what all that means. I wouldn't even be able to begin knowing what to do. The referrer is generally another website.

Neorunner
__________________

Please login or register to view this content. Registration is FREE
neorunner is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to putting referring url information in form
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.66260 seconds with 12 queries