var $enable = true;
var $hits_limit_GET = 3; // hits limit for GET requests (per wpadtiddos_seconds_limit_GET second)
var $hits_limit_XHR = 3; // hits limit for XHR requests (per wpadtiddos_seconds_limit_XHR second)
var $seconds_limit_POST = 3; // seconds limit for POST requests
var $seconds_limit_AUTH = 3; // seconds limit for AUTH (Password) requests
var $visitor; // status of visitor = raw|cool|warm|hot
var $warm_level; // number of hits for last $seconds_limit seconds that cause visitor`s status turn to warm
var $auto = true; // block visitors by AntiDDOS
var $delay_time = 30; // seconds of delay of blocked visitors
var $block_cnet = true; // block all C class net.
var $cloudflare = true; // convert Cloudflare HTTP_CF_CONNECTING_IP to REMOTE_ADDR
var $send_header = false; // send "WP_AntiDDOS: yes" header for debug purposes
var $only_params_enabled = false; // Only Params feature enabled
var $only_params = 's'; // the only GET/POST params that trigger checkup
var $status, $error_msg;
var $conn; // mysql connection
var $hits = false; // actual hits number for current IP
var $cookie = ''; // wpantiddos cookie value that prevents anti DDOS processing
var $table_name = '';
var $pass_param = 'pwd'; // name of POST parameter that indentify Login (AUTH) request
var $delay_message = 'Our server is currently overloaded, your request will be repeated automatically in %s seconds';
var $delay_message_auth = 'Our server is currently overloaded, your request will be repeated automatically in %s seconds';
public function __construct()
$GLOBALS['wp_antiddos_instance'] = &$this;
$this->conn = mysqli_connect(DB_HOST,DB_USER,DB_PASSWORD);
$ok = mysqli_select_db($this->conn,DB_NAME);
if (!$ok) return false;
// plugin disabled
if (!$this->enable) return;
// current request is admin's one
if (isset($_COOKIE['wpantiddos']) && $_COOKIE['wpantiddos']==$this->cookie) return;
// detect request type and limits
if ($this->hits_limit_XHR=='ANY') return;
$request_type = 'xhr';
$hits_limit = $this->hits_limit_XHR;
$seconds_limit = wpadtiddos_seconds_limit_XHR;
elseif ($_POST && isset($_POST[$this->pass_param]) )
if ($this->seconds_limit_AUTH=='ANY') return;
$request_type = 'auth';
$seconds_limit = $this->seconds_limit_AUTH;
$this->only_params .= ' '.$this->pass_param;
$hits_limit = 1;
if ($this->seconds_limit_POST=='ANY') return;
$request_type = 'post';
$hits_limit = 1;
$seconds_limit = $this->seconds_limit_POST;
if ($this->hits_limit_GET=='ANY') return;
$request_type = 'get';
$hits_limit = $this->hits_limit_GET;
$seconds_limit = wpadtiddos_seconds_limit_GET;
$_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP'];
$this->ip = $_SERVER['REMOTE_ADDR'];
$this->ip = substr($this->ip,0,strrpos($this->ip,'.')+1);
$this->warm_level = ceil($hits_limit/2);
$res = mysqli_query($this->conn,"SELECT count(*) kount FROM $this->table_name WHERE ip='".addslashes($this->ip)."' AND tstamp>".(time()-$seconds_limit)." AND type='$request_type'");
$row = mysqli_fetch_assoc($res);
$this->error_msg = 'Error detected';
$this->hits = @$row['kount']+1; // consider current request too
if ($this->hits==0) // if no hits from this IP
$this->visitor = "new";
$this->visitor = "hot";
$this->visitor = "warm";
$this->visitor = "cool";
// add current hit
mysqli_query($this->conn,"INSERT INTO $this->table_name SET ip='$this->ip', type='$request_type', tstamp=".time());
// cleanup ip list
$clear_time = max($this->delay_time,$seconds_limit);
mysqli_query($this->conn,"DELETE FROM $this->table_name WHERE tstamp<".(time()-$clear_time));
$this->error_msg = $e->getString();
$this->status = 'error';
if (!empty($this->error_msg) )
$this->status = 'error';
if ($this->auto && $this->visitor=='hot')
header('HTTP/1.0 503 Service Unavailable');
header('Status: 503 Service Unavailable');
header("Retry-After: ".($this->delay_time+1)); // submit form first if POST request
It is a Highly interesting article on Vedic astrology entity that is Parivesh or Paridhi.
Parivesh or Paridhi Which has the good effects of a DOUBLE Jupiter on the Horoscope or Kundli on various aspects of Life Like Career, Job, Money, Love & Relationships, Family , Children etc.
It also Gives How to know where Parivesh or Paridhi is in the Horoscope or Kundli.
Plus as a PRACTICAL EXAMPLE, the impact of Parivesh or Paridhi in the Life of Cricketer Virat Kohli is analyzed at length to explain the concepts.
What is Parivesh or Paridhi in vedic astrology Terms ?How to find it out in your Horoscope or Kundli
Now parivesh or paridhi is a benefic.
Its effects are mostly like a double Jupiter Or Guru.
The location of parivesh or paridhi is calculated based on location of sun in Vedic astrology or Jyotish.
How is Paridhi or Parivesh calculated in vedic astrlogy Horoscope?
The longitude of vyatipat is = longitude of dhooma + 53 degree 20 minutes
& longitude of parivesh or paridhi = 180 degrees + Vyatipati
The following are the results of the parivesh in various houses.
We will try to check the position of parivesh for virat kohli the Indian captain for IPL matches.
Impacts of Paridhi (or Parivesh) in Various Bhavas or houses of kundli or horoscope
In the event that Paridhi (or Parivesh) is in Tanu Bhava or the first house of your horoscope or kundli (birth chart).
The house of personality and comforts, the person will be open mined ( as Paridhi (or Parivesh) acts like double Jupiter Or Guru benefic), honest, tranquil, rich, close with children, unadulterated, magnanimous and dear to older folks.
If Paridhi (or Parivesh) is in second house or Dhan Bhava of your horoscope or kundli (birth chart), of wealth and status.
Then the person will be affluent( due to double Jupiter Or Guru effect on the house of gains), happy, will appreciate delights, be cheerful, exceptionally religious as double Jupiter Or Guru in the house of family makes a person more religious and be a Lord.
If Paridhi (or Parivesh) is in the third house or Sahaj Bhava of your horoscope or kundli (birth chart),of initiative,business,consulting, and nearby environment plus siblings.
Then the person will be very close to his better half(there is an aspect of the double Jupiter Or Guru the seventh house of love and marriage), be extremely beguiling, devout, all around connected to his men, be a worker and be respectful of his parents or senior citizens(as third house is the house of environment as well .
So if double Jupiter Or Guru is here, and Jupiter Or Guru represents dharma actions- so helping senior criticizes is a kind of dharma).
In the event that Paridhi (or Parivesh) is in the fourth house Bandhu Bhava of your horoscope or kundli (birth chart).
The house that rules family, mind, vehicles ,the person will be miracle struck, supportive to adversaries too, kind, enriched with everything and be skilful in singing.
In the event that Paridhi (or Parivesh) is in the fifth house or Putra Bhava of your horoscope or kundli (birth chart).
The house that rules intelligence & children and stocks.
The person will be wealthy(there is an aspect of double Jupiter Or Guru on the ninth house of luck and eleventh house of labha), high-minded(fifth house is also a house of learning), splendorous, tender, religious and dear to his life partner.
In the Paridhi (or Parivesh) is in the sixth house or Ari Bhava of your horoscope or kundli (birth chart),the house that rules opposition, debt and problems.
The person will be well known and affluent, be enriched with children and delights.
be useful to all and will overcome his adversaries( here the strong effect of double Jupiter Or Guru cancels out all the negative aspects of the sixth house or the vighna bhava).
If in case Paridhi (or Parivesh) is in the seventh house or Yuvati Bhava of your horoscope or kundli (birth chart).
the house that rules sex, your partnership and your wife, the person will have many children as double Jupiter Or Guru is a karaka for children and hence magnifies the number of kids, be without joy.
be of less knowledge( this could be there as seventh house is ruled by Venus and Jupiter Or Guru is not as comfortable over there), stiff-necked and will have a wife who is not health.
On the off chance that Paridhi (or Parivesh) is in the eighth house or Randhr Bhava of your horoscope or kundli (birth chart).
The house that rules your inheritance, sudden obstacles and death, the person will be profoundly arranged, quiet, strong bodied, firm in choice, religious and tender.
If Paridhi (or Parivesh) is in the ninth house or Dharma Bhava of your horoscope or kundli (birth chart),the house that rules the luck, fortune and father.
Then the person will be blessed with children(the ninth house is fifth from fifth house, now this has double Jupiter Or Guru so one could expect this results), be cheerful, splendid, extremely rich( Jupiter Or Guru is the karaka for the ninth house and here a double Jupiter Or Guru significantly magnifies the luck).
Also be without exorbitant energy, be fair and be content with even a particle.
If Paridhi (or Parivesh) is in the tenth house or Karma Bhava of your horoscope or kundli (birth chart) of your horoscope or kundli (birth chart).
the house ruling career, profession and karma. The local will be versed in expressions( the house of action the tenth house gets double Jupiter Or Guru the planet of expression).
will appreciate joys, be solid bodied and be scholarly in all Shastras( Jupiter Or Guru energy here makes him or her do work to do with shastras).
If that Paridhi (or Parivesh) is in eleventh house or Labh Bhava of your horoscope or kundli (birth chart), the house ruling gains.
The person will appreciate joys through ladies, be high-minded, shrewd, and dear to his kin and will have issues in his digestive system or fire.
If in case Paridhi (or Parivesh) is in the twelfth house or Vyaya Bhava of your horoscope or kundli (birth chart),the house ruling decay, sex and indulgence and foreign travel.
The person will dependably be a prodigal, be hopeless( as Jupiter Or Guru here is not comfortable in the twelfth house of indulgence as Jupiter Or Guru is the planet for dharma), firm and will disrespect older folks(the planet of dharma in the house of indulgence could cause these effects).
Virat Kohli the Indian cricket skipper was born 5 November 1988. Virat Kohli is A right-handed batsman and is a topmost rated batsman.
Kohli has also been ranked eighth in ESPN’s list in 2016.He is a team member of the Royal Challengers Bangalore in the Indian Premier League (IPL), and has been the Indian team’s captain since the year 2013.
Planets C R Rashi Longitude Nakshatra Pada Relation
Asc Scorpion 06-11-17 Anuradha 1
Sun D Libra 19-12-15 Swati 4 Debilitated
Moon D Leo 29-06-47 Uttaraphal 1 Friendly
Mars D Pisces 06-34-32 Uttarabhadra 1 Friendly
Mercury D Libra 03-57-16 Chitra 4 Friendly
Jupiter R Taurus 09-41-34 Krittika 4 Enemy
Venus D Virgo 13-43-18 Hasta 2 Debilitated
Saturn D Sagittarius 05-36-14 Mula 2 Neutral
Rahu R Aquarius 17-05-40 Satabhisa 4
Ketu R Leo 17-05-40 Purvaphalgini 2
Uran D Sagittarius 04-54-06 Mula 2
Nept D Sagittarius 14-16-30 Purvashadha 1
Plut D Libra 18-48-14 Swati 4
Calculation for Parivesha or Paridhi for Virat Kohli the Indian cricket team captain royal challengers IPL
“In the occasion that Paridhi (or Parivesh) is in eleventh house or Labh Bhava, the individual will acknowledge delights through women, be decent, wise, and dear to his kinfolk and will have issues in his digestive framework or fire.”
All the above seems to be true for virat, infact part from bollywood actresses(anushka Sharma) , the slain lady(murdered) from TV from Pakistan qandeel baloch of Pakistan TV star was a great fan of virat kohli, as she has herself confessed.
2016 and 2017 for Virat Kohli:
He is going to do very well in career. He may tie the nuptial know that is get married.
Jupiter Or Guru or guru could get into his 10th house and aspect his house of family.
Saturn would come close to his natal Saturn ruling second and third house- giving home more gains and wealth by proper discipline and yes activating his family house second of wealth ,status and family.