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 IamaSherpa 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: wapoc
  • Order by date
  1. wapoc

    VC++ .NET 2003 migration trouble

    Hi, I'm having a whole load of grief trying to get my old VC6 project built in VC++ .NET 2003. I get a huge series of the same error, that being "definition of dllimport function not allowed" (C2491). I didn't write any of the problematic code myself. I can't find any reference in it with...
  2. wapoc

    Excluding phrases from regular expression

    It should convert it to WML (strict HTML for mobiles), so bad syntax is not permissible. Apologies for not being clearer! I think my best bet may be to use the standard PHP string functions and parse it myself, but I'd still like to know if it's possible to exclude a phrase from a regular...
  3. wapoc

    Excluding phrases from regular expression

    Whoops! That'll teach me to preview. text is ok text is ok t[xt is ok text is ok but text is not text is not [i]text[i] is not and so on.
  4. wapoc

    Excluding phrases from regular expression

    I need it for replacement too. It's a tag parser, and it's strict, e.g.: text is ok text is ok t][t is ok text is not text is not etc.
  5. wapoc

    Excluding phrases from regular expression

    This should be simple, but I can't figure it out. Let's say I want to check if my input does not contain the word 'hello'. In my mind this is the equivalent of [^(hello)]+ but that obviously doesn't work. This is for a strict parser of tags and therefore I have to exclude whole words. Am I...
  6. wapoc

    Parse error

    If I'm right, then it's a fairly simple PHP problem. I imagine that when you use your query in PHP you make it a string by enclosing it in double quotes - however this is a problem because your SQL query also contains double quotes. Either replace the SQL double quotes with single quotes, or...
  7. wapoc

    Query based on 'does not exist' condition

    Excellent stuff, thanks a lot. I simply hadn't thought of/looked sufficiently into doing such a join where missing values would be represented but as null.
  8. wapoc

    Query based on 'does not exist' condition

    Hi, Sorry if this is a daft question but I don't know how/if it can be done. I hope the following makes some sort of sense. Let's say I have a table called 'forumtopics' that contains a field representing the topic's author. I then have another table called 'ignorelist' which has two fields...
  9. wapoc

    Suppress console output from external code

    Thanks, but I'm aware of how you can pipe output using the console, which is exactly the effect that I'm after. However this is a DLL, hence the problem...
  10. wapoc

    Suppress console output from external code

    Hi, Apologies if this is a daft question but I'm fairly new to this. My Java code uses the JNI to call a C++ DLL wrapper which I wrote, that in turns calls some pre-written C++ code from elsewhere. The latter does a lot of information output to the console from which the Java program was...
  11. wapoc

    Fairly easy SQL query

    It's for a WAP (mobile phone internet) site which although it uses forms, is very different to the HTML equivalents. I suppose though in a similar way I could use the "get from ignorelist" query, and then get all the messages and use PHP to process which ones are for output after. I'm...
  12. wapoc

    Include() performance

    Excellent, that's what I was hoping! Oh, and when I said about © format before, the second one was meant to be written & # 1 6 9 ; in case anyone was wondering!
  13. wapoc

    Include() performance

    Hi. My website is for use by WAP devices. These require very a strict HTML-like language. If there is a problem with the page it will cause an error. Basically, characters like © MUST be converted to © format. Anyway, there's a bit of PHP code in each script to convert them all for me...
  14. wapoc

    Fairly easy SQL query

    Hi. I've got a chat system set up and it uses an ignore list. Now, rather than using two awful queries to find the ignored people by that user, and then find only the messages not written by them, can you suggest a query for the following pseudocode? Select from chat where (no row in...

Part and Inventory Search

Back
Top