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

    cdosys set mail priority/importance

    ok, i've googled for hours on this, and i now am setting the importance/priority of my email in SIX fields, and still nothing happens to the priority... it is always sent as "normal": '---- CdoPriorityValues --- Const cdoPriorityNonUrgent = -1 Const cdoPriorityNormal = 0 Const...
  2. jemminger

    motherboard will not power up

    hi all, just changed the motherboard in my machine to a pcchips w30 with amd xp3200 or thereabouts, was a friend's old mobo and he said it should work fine. i've hooked everything up and i'm 99.999% sure i got the front panel leads in the correct positions according to the manual. the problem...
  3. jemminger

    noob question: _()

    hi all, what does this syntax mean? _() as in foo = _("hello") -jeff www.jeffemminger.com lost: one sig, last seen here.
  4. jemminger

    php and oracle: TNS:protocol adapter error

    hi all, i have a TNS_NAME for an oracle database like so: $DB = <<<END (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.5)(PORT = 1521)) ) (CONNECT_DATA = (SID = ORADEV) (SERVER = DEDICATED) ) ) END; two different schemas...
  5. jemminger

    speed up order by clause

    hi all, i was working with some code last night, and one of my queries was a select statement joining two tables with an order by clause on two fields and a limit, e.g. select foo, bar from foos inner join bars on foos.id = bars.foos_id where condition = met order by foo, bar limit...
  6. jemminger

    unexpected T_OBJECT_OPERATOR

    using php 4.4.1 on linux, i get the error Parse error: parse error, unexpected T_OBJECT_OPERATOR at the highlighted line: if (hasWorkflow()) { $wf = getWorkflow(); $wf -> delete(); } any idea why? it works fine locally on php 5, and i don't think i'm using any php 5-specific...
  7. jemminger

    benchmarking tool

    sick of reinventing the wheel every time i wanted to benchmark some functions, so i wrote a simple tool: function benchmark(fn, args, optionalDisplayName) { var output = document.getElementById("benchmark-output"); // set up the output textarea if (!output) { var container =...
  8. jemminger

    sharing session across subdomains

    hi all, i'm trying to get php to share sessions across my subdomains. the user logs in to "main.site.com", and should be allowed to visit "sub.site.com" with the same session variables intact. per the manual, i'm setting session cookies like so: ini_set("session.cookie_domain"...
  9. jemminger

    using aes_decrypt in a select

    hi all, using phpMyAdmin 2.6.3-pl1, MySQL 4.1.9-nt i'm trying to select some encrypted data like so: SELECT aes_decrypt( field1, 'mypassword' ) AS foo FROM table1 and it gives the error #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server...
  10. jemminger

    new table data migration

    here's the scenario: say i have tables A and B (id, name, C_id), both have a foreign key reference to table C (A_or_B_id, foo) in the interest of normalization, i'm consolidating A and B into a new table X. obviously i cannot preserve the key id from one of the tables, let it be table B...
  11. jemminger

    dynamically insert entity without innerHTML?

    i'm trying to insert an HTML entity into an element using DOM methods only. i'm having trouble getting entities to be parsed instead of being rendered as plain text, e.g. "&gt;" should display as a right-angle-bracket ">", not the literal text "&gt;". using innerHTML instead of nodeValue...
  12. jemminger

    get class location

    is there any way to determine where in the file system a class is? for example, if my class Foo.class is in c:/foo/bar/classes/Foo.class is there some way for Foo to know about this path? ========================================================= -jeff www.jeffemminger.com try { succeed()...
  13. jemminger

    how to write this without subquery

    hi all, how can i write this using joins instead of subqueries, so it would work on < v4.1? (note foo_id = bar_id) select * from foo_tbl where foo_id not in ( select bar_id from bar_tbl ) i've gotten this so far: select * from foo_tbl inner join bar_tbl on bar_id = foo_id where ...
  14. jemminger

    NOT IN subquery not working

    hi all, this query keeps throwing a syntax error "#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT bcj_bookmark_id FROM bcj_bookmark_category_join_tbl )" SELECT * FROM bmt_bookmark_tbl WHERE...
  15. jemminger

    DOS: set variable to program output?

    hi all, i'm just trying to set a variable to represent the output of the windows version from "ver": set _ver = ver echo _ver = %_ver% this however results in just _ver = at the cmd prompt, my "ver" outputs "Microsoft Windows XP [Version 5.1.2600]" what am i doing wrong...
  16. jemminger

    IE add trusted site script?

    hi all, does anyone know of a way to add a "Trusted Site" to Internet Explorer via script, such as wscript or dos? this would be placed in a login script for users on our network domain for our intranet. thanks ========================================================= -jeff...
  17. jemminger

    are static properties thread safe?

    suppose i have a class: import org.apache.oro.text.perl.Perl5Util; class Foo { static Perl5Util util = new Perl5Util(); /** * replace "foo" with "bar" in str */ public static String replaceFoo(String str) { return util.substitute("s#foo#bar#gi", str); } } because the...
  18. jemminger

    trapping runtime errors

    hi all, we're stuck with jsp 1.1?, so we can't use 2.0's pageContext.errorData :-( is there any way to trap runtime errors and send to a custom error.jsp so i can log the error? i've set up an error page in web.xml like so: <error-page>...
  19. jemminger

    deadlocks & such

    sorry if this is a bit vague...looking for some best practices: we're developing an app using servlets & jsp, roughly adhering to MVC2 architecture recently we began experiencing deadlocks during some database transactions, connection sharing where one record was updated with another record's...
  20. jemminger

    MSSQL 7 default value formula

    i want to assign a formula to the default value for a column so that it defaults to the (MAX() + 1) value of all records in that column in sql server 2000, there is a "formula" field for columns in design view, but this seems to be missing in sql server 7. is there a way to set this in sql...

Part and Inventory Search

Back
Top