This has been bothering me for weeks and I've been trying to solve it without asking for help, but eventually I had to give up
Basically, I have a website that is based around manipulating photos with php commands(imagecopymerge,imagecolorat,etc.) however, one page, which compiles all of the data together, is way too large. Most of the time it results in an internal server error. Base on what a GoDaddy Customer service representative said, I assumed that this problem is caused by the script taking too much of the server's time and concentration.
Because of this, I wrote a code to by pass it by doing some of the commands, then refreshing with a changed GET variable to tell the page where to start based on how high the number is. This kind of solved the problem, but there's still a 50% chance that I will get a server error on any random step for reasons I don't understand. My question is, is there any way I can stop an internal server error 500, or redirect the page automatically when it happens? And if not, what part of a website package would I need to upgrade to allocate more time and processing power for my website?
Thank you
Random date selection
i want to select random date with time(hour+minutes+sec) where date is specified(10/22/2009) and timestamp is specified 10-11 am
Typing math
I've added support for typesetting math using LaTeX on the forums.Example:Code: [Select][tex]\sum_{n = 0}^\infty \frac{1}{n!} = \lim_{n\to\infty} \left(1+\frac{1}{n}\right)^n = e[/tex]Outputs:Just in
Record count of entire database
Does anyone know if there is a way to obtain the number of records in each table of the database using a single select statement or must a select count be done for each individual table?
division gives infinity anser
int main(){ int z=0; int i=1/z; cout<<i;}It doesn't throw any error in Visual Studio 2008. .......What setting one has to change so that it will show runtime error in VS 2008.....
Generate multilayered array from string.
ok so i have a string that looks like this:Code: [Select]blog:edit_all,delete_all|users:edit_all,delete_all|settingsand i want to make a code that can take that string and put it in a multi-layered
pull content
I have an existing page, domain/adverts.php which has a good PR. I've just rebuilt my site and the new version of that page is now a couple of folders deep, at domain/subfolder/adverts/ads.php. I've
problems with script
I made a small script wich exchanges points in my website: <?phpsession_start();include_once"config.php";$username = $_SESSION['username']; if(isset($_POST['exchange'])){$spoints =
strtotime issue
Hey all,I'm playing around with some code, and basically the idea is:Person changes their profileI fetch some XML that has a unix timestamp for the time the person changed their profile, so it'll keep
Limiting uploaded file type
I am working on a simple upload script, and I need it to limit the allowed file type that is uploaded to only .mpr files. .mpr files are not a MIME file type so I do not know how to limit it. Any
Big Problem!! Please help
Hi Guys,Im making a website for a friend have encountered a really annoying problem. When every i run the script below i get this error: "Parse error: syntax error, unexpected '}' in