$_SERVER['REMOTE_ADDR'] not works with piping
Moderator: mkoch227
$_SERVER['REMOTE_ADDR'] not works with piping
When I make a ticket fom form, I see my IP in ticket list later, but when I make it with pipe, my IP is always not specified.
Re: $_SERVER['REMOTE_ADDR'] not works with piping
That's normal, because with email piping the customer never visits your server so the $_SERVER['REMOTE_ADDR'] variable is always empty.
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: $_SERVER['REMOTE_ADDR'] not works with piping
Agree. Is there any alternate way to know IP with piping?
Re: $_SERVER['REMOTE_ADDR'] not works with piping
Unfortunately not. But I got an idea that will be included in the next update - IP will be set if customer replies over the web form at any time.
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: $_SERVER['REMOTE_ADDR'] not works with piping
Yes, parse IP from header could not give normal result. Good idea for next update! It will be nice to add IP not only when customer replies over the form, but also when open ticket link may beKlemen wrote:Unfortunately not. But I got an idea that will be included in the next update - IP will be set if customer replies over the web form at any time.