sql \
--with-dom \
--with-expat-dir=/usr \
--with-regex=php \
--with-pcre-regex \
--with-zlib-dir=/usr/include \
--enable-sockets \
--enable-shared \
--enable-static \
--disable-short-tags \
--with-config-file-path=/etc
How do I get my 'xml' PHP extension so I can u
List,
I was installing PHP 4.2.3 with the latest zlib and latest libxml2 onto
my RH73 box. When loading the libphp4.so Apache reports
that 'xmlDoValidityCheckingDefaultValue' is undefined, there is no error
in the compile of Apache (2.0.43) or PHP. I have tried recompiling
Apache with
List,
When using echo or print to output data to the response buffer, these
functions also put the number of bytes in the buffer into the output
stream. This only happens when I use this code in my script:
$doc = domxml_open_mem($HTTP_RAW_POST_DATA);
After that script echo and p
List,
On my php.4.2.3, Apache 4.0.42 install my echo statements all output the
number of characters written (in hex).
So this code:
echo "$id->addrone";
echo "$id->addrtwo";
echo "$id->city";
Makes this XML:
1d
PO BOX 698
13
1a
ABCDEF GHIJKL
Couldn't see anything in the bug report, id
List,
On my php.4.2.3, Apache 4.0.42 install my echo statements all output the
number of characters written (in hex).
So this code:
echo "$id->addrone";
echo "$id->addrtwo";
echo "$id->city";
Makes this XML:
1d
PO BOX 698
13
1a
ABCDEF GHIJKL
Couldn't see anything in the bug report, i
gt;
>>-Original Message-
>>From: David Busby [mailto:[EMAIL PROTECTED]]
>>Sent: Wednesday, September 25, 2002 7:29 PM
>>To: [EMAIL PROTECTED]
>>Subject: [PHP] PHP POST arrar is dropping 4 characters
>>
>>List,
>> I'm using PHP on my
List,
Cannot load /opt/httpd/modules/libphp4.so into server:
/opt/httpd/modules/libphp4.so: undefined symbol: mbstr_treat_data
I'm getting this trying to start Apache 2.0.40 with PHP 4.2.3, can
anyone point to where I should start looking? I looked at google but
only found a few results. H
List,
I'm trying to insstall PHP 4.2.3 on my RH73 box with Apache 2.0.40. My
Configure script and my results are posted below, the error I'm getting
that I can't figure out is:
libtool: link: warning: library `/usr/lib/libxml2.la' was moved.
stub.lo: file not recognized: File truncated
List,
I get this after make installis this thing trying to make sapi? I
want to run on Apache/RH7.3 so I don't know if I need it...couldn't find
how to turn in with ./configure. Please help
TIA
/B
make[1]: Leaving directory `/usr/src/php-4.2.2/regex'
Making install in .
make[1]:
Downloads for the Windows binaries are broken.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
List,
I'm creating a PHP/pgSQL web site...I need to execute queries with a
cursor and get their result set into my PHP script. How can I make a
pgSQL procedure with logic that also returns a result set? I've
searched and searched but cannot find the answer. Does anyone got it?
/B
List,
Has anyone built Functions (or Stored Procedures) in PostgreSQL that can
return a dataset? I would like to contain my login in PostgreSQL (like
I did on M$-SQL) and call it from my PHP script (like I did with ASP).
Ex:
$rs = pg_exec($db, "someprocname")
while ($rec = pg_result_ob
List,
I'm using PG functions like below and I'm wondering how to get rid of
that dang Warning message? PHP.ini setting? or can I turn on/off error
checking?
$rs is the result from pg_exec() (inside the other function)
[PHP Code]
$rs = get_database_stuff("list");
$irow = 0;
while ($ec
Read your data from $_COOKIE not $_COOKIES.
David Busby wrote:
> List,
> I'm trying to set a cookie like this:
> function redirect() {
> if ($_SERVER['HTTP_HOST'] == $_SERVER['SERVER_NAME']) {
> $to = func_get_arg(0);
>
List,
I'm trying to set a cookie like this:
http://".$_SERVER['SERVER_NAME'].$to."\n");
header("Set-Cookie: sid=$sid;\n\n");
exit();
}
}
function login() {
[... validation code here ...]
// set my cookie
setcookie("sid", $sid);
1;
y ALIAS FOR $2;
z ALIAS FOR $3;
BEGIN
INSERT INTO tableA (colX, colY, colZ) VALUES (x, y, z);
RETURN 1;
END
' LANGUAGE 'plpgsql';
Good Luck
David Busby wrote:
> List,
> I'm using a post
List,
I'm using a postgres datbase for my PHP project, how do I make stored
procedures? Or if no SPs then what would be recomendation for building
simple/reuseable "Put" and "Get" procedures for my data?
/B
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
Wow, Thats what that means? There must be some error. The procedure
I'm trying to run doesn't return that much data and it will run via
'isql'. Anything else I should check?
/B
Lazor, Ed wrote:
> wow, 107megs of ram in one process is impressive. Have you checked your
> php.ini max memory s
List,
I think I saw this one on here before...when reading/writing the database
I get this when executing odbc_exec(...); What was the fix?
FATAL: emalloc(): Unable to allocate 1073784417 bytes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
List,
Has anyone done this before? I got it to work for my root account on my
computer but I cannot get access from my PHP scripts when I run under
the "apache" user? What the dilly yo?
Setup:
RH7.3
PHP4
unixODBC
freeTDS
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
List,
The following code is erroring for me and I can't figure out why
$db = odbc_connect("something", "something", "passwd");
printf("%s", $db); // Prints ID 1
// Hangs here it looks like
$rs = odbc_exec($db, "spGetItems");
// Never gets here
while(odbc_fetch_row($rs)) {
printf("
List,
I'm getting this error and I don't know why...can someone please help out?
// Message on my web page
Warning: Undefined index: mode in /var/www/html/inc/header.php on line 3
// My Script Here
1: http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
List,
How do you make you PHP scripts require explicit variable declaration?
Like Java/SQL/C/C++ or 'use strict;' in PERL or 'Option Explicit' in
VB/VBScript
/B
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
List,
How can I regex to compare the last three chars of a string to "php"?
/B
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
List,
My ODBC connection is failing it seems...I can run this code just
fine...odbc_connect and odbc_pconnect seem to work...the odbc_prepare
even works just fine...but as soon as I execute (with odbc_execute,
odbc_exec, or odbc_do it fails...any ideas?
";
$sql = odbc_prepare($db, "exe
List,
Guess I should be more specific:
Heres line four:
$db = odbc_connect("somedsn","sa", "");
My System:
RedHat 7.3/Apache/PHP 4.1.2-7
I'm getting this error message...I think I just need to define the
DSN...is that done in /etc/odbc.ini? Or what?
/B
Warning
List,
I'm getting this error message...where does it come from?
/B
Warning: SQL error: [unixODBC][Driver Manager]Data source name not
found, and no default driver specified, SQL state IM002 in SQLConnect in
/var/www/html/index.php on line 4@
--
PHP General Mailing List (http://www.p
List,
I've a RH7.3 machine (just installed) and want to get PHP to access my M$
SQL database. I'm on a small time crunch here too. My M$ web server
died and it's so hosed that I had to call support (ouch!).
Anyways...they haven't fixed it yet and I thought it would be funny to
get my
28 matches
Mail list logo