PHP include exception

Source: Internet
Author: User
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
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.