Skip to content
View in the app

A better way to browse. Learn more.

Tip.It 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.

A Problem Redirecting Outgoing Links

Featured Replies

  • Author
Can you post the code that generates the URL and redirect?

 

 

 

 

 

 

 

By "setting up" I meant I did this part first so whatever is wrong is wrong with what we have here, which doesn't really make sense.

  • Author
<?php header("Location: ".$_GET['go']); ?> 

should work just fine.

 

 

 

 

 

 

 

Nope, I get this error then:

 

 

 

 

 

 

 

Warning: Cannot modify header information - headers already sent by (output started at /home/cosmic/public_html/gamrzone/hi.php:3) in /home/cosmic/public_html/gamrzone/hi.php on line 3

 

 

<?php header("Location: ".$_GET['go']); ?> 

should work just fine.

 

 

 

 

 

 

 

Nope, I get this error then:

 

 

 

 

 

 

 

Warning: Cannot modify header information - headers already sent by (output started at /home/cosmic/public_html/gamrzone/hi.php:3) in /home/cosmic/public_html/gamrzone/hi.php on line 3

 

 

 

 

Don't include any of the other crap in there, that should be the only line in the file.

 

<?php header("Location: ".$_GET['go']); ?> 

should work just fine.

 

 

 

 

 

 

 

Nope, I get this error then:

 

 

 

 

 

 

 

Warning: Cannot modify header information - headers already sent by (output started at /home/cosmic/public_html/gamrzone/hi.php:3) in /home/cosmic/public_html/gamrzone/hi.php on line 3

 

 

 

 

 

 

 

 

That means you're sending something to the browser before passing the header line. There's no need for anything else in the .php file at all other than the header line.

 

 

 

 

 

 

 

You will get this error if you try something like:

 

 

 

 

 

 

 

 

 

<?php header("Location: ".$_GET['go']); ?>

 

 

 

 

 

 

 

The ONLY thing in the file should be:

 

 

 

<?php header("Location: ".$_GET['go']); ?>

 

 

 

 

 

 

 

In the first example the browser gets sent

before it gets the header info, which isn't allowed.
  • Author
Don't include any of the other crap in there, that should be the only line in the file.

 

 

 

 

 

 

 

And say I wanted to put a delay on that and display a message?

 

Don't include any of the other crap in there, that should be the only line in the file.

 

 

 

 

 

 

 

And say I wanted to put a delay on that and display a message?

 

 

 

Then use javascript? Meta-redirects are kinda blah, in my opinion.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

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.