<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Opera VPN and XAMPP localhost]]></title><description><![CDATA[<p dir="auto">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 ???</p>
]]></description><link>https://forums.opera.com/topic/31051/opera-vpn-and-xampp-localhost</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Mar 2026 21:27:07 GMT</lastBuildDate><atom:link href="https://forums.opera.com/topic/31051.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 21 Feb 2019 07:21:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Opera VPN and XAMPP localhost on Sun, 17 Jan 2021 21:54:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/64">@sgunhouse</a> You got it completely wrong. My host connects to some websites like <a href="http://www.google.com" target="_blank" rel="noopener noreferrer nofollow ugc">www.google.com</a>, <a href="http://www.facebook.com" target="_blank" rel="noopener noreferrer nofollow ugc">www.facebook.com</a>, 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.<br />
In the end I've put proxy inside .php page and problem was solved for that time.</p>
<pre><code>&lt;?php
stream_context_set_default(['http'=&gt;['proxy'=&gt;'proxy-host:proxy-port'&rsqb;&rsqb;);
?&gt;
</code></pre>
<p dir="auto">Some programs like hotspotshield completely passes everything trough its server so I could call blocked pages inside localhost.<br />
I just wanted to learn if Opera has this kind of feature for sub-connections so I would use that one.</p>
<p dir="auto">It does not matter really, forget it <img src="https://forums.opera.com/assets/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=o7miklbo7rs" class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes" title=":D" alt="😃" /></p>
]]></description><link>https://forums.opera.com/post/239838</link><guid isPermaLink="true">https://forums.opera.com/post/239838</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Sun, 17 Jan 2021 21:54:38 GMT</pubDate></item><item><title><![CDATA[Reply to Opera VPN and XAMPP localhost on Sun, 17 Jan 2021 20:51:04 GMT]]></title><description><![CDATA[<p dir="auto">@gomi So you don't want your own computer to know you're connecting to it?</p>
<p dir="auto">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.</p>
]]></description><link>https://forums.opera.com/post/239832</link><guid isPermaLink="true">https://forums.opera.com/post/239832</guid><dc:creator><![CDATA[sgunhouse]]></dc:creator><pubDate>Sun, 17 Jan 2021 20:51:04 GMT</pubDate></item><item><title><![CDATA[Reply to Opera VPN and XAMPP localhost on Sun, 17 Jan 2021 14:52:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/64">@sgunhouse</a> said in <a href="/post/164708">OPERA VPN and XAMPP localhost</a>:</p>
<blockquote>
<p dir="auto">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.</p>
</blockquote>
<p dir="auto">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 <strong>php.ini</strong> settings "<strong>Allow URL Include</strong>" is set <strong>ON</strong> or <strong>1</strong> 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.</p>
<p dir="auto">Just like:</p>
<pre><code>&lt;div&gt;
&lt;?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 &lt;= 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 "&lt;img src='https://blabla.com/img".$i.".jpg' /&gt;"; 
/*
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.*/
};
?&gt;
&lt;/div&gt;
</code></pre>
<p dir="auto">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 <strong>silly.</strong></p>
]]></description><link>https://forums.opera.com/post/239814</link><guid isPermaLink="true">https://forums.opera.com/post/239814</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Sun, 17 Jan 2021 14:52:43 GMT</pubDate></item><item><title><![CDATA[Reply to Opera VPN and XAMPP localhost on Thu, 21 Feb 2019 07:44:11 GMT]]></title><description><![CDATA[<p dir="auto">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.</p>
]]></description><link>https://forums.opera.com/post/164708</link><guid isPermaLink="true">https://forums.opera.com/post/164708</guid><dc:creator><![CDATA[sgunhouse]]></dc:creator><pubDate>Thu, 21 Feb 2019 07:44:11 GMT</pubDate></item></channel></rss>