Skip to content

Commit

Permalink
env php
Browse files Browse the repository at this point in the history
  • Loading branch information
ebenezer-isaac committed Apr 22, 2024
1 parent 9b23dcd commit c45f51e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
Binary file added .vs/mycrolinks.com/v17/.wsuo
Binary file not shown.
Binary file added .vs/slnx.sqlite
Binary file not shown.
19 changes: 19 additions & 0 deletions environment_variables.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

// Accessing the MongoDB connection details
$mongoDbConnectionString = getenv('MONGO_DB_CONNECTION_STRING');
$mongoDbName = getenv('MONGO_DB_NAME');
$mongoDbCollectionName = getenv('MONGO_DB_COLLECTION_NAME');

// Accessing the GitHub details
$githubUsername = getenv('GITHUB_USERNAME');
$githubPat = getenv('GITHUB_PAT');

// Example usage
echo "MongoDB Connection String: $mongoDbConnectionString\n";
echo "MongoDB Name: $mongoDbName\n";
echo "MongoDB Collection Name: $mongoDbCollectionName\n";
echo "GitHub Username: $githubUsername\n";
echo "GitHub PAT: $githubPat\n";

// Remember to replace `echo` statements with your actual logic that uses these variables.

0 comments on commit c45f51e

Please sign in to comment.