Skip to content

PHP function missing argument error

My validate function looks like that Function call example As you see, my validate function has 3 input vars. I’m not using second var – $data2 often, that’s why set it to 0 by default. But when I’m calling this function as given example (as far as I know it means $data=$lname, $data2=…

Matching IPv6 address to a CIDR subnet

Is there a good way to match an IPv6 address to an IPv6 subnet using CIDR notation? What I am looking for is the IPv6 equivalent to this: Matching an IP to a CIDR mask in PHP 5? The example given …

hiding the URL address in the address bar

I want to hide the url of the address bar but i have no idea how to do it, i have done some searching but found nothing. On my website i want people to just see www.roundaboutmk.com on every page, no matter what link/button they click on. for example, if they click on the “login” button it will ta…

PHP MSSQL Server connection issue

I have a database of MSSQL server 2005. I can connect to the server via MSSLQL client software (MSSQL Management Studio). The issue is I cant connect to the server from PHP script using the same …