PHP include error
Really don't understand what's going on, the code is as follows
if (file_exists (' perform.php '))
echo ' 3 ';
Include ' perform.php ';
echo "Hi1";
if (Isset ($_post[' target ')) perform ($_post[' target ');
?>
The perform.php file is present, but the page displays 3 and does not display HI1
Ask the Great God ...!!
------Solution--------------------
How do you know you didn't do that? See the source code will know.
Comment out what the include is
------Solution--------------------
References: Reference: Reference:
reference: Show 3 What is wrong, if condition is satisfied ah.
If there is an error, please post it.
The problem is that .... include the following statement did not execute AH ...
Then we have to put the code of perform.php to see Ah, will it already exit
function perform
...
foreach ($bar as Mysql_fetch_array ($result))
Reversed the
foreach (Mysql_fetch_array ($result) as $bar)
------Solution--------------------
Reference: Reference: Reference:
Reference: Reference: Reference: Show 3 What is wrong, if condition is satisfied ah.
If there is an error, please post it.
The problem is that .... include the following statement did not execute AH ...
It's going to take perform.ph
...
The problem is still in your inclusion file, even if only the function is not executed, but there is a place where error will lead to include error, continue to find other places there is no syntax error, follow the wrong hint to go on the line