Script URL: http://www.tabletopreview.com/auctions.php
Version of script: 1.6
Hosting company: hostgator
URL of phpinfo.php: dont know
URL of session_test.php: dont know
What terms did you try when SEARCHING for a solution: go.php
Write your message below:
Hi
I have added the guestbook and am testing how it modifies to my purposes.
My problem is that when a URL is entered in a guestbook entry, the URL points internally to my site rather than externally.
For example I have a test link to www.ebay.com in an entry, but its URL structure on clicking is:
http://www.tabletopreview.com/auctions/ ... w.ebay.com
This may be an issue with the fact I have embedded the script into a smarty driven cms, but if it is possible to change the link structure (in go.php?) so it links out to the URL, any help would be appreciated.
Thanks.
External URL's are pointing to my own site - help
-
- Posts: 3
- Joined: Fri Jan 09, 2009 4:49 pm
External URL's are pointing to my own site - help
Jason Temple
Hello thefandango,
I don't really know why the go.php page is used but it can be bypassed by changing the gbook.php file.
Open it in a plain suitable text editor.
Find line 535 (in GBook version 1.6) and change it to
Also find line 972 and change it to
I think this should work, but i have not tested it.
Greetings,
Henrie
I don't really know why the go.php page is used but it can be bypassed by changing the gbook.php file.
Open it in a plain suitable text editor.
Find line 535 (in GBook version 1.6)
Code: Select all
echo $lang['t19'].' <a href="go.php?url='.$url.'" class="smaller">'.$url.'</a><br />';
Code: Select all
echo $lang['t19'].' <a href="'.$url.'" class="smaller">'.$url.'</a><br />';
Code: Select all
echo $lang['t19'].' <a href="go.php?url='.$url.'" class="smaller" '.$target.'>'.$url.'</a><br />';
Code: Select all
echo $lang['t19'].' <a href="'.$url.'" class="smaller" '.$target.'>'.$url.'</a><br />';
Greetings,
Henrie
Henry already posted the fix, but just to clarify: in start this was meant as one of the things to drive spammers away (because they don't get clean links which they are after, but redirects) but this has shown to have no real effect at all, I will remove it in the next version or at least make it optional.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools