Posts

Showing posts with the label PHP

Check Image URL Exists Or Not WIth PHP

Image
How To Image Or Any File Exists Or Not With PHP Language For checking the URL is exists or not we can use curl request in PHP and we can use same approach in other programming languages also such as JavaScript. So for PHP URL check code is below: function is_url_exist($url){     $ch = curl_init($url);         curl_setopt($ch, CURLOPT_NOBODY, true);     curl_exec($ch);     $code = curl_getinfo($ch, CURLINFO_HTTP_CODE);     $status = ($code == 200) ? true : false; // single liner if else     curl_close($ch);     return $status; } Thanks for reading this blog, I hope it will be helpful for you and please share your feedback in comments section.

How To Save CK Editor Data Into Database

Image
The "CK Editor" is an HTML editor in which for saving the data into db we can use below function before saving it into DB in PHP language.   function dataready($data) {           $data = trim($data);           $data = stripslashes($data);           $data = htmlspecialchars($data);           return $data; } Before saving data we can call this function now: dataready($_POST['input_name']);  For for showing data into view pages we can use: html_entity_decode($var_article_text); Thanks for reading this blog I hope it will helpful for you.

Is PHP Enough For PHP Developers

Image
PHP is a server side scripting language designed for web development by Rasmus Lerdorf in 1994. PHP - Education Funda If we talking about Core PHP knowledge only so nowadays as per developers trends it is not enough check in below video why it is not enough. Thanks for reading this article !!

OOPS Concept Interview Questions

Image
Object Oriented Programming Language Interview Questions Object oriented programming is a programming technique to design your application. Application can be of any type like it can be web based application, windows based application etc. OOPS is one of the programming language which is most commonly using in almost each back end programming language such as PHP, Java, Python in all these programming language OOPS is using so it is really important to you to understand about it. That is why in all the interviews related with back-end developers Interviewer will surely asked questions related to OOPS concept so let's see to Top 10 OOPS concept interview questions which is most commonly asked in interviews. Thanks for reading this blog !!

Top 10 Senior PHP Interview Questions

Image
A Senior PHP developer is responsible for writing server-side web application logic. PHP developers usually develop back-end components, connect the application with the other (often third-party) web services, and support the front-end developers by integrating their work with the application. They are also often required to develop and integrate plugins for certain popular frameworks. A PHP developer requires attention to detail. When you are looking for an advanced PHP web development, posting a generic web developer description in your job ad will bring numerous applications from people who may have little knowledge about good programming practices. If you think PHP is easy language so it is not actually event it is a difficult language to tame, and puts a greater than usual burden on the developer to ensure the application’s stability and performance. This article will provide you with a sample PHP developer job description that will help you write a perfect job ad, and assure that...

Usage of Important Array Functions in PHP

Image
PHP is a server side scripting language designed for web development by Rasmus Lerdorf in 1994. Let's see now usage of important Array functions in PHP:- count($arr) - counting the array/object length. array_pop($arr) - remove end element from array. array_shift($arr) - remove first element from array. array_filter($arr) - to remove empty value arrays.  $arr1 = array(1,2);         $new_arr = array_filter($arr1,function($v){    if($v > 1){ return $v;    }        }); array_reverse($arr) - to change the order of array from asc to desc and desc to asc array_sum($arr) - to sum of integers array or numbers array, if array has both string and number so it only sum numbers and if all are strings so result will be 0. in_array(‘value’,$arr) - use index array it directly checks with value and for associative array it targets the value not key. array_key_exists(‘key’,$arr) - it only works with key pair arrays like assoc...

Top 10 Experience PHP Developer Interview Question (1-4 Years Experience)

Image
As we all know PHP is the most popular back-end programming language since 1994.  It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1994. that is why even in 2022 PHP is using in the software industry and demand is keep increasing for it in the Information Technology field. © Education Funda So in this article we are discussing regarding the PHP interview questions. when we talk about interview questions regarding with experience php developers so php frameworks plays an important role also because there is not much requirement for core php developers in the software industry. one of the most popular php framework nowadays is laravel, we will discuss in upcoming articles related to framework interview questions. we have made one video for you in which you will get most frequently asked questions in interview related to experience php developers specially 1 - 4 years of experience php developers.  OOPS concept knowledge is also really important so we c...

Top 10 Junior PHP Developer Interview Questions

Image
Top 10 Junior PHP Developer Interview Questions  Are you preparing for your Junior PHP Developer Interview if Yes so this article is for you, PHP is a general-purpose scripting language geared towards web development. It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1994.  In the below video I cover Top 10 Interview Questions for Junior PHP Developer OR for Freshers who are looking for PHP Interview. So If you are preparing for an interview in PHP Developer then here are Top 10 PHP Interview Questions for you. These questions generally works for 0 - 2 years of experience PHP Developer also will be useful to all entry level candidates, beginners, interns and experienced candidates interviewing for the role of PHP Developer or PHP Programmer etc.  I hope these mentioned PHP interview questions will help you to crack PHP interviews and you will get right information regarding PHP interview question for freshers if yes so don't forgot to share this a...