• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Opera VPN and XAMPP localhost

    Opera for Windows
    2
    5
    882
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Former User
      A Former User last edited by leocg

      Hello, I use opera browser's VPN to look XXX pictures. To download all image lists I made a php script to download all XXX images at once. However, I have to use XAMPP localhost to do it. When, I enable VPN, Opera disables VPN for XAMPP to access local data. As a consequence, I can not access to XXX websites via localhost. What can be done to enable VPN on localhost ???

      Reply Quote 0
        1 Reply Last reply
      • sgunhouse
        sgunhouse Moderator Volunteer last edited by

        VPN on localhost? Sorry, but it's a silly question ... the N in VPN stands for network, you don't use a network when you read local content. If you want to use a private window (so there is no history), that would work fine. But a VPN is only for accessing stuff on the network.

        Reply Quote 0
          A Former User 1 Reply Last reply
        • A Former User
          A Former User @sgunhouse last edited by leocg

          @sgunhouse said in OPERA VPN and XAMPP localhost:

          VPN on localhost? Sorry, but it's a silly question ... the N in VPN stands for network, you don't use a network when you read local content. If you want to use a private window (so there is no history), that would work fine. But a VPN is only for accessing stuff on the network.

          I am also sorry for answering too late. I had time to check old posts during corona time. Nope, It is not a silly question. If in your xampp php.ini settings "Allow URL Include" is set ON or 1 you can include pages from public internet on xampp localhost. By this way I was collecting all images one page with php script and download them all at once.

          Just like:

          <div>
          <?php
          //LOCALHOST mySite/index.php
          
          ini_set("allow_url_include","On");
          ini_set("allow_url_fopen","On");
          
          //INCLUDE PAGES FROM PUBLIC INTERNET
          for($i = 0; $i <= 100; $i++)
          {
          //Include image-link from public internet and load into localhost site. If requested page's server disables includes image will not load.
          echo "<img src='https://blabla.com/img".$i.".jpg' />"; 
          /*
          out image links:
          https://blabla.com/img0.jpg
          https://blabla.com/img1.jpg
          https://blabla.com/img2.jpg
          so on...
          
          I expected that Opera could use VPN for those loads from public internet.*/
          };
          ?>
          </div>
          

          I think I explained that I view image source with VPN but I use localhost to download it by its public link. I do not understand how it is possible to call a technical question as silly.

          Reply Quote 0
            sgunhouse 1 Reply Last reply
          • sgunhouse
            sgunhouse Moderator Volunteer @Guest last edited by

            @gomi So you don't want your own computer to know you're connecting to it?

            A VPN is an external proxy. If the VPN server is connecting to your computer, your computer is not "localhost" to it. And that is why the question is silly.

            Reply Quote 0
              A Former User 1 Reply Last reply
            • A Former User
              A Former User @sgunhouse last edited by

              @sgunhouse You got it completely wrong. My host connects to some websites like www.google.com, www.facebook.com, etc., loads data from them to localhost and some of them blocked in my country I asked it for only those connections inside localhost, of course I am not asking it for localhost itself.
              In the end I've put proxy inside .php page and problem was solved for that time.

              <?php
              stream_context_set_default(['http'=>['proxy'=>'proxy-host:proxy-port']]);
              ?>
              

              Some programs like hotspotshield completely passes everything trough its server so I could call blocked pages inside localhost.
              I just wanted to learn if Opera has this kind of feature for sub-connections so I would use that one.

              It does not matter really, forget it 😃

              Reply Quote 0
                1 Reply Last reply
              • Locked by  leocg leocg 
              • First post
                Last post

              Computer browsers

              • Opera for Windows
              • Opera for Mac
              • Opera for Linux
              • Opera beta version
              • Opera USB

              Mobile browsers

              • Opera for Android
              • Opera Mini
              • Opera Touch
              • Opera for basic phones

              • Add-ons
              • Opera account
              • Wallpapers
              • Opera Ads

              • Help & support
              • Opera blogs
              • Opera forums
              • Dev.Opera

              • Security
              • Privacy
              • Cookies Policy
              • EULA
              • Terms of Service

              • About Opera
              • Press info
              • Jobs
              • Investors
              • Become a partner
              • Contact us

              Follow Opera

              • Opera - Facebook
              • Opera - Twitter
              • Opera - YouTube
              • Opera - LinkedIn
              • Opera - Instagram

              © Opera Software 1995-