fida

Member Since 4 Years Ago

Dhaka

Experience Points
10,450
Total
Experience

4,550 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
136
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 3
10,450 XP
Dec
27
1 month ago
Activity icon

Replied to MySql Remote Login

@patrickjoy i think you posted your answer at wrong place. we are not talking about synchronization or anything you just wrote about.

@snapey i didn't asked 'how to protect/hide...' anyway.. thanks for your info.

Dec
07
2 months ago
Activity icon

Replied to MySql Remote Login

if i will ever get a chance to hack and earn million dollars.. i will must do that :P until that happens, its just for learning, don't worry my intention wasn't do any harm :)

Activity icon

Replied to MySql Remote Login

@nakov oh man i think i know how to protect my env variable :) i just described an imaginary case , it never happened with me (yet)

but i just found a enterprise level company's website's db credential by the same mistake (debug mode ON) of its developers. and got excited!! but it took me few seconds to realize that actually i can't do anything with their db username & password.

thats why i posted here to make sure ..

btw thank you :)

Activity icon

Replied to MySql Remote Login

@nakov its not about how you protect your .env file .. if you keep your debug mode ON (assume by mistake) laravel will show you all the env variable with error exception etc..

@jlrdw i just described an imaginary case, and asked my question.

Activity icon

Replied to MySql Remote Login

@nakov thanks for your response, but thats not my question and thats not my concern anyway ..

Activity icon

Started a new Conversation MySql Remote Login

laravel's .env file's debug mode is ON by default. and for a syntax or whatever error you can see my .env variable, right?

well, you have my mysql username, database name, and password

my question is - can you do any harm to me?! how?

note: i haven't enabled remote mysql access or anything like that.

Nov
19
3 months ago
Activity icon

Replied to Intervention Image Source Not Readable.

Thanks @sinnbeck

i tried urlencode() and rawurlencode() both failed.

now manually replaced space with '%20' it works :)

$photo_url = str_replace(' ','%20',$photo_url);
Activity icon

Started a new Conversation Intervention Image Source Not Readable.

i'm trying to import some photos from a website's directory http://example.com/photos but the photo's names contain blank space ex. "photo 1.jpg" (instead photo_1.jpg)

the intervention image can't read the photos (which has blank space in name) the exception is - "Image source not readable"

in my local environment using GD driver

Sep
16
5 months ago
Activity icon

Replied to How To Debug Maximum Execution Time Of 30 Seconds

@cronix yeah probably its the only way to know details about the time-out errors.

we are using Apache, i tried to find out the main error_log file but failed, there has no such error log file in our server :( i just run phpinfo() to see details and unfortunately 'error_log' value is empty (no path defined)

now i will try to enable the server's error_log (i'm not sure maybe php's error_log .. idk) and lets see if we can find anything there.

Activity icon

Replied to How To Debug Maximum Execution Time Of 30 Seconds

@snapey thanks for your explanation.

actually we didn't wanted to manually test all the scripts (as i mentioned earlier there has many scheduled commands) and its not possible. becoz the time-out could be occurs also at any controllers (when someone try to generate reports) we don't know who is trying to generate which reports (its comparatively large application)

whatever, now i will target some selected scripts and test them one by one.

btw still i'm curious isn't there has any way to determine - exactly which scripts throwing time-out errors ??

Activity icon

Replied to How To Debug Maximum Execution Time Of 30 Seconds

@siangboon its a laravel 5.1 app, telescope isn't supported (not sure)

"write a simple function to log before and after each execution...." can you please explain. note plz: we have a lot of scheduled commands they run in different times of days/weeks. and main command runs every minutes which is a really huge scripts.

my main question is: how to determine exactly which scripts are throwing time-execution errors.

Activity icon

Replied to Handle Classified Website Image Gallery

the ultimate solution for image resizing etc http://image.intervention.io/ its easy and popular. just try it :)

Activity icon

Replied to How To Debug Maximum Execution Time Of 30 Seconds

@antlusher thanks for your response, this is in production server. i just want to know which script/s are throwing the time-execution error so that i can check my loops or other time consuming functions.

i'm not sure what did you mean by PHP log? (how/where to find that) i find the errors at storage/logs/laravel.... daily logs files and at /public/error_log file

Activity icon

Started a new Conversation How To Debug Maximum Execution Time Of 30 Seconds

Hi, our app is build on laravel 5.1, we are getting maximum execution time errors randomly as we are running a lot of (25+) scheduled commands, different times of days its very difficult to know exactly which scripts is throwing those max execution time errors

is there any way to log more details or know exactly which script is causing the errors?

[16-Sep-2019 09:32:36 America/Chicago] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/medall12/public_html/mynew2.medallionmint.com/vendor/laravel/framework/src/Illuminate/Support/helpers.php on line 429

thanks

Sep
05
5 months ago
Activity icon

Replied to Laravel Store Locator

@bobbybouwmann did you even read his question?

He was looking for store-locator for his e-com web app written in laravel.