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 70591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:45:18+00:00 2026-05-10T19:45:18+00:00

I have no idea. This causes seemingly random time-outs. These in turn break the

  • 0

I have no idea. This causes seemingly random time-outs. These in turn break the flash that i am loading it into. Has anyone seen anything like this before?

<?php require_once('../includes/class.database.php'); require_once('../includes/dbConnectInfo.inc'); require_once('../includes/functions.php');  include('../includes/conn.php');  $cat = $_GET['category']; $result = mysql_query('SELECT * FROM media WHERE related_page_id=4 && type='copy' ORDER BY id ASC LIMIT 6');  $media = '<?xml version=\'1.0\' encoding=\'ISO-8859-1\' ?>\n'; $media .= '<content>\n'; while($row = mysql_fetch_array($result)) {     $media .='<member>\n';     $body = $row[copy];      if($row[title] == '') {         $media .= '<title><![CDATA[';         $media .= 'Team';         $media .=']]></title>\n';     } elseif ($row['path']=='') {         $name = explode('/',$row[title],2);          $media .= '<name><![CDATA[';         $media .= $name[0];         $media .=']]></name>\n';          $media .= '<job><![CDATA[';         $media .= $name[1];         $media .=']]></job>\n';     }       if($body !='') {         $media .='<bio><![CDATA[';         $media .= $body;         $media .= ']]></bio>\n';     }      $something = $row['id'];     $result1 = mysql_query('SELECT * FROM media WHERE assets='$something'');     $media .= '<images>';     while($row1 = mysql_fetch_array($result1)) {         $img = explode('/',$row1[path],2);         $media .= '<image url='$img[1]' />';     }     $media .= '</images>\n';     $media .='</member>\n'; }    $media .= '</content>'; echo $media; ?> 
  • 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. 2026-05-10T19:45:18+00:00Added an answer on May 10, 2026 at 7:45 pm

    What happens if you add set_time_limit(0); to the code? I usually add that line to long-executing code below the include statements.

    Since this works, let me elaborate.

    By default, PHP scripts are set up to only execute for so long. I believe the limit is 30 seconds when PHP is installed, but this can be changed in the php.ini file. However, you might not want to allow all scripts to run for the same length of time – 30 seconds might be fine for most scripts. The set_time_limit function allows you to set the execution time for one script. It takes an integer value which represents the number of seconds to run the script, but a value of 0 means the script will run forever.

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

Sidebar

Related Questions

So I have this idea for a RubyGem that I think would be an
I have no idea what this means. But here is the code that it
I really have no idea what I did to cause this exception, but I
I have no idea why this is happening. The error I get is the
I have no idea if this question fit to SO, but if it doesn't
I have no idea if this is possible, but if it is, what would
I have no idea why this doesn't work, but doing some validation functions and
I have no idea if this is possible ... but it would be cool.
I have no idea how this works or if it is even possible but
I have no idea why this wont work but I have tried the following:

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.