Skip to content

Commit

Permalink
articles folder added
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhu007 committed Dec 3, 2020
1 parent 3c5fb9d commit 104c4ff
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions php_scripts/codesponsors_snippets/get_current_url.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php
$protocol = strpos(strtolower($_SERVER['SERVER_PROTOCOL']),'https') === FALSE ? 'http' : 'https';
$host = $_SERVER['HTTP_HOST'];
$script = $_SERVER['SCRIPT_NAME'];
$params = $_SERVER['QUERY_STRING'];

$currentUrl = $protocol . '://' . $host . $script . '?' . $params;

echo $currentUrl;
?>
8 changes: 8 additions & 0 deletions siddhu_notes/codesponsors_articles/composer_uses_in_php.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
What is Composer in PHP?

Composer is a tool for dependency management in PHP. it's install or updates the libraries and depended libraries based on your project.





0 comments on commit 104c4ff

Please sign in to comment.