Jump to content

dagnasty

Members
  • Posts

    66
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

dagnasty's Achievements

Member

Member (2/5)

0

Reputation

  1. This is not a browser caching problem. apache, PHP Version 5.1.6 My dynamic pages were cached on the server and when I edit them to dynamically output new content, it displays page content from before the edit. I am not sure what is causing this problem, but I'm sure it's a file caching feature on the server. Any ideas what addon or module could be causing it? Note: No matter how many times I edit the file, it never changes. Also, I made some adjustments to the system time as it was a few hours off but not sure in which direction. Could the server be thinking the new file is older than the cached?
  2. I say caching but I believe I may mean buffering
  3. No , it's optimized very well. The delay isn't an issue as it's caused by network delay when grabbing several large pages through cURL. Do you know the page caching setting off hand? I'm using apache and latest php
  4. no this isn't what i'm looking for but I will add this to my notes to research. the answer is a php.ini or apache setting, but I can't find it.
  5. If I have a script that takes about 10 seconds to complete parsing to the page, what setting do I change so that the page loads as php parses it? I've looked and searched. I know it exists, but it's slipped my mind as to where it is and what it's called.
  6. I have mirrors to my site and 1 reacts differently than the rest because it's on a different host. It runs scripts that can take a few seconds to load, sometimes around 10 seconds. When a script is parsing on the other servers the page loads as it parses, instead of after all the script parsing is done. Is this an apache or php setting, and what's it called?
  7. for examp http://www.serverspy.net/site/search/server.html?a=85.232.244.14:29070&g=5
  8. sites such as serverspy do it, and for your game too. The problem is that it's in their format. For 25 I'll write you a script that strips and rips and puts it in a format that you can place on your web site. It's very time consuiming and sometimes trivial. in case you would rather not, just learn regexp techniques. Go in with your helmet on if you don't know it already.
  9. because it deals with filse size. ex. 23.42 MB 3.1 GB 32.34 KB 
  10. The reason I'm asking is because it will be done about 200 times in my script and they are large numbers.
  11. What if my number is 546000 would it be quicker to divide by 1000 or to insert decimal where I know it goes with string manipulation?
  12. Is it quicker to place a decimal in a number with string manipulation rather than divided by a certain number and round?
  13. I don't really want to look through it, but if you want you can use my old script as a reference. [code=php:0] <? if (isset($contactsubmit)) { $myemail = "email@email.com";           $i = 0; if(!$visitormail == "" && (!strstr($visitormail, '@') || !strstr($visitormail, '.'))) { $invalidemail = 1; $i += 1; } if (empty($visitor)) { $invalidvisitor = 1; $i++; } if (empty($notes)) { $invalidnotes = 1; $i++; } if ($i == 0) { $todayis = date("l, F j, Y, g:i a") ; $subject = "Contact"; $notes = stripcslashes($notes); $ipi = getenv("REMOTE_ADDR"); $httpagenti = getenv("HTTP_USER_AGENT"); $message = "$todayis [EST] \n Message: $notes \n From: $visitor ($visitormail)\n Additional Info : IP = $ipi \n Browser Info: $httpagenti \n"; $from = "From: $visitormail\r\n"; mail($myemail, stripcslashes($subject), $message, $from); echo "Message sent. Thanks!"; $ismailed = 1; } else { echo "Error. Check below"; } } ?> <? if (empty($i) || $i != 0) { if (!isset($ismailed)) { ?>         <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">                       <?php if ($invalidvisitor == 1){ echo "<font color=red>"; } ?>             Name:             <?php if ($invalidvisitor == 1){ echo "</font>"; } ?>             <input type="text" name="visitor" size="35" />             <?php if ($invalidemail == 1){ echo "<font color=red>"; } ?>             <br>             Email:             <?php if ($invalidemail == 1){ echo "</font>"; } ?>             <input type="text" name="visitormail" size="35" value="<?php echo $visitormail; ?>" />             <?php if ($invalidnotes == 1){ echo "<font color=red>"; } ?>             <br>             <br> Message:<br>             <?php if ($invalidnotes == 1){ echo "</font>"; } ?>             <textarea name="notes" rows="4" cols="40"></textarea>             <br />             <input type="submit" value="Send" name="contactsubmit" />                   </form> <?} } ?> [/code]
  14. Thanks guys. Your information was very helpful. The script is a VERY VERY VERY resource intensive one. 'nother quick question: Does doing an unset on an array or a multidimensional array completely unset it?
  15. Maybe I haven't lost track of what's happening yet... Would this mean mounting each network drive to the server? I've done this for my home network so I could provide myself a login to access all the files as if they were on the actual server. This server was within the same network as the network drives, however. Without a dedicated server with which you can manage all the mounting, this can prove to be very difficult. Hopefully I'm still on the same track. Just trying to provide some insight.
×
×
  • 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.