Jump to content

arunner

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Everything posted by arunner

  1. oh, dude, thanks thorpe! when I go to load the page, it loads and loads and...yeah...obviously a big loop or constant flow of data of some sort. i always have to restart the server afterwards
  2. it might work if you get rid of the word "vir.us"
  3. hey, I'm having big problems with a scrap of code I made. I traced the bug down, and for some reason..it's here; and I can't figure it out. I think it's the $ in the preg_replace function. Here's my code: //set patterns $pattern = array( '/\$PARENT_PATH\$/', '/\$PATH\$/' ); //set replacements $replacement = array( $parent_path, $path ); foreach($a['html'] as $key=>$value){ echo $key . "BLAH"; //make replacements $value = preg_replace($pattern, $replacement, $value); //add new lines on the end of every html section $value = $value . $n; //set value in user html array $a['html'][$key] = $value; } any help would be greatly appreciated. :]
×
×
  • 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.