Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

finding a referring page?

Featured Replies

Hi,

 

heres the basic situation:

 

I want page1.php to connect to page2.php via fopen and fread, then retrieve the outputted data that appears (this bit I have done already).

 

However:

 

I want page 2 to check that it has been refered from page1.php, and only display the outputted data if this is the case.

 

I have tried using $HTTP_REFERER but no luck?

 

Can anyone help here?

  • Author

I no longer require an answer to this question as I have chagned the way I am going to create the code.

 

Rathar than try and verify a license key and run the site locally, I'm going to run a web service, threfore the site HAS to give me its license key every time the management area is run :-), they cant amend the code if they never get hold of it !

Hi, I know you have found a solution, but for next time you may get better results if you use $_SERVER["HTTP_REFERER"]. It may be that 'register_globals' are off on your server so $HTTP_REFERER will be empty.

 

Regards

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.