jumpenjuhosaphat Posted November 21, 2006 Share Posted November 21, 2006 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.phpSo I went to look at file2.php, and it includes file1.php, isn't that an infinite loop? Quote Link to comment Share on other sites More sharing options...
jumpenjuhosaphat Posted November 21, 2006 Author Share Posted November 21, 2006 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. Quote Link to comment Share on other sites More sharing options...
taith Posted November 21, 2006 Share Posted November 21, 2006 to kill that infinate loop use... include_once();and for that table issue, i'd need to see the code to see why... Quote Link to comment Share on other sites More sharing options...
jumpenjuhosaphat Posted November 21, 2006 Author Share Posted November 21, 2006 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. Quote Link to comment Share on other sites More sharing options...
taith Posted November 21, 2006 Share Posted November 21, 2006 its really hard to say... i'd need to see the source to troubleshoot why :-) Quote Link to comment Share on other sites More sharing options...
jumpenjuhosaphat Posted November 21, 2006 Author Share Posted November 21, 2006 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.txtThanks for the help Quote Link to comment Share on other sites More sharing options...
jumpenjuhosaphat Posted November 21, 2006 Author Share Posted November 21, 2006 Well, it seems to be working now that I re made the last missing table. Hopefully I won't be back on this issue anymore. Quote Link to comment Share on other sites More sharing options...
taith Posted November 21, 2006 Share Posted November 21, 2006 good to hear :-) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.