Support the ongoing development of Laravel.io →
Configuration Requests
Last updated 2 years ago.
0
failed to open stream: Connection refused

This sounds more like you cannot access the mydomain.de domain.

Can you access the url directly?

http://mydomain.de/webservice.php?operation=getchallenge&username=admin
0

No Problem on the recieving end. Was my first thought too.

Works with Firefox on my Admin Terminal, returns json-Array. Tried per Lynx and Curl from server console returns json-Array.

Trying from my Laravel, error.

Also tried to pre encode with several php functions. Tried to deencode with several functions. Updated Laravel, updated php.

All to no avail. Somewhere something replaces the & with the &-amp;

BTW: The API-Server on the recieving end refuses http://mydomain.de/webservice.php?operation=getchallenge&-amp;username=admin because of the &-amp;

Last updated 9 years ago.
0

I did a search for "php file_get_contents ampersand" and I was surprised to find that file_get_contents actually does that by default.

There are a few results with some code to try, https://www.google.com/?gws_rd=ssl#q=php+file_get_contents+ampersand

0

Sign in to participate in this thread!

Eventy

Your banner here too?

rage1985 rage1985 Joined 22 Mar 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.