mustafaabdujalil

Experience

3,850

2 Best Reply Awards

  • Member Since 1 Year Ago
  • 0 Lessons Completed
  • 0 Favorites

16th November, 2017

mustafaabdujalil left a reply on Redirect To Another Url Or Website • 4 days ago

from @tykus from controller ?

mustafaabdujalil started a new conversation Redirect To Another Url Or Website • 4 days ago

Redirect to another url or website ?!!

13th November, 2017

mustafaabdujalil started a new conversation Voyager • 1 week ago

How can i use voyager with existing database that has table users with different fields ??

thanks

7th November, 2017

mustafaabdujalil started a new conversation Laravel Validation • 1 week ago

I create ajax request and do laravel validation for parameters of this request how can i return validation errors to ajax as a json response ? Thanks

5th November, 2017

mustafaabdujalil started a new conversation Reset Password • 2 weeks ago

I'm using phpmailer to send email how can i update in reset password method in laravel to write it by phpmailer ??

30th October, 2017

mustafaabdujalil started a new conversation Merging • 3 weeks ago

I have 2 queries from different 2 tables (with different fields) i want merge them and sort by timestamp ?!!!!

this is code

$location_ids = LocationAddress::where('created_by_user_id',Auth::user()->id)->orWhere('user_email',Auth::user()->email)->distinct()->pluck('id');
    
$package_ids = Package::whereIn('reciever_id',$location_ids)->orWhereIn('sender_id',$location_ids)->pluck('id');
            
$package_notifications = PackageUpdate::whereIn('package_id',$package_ids)->where('view_status',1)->get();
            
$payment_notifications = TagsPaymentBalance::where('user_id',Auth::user()->id)->where('view_status',1)->where('expiry_date','>',$today)->get();

i want merge $package_notifications and $payment_notifications ??

mustafaabdujalil started a new conversation Union • 3 weeks ago

when i created union between two tables give me this error Method getBindings does not exist. ?

29th October, 2017

mustafaabdujalil left a reply on Sorting • 3 weeks ago

give me this error Method getBindings does not exist. ??

mustafaabdujalil left a reply on Sorting • 3 weeks ago

thank you all :)

mustafaabdujalil started a new conversation Sorting • 3 weeks ago

i merge two query and i want sort them by created_at field ??

26th October, 2017

mustafaabdujalil started a new conversation PHPMailer • 3 weeks ago

How can i use PHPMailer to send email if any one used it before i whop to help me ?

https://github.com/PHPMailer/PHPMailer/

Thanks

23rd October, 2017

mustafaabdujalil left a reply on Send Mail • 4 weeks ago

thanks @Snapey

mustafaabdujalil started a new conversation Send Mail • 4 weeks ago

how can i send mail to any user i don't use mailtrip i don't want to test sending email examples : if one of user has [email protected] and another one hase [email protected] how i can send email to each one with different stp ?!!!

Help please Thanks

21st October, 2017

mustafaabdujalil left a reply on Store File • 4 weeks ago

I find the solution ..... i should change the local root in file system to base_path() because i put the files that was in public folder out public it

mustafaabdujalil left a reply on Uploading An Image Via A Form • 4 weeks ago

The doc way is the best and easier way to store and get the file from public

to store $path = $request->file('here name of input of file')->store('file name in public directory');

to get file in view {{asset('$path')}}

mustafaabdujalil left a reply on Store File • 4 weeks ago

the same problem

mustafaabdujalil started a new conversation Store File • 4 weeks ago

I store image on my laravel app the path is returned correct but the image does not store in folder

on local store very good but on server does not store ?!! this is my code

    public function editPersonalInfoWeb(Request $request)
    {
        $user_id = Auth::user()->id;
      //  return $request->imageProfile;
        if($request->imageProfile != ''){
                $image_name = $request->file('imageProfile')->store('/images/profileImages');
    // return $image_name;
        
        }else{
            $image_name = User::where('id',$user_id)->value('image_url');
                    //   return "bbb";

        }
        // dd($image_name);
        $updating = User::where('id',$user_id)->update([
            'full_name' => $request->full_name,
            'mobile' => $request->mobile,
            'company_name' => $request->company_name,
            'email' => $request->email,
            'image_url' => $image_name,
            'units_usa_or_metric' => $request->unit,
        ]);

        return back();
    }

any help

mustafaabdujalil started a new conversation Scan Barcode • 4 weeks ago

i want to scan barcode by javascript i tried to use quagga but i dont know use it with laravel ??

any help

19th October, 2017

mustafaabdujalil started a new conversation Cpanel • 1 month ago

how can i install package in laravel app on cpanel ?

18th October, 2017

mustafaabdujalil left a reply on IP To Location • 1 month ago

thanks

mustafaabdujalil started a new conversation IP To Location • 1 month ago

how get location (long and lati) by user ip ??? thanks

17th October, 2017

mustafaabdujalil started a new conversation Quagga • 1 month ago

How use Quagga for scan barcode with laravel ??!!!! i don't understand doc help please

16th October, 2017

mustafaabdujalil started a new conversation When I Run Stripe Functions This Error Display CURL Error 6: Could Not Resolve Host: Api.payment.com ? • 1 month ago

when i run stripe functions this error display cURL error 6: Could not resolve host: api.payment.com ?

10th October, 2017

mustafaabdujalil left a reply on Template Balde To PDF • 1 month ago

no

mustafaabdujalil started a new conversation Template Balde To PDF • 1 month ago

I want to convert template blade to pdf then download it i use dompdf but i have this error

No block-level parent found. Not good.

help please

9th October, 2017

mustafaabdujalil started a new conversation Convert View To Pdf File • 1 month ago

how can i convert view to pdf then store it in public file.pdf ??

help please

mustafaabdujalil left a reply on BARCODE • 1 month ago

thanks for all :)

mustafaabdujalil started a new conversation BARCODE • 1 month ago

I WANT TO GENERATE BARCODE ?? ANY HELP

mustafaabdujalil left a reply on Sending Mail • 1 month ago

this function in qr.php
    public function build()
    {
        $qr_code = public_path()."/images/qrcodes/".$this->qr_code.".png";
        // dd($qr_code);
        return $this->view('mails.qr')->attach($qr_code);
    }

this method in controller
                    Mail::to($request->recipentEmail)->send(new QR($package->reciever_QR_code));

this is view

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>QR Code</title>
  </head>
  <body>
    <p>Please scan this code after recieve the shippment</p>
    <img src="{{ $message->embed($qr_code) }}">

    <!-- <p>{{$qr_code}}</p> -->
  </body>
</html>


mustafaabdujalil started a new conversation Sending Mail • 1 month ago

when i try to send mail with image return this error ???!!!! Unable to open file for reading [public/images/qrcodes/59d9e0619e4ab.png]

help please thanks

2nd October, 2017

mustafaabdujalil left a reply on Laravel API • 1 month ago

//this route in api.php
Route::post('info','[email protected]')->name('info');


public function editInfo(Request $request)
{

    $name = $request->name;
    // how store image that in request to database ?!!! 

}



mustafaabdujalil left a reply on Laravel API • 1 month ago

@martinbean I will receive api request that contains the file (image) as multipart/data how can i store it in controller ??

mustafaabdujalil started a new conversation Laravel API • 1 month ago

How receive and store the file that has sent from api ?!!

mustafaabdujalil started a new conversation Stripe • 1 month ago

when i run stripe functions this error display cURL error 6: Could not resolve host: api.payment.com ?

30th September, 2017

mustafaabdujalil started a new conversation Read QR Code By Camera • 1 month ago

I want plugin or source to know how read QR code by javascript

mustafaabdujalil started a new conversation API Request • 1 month ago

how can i receive file or image from api request and save it in storage ?!!

28th September, 2017

mustafaabdujalil left a reply on Laravel API • 1 month ago

@Snapey I hope to help me :)

mustafaabdujalil left a reply on Localization Laravel • 1 month ago

thanks

mustafaabdujalil started a new conversation Laravel API • 1 month ago

I created login for api but how i receive the password encrypt in request url ?? I know passport but i want another way thanks

26th September, 2017

mustafaabdujalil started a new conversation Multi Language • 1 month ago

Lang::get();

how can i get the array in specific folder i mean if i have lang/en folder and lang/fr folder and in each folder keywords.php file i want get fr only or en only ??

mustafaabdujalil started a new conversation Multi Language Mobile • 1 month ago

How return language array in language file to mobile ?? i mean when mobile call url localhost:8000/en i return array of keywords in file en.php in lang folder ???

25th September, 2017

mustafaabdujalil started a new conversation Localization Laravel • 1 month ago

App::setLocale($locale) return null

//route
Route::get('/{locale}', function ($locale) {
    App::setLocale("ar");

    return back();

    
});




// view

              <ul class="dropdown-menu" role="menu">
                  <li><a id="btnEng" href="/en" class="language"><img id="imgBtnEng" src="" alt="..." class="img-thumbnail icon-small">  <span id="lanBtnEng">English</span></a></li>
                      <li><a id="btnIta" href="/ar" class="language"> <img id="imgBtnIta" src="" alt="..." class="img-thumbnail icon-small">  <span id="lanBtnlIta">Italiano</span></a></li>
                    <li><a id="btnFra" href="/fr" class="language"><img id="imgBtnFra" src="" alt="..." class="img-thumbnail icon-small">  <span id="lanBtnFra">Francais</span></a></li>
                  </ul>


mustafaabdujalil left a reply on CSRF • 1 month ago

when i try to open localhost:8000/api/[email protected]&password=xxxxxx

give me MethodNotAllowedHttpException !!!

mustafaabdujalil left a reply on CSRF • 1 month ago

this code in api.php file

/'''''''

// Login Route Route::post('login', [ 'uses' => 'Auth\[email protected]' ]); // Password Reset Routes... Route::post('password/email', [ 'uses' => 'Auth\[email protected]' ]); Route::post('password/reset', [ 'as' => '', 'uses' => 'Auth\[email protected]' ]); // Registration Route Route::post('register', [ 'uses' => 'Auth\[email protected]' ]);

// Package Routes Route::prefix('package')->group(function () { Route::post('/createPackage','[email protected]')->name('createPackage'); Route::get('/scanPackage/{barcode}','[email protected]')->name('scanPackage');

});

// Promos Routes

Route::prefix('promos')->group(function () { Route::get('/getPromos','[email protected]')->name('getPromos'); });

''''''/

mustafaabdujalil left a reply on CSRF • 1 month ago

@tisuchi i write routes of mobile in api.php

mustafaabdujalil started a new conversation CSRF • 1 month ago

when i send post request to using it in api it give me MethodNotAllowedHttpException After searching the solution is add exception in App\Http\Middleware\VerifyCsrfToken.php how can i add URI ??

thanks

24th September, 2017

mustafaabdujalil left a reply on Sending Mails • 1 month ago

@sutherland thank you :)

mustafaabdujalil started a new conversation Sending Mails • 1 month ago

How can i send email to any stmp i mean how can i send email to gmail,yahoo........etc ?!! I can send it by mailtrap

Thanks

mustafaabdujalil left a reply on Time • 1 month ago

tisuchi thanks

mustafaabdujalil started a new conversation Time • 1 month ago

how get local time by long and lat by using javascript ??

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.