top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration
Print Preview

PHP Include/Require limit?

0 votes

I use the pretty large Library PHP Image Workshop ( at my project. It is about 75,5 KB. Everything works fine but if I try to include a 15 KB file with country codes, it fails. With the other files I easily get over 100 KB inclusion size, so my question; Is there a size limitation for include?

posted May 30, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

0 votes

Afaik - only in case if your PHP process instance exeeds allowed memory limit. Other then this - explain how does it fail exactly. Any error messages? Errorous behavior?

answer May 30, 2013 by anonymous
Similar Questions
0 votes

For example say I want include("abc.php") two times in a PHP page?

+1 vote

I have recently purchased a computer and am using it as a dedicated server. A friend helped me install PHP and configure. I am saying this because I wonder if using a newer version of PHP (compared to my commercial web host) may be the reasoning behind the error I am receiving.

I created a function to generate a form submission key.
- This created hidden variable for forms
- This is also session variable

With this function I have an include for the file containing the mySQL database, username and password. I know this file is being accessed because I added:

echo $mySQL_user;
following the login credentials. 

But when I remove this line from and place within the function on the line following the include the "echo € returns nothing.


echo $mySQL_user;

Can any of you tell me why this is happening?

Useful Links with Similar Problem
Contact Us
+91 9880187415
#470/147, 3rd Floor, 5th Main,
HSR Layout Sector 7,
Bangalore - 560102,
Karnataka INDIA.