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 bkrike 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 Tore

  1. Tore

    ERROR: invalid byte sequence for encoding "UTF8": 0xe3a520 ' .. help?

    Using PHP 5.2 and PostgreSQL database server 8.1 I run the following query from a php script: insert into pager (PAG_ID,PAG_PARENT,PAG_NAME,PAG_ACTIVE) values(3000,0,'Aå cool site',1) Note the values has been entered in a UTF8 encoded HTML page and get this in return: ERROR: invalid byte...
  2. Tore

    Is there a md5 equivalent function in VBA

    I want to do a one way encryption on a string in VBA? How do I do that? Any suggestions to a function that do an md5 on a string etc..
  3. Tore

    How to prevent clients from linking to a back-end db?

    Thanks for the feedback. Appreciate it.
  4. Tore

    How to prevent clients from linking to a back-end db?

    Hi. client - server - access - security Access 2000 The client computers in a local network have have access 2000 installed on their computers. I want to install an .MDE file on each client from where they can access data from an .mdb file on a server. The .MDE file are linked to the tables...
  5. Tore

    Uploading files Need some advise reg. $ENV{'CONTENT_LENGTH'}

    Hi.. I'm new to Perl. But it look like some magic can be done using perl compared to PHP when uploading files. I looked at the FAQ regarding uploading of files using CGI.pm module. In the example from the FAQ there was only one text field to enter the file to be uploaded. I added one text...
  6. Tore

    Need to search text for "code-*" and return all occurences of words

    Hi got the answer from the previous forum I tried: Here it is if you need it: $string_test='<div class="code-div" style="margin: 0pt 20px 0pt 0pt; float: left;">Bla bla blakkkskk</div>This is just some bla text. Bla bla bla.<div style="margin: 0pt 20px 0pt 0pt; float: left;" class="code-super"...
  7. Tore

    Need to search text for &quot;code-*&quot; and return all occurences of words

    Hi. I need to search some submitted text for "code-*" and return all unique occurences of whole words. Where the * part of the word can be any number and/or alphabetic letter and/or "-" and/or "_" Examples of valid words could be: Note: there can be multiple instances of the same word...
  8. Tore

    Is it possible to control link color in a DIV's inline style?

    Thanks for replies. I think I do the following: I let the editors create different style classes which he then can bind to a DIV container or nested DIV's if he would like. Something like this: /* white-on-gray */ .white-on-gray { background-color:gray; color:white ... font styling here...
  9. Tore

    Is it possible to control link color in a DIV's inline style?

    Thanks for answer. But not doable for me. I'm working on a CMS system where the editors should be able to set background-color, color and link color for their content. They shall be able to nest DIV tags, and each of those nested DIV's can have different background-colors, and therefore would...
  10. Tore

    Is it possible to control link color in a DIV's inline style?

    You did not answer my question. Is it possible to do it the way I described or not?
  11. Tore

    Is it possible to control link color in a DIV's inline style?

    I want to control link color in a DIV. Inline style in the DIV and not using class. And not by using inline style in each A tag either. Hopefully something like this: Obviously linkcolor does not work, but is there a way to implement it like the example below? <div style="linkcolor:#aaaaaa;">...
  12. Tore

    How do I group text layers as to change font for all in one go

    Update: Have have read this link. http://www.tek-tips.com/viewthread.cfm?qid=716923 I could not make this work. Is this trick not working for version 5.5?
  13. Tore

    How do I group text layers as to change font for all in one go

    Hi. I want to be able to group several text layers toghether so I can adjust font, font-size, color etc for all text(s) at the same time. I do not want to merge down to one layer because I probably have to change text (letters) for some of the individual texts laiter. It would be nice to...
  14. Tore

    Have trouble with subqueries, help. ???

    I tried the subquery below. When I use explain it says that it uses the primary index on table1 byt by some reason it still does a full tablescan on that table. SELECT id1, id2 FROM table1 WHERE ( id1, id2 ) IN ( SELECT id1, id2 FROM table2 WHERE min >=20 AND min <=20 ) table1 primary: id1...
  15. Tore

    How do I InnoDB multiple tablespaces, on multiple disks?

    Is there any pitfalls when using symlink and InnoDB tables with "multiple tablespaces"? (ref. previous thread). What does not work when using symlinks and "multiple tablespaces" with InnoDB? What will eventually cause the symlink to be broken?

Part and Inventory Search

Back
Top