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...
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...
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...
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...
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...
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 =...
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"...
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...
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...
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. ">" should display as a right-angle-bracket ">", not the literal text ">". using innerHTML instead of nodeValue...
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()...
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 ...
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...
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...
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...
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...
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>...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.