Scroll to top

Blog

I would like to discuss on whatever your requirement will be. Also I feel pleasure to be a part on that. So let’s just the conversation and finish this in efficient way.

How to accept image extension from url in php?

How to accept image extension from url in php? <?php  $file_name = ‘http://localhost/brrrr/wp-content/uploads/2019/11/New-Business-card-4.jpg’; echo $file_name.”<br>”; $allowed = array(‘gif’, ‘png’, ‘jpg’); $ext = pathinfo($file_name, PATHINFO_EXTENSION); if (!in_array($ext, $allowed)) {    

Read More »

How to create child theme in wordpress?

    create child theme in wordpress style.css /* Theme Name:   Twenty Fifteen Child Theme URI:    http://example.com/twenty-fifteen-child/ Description:  Twenty Fifteen Child Theme Author:       jaspreetdeveloper Author URI:   http://jaspreetdeveloper.com Template:     twentyfifteen Version:      1.0.0 License: 

Read More »

How to use ob_start() function in php?

  PHP | ob_start() Function output buffering function jassi echo hello = ob_get_contents php PHP is an interpreted language thus each statement is executed one after another, therefore PHP tends

Read More »

use javascript in php or how to redirect on any page in php <?php echo ‘<script LANGUAGE=”JavaScript”>window.location.href=”‘.site_url().’/loginform“;</script>’; ?>

Read More »