Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. php - include_once

php - include_once

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
phpsysadmintestingbeta-testingtools
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    thes3cr3t1
    wrote on last edited by
    #1

    hi, i am trying to include functions from a php review script in my original web layout, to do this i changed my pages from .htlm to .php and i'am using the include_once function to call the script. for some reason when i include the script all code execution halts after it has been callled and focus does not return to the anti-insect.php page so the footer for my site is not shown. im not sure if i need to change a return value for the script or not. this is also preventing me from using multiple include_once to import two or more functions and display them in different area's on my website. this is very frustrating if any one could help me out i would be really happy, i have also included a link to the site that i am testing using the xampp server. http://92.8.199.227/Anti-Insect.php thankyou chris

    C P 2 Replies Last reply
    0
    • T thes3cr3t1

      hi, i am trying to include functions from a php review script in my original web layout, to do this i changed my pages from .htlm to .php and i'am using the include_once function to call the script. for some reason when i include the script all code execution halts after it has been callled and focus does not return to the anti-insect.php page so the footer for my site is not shown. im not sure if i need to change a return value for the script or not. this is also preventing me from using multiple include_once to import two or more functions and display them in different area's on my website. this is very frustrating if any one could help me out i would be really happy, i have also included a link to the site that i am testing using the xampp server. http://92.8.199.227/Anti-Insect.php thankyou chris

      C Offline
      C Offline
      chevu
      wrote on last edited by
      #2

      Hi, First of all, link given by you is not working.. Another thing is include_once can be used once check this php manual page. http://php.net/manual/en/function.include-once.php[^] Either explain your problem in detail or give sample code you are trying... So we can help you properly...

      1 Reply Last reply
      0
      • T thes3cr3t1

        hi, i am trying to include functions from a php review script in my original web layout, to do this i changed my pages from .htlm to .php and i'am using the include_once function to call the script. for some reason when i include the script all code execution halts after it has been callled and focus does not return to the anti-insect.php page so the footer for my site is not shown. im not sure if i need to change a return value for the script or not. this is also preventing me from using multiple include_once to import two or more functions and display them in different area's on my website. this is very frustrating if any one could help me out i would be really happy, i have also included a link to the site that i am testing using the xampp server. http://92.8.199.227/Anti-Insect.php thankyou chris

        P Offline
        P Offline
        PHP_Guy
        wrote on last edited by
        #3

        i think i got ur problem that's because the HTML code at ur included script

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups