Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

$rootActivity = $this->GetRootActivity(); $meeting_date= $rootActivity->Meeting_date; ..

Decoded Output download

<?  $rootActivity = $this->GetRootActivity(); 
$meeting_date= $rootActivity->Meeting_date; 
 
$this->WriteToTrackingService("Meeting date" . $meeting_date);  
  
$timezone = date_default_timezone_get(); 
$localTZ = new DateTimeZone($timezone); 
$localMeetingDate = new DateTime($meeting_date, $localTZ ); 
$this->WriteToTrackingService($localMeetingDate ->format('Y-m-d H:i:s') );  
  
$targetTZ = new DateTimeZone("{=A49378_32365_39852_39214:PROPERTY_TIMEZONE}"); 
$targetMeetingDate = new DateTime($meeting_date, $targetTZ ); 
$this->WriteToTrackingService(" " . $targetMeetingDate ->format('Y-m-d H:i:s') );  
  
$this->WriteToTrackingService($localMeetingDate ->getOffset() - $targetMeetingDate ->getOffset()); 
$this->WriteToTrackingService($targetMeetingDate ->getOffset()); 
 
$timeDiff = $localMeetingDate ->getOffset() - $targetMeetingDate ->getOffset(); 
$localMeetingDate->add(DateInterval::createFromDateString($timeDiff  . ' second')); 
 
$this->WriteToTrackingService(strval($timeDiff)  . ' second' );  
$this->WriteToTrackingService($localMeetingDate ->format('Y-m-d H:i:s') ); 
 
$this->SetVariable('DATE', strval($timeDiff) . "s"); 
 
//$targetTZ = new DateTimeZone('+3:00'); 
  
//$this->WriteToTrackingService(strval($localTZ->getOffset())."s");  ?>

Did this file decode correctly?

Original Code

$rootActivity = $this->GetRootActivity();
$meeting_date= $rootActivity->Meeting_date;

$this->WriteToTrackingService("Meeting date" . $meeting_date); 
 
$timezone = date_default_timezone_get();
$localTZ = new DateTimeZone($timezone);
$localMeetingDate = new DateTime($meeting_date, $localTZ );
$this->WriteToTrackingService($localMeetingDate ->format('Y-m-d H:i:s') ); 
 
$targetTZ = new DateTimeZone("{=A49378_32365_39852_39214:PROPERTY_TIMEZONE}");
$targetMeetingDate = new DateTime($meeting_date, $targetTZ );
$this->WriteToTrackingService(" " . $targetMeetingDate ->format('Y-m-d H:i:s') ); 
 
$this->WriteToTrackingService($localMeetingDate ->getOffset() - $targetMeetingDate ->getOffset());
$this->WriteToTrackingService($targetMeetingDate ->getOffset());

$timeDiff = $localMeetingDate ->getOffset() - $targetMeetingDate ->getOffset();
$localMeetingDate->add(DateInterval::createFromDateString($timeDiff  . ' second'));

$this->WriteToTrackingService(strval($timeDiff)  . ' second' ); 
$this->WriteToTrackingService($localMeetingDate ->format('Y-m-d H:i:s') );

$this->SetVariable('DATE', strval($timeDiff) . "s");

//$targetTZ = new DateTimeZone('+3:00');
 
//$this->WriteToTrackingService(strval($localTZ->getOffset())."s"); 

Function Calls

None

Variables

None

Stats

MD5 ee78ea71ddc7eac61a88d30770972df1
Eval Count 0
Decode Time 49 ms