I have a php based website that is going threw a redesign hosted on my proprietary linux server...
folder structure is set up like this...
html
-element
-image
-script
-sfo
-shop
-spec
-and various html files
to eventually test the redesign I have setup an additional folder called "TEST" (basically a duplicate of the entire HTML folder) inside "HTML" that duplicates the heirarchy like so:
html
-test
--element
--image
--script
--sfo
--shop
--spec
--and various html files
-element
-image
-script
-sfo
-shop
-spec
-and various html files
well all is well and good until i try to load the page... when i point the browser to the "index.php3" page in the "TEST" folder it takes forever to load and eventually locks up the browser...
<?php
$element = array("AA2", "HT4", "MA5100", "MC275-II", "MC500", "MQ107", "MX113", "SL-1","TD190", "M1", "S3", "MAC1900", "SL-6", "MAC4100", "MC7108", "MR7082", "MVS3", "C39", "MA6200");
shuffle($element);
$r1 = $element[0];
if(!($r1=fopen("./element/$r1.htm","r1"))) {
print(" ");
}
while(!feof($r1)) {
$line = fgets($r1, 255);
print("$line");
these are the lines of code that are "freezing the browser" oddly the files/paths are the exact same as the ones on the live server... which works fine
I have looked in the "element" folder and it has all the files that it does on the live server...
is this a database issue due to the moved files, or a php thing?
I have never had a problem like this before; but then again this is the most complex site I have done..
I appreciate any feedback and let me know if i didnt explain things too clearly...
Thanks "A TON" in advance...
C-