Skip to forum content

LuxCal Web Calendar

The place for news, questions and suggestions

You are not logged in. Please login or register.


Post new reply

LuxCal Web Calendar → Suggestions → PHP fix in header.php → Post new reply

Post new reply

Compose and post your new reply

You may use: BBCode Images Smilies

All fields with bold label must be completed before the form is submitted.

Required information for guests


Required information

Topic review (newest first)

3

Thanks for the note, your product is amazing!

Jyoti

2

Hi there,

Thanks for reporting this. You are right, the PHP manual clearly states that there is no guarantee that the variable $_SERVER['HTTP_USER_AGENT'] is provided by every web server, so before using it, the existence must be checked. This will be fixed in the next LuxCal version.

We are happy to have knowledgeable calendar users in India!

Roel

1

We should check

array_key_exists('HTTP_USER_AGENT',$_SERVER)

Before using the value of $_SERVER['HTTP_USER_AGENT']

I had to redo this manually when I upgraded to 4.7.5L and 4.7.6L

It would be nice if this can be incorporated in the code!

LuxCal Web Calendar → Suggestions → PHP fix in header.php → Post new reply