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 | |
$dbHost = 'localhost'; | |
$dbUser = 'root'; | |
$dbPass = ''; | |
$dbName = 'blog'; //database name | |
$table= 'users'; //table name you need export | |
$fileName = 'export'; | |
//try connect |
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 | |
use Shuble\Slurpy\Operation\OperationArgument\PageRange; | |
$inputs = array( | |
'/path/to/file1.pdf', | |
'/path/to/file2.pdf', | |
array( | |
'filepath' => '/path/to/file3.pdf', | |
'password' => 'pa$$word', | |
'start_page' => 1, | |
'end_page' => 'end', |
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
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> | |
<script> | |
//array arr | |
var arr = new Array(); | |
var i=0; | |
for (i; i<100000; i++) { | |
arr[i] = i; | |
} | |
//use for |
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
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> | |
<form> | |
<label for="regExField">Email: </label> | |
<input id="regExField" type="text"> | |
<span id="messageExField"></span> | |
</form> | |
<script type="text/javascript"> | |
$(document).ready(function () { | |
function checkEmailValid(str) { | |
var regEx = /^.{1,}@.{2,}\..{2,}/; |