On Friday 11 July 2003 05:41, Steve B. wrote:
> I'm trying to get a php page to go into a name/password header
> authenticated site and it doens't work (even though the same code works on
> a php auth site I post online) So I'm trying to find out how to print the
> headers receieved from a web page
I know exactly what the problem is!!! But... I don't know where it is
at :-(
I experienced this problem when I installed it on an IIS4 machine and
found that somewhere in the authentication file it detetcts whether it
is IIS or Apache and it has an if() {} and then an elseif() {} with no
els
Greetings,
Prior to PHP 4.2.3, when inserting values from an array into mysql I could
do the following:
(assuming that $a is an array())
$qid = mysql_query(" INSERT INTO table (info) VALUES ('$a[2]') ");
However this logic now fails with the following error:
Parse error: parse error, expect
Hey all-
Could someone give an example of how to use the DB_Common::getAssoc()
function? I'm trying to get an table into an array, and var_dump() shows
that the array is not associative. Here's the code:
$sql = "select * from sr_names";
$table = $db->getAssoc($sql);
echo var_dump($table);
I'm trying to get a php page to go into a name/password header authenticated site and
it doens't
work (even though the same code works on a php auth site I post online)
So I'm trying to find out how to print the headers receieved from a web page so I can
go from
there.
How do I get http headers f
During an upgrade to Oracle 9.2.0 from 8.1.7, we encountered the following
error with php 4.2.3 when using the OCINewCollection function and the Oracle
9i Client:
PHP Unkown error type: [2] OCITypeByName: ORA-21301: not initialized in
object mode /home/httpd/sites/manager/vxmlEditSubmit.php line:3
I went through and generated a core file with php cgi and my test file.
Here's the gdb output.. It's failing on the Oracle library... Anyone know
where to look next?
[EMAIL PROTECTED] gsi]$ gdb /usr/local/bin/php core.843
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation
you could change mysql to a few different date formats, but i don't _think_
that is one of them.
Why not just take care of a format change on the way out with DATE_FORMAT.
Also, if you store the date as one of the defualt date[time] values then
you have tons of functions that you can run against
Cheers for the help on my last auto inc prob..
I checked out phpmyadmin, and I'm loving it...! cheers all
Anyway,
I want to know how to store a date like this in a MySQL database:
date("F j, Y, g:i a");
Resulting in:
July 10, 2003, 3:39 am
But what do I need to set my datab
Hello,
Metastorage generates form handling classes
In the continuation of the work to achieve further reduction of
application development efforts, the new release of Metastorage is now
capable of generating automatically classes that are able to handle
Web forms that serve as user interface to c
hi!
i have mysql 3.23.38 running on a IIS4 and php 4.3.2
i used phpmyadmin 2.3.2 with cookie authentication and everything
worked well. until i wanted to upgrade phpmyadmin to 2.5.1 (last stable
release).
i configured everything inside config.inc.php (added a controluser,
etc) but now i cannot
Hi,
you should try using a "while" loop instead of a "for".
So write "while ($threadResults = db_fetch($threadQuery)) { ..."
The for loop might produce an additional row in your result.
Good luck,
Storm
"Aaron Wolski" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Hi All,
12 matches
Mail list logo