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:
Write your message below:
hi i'm installed hdesk it is very good script in all feature i would install it on intranet (local domain) and we use outlook email, on setting it reject email & URL because was not end by (.com, .net ,etc.....) please help me to solve this problem i well thank you.
hdesk on intranet
Moderator: mkoch227
Hi,
Open admin_settings_save.php in a text editor (Notepad, Wordpad) and change all hesk_validateEmail and hesk_validateURL to hesk_input
Open admin_settings_save.php in a text editor (Notepad, Wordpad) and change all hesk_validateEmail and hesk_validateURL to hesk_input
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
Oh, you mean the entire help desk, not just admin settings. In this case do the same as above also in these files:
- submit_ticket.php
- profile.php
- manage_users.php
- submit_ticket.php
- profile.php
- manage_users.php
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
Well it has to work because if you did change all instances of the above code Hesk will not check for valid emails ur URLs.
Another (simpler) way of trying this would be if you change this code in inc/common.inc.php file: to something like
And in the same file change to
Another (simpler) way of trying this would be if you change this code in inc/common.inc.php file:
Code: Select all
/***************************
Function hesk_validateEmail()
***************************/
function hesk_validateEmail($address,$error,$required=1) {
$address = trim($address);
if (preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/",$address))
{
return $address;
}
if ($required) {
hesk_error($error);
} else {
return '';
}
} // END hesk_validateEmail()
Code: Select all
/***************************
Function hesk_validateEmail()
***************************/
function hesk_validateEmail($address,$error,$required=1) {
return hesk_input($address,$required);
} // END hesk_validateEmail()
Code: Select all
/***************************
Function hesk_validateURL()
***************************/
function hesk_validateURL($url,$error) {
$url = trim($url);
if (preg_match("/^(https?:\/\/+[\w\-]+\.[\w\-]+)/i",$url))
{
return $url;
}
hesk_error($error);
} // END hesk_validateURL()
Code: Select all
/***************************
Function hesk_validateURL()
***************************/
function hesk_validateURL($url,$error) {
return hesk_input($url,$error);
} // END hesk_validateURL()
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