Author Topic: I need to script a PHP redirecting to Homepage script.  (Read 18074 times)

Tayab

  • Full Member
  • ***
  • Posts: 149
I need to script a PHP redirecting to Homepage script.
« on: October 20, 2012, 01:12:56 AM »
How can I make a restriction on to the viewer to send to home page bak if someone types the thing whihc doesn't exist. How it makes sense.


Suppose, I am owning a domain www.example.com and I've got index.html, style.css and nothing else. Simultaneously, if someone types http://www.example.com/games/ and it doesn't even exist, so at typing this URL it takes the viewer back to homepage. Would someone script it with the comments please. :|

rahul

  • Newbie
  • *
  • Posts: 16
Re: I need to script a PHP redirecting to Homepage script.
« Reply #1 on: October 20, 2012, 08:29:58 AM »
you can check  condition that games page exist or not and for redirection you can use HTTP_REFRRER may be this will work for you

phpdeveloper

  • Newbie
  • *
  • Posts: 39
Re: I need to script a PHP redirecting to Homepage script.
« Reply #2 on: October 20, 2012, 08:56:04 AM »
we are here to guide you as rahul suggested you can handle that situation . And we provide paid services like that script we are not here to work for you we paid for all this for any solution you  can send private message to me

 

X

Do you know?

IfAndBut.com gives you a platform where you can ask questions related to web and internet..
So, why wait..
Join Now!
anything