-
Open Ampps Application -> MySQL Tab -> Configuration.
-
In [mysqld] section, add the following line:
innodb_force_recovery = 1
-
Save the file and try starting MySQL
-
Remove that line which you just added and Save.
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
Name: Flash | |
Serial: eNrzzU/OLi0odswsqnHLSSzOqDGoca7JKCkpsNLXLy8v1ytJTczVLUotKNFLzs8FAJHYETc= | |
if anyone wants to thank ETH: 0x527c2aB55b744D6167dc981576318af96ed26676 | |
Thank you! |
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 | |
// Server key from Firebase Console | |
define( 'API_ACCESS_KEY', 'AAAA----FE6F' ); | |
$data = array("to" => "cNf2---6Vs9", | |
"notification" => array( "title" => "Eagale Soluions", "body" => "A Code Sharing Company!","icon" => "icon.png", "click_action" => "http://eagalesoft.com")); | |
$data_string = json_encode($data); | |
echo "The Json Data : ".$data_string; | |
$headers = array | |
( | |
'Authorization: key=' . API_ACCESS_KEY, |
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
<html> | |
<head> | |
<title>How to transfer large files from one server to another in seconds - EagaleSolutions</title> | |
</head> | |
<body> | |
<form method="post"> | |
<input name="url"size="50" placeholder="http://abc.pk/Muqas.zip" /> | |
<input name="submit" type="submit" /> | |
</form> | |
<?php |
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 | |
/** Please excuse this code I wrote in 2011, I'll be updating this post for 2015/6 standards soon */ | |
// clean up the input | |
if(empty($_GET['text'])) fatal_error('Error: No text specified.') ; | |
$text = html_entity_decode($_GET['text']).' ' ; | |
$text = floatval($text); | |
$text = number_format($text, 1, '.', '') . '%'; |
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 | |
$config['upload_path'] = './uploads/'; // upload path | |
/* OR any oyher form, e.g.: | |
$config['upload_path'] = $_SERVER["DOCUMENT_ROOT"].'/uploads/'; // upload path | |
*/ | |
$config['allowed_types'] = 'zip'; // array or string of file extensions | |
$config['max_size'] = '100'; // max file size | |
$this->load->library('upload', $config); // do the job | |
$zdata = array('upload_data' => $this->upload->data()); // get data | |
$zfile = $zdata['upload_data']['full_path']; // get file path |
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
#301 Redirects for .htaccess | |
#Redirect a single page: | |
Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
#Redirect an entire site: | |
Redirect 301 / http://www.domain.com/ | |
#Redirect an entire site to a sub folder | |
Redirect 301 / http://www.domain.com/subfolder/ |
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 | |
/** | |
* Convert a comma separated file into an associated array. | |
* The first row should contain the array keys. | |
* | |
* Function Parameters: | |
* | |
* @param string $filename Path to the CSV file | |
* @param string $delimiter The separator used in the file | |
* @return array |
NewerOlder