Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
URL, link and several others that were rejected. Then I went through all the pages looking for something similar.
Write your message below:
Sometimes when I am entering a reply, I have to demonstrate the syntax of a command such as:
copy sftp://user:password@ipaddress/file.
The automatic "turning URLs into a link" messes up the syntax, deleting what is after the second colon and replacing it with http.
Does anyone know where in the code I can turn off this automatic "turn URLs into links"?
URL gets messed up
Moderator: mkoch227
Re: URL gets messed up
In inc/common.inc.php find and just above that add
I am aware of that problem though and will have a fix ready for 2.5
Code: Select all
$rexProtocol = '(https?://)?';
Code: Select all
return $text;
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
Re: URL gets messed up
Thank you Klemen. You're the best.
(Sorry about the "Is this possible" question. After breaking our ticketing system with the fixes I attempted, I thought it best to ask for your help.)
(Sorry about the "Is this possible" question. After breaking our ticketing system with the fixes I attempted, I thought it best to ask for your help.)