I use basic authentication like this:
if (!isset($_SERVER['PHP_AUTH_USER'])) {
header('HTTP/1.0 401 Unauthorized');
header('WWW-Authenticate: Basic realm="My Realm"');
echo 'Text to send if user hits Cancel button';
exit;
} else {
echo "<p>Hello...
Hi there,
Is it possible to build a where-clause based on column-aliases or based on column-number?
e.g.
SELECT col1 as [column1]
, col2 as [column2]
FROM tblTable
WHERE [column1] = N'%aa%'
OR
SELECT col1 as [column1]
, col2 as [column2]
FROM tblTable
WHERE 1 = N'%aa%'
Hope...
Did you tried to use a response.redirect after inserting?
A long time ago I also had a problem with Netscape, cause it loaded the page twice. After a redirection everything worked fine. But I still don't know why it was loaded twice. Your ASP-code looks fine to me.
Hope the redirection will...
Oracle and MySQL can deal with the RPAD- and LPAD-functions, but SQL Server cannot! Is there a similar function to do the same ??
What I want is a query with fixed sized columns.
for example:
table TEST
----------
id int
name nvarchar 10
When querying this table I want the field name 15...
yes..
the mailprofile is made under the same user as the servers "service account".
I get the message "mail sent" .. but nothing is send till I open Outlook as that "ServiceAccount-User"!
I don't know what to do next.. Someone said: you have to change the...
Hi there,
I've got a problem...
My procedures must have the possibility to send mail. So I tried to configure SQL MAIL. Well .. it all works fine BUT I have to keep MS Outlook running otherwise the mail is not send. I don't want to keep a program running at the back... is it possible to...
I was wondering ..
is it possible to execute the value of a var ???
like:
$a = "echo hello world;"
$a;
note: this doesn't work :)
Does anyone know :
I) Is it possible to do such thing ?
II) How to do such thing ?
Thnx .. DaHapMan
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.