Posts by ayrtonvwf • 101 points
3 posts
-
0
votes1
answer108
viewsA: Apache/PHP returning default http status
Apparently, somehow the proxy (squid) is "standardizing" the HTTP headers. I checked this using REST clients like Hurl and Apigee, that make the requests from their own servers and not from the…
-
0
votes1
answer108
viewsQ: Apache/PHP returning default http status
I am creating a REST api in PHP, and in certain situations return an HTTP status with the specific error message for what occurred, for example, 403 Invalid Access Key rather than simply 403…
-
0
votes0
answers139
viewsQ: Warning: Invalid argument supplied for foreach() in C: wamp www oficina init.php on line 111
First I’ll explain my situation: I have a file called lib.php that has several functions and classes, and I load it into every php file. In this file I have the function body(), which I call right…