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 strongm 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: kaptlid
  • Content: Threads
  • Order by date
  1. kaptlid

    PCI Network controller resource conflict

    Ok I am beyond stumped on how to fix this. Here's what happened. My previous video card got partially fried. I wonder if that happened due to switching inputs on my dual input monitor!!!! So a friend gave me an agp2x ati card. I put it in and now it doesn't want to play nice with my ethernet...
  2. kaptlid

    Partitioned hard drive inside external enclosure

    My friend's old laptop went kaput [as in doesn't turn on at all] and she asked me to backup the data on it. The hard drive has winxp installed on it, ntfs with two partitions. Put the hard drive [IDE 2.5 inch] into an external USB enclosure. Hooked it up to both a winxp pro s3 computer and a...
  3. kaptlid

    GD library, vertical text question

    $font = "arial.ttf"; imagettftext($image, 16, 90, 590, 350, $textColor, $font, 'Thank You'); Is there anyway to simulate the photoshop vertical text tool? So each letter individually rotates 90 degrees. i.e. T h a n k Y o u If no do I have to get a vertical true type file for arial or verdana?
  4. kaptlid

    regex help, using limiters

    Having a problem preserving words. input: $string = 21st street 1st street; or $string = 21st st 1st st; $patterns[0] = '[(?<=[0-9])st|nd|rd|th]'; $patterns[1] = '/ave.*?\b/'; $patterns[2] = '' //confused... $replacements[0] = ""; $replacements[1] = "ave"; $replacements[2] = "st" $str =...
  5. kaptlid

    Words inside xml tags

    I was given some non validating huge xml files to work with. I need to print the words enclosed between certain tags. Example: There are 25 instances of words inside <def> </def> tags in an xml file. How do I output only the 25 words in between the tags? The xml files are on average 3MB...
  6. kaptlid

    second partition without formatting drive c

    Hi! Is it possible to shrink drive c:/ on windows 98se and use the space for a second partition without having to format the whole disk and lose all my data? Can the commandline diskpart utility from xp be used in win98se to do this? Or do I need some type of third party software. Thanks. I...
  7. kaptlid

    Footnotes in side margins in word xp

    Hi, is it possible to put footnotes into the side margins of an ms word document? Office XP [2002] is the software version. If no are there any plugins available to add that functionality? Thanks,
  8. kaptlid

    Russian file names?

    My friend sends me files over ftp, The filenames are in russian but on my computer I get gibberish. The files themselves open. From what i understand winxp pro has unicode and russian encoding built in. We are both running windows xp professional service pak 2. Except he has the russian version...
  9. kaptlid

    convert html form to pdf fillable form

    Just trying to save some time if at all possible. Is it possible to convert an html form into a fillable pdf form? I do NOT need to transfer the data that is filled in at this point in time. I have acrobat pro version 7 and php 5 running on a server. I opened up adobe designer and its very...
  10. kaptlid

    xp pro refuses to share its files :(

    I have three computers in a lan. The router is a netgear br814 version 3. All the computers can ping each other and can see each other in the network window. They are on the same workgroup. Microsoft file and sharing protocol is installed on all of them. There are absolutely no firewalls or...
  11. kaptlid

    Two physical servers one ip address

    I am not sure if this is even possible but will ask anyway. I have two apache servers. One is version 1.3x the other is version 2 both running on windows. The two computers are behind a router and I only have one public ip address. I would like both servers to serve sites on port 80. Can this...
  12. kaptlid

    images, file based storage or db storage

    I have a question, I am going to start work on a project that will have alot of images stored on the server, give or take 1 million photos that have a max file size of about 300k. What I am torn about is how to store them. Should they be stored on the web server as files, or inside the...
  13. kaptlid

    deleting files

    How do you delete files in a directory. For example I want to delete all files that ARE NOT of the jpg extension. I used this code but it deleted EVERYTHING! $originalfilelist = scandir($memberdir); foreach($originalfilelist as $files => $values) { chmod($values, 0777 ); if (...
  14. kaptlid

    About array keys and numerical indexes

    I am aware of the fact that a numerical index on an array starts from the number zero. Is it possible for it to start from the number one? I did not notice any functions in the php manual for this. Thanks,
  15. kaptlid

    question about the file input box

    I recall reading in the w3c specification that the input type=file should also work for uploading directories. Are there any browsers that impliment that out there? I am looking for a better multiple file uploading solution than multiple input boxes, or asking users to create a zip file or...
  16. kaptlid

    adding datetime fields

    I have a table with col1 col2 both are datetime columns I made a derived table to display col1, col2, col2-col1 as difference what I want to do now is add all the row values of difference together. The sum function butchers it and date_add does not seem to be for this. Thanks,
  17. kaptlid

    sorting positive and negative numbers

    say you have a table: col1 col2 10 3 11 5 4 10 8 20 how do you get the table to sort 7 6 -6 -12 I tried the query: select * from table order by col1-col2 desc but i get a sort order of 7 6 -12 -6 thanks,
  18. kaptlid

    working on commission for a project?

    I have a prospective client who wants a website to sell a book (that he thinks will take off! :) Making the website itself will be a very small quick job. I was thinking of doing this project and taking a cut of each sale instead of charging a flat fee. He would take care of the hosting costs...
  19. kaptlid

    displaying a certain value

    say I have a table with two columns and the values: 4 3 7 2 12 4 how do I get the table to take max(col1-col2) and display it in every row. as in: 4 3 8 7 2 8 12 4 8 Thanks I need a query for versions 4.1 and 3.23,
  20. kaptlid

    filling an array with values

    I could not find any documentation on this so I'll ask here if its even possible. Say you have an array with keys 1-12 values are null so far. And then you have another array with the values array(1,3,7,8,10,11); How do you make another array to look like: array( [1] = '1', [2] = ' ', [3] =...

Part and Inventory Search

Back
Top