/    Sign up×
Community /Pin to ProfileBookmark

Why httpS Fails To Load ?

Php Gurus!

This is a php web proxy called Mini Proxy not written by me.
Why do https pages show blank white when I visit any https pages with the proxy ?
I reckon the https pages are failing to load. Why do you think that is ?

You can see the actual code here if you want to see it with line numbers:
[url]https://github.com/joshdick/miniProxy/blob/master/miniProxy.php[/url]

Which line of the code should I change to what ?

to post a comment
PHP

12 Comments(s)

Copy linkTweet thisAlerts:
@rootOct 12.2017 — Because HTTPS are secure pages, you should only be connecting directly with those sites.

The S in httpS is for Security, meaning that any connection between you and the server is secure, eg, no proxies.
Copy linkTweet thisAlerts:
@phpmillionOct 13.2017 — Try adding these lines right after [B]curl_init[/B]

[code=php]curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);[/code]
Copy linkTweet thisAlerts:
@site-developerOct 17.2017 — Because HTTPS are secure pages, you should only be connecting directly with those sites.

The S in httpS is for Security, meaning that any connection between you and the server is secure, eg, no proxies.[/QUOTE]


Don't worry. I know https is SSL.

Anyway, managed to fix the problem by adding:

<i>
</i>// Added Fake Referrer after curl_init as phpmillion suggested it to add it anywhere after it.
curl_setopt($ch, CURLOPT_REFERER, 'http://www.example.com/1');
//Following 2 lines make Mini Proxy capable to view httpS pages.
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);


on line 102 after:

<i>
</i>$ch = curl_init();
Copy linkTweet thisAlerts:
@benanamenOct 17.2017 — Well surprise, surprise, UI Man registers another fake name. site-developer=uiman=uniqueideaman=forumcoder. Not surprised since you made such a bad name for yourself on multiple forums.
Copy linkTweet thisAlerts:
@site-developerOct 18.2017 — Well surprise, surprise, UI Man registers another fake name. site-developer=uiman=uniqueideaman=forumcoder. Not surprised since you made such a bad name for yourself on multiple forums.[/QUOTE]

Nah! I haven't made any bad name here. On another forum, I am safe too. You go out there and try finding me on that one too. Lol!

I was forced by this forum to change my password and then I forgot it. Can't login to my account any more. If you have any doubts then ask the Admin to check the logs whether I made any failed login attempts or not. Plus, this forum does not even have a password reminder feature.

So, TF from codingforums has wisened you up to spot me with other Usernames. Has he ?

Anyway, how are you and your family doing this time round in Australia ? I saw you the other day with your family and pets and gave you a message. But Requinix (mod) deleted it. ?

Nevermind.
Copy linkTweet thisAlerts:
@rootOct 18.2017 — ...

I was forced by this forum to change my password and then I forgot it. Can't login to my account any more. If you have any doubts then ask the Admin to check the logs whether I made any failed login attempts or not. Plus, this forum does not even have a password reminder feature.....[/QUOTE]


Utter TOSH, like ALL forums, there is a password recovery system, you just got to use it.

also, multiple accounts as far as I can remember on here is not allowed.
Copy linkTweet thisAlerts:
@phpmillionOct 18.2017 — Plus, this forum does not even have a password reminder feature.
[/QUOTE]


Please correct me if I'm wrong, but I believe this is the password reminder feature - http://www.webdeveloper.com/forum/login.php?do=lostpw
Copy linkTweet thisAlerts:
@direct_destinatOct 18.2017 — I am pretty sure you didnt make 301 redirect properly, that must be the case.
Copy linkTweet thisAlerts:
@benanamenOct 18.2017 — Utter TOSH, like ALL forums, there is a password recovery system, you just got to use it.

also, multiple accounts as far as I can remember on here is not allowed.[/QUOTE]


That is pretty much the rule on any forum. OP now has at least FOUR usernames that he parades under. One of which he spent numerous posts trying to convince everyone it was not him. After NUMEROUS warnings from forum members and ADMINS he was banned (for the second time) for his multiple antics from codingforums.

OP, we are not your friends or your drinking buddies. Many of us are professional business people that volunteer our time to help people. Your pet names and silly comments of seeing someone and there family are far from appreciated. I for one take great offense that you waste the time of so many people on multiple forums for the same question and then forum hop naming names saying so and so on this other forum said this and that. Keep it up and you will end up banned from all the forums.
Copy linkTweet thisAlerts:
@site-developerOct 18.2017 — That is pretty much the rule on any forum. OP now has at least FOUR usernames that he parades under. One of which he spent numerous posts trying to convince everyone it was not him. After NUMEROUS warnings from forum members and ADMINS he was banned (for the second time) for his multiple antics from codingforums.

OP, we are not your friends or your drinking buddies. Many of us are professional business people that volunteer our time to help people. Your pet names and silly comments of seeing someone and there family are far from appreciated. I for one take great offense that you waste the time of so many people on multiple forums for the same question and then forum hop naming names saying so and so on this other forum said this and that. Keep it up and you will end up banned from all the forums.[/QUOTE]


Did it ever occur to you that at Coding Forums maybe I asked the Admin if they can close down my account so that I can start afresh with a new username because people like you got nothing better to do than bicker & quarrel and bite at my username (thus provide nothing constructive in my threads other than barking like dogs at every opportunity) ?

The first username was never under my real name and so it is not my real id. It has no hold over me. Over there, there was no way to change the username other than open a new account.

Did it ever occur to you that they told me that, they cannot close down my account because I have a lot of threads under that username ?

Did it ever occur to you that they gave me the green to open a second username and just not log-in to my first one any more if I want the first username to no longer exist or be active ?

Did it ever occur to you that they told me that, there TOS does not forbid multiple accounts ? Can you point-out that particular clause at Coding Forum where it states multiple accounts are not allowed ?

Did it ever occur to you that, the MODs probably got fed-up of people like you hounding me wherever you can and so they agreed it's best I take a new id to get under your CONSTANT BARKING RADAR when I showed wish to stay active in that forum under a new username ?

Did it ever occur to you that, they Private Messaged me ADVISING me to CHANGE my writing style if I want to remain unidentified or connected to my old username when they saw me getting spotted by the likes of you ?

Did it ever occur to you that, I SAVED that particular PM of the mod (who gave the green light) for my defence if another tries banning me for having more than one username ?

Are you SHOCKED reading all this ? Shocked why the MODs over there (2 atleast) were aware that I was using a second username but did not ban me ? Infact, they KNOWINGLY kept my ID a secret aslong as they could from the likes of you!

Now, go and ask yourself, if you and your LIKE are the GOOD GUYS over there and I'm the BAD one then why would the mods over there AID me in my concealment ? Maybe, the answer lies in them getting fed-up of constant HOUNDING of the LIKES of you ? You are not that POPULAR over there like you think you are.

Neither are you popular anywhere. Your barking partner (TF) over there was constantly bringing up off-topic issues with off-topic questions & arguments and I had no choice but to reply back to hiss false accusations and thus go off-topic. I was warned by the mod over there by PM to not engage in off-topic replies even if TF tries dragging me into it in my threads. I ignored him at first but then he kept on continuing and so I got fed-up and answered him back defending myself. The mod then found an excuse to ban me saying why I engaged in his off-topic discussion. But never banned him for initiating the off-topic discussions in 2-3 of my threads and getting them closed. They came to the conclusion that he is a senior coder and I'm a junior and since he is not seeing eye to eye with me then best we both split.

Now, what the HELL are you DOING here trailing me and trying to stir up trouble over there ? I got better things to do than quarrel with you are answer your BARKING. If you got NOTHING BETTER to do then go and bark at your dogs. Whoof whoof. Either provide CONSTRUCTIVE replies to my threads like phpmillion, NogDog, GinerJm and others or BOG OFF and stay away from STALKING me from forum to forum. You got that ?
Copy linkTweet thisAlerts:
@site-developerOct 18.2017 — Please correct me if I'm wrong, but I believe this is the password reminder feature - http://www.webdeveloper.com/forum/login.php?do=lostpw[/QUOTE]

Scroll-up to the top of this page and you will see the login feature. But, it has no password reminder link there. Where did you find that link ?

Nevermind. I'm not continuing with my old username. That way, I do not use 2 different usernames at once. I'll stick to this one. And forget the other one.
Copy linkTweet thisAlerts:
@site-developerOct 18.2017 — That is pretty much the rule on any forum. OP now has at least FOUR usernames that he parades under. One of which he spent numerous posts trying to convince everyone it was not him. After NUMEROUS warnings from forum members and ADMINS he was banned (for the second time) for his multiple antics from codingforums.

OP, we are not your friends or your drinking buddies. Many of us are professional business people that volunteer our time to help people. Your pet names and silly comments of seeing someone and there family are far from appreciated. I for one take great offense that you waste the time of so many people on multiple forums for the same question and then forum hop naming names saying so and so on this other forum said this and that. Keep it up and you will end up banned from all the forums.[/QUOTE]


I have not given you any pet names here and so don't try stiring old flames from a forum I no longer prowl at Coding Forum. Get over it or stop following my tail from forum to forum. I'm not the one following you from forum to forum and biting. It is you. Get over it! You look like a nice guy in the face. Don;t look like the troll type. So, stop trolling!
×

Success!

Help @uniqueideaman spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.6,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...