Re: [PHP-DB] download php headers?

2003-07-10 Thread Jason Wong
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

[PHP-DB] Re: phpMyAdmin-Problem

2003-07-10 Thread Stan Lemon
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

[PHP-DB] PHP 4.2.3 MySQL mysql_query quoting syntax.

2003-07-10 Thread Vampyr Twilight
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

[PHP-DB] PEAR DB getAssoc()

2003-07-10 Thread Jacob Marble
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);

[PHP-DB] download php headers?

2003-07-10 Thread Steve B.
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

[PHP-DB] OCINewCollection and Oracle9i Client

2003-07-10 Thread gdelvec
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

[PHP-DB] RE: Weird Segfaults with Oracle, PHP, Apache2

2003-07-10 Thread Harris, Jeff
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

Re: [PHP-DB] date, and time?

2003-07-10 Thread jeffrey_n_Dyke
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

[PHP-DB] date, and time?

2003-07-10 Thread Tristan . Pretty
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

[PHP-DB] ANN: Metastorage generates form handling classes

2003-07-10 Thread Manuel Lemos
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

[PHP-DB] phpMyAdmin-Problem

2003-07-10 Thread . ma
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

[PHP-DB] Re: formating results in seperate tables?

2003-07-10 Thread DaSilentStorm
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,