- XAMPP for Windows
- Download Win32 OpenSSL: https://slproweb.com/products/Win32OpenSSL.html Win32OpenSSL-1_0_2d.exe
<?php | |
//الملف ده اللى بيكون موجود فيه الدوال المساعده للشغل وغالبا بيكون مساره كالتالى | |
// app/helper/help.php | |
// ملحوظه (الملف ده انت اللى بتعمله عشان تحط جوا الفنكشنز اللى هتساعدك فى شغلك )0 | |
#================ search at sql text to regx ===================================== | |
function sql_text_to_regx($string){ | |
$alamat = array("+","=","-","_",")","(","*","&","^","%","$","#","@","!","/","\\","|",">","<","?","؟"); | |
$alamat_change = ""; | |
$alef = array("ا","أ","آ","إ"); | |
$alef_change = "@@@"; |
<?php | |
if(!function_exists('config_path')) | |
{ | |
/** | |
* Return the path to config files | |
* @param null $path | |
* @return string | |
*/ | |
function config_path($path=null) |
https
instead of http
<?php | |
//Don't forget to change the namespace! | |
namespace App\Traits; | |
use Cron\CronExpression; | |
use Illuminate\Support\Carbon; | |
use Illuminate\Console\Scheduling\ManagesFrequencies; | |
trait Schedulable{ |
# see https://github.com/cmaessen/docker-php-sendmail for more information | |
FROM php:fpm | |
RUN apt-get update && apt-get install -q -y ssmtp mailutils && rm -rf /var/lib/apt/lists/* | |
RUN docker-php-ext-install mysql mysqli | |
RUN echo "hostname=localhost.localdomain" > /etc/ssmtp/ssmtp.conf | |
RUN echo "[email protected]" >> /etc/ssmtp/ssmtp.conf |
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Facades\Auth; | |
use Illuminate\Support\Facades\Cookie; | |
use Illuminate\Support\Facades\Mail; | |
use Illuminate\Support\Facades\Session; | |
use Ratchet\WebSocket\Version\RFC6455\Connection; |
/*<![CDATA[*/ | |
$(document).ready( function(){ | |
var images = $(document).find('.to_load img'); | |
$.each( images, function( idx, value){ | |
var original = $(this); | |
$(this).addClass('hidden'); | |
$('<span class="img_loader"> </span>').insertBefore( original ); | |
var src = $(this).attr('src'); | |
var $img = new Image(); | |
$($img).delay( 500 ).load( function(){ |
<?php | |
namespace App\Jobs; | |
use Illuminate\Bus\Queueable; | |
use Illuminate\Queue\SerializesModels; | |
use Illuminate\Queue\InteractsWithQueue; | |
use Illuminate\Contracts\Queue\ShouldQueue; | |
use Illuminate\Support\Facades\Mail; |