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

    Missing Security tab

    Windows server 2003 web edition: Somehow simple file sharing has been turned on and I can't discover how to turn it off but I need my security tabs back. Tia Struth Away from the actual ... everything is virtual
  2. struth

    prevent disguised exe file upload

    I need to prevent people uploading exe files. I presently use aspupload. However there are users who are changing the extension name to for example '.doc' and then downloading it to a target computer and changing the extension back .... Does any one know of any software or anti-virus that...
  3. struth

    unwanted characters warning.

    I trying to prevent the uploading of files which include any character of ther than 1-9 and a-z ... but it isn't quite working. function checkUploadString(str) { checkStr = FilenameOnly(str); var ValidString = "01234567890abcdefghilklmnop qrstuvABCDEFGHIJKLMNOPQRSTUVWXYZ"; var Ret =...
  4. struth

    Blocking Repeated Characters

    I asked this in the Microsoft Active pages forum and ended up with a superb javascript regex solution "How can I stop people entering repeated characters etc in forums, etc. EG JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ endlessly or help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! endlessly...
  5. struth

    Blocking repeated characters

    How can I stop people entering repeated characters etc in forums, etc. EG JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ endlessly or help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! endlessly I think it must be looking for the space character at lest every 20 characters or so but don't want to...
  6. struth

    This works but is clumsy

    Looks like a soduku but it's not! I have 8 sections made up with tables of 7 rows and three (sometimes four) columns. Each row is totalled up as is each column. The script below works but is going to end up very long. Is there a way to condense itthat would still work if even if more...
  7. struth

    two dimension all array going awry

    A dynamic two dimension all array not quite working out..... dim arrNewChoice While Not RS.EOF Select Case iChoice Case 1 Response.Write(strChoice) Case 2 Response.Write(strChoice) Case 3 Response.Write(strChoice) Case Else Redim...
  8. struth

    regex find & match first 4 chars

    I am looking to find matches to the first 4 letters of a string. I know it's got to use regex but my attempts have just left me banjaxed. But it should be something like.... onClick="matchString('a10109')" function matchString(string) { var mystring = (string); //now get the first 4...
  9. struth

    XMLHTTP help please

    I use the XMLHTTP object very successfully using the code below UNTIL the data in the dynamically created form which 'formData' picks up gets to big. This is because it is transformed into a querystring which can become too long to be read. Is there any way around this. I need the response text...
  10. struth

    Safari / Firefox errors

    I have this script running on a page but I'm getting errors on safari browsers and firefox doesn't like it much either. I appreciate assistance in correcting this. <!-- begin cloaking from non-JavaScript browsers. // Written by: Paul DeBrino of Infinity Research and Development. // Email...
  11. struth

    SEARCH KEYWORDS IN CONTEXT

    I have a search script (can't display it here or Tom Muck would not be pleased) but I really need to refine it a bit more so that it only displays the keyword(s) in their context eg "...this is a search script which you can...." Can anyone help? Tia &quot;Away from the actual ... everything...
  12. struth

    unwanted multiple transactions occurring

    I received a report from one of my users that a when they requested a single record delete from a multiple delete form (via checkboxes) ... it then deleted all their records! I have tried to replicate this but i can't. I was once told that proxy servers can muck up transactions in this way...
  13. struth

    MySql + ASP can = weirdness

    I have done this sort of thing thousands of times with access: <% if Session("memberID") = rsApplication("ID") then response.write ("do something") else response.write ("do something else") end if %> But it won't work. I do a check ... the values match but I get...
  14. struth

    ASP MySql Insert-Retrieve Problem

    I can't seem to get my insert-retrieve last ID working since migrating from Access to MySql After the insert routine I used to just: rs.update session(""ident") = rs("ID") and there it was... I have tried some of the MySql routines eg MySql_insert_ID() but nothing. tia Struth...
  15. struth

    FSO objXMLHTTP problem

    I have this FSO script at the bottom of a records.asp page and it does create the file but not accurately because I need it to reference the page (records.asp) with the posted form data from the referring page included. I have tried a couple of server variables but these just seem to make the...
  16. struth

    checkbox tied to textarea problems

    Can't seem to get this to work: On submission I want check if a textarea has had content added. If it has users must also have checked a 'read more' checkbox. The workings of the function as I have them at the moment are: var moreNews moreNews=Form1.News.value if...
  17. struth

    Matching to an array

    I have different administrative sections which can be allocated to more than one member. These member/admin rights are held in a table (sectionAdmin): sectionID | memberID ----------+---------- 1 | 23 ----------+---------- 2 | 23 ----------+---------- 1 | 14...
  18. struth

    I have multiple recordsets on a pag

    I have multiple recordsets on a page that use the same connection file to connect to various tables in an access mbd via the usual include file procedure: <!--#include file=&quot;../Connections/connMydb.asp&quot; --> Set.... recordset1.ActiveConnection = MM_connMydb_STRING Set...
  19. struth

    Limit Dynamic No of checkboxes

    I want to limit the number of checkboxes a user can check. But they are dynamic checkboxes so a page could end up with 3, 10, 20 checkboxes in it. It takes the number they can check from an asp variable <%=myCheck%>. Any ideas Tia Struth &quot;Away from the actual ... everything is virtual&quot;
  20. struth

    asp menu from one table

    I have an access table with the fields id/parentid/level from which I want to create a tree menu that will diplay like this: in brackets(parentid,level) Item-A (-,1) +item-B (A,2) ++item-G (B,3) +item-C (A,2) ++item-D (C,3) +++item-I (D,4) ++item-H (C,3) +item-E (A,2) +item-F (A,2)...

Part and Inventory Search

Back
Top