Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6854797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:40:43+00:00 2026-05-27T01:40:43+00:00

http://www.stellarwebsolutions.com/en/articles.php I just got the .pem to work with paypal but I cannot find

  • 0

http://www.stellarwebsolutions.com/en/articles.php

I just got the .pem to work with paypal but I cannot find a way to access the .pem without putting it on my public_html/ folder which I know is probably not the best way of doing it. Is there a way of accessing the root of my ssh from php? or other areas of my ssh?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T01:40:43+00:00Added an answer on May 27, 2026 at 1:40 am

    You can easily access any file outside of your public_html folder, you just have to make sure that the file is accessible to the web server user. For instance:

    $ls -l
    total 8
    -rw-r--r-- 1 www-data www-data   12 Nov 26 13:08 test.txt
    drwxr-xr-x 2 www-data www-data 4096 Nov 26 13:11 www
    

    And the following php script is reading the test.txt:

    <?php
    
    $file = $_SERVER['DOCUMENT_ROOT'] . "/../test.txt"; // relative path
    //$file = "/opt/nguyen/test.txt"; //absolute path
    $contents = file($file);
    $string = implode($contents);
    
    echo $string;
    
    ?>
    

    You can also put your file in your public_html folder and deny access with a .htaccess:

    <Files config.inc.php>
      order allow,deny
      deny from all
    </Files>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

http://www.devx.com/wireless/Article/39101/0/page/2 I have followed this tutorial and got it to work and everything. now
http://www.roguevalleyroses.com/rose_list.php?search_id=&class=&height=&growth=&color=&bloom_size=&bloom_type=&shade=&fragrance=&disease=&rebloom=&thorns=&zone=&hybridizer=Ashdown%20Roses&date_range=&text=&view=&show=&page=4 This is the page. The code that queries the results is here: http://pastebin.com/d51bfa53f
http://www.globalguideline.com/interview_questions/Questions.php?sc=C_Sharp_Programming_Language_Interview_Questions_A&page=6 In this URL, a user sees on the left side a Twitter picture
http://www.ika-world.com/search.php?view=weltkarte See link for example. Image is a PHP created PNG image. When viewing
http://www.campbellcustomcoatings.com/index2.php At this site, I'm using css3's box shadow and rgba for the content
http://www.sitepoint.com/build-to-do-list-30-minutes/ So I was doing this (http://www.sitepoint.com/build-to-do-list-30-minutes/) tutorial and everyting went OK. but now
http://www.html5canvastutorials.com/webgl/html5-canvas-webgl-plane-with-three-js/ In this example its just a rotating plane. I'm an html 5 beginner
http://www.radikalgenc.com/bulten/ekim.htm this is a monthly newsletter. but it does not appear fine on mozilla,
http://www.plus2net.com/php_tutorial/array_checkbox.php the link is my reference in PHP i want to ask how can
http://www.inter-fuser.com/2010/02/android-coverflow-widget-v2.html Just go through the above link. there is an example sample code for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.