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 Wanet Telecoms Ltd 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 SgtBadass

  1. SgtBadass

    Viewing TTF fonts using JavaScript

    I'm looking for a way of having the user input some text, then choose a TTF font and size from a drop down and click a button to show the text in another part of the page rendered in the font and size. Anyone know how this is done or got a pointer to a tutorial or example?
  2. SgtBadass

    Hyperlink to plain text in excel

    B-r-i-l-l-i-a-n-t-!!!!! Cheers buddy, I owe you a beer.
  3. SgtBadass

    Hyperlink to plain text in excel

    I'm afraid none of those worked! =A1 just gave me the link again in the new cell, copy paste special values did the same and the VB console just left me with the text without the hyperlink, but the hyperlink value had gone! Perhaps my spreadsheet is formatted in some bizzaire way?
  4. SgtBadass

    Hyperlink to plain text in excel

    I've got a column in my spreadsheet in which every item has a hyperlink (I copied it from a website). Is it possible to create another colum that has the plain text version of the hyperlink in it?
  5. SgtBadass

    Getting the numeric bit of a string...

    Yup - I stripped 'em out, I thought there might be a function that would just extract the number, but subbing it was just as easy.
  6. SgtBadass

    Getting the numeric bit of a string...

    I've got a bunch of strings like this: style01_11.png style143_12.png etc, How can I get the numeric bit attached to the word 'style'? I've already exploded it into an array, so they now read: style01 style143 But now I'm stuck on getting just the number.
  7. SgtBadass

    Finding keywords used

    I've seen (on places like hotscripts etc) code that can do this without having to access the Apache server logs so I'm guessing there's a way of getting it from the headers somehow.
  8. SgtBadass

    Finding keywords used

    Many web stats scripts I've seen tell you what keywords a visitor used to find your site. I'm guessing they're embedded in some server variable somewhere. Anyone got any pointers to how it's done?
  9. SgtBadass

    PHP download management

    Can you point me to an example of this streaming thing? I've still got dial-up users, a bmp file sounds marvellous!
  10. SgtBadass

    PHP download management

    Apologies if this sounds stupid (I don't know a lot about the inner workings of apache!), but do you mean by putting your docs outside the httpdoc directory? These documents will be in a hosted environment, so I guess I'm limited to where I can put things.
  11. SgtBadass

    PHP download management

    Marvellous stuff, I'll try it out but it's already given me ideas - thanks!
  12. SgtBadass

    PHP download management

    I'm looking to write something that will allow only logged-in users to download files (PDFs, Word docs etc). I'll have the files in a directory so I'm looking at ways of stopping people from just finding the links, or passing links on to people. Anyone got any ideas? Or links to software that...
  13. SgtBadass

    Advice on how to restrict what a user sees

    Groups - good idea, I like it. I'll go work on that idea I think.
  14. SgtBadass

    Advice on how to restrict what a user sees

    I've got a database with two main tables. One is 'users' with approximately 35 records which is not likely to increase much, the other is 'companies' with 7000+ records, more being added every week. Now, each company record has been either visible or not but when visibile they are available to...
  15. SgtBadass

    Retrieving data from a SQL text field

    This is nutty. I've got a recordset which retrieves some tables from a database. One of the fields is defined as 'text' in SQL server, and won't display in the resulting ASP page. If I change the SQL field to a varchar, it works! Any idea how I can get the text to display?

Part and Inventory Search

Back
Top