Jump to content

Links not working.


scorpi

Recommended Posts

I've had to make two new layouts since this first happened. Originally it had been caused by adding more to a PHP scipt to help sort the news. It was fixed for a while, but then it started all over again and I hadn't touched any of the code since I had fixed it last.

My problem is, when you click on a link, it doesn't take you anywhere. I don't know if it's a PHP code I messed up on or what, but my site is [url=http://www.nuclearkittens.com/theshow/index1.php]http://www.nuclearkittens.com/theshow/index1.php[/url]

Notice, it's index1.php I only have it like that because I'm testing it.
Link to comment
https://forums.phpfreaks.com/topic/30295-links-not-working/
Share on other sites

It used to work. You did nothing. Now it doesn't work.

The most rational reason is that your code relies on register_globals being on and your current php version is a recent one where the default value of register_globals is (more securely) [b]off[/b].

If that's it, you need to retrieve the switch string from the $_GET[] array.
Link to comment
https://forums.phpfreaks.com/topic/30295-links-not-working/#findComment-139406
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.