This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$email = '[email protected]'; | |
$path = '/home/*'; | |
$folders = glob($path, GLOB_ONLYDIR); | |
foreach($folders as $folder){ | |
// skip non-client directories | |
if(fileowner($folder) < 1001) continue; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// this will read in all the speakers, sort them by date, then store in a file for use later | |
$speakerList = [ | |
'speaker-file', | |
]; | |
$speakers_all = []; | |
foreach($speakerList as $speaker) { | |
$speakers_all[$speaker] = include_once("./speakers/{$speaker}.php"); | |
$speakers_all[$speaker]['bullet-points'] = text2bullets($speakers_all[$speaker]['bullet-points']); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[raw] | |
<h2 style="text-align: center;">Transferring to OtherMemberiumSite.com</h2> | |
<p style="text-align: center;"><img src="/wp-content/uploads/2016/04/icon-loading.gif" /></p> | |
[/raw] | |
<form id="memb-login" action="https://othermemberiumsite.com/wp-login.php" method="post"> | |
<input type="hidden" name="log" id="user_login" class="input" value="[memb_contact fields='Email']" /> | |
<input type="hidden" name="pwd" id="user_pass" class="input" value="[memb_contact fields='Password']" /> | |
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Snippet to extract information about a class you don't have access to. | |
*/ | |
$extractClass = $GLOBALS['someclass']; | |
$className = get_class( $extractClass ); | |
$classMethods = get_class_methods( $extractClass ); | |
echo "Class: $className\n"; |