|
by: John A. Irwin |
last post by:
I'm very new to PHP and am trying to figure out how to parse out a
variable "HTTP_REFERER". My reason for this is my site was recently
"FEATURED" (sic) on a website called FARK.COM. Because of this I
received over 100,000 Hits in less then one hour and it caused my host's
server farm to crash. While I understand that I could move to a more
robust Web Host, I would rather trap any further links from FARK and
redirect them to a rejection...
|
by: Jez |
last post by:
Any ideas why I'm not able to use $_SERVER on my
shared hosting account (PHP 4.1.2), but I can on my local server (PHP
4.3.3)?
I imagine it has something to do with the different versions of PHP or
perhaps php.ini, but I'm not sure what?
Thanks!
Jez
|
by: deko |
last post by:
I have a page that I don't want anyone to be able to link directly to. The
page should only be accessed from gatepage.php. I tried this code, but keep
getting errors - "header info already sent", or something like that... Am I
missing something, or is there a better way to do this?
<?php
$ref = $_SERVER;
//echo $ref;
if ( $ref == 'http://www.mydomain.com/gatepage.php' )
{
|
by: ssk |
last post by:
Hello!
I made a web site using PHP Open sources for message board.
Everything's fine except one computer can't open a message writing
page.
The code that gives an error is the following.
if(!eregi($HTTP_HOST,$HTTP_REFERER)) Error("Write in the normal way");
|
by: Robert Mark Bram |
last post by:
Hi All!
I have the following in an ASP script:
var bounceBackPage = Request.ServerVariables("HTTP_REFERER");
Response.Write("<p>bounceBackPage: " +
bounceBackPage + ". Undefined? " +
(bounceBackPage == "undefined") + " </p>");
When I enter the page URL by itself, I expect HTTP_REFERER to be undefined..
|
|
by: M Smith |
last post by:
On our web site we allow our members access to features hosted by another
web site. The way the other web site authenticates users is to check the
value of the HTTP_REFERER. If it comes from our Login.asp page it lets them
in. When our users login to go to the other site, they login on our site's
Login.asp page. When they click submit, our LoginCheck.asp page validates
them and does a response.redirect to the other site. In most cases...
|
by: Ringo Langly |
last post by:
Hi everyone,
We're using an outside vendor to provide some content for our website,
and they use the http_referer variable to verify their content is only
viewed from subscribing customers.
Anyway, we're using the mm_menu javascript menu for our web menus, and
under only Internet Explorer it's not passing the http_referer -- which
means any site of theirs we link to from the menu doesn't work. This
works fine in Firefox, Mozilla, and...
|
by: Prabhat |
last post by:
Hello,
I have the below requirement.
When ever my website is opened by any link: say clicked from the google
search result or a link from other website:
Then I should able to know the referrer URL. How Do I get that?
I know about Request.ServerVariables("HTTP_REFERER"). So I used this in
|
by: tshad |
last post by:
Why would HTTP_REFERER not be there in the Page_Load event?
I am using it to determine whether a page was called from a particular page.
I am doing:
sTest = Request.ServerVariables("HTTP_REFERER")
if (sTest = "") ORELSE (sTest.SubString(sTest.LastIndexOf("/")+1) <>
"job_posting_new2.aspx") then
newPosition = new Position
|
by: Lorna |
last post by:
I can't seem to get the ENV variable HTTP_REFERER when posting with CGI from one program to another. In my post program I have put in the <HEAD> HTTP_REFERER =my host - ie www.xyz.com (I have also tried removing it entirely in case that was causing problems.
I have tried to extract the HTTP_REFERER in my receiving program with
$http_ref = $ENV{'HTTP_REFERER'};
That didn't work so I just printed all variables with
foreach $key...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|