Jump to content

include this and then include that includes this again?


jumpenjuhosaphat

Recommended Posts

Okay, so I am looking for some errors in some very sloppy PHP, and I am pretty new to PHP so this might seem like an obvious answer, but:

The file file1.php includes file2.php

So I went to look at file2.php, and it includes file1.php, isn't that an infinite loop?
Also, I just found another problem too, maybe you could help with.  On the same site, tables seem to mysteriously disappear.  I remade the missing table, and a different one dissappeared.  Any help would be appreciated.
THere is a lot of code.  To narrow it down a bit, is there a way that I could search the code for a string that could cause this to happen?  If so, what string should I search for?  I already tried searching for mysql_drop_db, but came up with nothing.  What else should I be looking for?  There are easily 50 different php scripts on this site, and I wouldn't know what script to give you.
The forum seems to be stopping me from posting the code.  I'm gonna upload it to my server in a text file.  It is just the index.php file, if you need anything else, just let me know.

The file can be found at www.linkslinky.com/index.txt

Thanks for the help

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.