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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: kasuals
  • Content: Threads
  • Order by date
  1. 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...
  2. 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...
  3. 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 =...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. kasuals

    GD issues again...

    Well, my old code isn't working with my new install of PHP 4.3.2 and Apache2. The GD php_gd2.dll is loaded... however even this line of code wont display a jpeg file: <? header(&quot;Content-type: image/jpeg&quot;); $im = imagecreatefromjpeg(&quot;bg1.jpg&quot;); imagejpeg($im); ?> The...
  9. kasuals

    PHP project... workflow chart?

    There is this huge PHP project (it's a PHP project because I told them thats the only language it would be possible in hahahha.. shhh.) and I need something to create at least a palettable workflow chat out of for program flow. Anyone know of any editors that I could create one quickly and...
  10. kasuals

    Image Verification Process

    Hey all, I just finished a class for creating dynamic images for verification purposes. Here is an image that was generated a few minutes ago: I was hoping to get some opinions on whether or not this was enough? If its clear? And perhaps some tips on image verification concepts. I'm not...
  11. kasuals

    Premature End of Script Headers on GD call

    Here is a snippet I modified. Basically it's to set transparent text over a background: <? header('Content-type: image/jpeg'); $im = ImageCreateFromJpeg(&quot;bg.jpg&quot;); $im_w = imagesx($im); // Get the image width $im_h = imagesy($im); // Get the image height $col =...
  12. kasuals

    GD ::grumble::

    Ok... enough hair pulling... I'm getting different answers from people. GD is not supported by PHP 4.3.2 initially correct? I'll have to download that nasty zip of headers and source and compile it on my 98 box? Then dump the php_gd2.dll into an includes directory and just set it up to load...
  13. kasuals

    where name like '1%'

    Ok guys. I have a database that has this entry: COL NAME=NAME VALUE=&quot;1 TestColumn&quot; if I do a search for '1%' I get nothing back. If I do a search in any of my other tables for that it prints fine. Any ideas? http://www.angsttechnology.com - &quot;Delightfully confusing...&quot...
  14. kasuals

    Multiple Processes(threads) maxin' out RAM

    Hey all, I just finished installing SuSE 8.2. I love it. However I noticed something odd. I was running RedHat 8, and never had this problem before. When running X w/Enlightenment the system TOP says I'm using about 170megs of memory. Then I bust out Mozilla and it forks about 6 processes for...
  15. kasuals

    Parsing page name w/out knowing it.

    Ok, I am I trying to generate a general template based off of user information in a database. When accessing the URL I don't have the users ID, but I need it to access the correct database row. The user directory for their template pages are under /home/user_id, however, I'd like to avoid...
  16. kasuals

    Suggestion on encrypting data for unique IDs

    I'm creating unique IDs within a table for members. For my purposes it has to be unique and at least 10 chars long. Is this pretty much a given that the ID will come out unique? $mix = date(&quot;BisZU&quot;); $mix = $mix.&quot;&quot;.$_POST[username].&quot;&quot;; $memberID =...
  17. kasuals

    PHP in Win32

    Anyone had any problems with PHP4 in Win32 (Apache 1.3.x) not passing form values via POST? I can't seem to get it to read form values even with GET. I'm not a newbie, so I know there are no syntax errors... I've run almost every test I can... could it be a problem with PHP or Apache...
  18. kasuals

    Caching

    Anyone know if you can force a single image on a page to not cache? Or do I have to force the entire page to not cache? http://www.angsttechnology.com - &quot;Delightfully confusing...&quot; raves The New York Times -kas
  19. kasuals

    RPM issues (again)

    This time it's on another server I'm running. I'm just hoping it's not as dreary an outcome as I think it's going to be. I need to upgrade GLIBC on this box, but I get the following errors: rpm -Uvh glibc-2.2.93-5.i386.rpm glibc-common-2.2.93-5.i386.rpm glibc-devel-2.2.93-5.i386.rpm error...
  20. kasuals

    Database design question...

    I am building an online community for work. I am not new to MySQL, however I am new to the design aspect in regards to large scale implementation. What I need to do is build a database of groups, members and the communities they belong to. Something like: group->community->member The groups...

Part and Inventory Search

Back
Top