PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I am at something of a loss as to how to dig this one out. The same php script on a Mandrake 10 machine runs fine but on the Ubuntu machine I get the error/warning:
<?php
include "debugHelper.php";
// Updated: 28/03/2006 @ 14:45
// ACQUIRE FLASH VARIABLES HERE AND TURN THEM INTO PHP VARIABLES
$hook = $HTTP_POST_VARS["hook"];
if(isset($parameter0)) $parameter0 = $HTTP_POST_VARS["parameter0"];
if(isset($parameter1)) $parameter1 = $HTTP_POST_VARS["parameter1"];
I obviously do not have a global? variable set somewhere.
BTW this script is meant to be called from a Flash GUI but when I attempt to run the GUI it fails without any traceable error. (It runs fine on MDK10) Are the trwo problems connected or is it merely a PHP problem?
[Tue Jun 20 16:05:51 2006] [error] [client 127.0.0.1] script '/var/www/processData.php' not found or unable to stat, referer: http://127.0.0.1/html/gui.swf
Please note: processData.php is actually in /var/www/html/ directory together with gui.swf, not in /var/www/ directory. These proggies run just fine on an older Mandrake10 machine from the /../html/ directory.
Somewhere I do not have a path set correctly but after hours of searching I cannot discover just where.
<?php
include "html/debugHelper.php"; // Right here
// Updated: 28/03/2006 @ 14:45
// ACQUIRE FLASH VARIABLES HERE AND TURN THEM INTO PHP VARIABLES
$hook = $HTTP_POST_VARS["hook"];
if(isset($parameter0)) $parameter0 = $HTTP_POST_VARS["parameter0"];
if(isset($parameter1)) $parameter1 = $HTTP_POST_VARS["parameter1"];
OK. Call me a thicko then but if apache/localhost/gui.swf cannot find ProCessData.php in the ../html/ directory how is it/them going to catch the "include" statement? Note there are no errors regarding debugHelper.php .. Yet.