Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6971551
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:51:16+00:00 2026-05-27T16:51:16+00:00

my code for the page id like this PAGE NAME : test.php content :

  • 0

my code for the page id like this

PAGE NAME : test.php

content :

ob_start();
include("test.php");
$GeneratedHTML = ob_get_contents();
ob_end_clean();
echo $GeneratedHTML;

which give me error like this

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 40961 bytes) in D:\xampp\htdocs\test.php on line 2

can anyone tell me why it is giving me error when I am including same file.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T16:51:17+00:00Added an answer on May 27, 2026 at 4:51 pm

    You have an infinite loop.

    test.php is including test.php which is including test.php which is…

    Rename either the file you are including, or the name of the file this code is in.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using page.registerstartupscript in my code behind C#. Its like this: string item1=category1;
I would like to get the HTML code from a page with PHP. So
I have a master page in my asp.net MVC project, which has code like
I am developing a web page code, which fetches dynamically the content from the
I have a php page that returns json like this: while ($row = oci_fetch_array($stid,
i have a page post2.php which prints the json array like { page: 1,
I'm trying to make a simple in in-page popup called like this: var test
I have some code that I'd like to run on a page. My problem
I'd like to create WebBrowser control programically in my code and then read page
I have this piece of code: Page.ClientScript.RegisterClientScriptInclude(this.GetType(), Guid.NewGuid().ToString(), this.ResolveUrl(~/Scripts/min.js)); When we push to our

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.