Referrer for viewing image Programming Web Development by tehmarto Hi all, So I have a .jpg file hosted and I wanna see if someone views the image, from where its viewed. Meaning I wanna see the referrer and log the referrers in I file. How can I do that? Thanks in advance. Document.referrer in Android WebView Programming Mobile Development by Nuno_2 I'm using document.referrer in a hybrid app in which I conditionally show some buttons, based on the previous page. While the use of document.referrer in my ios and browser versions of the app is running perfectly, in Android, it always returns an empty string on document.referrer. Has everyone ever had this problem? Get Referrer Programming Web Development by vaibhavs Hi, I have a PHP Script. I need the referrer website address for this script. I used the following 2 … am wrong. Is there any 100% sure method of getting referrer ?? Thx Vai How to ping a domain with custom referrer url? Programming Web Development by siva1117 Hello, I need a small php script to ping a domain with custom referrer url eg: I need a script to ping a website [url]www.abc.com[/url] with a custom referrer url ie. xyz.com so that the website abc.com would think that the traffic is from xyz.com Anyone have an idea? --SS Best Practice for Using HTTP Referrer with CGI/Perl Programming Web Development by koneill … the best practice for utilizing in CGI/PERL the HTTP Referrer - I'm open to utilizing JavaScript as well - my main… concern is knowing the referrer so that I can pass in the right dollar amount. Re: Get Referrer Programming Web Development by richie513 Hi Vai, Usually PHP will make the referrer automatically available in the variable, Have you had a look to see if these variables are available using phpinfo? Re: Best Practice for Using HTTP Referrer with CGI/Perl Programming Web Development by cereal Hello, are you aware that the referrer can be spoofed? Simple test: 1. open a terminal and … Detect https referrer url? Programming Web Development by RossCode Is there a way you can detect if an incoming referrer is from a url using https? I know you can detect http but it doesn't seem to show anything for https. PHP Redirect based on Referrer Programming Web Development by the_carpenter … up the target page. The Table would look something like REFERRER TARGET ========= ======= [url]www.xyz.com/page2.html[/url] mysite.org… get the page referrer Programming Web Development by Buppy Hi, I have a site which is listed in another site. I want to check which users comes from that other site by clicking a link, however, that other site seems to be hiding referrer as the HTTP_REFERER appears to be empty. Is there any other way of detectig users coming from that particular site? Thanks Re: Referrer for viewing image Programming Web Development by mazeroth All that information is stored in your web server log. Find where the log is, open the file, and search for the image. referrer info on external links Community Center by cayi i'd like to know which tools (whether it be an addon, code, etc) help in finding out the originating site for an external link that i follow thru. is there a firefox extension to it? thanks in advance. Re: referrer info on external links Community Center by cayi sorry if my english confuses you. hope it's understandable Re: Document.referrer in Android WebView Programming Mobile Development by tobyITguy I haven't but use the object browser. See if the method is named differently in android. Re: Get Referrer Programming Web Development by buddylee17 These variables will be empty if someone A.)gets to your site via a link with a target="_blank". B.)types the url directly into the browser C.)Came from a bookmark or favorite D.)Right clicked to open your link in a new tab/window Re: Get Referrer Programming Web Development by nav33n [quote] A.)gets to your site via a link with a target="_blank". D.)Right clicked to open your link in a new tab/window [/quote] I just tested it and it works. Re: Get Referrer Programming Web Development by vaibhavs The code is working fine. I get the value of referer, but for only a small % of hits. Hence I was wondering if there are situations which are not captured by this PHP command. OR if I need anyother command. This is being done for evaluating hits from search engines. Thx Re: How to ping a domain with custom referrer url? Programming Web Development by MagicMedia You need to setup CRON. Create a file with a header or meta redirect to the target site and ask CRON to ping the file at set intervals. Re: Best Practice for Using HTTP Referrer with CGI/Perl Programming Web Development by koneill Yes good point - so what is the best way to typicaly handle the situation then I'm trying to remedy as essentially - I have to handle and account for this odd situation in code somehow. Re: Detect https referrer url? Programming Web Development by mahavir123 Sorry, I can't understand. Try to more specific. Re: Detect https referrer url? Programming Web Development by RossCode OK sorry, basically I want to detect if an incoming referer is registered in my database but I cannot do this if the referer came from an https url. The $_SERVER['HTTP_REFERER'] is just blank if the link to the script is from a https:// site but shows for [url]http://[/url] site. I have scripts that I want to allow access to via a token and if … Re: PHP Redirect based on Referrer Programming Web Development by chrishea You can get the referring page with $_SERVER['HTTP_REFERER'] Re-directing can be done with header ("location: the url ") As for the part in the middle, you will need to write some code to open a MySQL db and get the url from there. I'm sure that you can find tutorials and sample code if you do an internet search. To keep the setup … Re: get the page referrer Programming Web Development by pritaeas If you have control over that site, add `?referer=X` to each link. Another option would be to check the headers of the request. Maybe you can find the host in there. Re: Spam !! Digital Media Digital Marketing Search Engine Strategies by Seobytes …involves making repeated web site requests using a fake referrer url that points to the site the spammer ….[2] Sites that publicize their access logs, including referrer statistics, will then end up linking to the spammer…due to link-counting algorithms that search engines use. Referrer spamming consumes server resources which are paid for by… What's wrong with my AJAX within PHP Programming Web Development by SuPrAiCeR69 …in the code below: [CODE] $referrer = $_GET['_url']; // echo $referrer displays the referrer ID contents correctly as "AEQ438J&…return $code; } $msg = ''; $referrer = $_GET['_url']; // echo $referrer displays the referrer ID contents correctly if ( ! empty($referrer)) { $mysqli->query("UPDATE… form values are not storing in the database Programming Web Development by d.jobinraj …iheight']); header("Location: ".$session->referrer); } /* Update News*/ function procGetNews(){ global … } header("Location: ".$session->referrer); } function procAddPhoto(){ $userfile = $_FILES['… form validation with select option data + input data Programming Web Development by wandor … $form->getErrorArray(); header("Location: ".$session->referrer); } /* Registration attempt failed */ else if($retval == 2…$_SESSION['regsuccess'] = false; header("Location: ".$session->referrer); } } }; /* Initialize process */ $process = new Process; … Admin Edit User's Information Programming Web Development by Smudly … JOIN userstats ON userstats.id = users.id ORDER BY users.referrer $sortcount"); $_SESSION['sort_counter'] = $_SESSION['sort_counter'] + …='#cccccc'><a href='users.php?sort=referrer'>Referrer</a></th> <!--…='130'><input type='text' name='referrer' value='" .$row['referrer']. "'></td>";… Parse Error: unexpected T_STRING Programming Web Development by The Z. Will … } else { $condition = "uid='".intval($mybb->input['referrer'])."'"; } $query = $db->simple_select("users", …, array('limit' => 1)); $referrer = $db->fetch_array($query); if($referrer['uid']) { my_setcookie("mybb[referrer]", $referrer['uid']); } } if($mybb->usergroup… Advanced PHP/MySQL Query Programming Web Development by jesyka82 …]Simplified example of table:[/B] [CODE=text]FNAME LNAME USERID REFERRER --------- -------- ------------- -------------- Jane Doe JaneDoe1 John Doe JohnDoe2 JaneDoe1 Cary Grant… AS referrals FROM users as t1 LEFT OUTER JOIN (SELECT referrer, COUNT(*) AS referrals FROM users GROUP BY userID) AS …