Just a quick bug report.
If you include a ' in a signature file it is not escaped and throws an SQL insert error.
Re's
Rob
Bug report concerning the signature file
Moderator: mkoch227
-
- Posts: 4
- Joined: Mon Mar 03, 2008 8:27 am
Hi,
Hesk should automatically add slashes to all input data
Will have a look though and see if I can find the problem. Could you by any chance upload phpinfo file on your server and post the link here so I can check your server config?
http://www.phpjunkyard.com/extras/phpinfo.zip
Hesk should automatically add slashes to all input data
Code: Select all
if (!ini_get('magic_quotes_gpc'))
{
if (!is_array($in))
$in = addslashes($in);
else
$in = hesk_slashArray($in);
}
http://www.phpjunkyard.com/extras/phpinfo.zip
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
-
- Posts: 4
- Joined: Mon Mar 03, 2008 8:27 am
Rob,
I can't seem to be able to generate this error on my server, would you please upload phpinfo file to your server so I can see how PHP is configured there:
http://www.phpjunkyard.com/extras/phpinfo.zip
You can either post results here or send them to me in a private message.
Tanks!
I can't seem to be able to generate this error on my server, would you please upload phpinfo file to your server so I can see how PHP is configured there:
http://www.phpjunkyard.com/extras/phpinfo.zip
You can either post results here or send them to me in a private message.
Tanks!
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
-
- Posts: 4
- Joined: Mon Mar 03, 2008 8:27 am
PM sent.Klemen wrote:Rob,
I can't seem to be able to generate this error on my server, would you please upload phpinfo file to your server so I can see how PHP is configured there:
http://www.phpjunkyard.com/extras/phpinfo.zip
You can either post results here or send them to me in a private message.
Tanks!
Re's
Rob
-
- Posts: 4
- Joined: Mon Mar 03, 2008 8:27 am
Thanks for the info, you can delete the phpinfo file now. I will have a look today or tomorrow.
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
Ok, try if this works for you:
http://www.phpjunkyard.com/extras/hesk_slash.zip
Whatever comes out I strongly recommend that you contact your host and demand that they upgrade their PHP, they have a very old version which is both insecure and could also be the reason for the problems you are having.
http://www.phpjunkyard.com/extras/hesk_slash.zip
Whatever comes out I strongly recommend that you contact your host and demand that they upgrade their PHP, they have a very old version which is both insecure and could also be the reason for the problems you are having.
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