If you are unable to access your site's backend please remove the folder plugins/system/backuponupdate.
Jan
31
Jan
29
$url = 'https://api.github.com'; $options = []; $data = []; $http = JHttpFactory::getHttp(new JRegistry($options)); $response = $http->get($url, $data); echo $response->body; Reference : https://issues.joomla.org/tracker/joomla-cms/20537
Jan
24
Create a ReadMe File 1. Create a file named README.md in the root (based) folder of the Git repo. 2. Add any instructions or documentation that you want to share with others. Use Markdown to format headings, lists, links, etc. Here are some guides for the Markdown syntax: daringfireball.net/projects/markdown/syntax guides.github.com/features/mastering-markdown... read more →
Jan
24
If you want to remove the file from the Git repository and the filesystem, use: git rm file1.txt git commit -m "remove file1.txt" But if you want to remove the file only from the Git repository and not remove it from the filesystem, use: git rm --cached file1.txt git commit... read more →
Jan
24
Follow these steps to project to Github git init git add . git commit -m "Add all my files" git remote add origin https://github.com/webxpertzone/php.git Upload of project from scratch require git pull origin master. git pull origin master git push origin master Reference : https://stackoverflow.com/questions/12799719/how-to-upload-a-project-to-github
Jan
24
(Note: starting Oct. 2020, any new repository is created with the default branch main, not master. And you can rename existing repository default branch from master to main. The rest of this 2014 answer has been updated to use "main") (The following assumes github.com itself is not down, as eri0o... read more →
Jan
22
This is a naïve implementation of string escaping for JavaScript. As you're actually trying to format a string for use in JavaScript, a much better solution would be to use json_encode: $txt = json_encode($txt); echo ""; json_encode will correctly escape special characters in strings, such as quotes, tabs, form feeds,... read more →
Jan
11
আমরা ডিজাইন করতে গেলেই অনেক সময় দেখি বিভিন্ন শেপের ডিজাইন। যেহেতু এই টাইপ ডিজাইন গুলো গ্র্যাফিক্স ডিজাইনাররা করে,কিন্তু ম্যাক্সিমাম ওয়েব ডেভেলপারদের ব্যাসিক এসব টুলসে জ্ঞান থাকায় এমন ডিজাইন তৈরি করা সবার পক্ষে সম্ভব হয় না। কিছু অনলাইন টুলস ব্যবহার করে তৈরি করে নিতে পারবেন মনের মত শেপ ★ঢেও টাইপ শেপ... read more →
Jan
11
The easiest way is to place a constant in the index.php and check in the other php files if this constant exists. If not, let the script die. index.php define('APP', true); various.php if(!defined('APP')) die(); Reference : https://stackoverflow.com/questions/17304979/protect-php-files-from-direct-access
Jan
11
The basic function of this is to find any URLs in the block of text and turn them into hyperlinks. It will only find URLs if they are properly formatted, meaning they have a http, https, ftp or ftps. [code] [/code] Reference : https://css-tricks.com/snippets/php/find-urls-in-text-make-links/ https://stackoverflow.com/questions/1960461/convert-plain-text-urls-into-html-hyperlinks-in-php