Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by kasuals

  1. kasuals

    New to Excel, trying to figure out functions.

    Thanks Chip, actually what I did was define $48.00 at the top of my spreadsheet in the hourly rate section then refer to it with =E2*$D$6 Now, my only thing is (and I have read a few tutorials) getting every line in F from 10 to 100 to reflect the function for the E column in its respective...
  2. kasuals

    New to Excel, trying to figure out functions.

    Ok, well I maintain a database of consultants for CNC programmers and network admins at my shop. I'm keeping track of time and labor costs. I have a static value of say $48.00 for each hour a rep is pulled away from their usual duties. I'd keep my spreadsheet like so: Date Desc Employee...
  3. kasuals

    Linked Lists and Object Classes

    I was debating on creating 5 sessions variables: step1 step2 step3 step4 step5 and just pushing values up the list as the user progressed. Is that a better way to do it? Just pop an object into each slot and then move them up the list accordingly? http://www.angsttechnology.com -...
  4. kasuals

    Linked Lists and Object Classes

    I am trying to keep track of each page in a history so that the user can go back as many as 5 steps into their history. I was planning on doing this using a class object: (please ignore any previous defines like TRUE and NULL) class HistoryObj { var $label; var $filename; var...
  5. kasuals

    cURL and remote timestamp issues.

    Or is filetime not for the last modified date but the server time on the remote system? http://www.angsttechnology.com - "Delightfully confusing..." raves The New York Times -kas
  6. kasuals

    cURL and remote timestamp issues.

    I'm returning a -1 on timestamp, I'll save us the time by placing the code: $modded = last_mod("localhost/submitted.php"); function last_mod($remote_file) { $ch = curl_init(); $ret = curl_setopt($ch, CURLOPT_URL, $remote_file); $ret = curl_setopt($ch, CURLOPT_HEADER, 1); $ret =...
  7. kasuals

    Decent remote filesize option

    I've tried busting the size out of the headers, which only really works for images and static content. I think I'll give the file_get_contents(), and give that a shot. Thanks as always sleip, you always come through for me. Even if it doesn't work out, I appreciate your response. You've...
  8. kasuals

    Decent remote filesize option

    I have gone over my options, and thus far have not found an option for snagging the remote filesize of a webpage. I can grab google.com, but anything that needs to be processed (ie php) comes back as 0 bytes. I need to find the size of a file for hourly checksums, and hopefully someone can...
  9. kasuals

    Apache 1.3.x, PHP 4.x, and XP. Displaying PHP as text.

    Hey all, This is about the 900th time I've installed PHP and Apache together on an XP box, but for whatever reason I am overlooking something, and I need some help. For whatever reason, index.php is displayed as a text file. For instance: <? phpinfo(); ?> is displayed instead of parsing the...
  10. kasuals

    imagecopymerge question

    For some reason before I upgraded this worked: $bgfile = &quot;bg&quot;.mt_rand(1, 10).&quot;.jpg&quot;; $im = imagecreatefromjpeg($bgfile); $im_w = imagesx($im); $im_h = imagesy($im); /* Layer 1 - TTF word. */ $new = imagecreatetruecolor($im_w,$im_h); $color = imagecolorallocate($im...
  11. kasuals

    Database design, suggestions?

    That sounds like a better plan. I think I'll go with that route. Thanks hos. http://www.angsttechnology.com - &quot;Delightfully confusing...&quot; raves The New York Times -kas
  12. kasuals

    Database design, suggestions?

    I mean, if you think one table can handle parsing that table with disgustingly large amounts of page generations, I'm all for it. It would save me alot of uneccessary code. http://www.angsttechnology.com - &quot;Delightfully confusing...&quot; raves The New York Times -kas
  13. kasuals

    Database design, suggestions?

    Well, this is for a major site, which god only knows how many hits it receives in any given day. I don't want to guestimate, and I don't have the figures... but it's ALOT of traffic. And the links are going to be in the range of 20-150 per day. http://www.angsttechnology.com -...
  14. kasuals

    Database design, suggestions?

    I'm creating a database that will archive links. I would like to avoid placing all the links into one large table since it will be receiving quite a few hits and I don't want to have to parse the table by date too often if it's large. What I was thinking was creating tables in the format of yymm...
  15. kasuals

    GD issues again...

    BTW, it's all Win32. Not that I'm even sure it matters once it's all loaded. http://www.angsttechnology.com - &quot;Delightfully confusing...&quot; raves The New York Times -kas

Part and Inventory Search

Back
Top