Microsoft
Software
Hardware
Network
Question : Php related question
hello dear experts, i have here some php code and there are some lines that i do not understand.
1. What does this line do?
$qrrystring = '?'.preg_replace('/&page=(
[0-9])+/',
'',$qrryst
ring).'&am
p;';
2. What does this line do?
$obj1 = new F1();
3. what does this code do?
if(isset($myrekest['PHPSES
SID']))
{
unset($myrekest['PHPSESSID
']);
}
if(isset($myrekest['__utmz
']))
{
unset($myrekest['__utmz'])
;
}
if(isset($myrekest['__utma
']))
{
unset($myrekest['__utma'])
;
}
if(isset($myrekest['__utmc
']))
{
unset($myrekest['__utmc'])
;
}
if(isset($myrekest['__utmb
']))
{
unset($myrekest['__utmb'])
;
}
Thank you
Answer : Php related question
1. Replaces the 'querystring' in a URL with &page=([0-9])+
2. Creates a 'new' object of the class F1.
3. 'Unsets' or makes null a series of cookie values.
Random Solutions
Computer with nVidia GeForce 9800 GTX+ has problems - power supply or card issues?
Insert Google Map locator in Web site
save a webpage to file then reload from file.
Web Site Review - Ravine
management interface on Cisco ASA 5505
linux Centos server
Server 2008 terminal license server and Server 2003 terminal license server on same domain - issues?
how is user name and password is verified in websites?
Where is mysql using my drive space?
Indent the text and apply all other format to it, without using blank space ( ) or transparent gif)