This is a discussion on "referring site" within the PHP Forum section. This forum, and the thread "referring site are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
referring site
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
referring site
Is there a way to just obtain the reffering sites address without the page (i.e. www.domain.co.uk or http://www.domain.co.uk instead of www.domain.co.uk/page)
I know I can get the complete address using $_SERVER["HTTP_REFERER"] but I want to just show the site instead of the full address |
|
|
|
#2
|
|||
|
|||
|
Re: referring site
you could use explode, and just using the code from w to /
|
|
#3
|
|||
|
|||
|
Re: referring site
ok, thanks il look into that
|
![]() |
| Tags |
| referring, site |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I bring this site up again because, I have no idea how to make this site pull in. | TheSealPortalTeam | Free Web Site Critique | 4 | Jun 10th, 2008 12:46 |
| Uploaded site different from local site | alowe | Web Page Design | 20 | Mar 28th, 2008 02:20 |
| Website, Web-Site or Web site? | Voodoochilli | Webforumz Cafe | 25 | Oct 13th, 2007 01:19 |
| off-site linking to a particular page in a site made with frames. NEED HELP | vandiermen | Web Page Design | 1 | Aug 6th, 2006 13:30 |
| [req] Free basic web templates site + button design site | slorryy | Web Page Design | 3 | Feb 17th, 2006 17:05 |