Forum Discussion
ringoseagull_77
Nimbostratus
Aug 25, 2010php include problem
Hi,
Got an issue on a pair of 1600 active/standby units running 10.1.
The web page uses a php include to call a form. The script then calls another part of the form in the same way but this fails to...
ringoseagull_77
Nimbostratus
Aug 25, 2010Hi,
Got an issue on a pair of 1600 active/standby units running 10.1.
The web page uses a php include to call a form. The script then calls another part of the form in the same way but this fails to get displayed.
This used to work on 9.4.7, and the same code still does work on the external facing F5s which run 9.4.7.
No error messages on the page, just missing form. Ran a tcpdump but got no errors or dropped packets.
First guess is a difference in the way to 10.1 handles php but I can't find an error to ppoint me in the right direction.
Also, inital web page is requested across http, but these requests are https.
Any ideas?
Code:
The first file_get_contents is fine, second is failing.
if(!isset($_GET['tfa_next'])) {
//sanitise the request & grab the form data
$fid = $_GET['fid'];
$output = file_get_contents("https://www.city.ac.uk/forms/rest/forms/view/".$fid);
} else {
$next = $_GET['tfa_next'];
$output = file_get_contents("https://www.city.ac.uk/forms/rest".$next);
}
echo $output;
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects