[Freerealty] featured.php missing database name?
Patrick Fleming, EA
pat at rwcinc.net
Tue Apr 26 09:35:24 MST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It appears that this feature *requires* globals to be set to on.
Actually, the $Id variable does not appear to be set through the script
properly with globals = Off. That needs to be worked around and
corrected. What I'm getting with globals off is the listing information,
ie the name, price etc. but the photo is failing. I suspect that
register_globals = Off; on your server... which creates all kinds of
little problems with this script. But since that is the direction things
are going with PHP development should follow that standard.
Patrick Fleming, EA wrote:
| Scott,
| Wow. The database connection is setup through the function getdb();
| Not only does it set up the user/password combination but selects the
| $db database as well and should throw errors if it cannot connect.
| If you have the line $link = getdb(); at the top of your files it should
| connect. Not sure why it failed for you.... unless getdb() I believe
| requires globals.
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCbm3LGzHR7DxVKWIRAnflAKCddZPAbfmIbFfjYGKj6ZaBF114awCeJ4UT
C3XVDFgc5f1E8Kdh648lQQ0=
=m1H/
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3383 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.rwcinc.net/pipermail/freerealty/attachments/20050426/4d274407/smime-0001.bin
More information about the FreeRealty
mailing list