[PHP-DB] Re: Problem with dsn

2002-09-12 Thread Nick Gorham
Gian Michele wrote: > I have installed on my computer : > Apache 1.3 > Php 4.1.2 > Postgresql > the rpm of odbc and the unixODBC. > > I tried to connect to my database after done all configurations; I used > the function odbc_pconnect('name_of_my_database','','') and the system > gives me this

[PHP-DB] Sessions and their function

2002-09-12 Thread LOUD, Mark
Hi, I know this my sound stupid but here it goes.. Can sessions be used to pass variables from one page to the next to create persistent data? I have this working to a certain extent but can only pass a variable to my second page, but not from my second page onto the third. Also in my second

[PHP-DB] strange behavior

2002-09-12 Thread Martin Adler
Hi, i start a session on a entrypage with a form, and i wonder about the output to the browser. There appeared a input-field of the type hidden with the session-name as name and the session-id as value. How can I switch this PHP-behavior off? CODE OUTPUT ...

AW: [PHP-DB] strange behavior

2002-09-12 Thread Thomas Lamy
Hi, this isn't essantially DB-related It's a feature called transparent session id (activated at compile time with --enable-trans-sid). No need for in most cases, as it is automatically added by PHP. And for the few times PHP can not add session information, you may use the SID define, which

RE: [PHP-DB] strange behavior

2002-09-12 Thread Aaron Wolski
Hi There, I don't know if this is the actual problem.. But in your form action it looks off. action="index.php? Would produce something that looks like: index.php?123455667784332 What I think you WANT to do is... action="index.php?SID= When I need to put php code into a url (form or

Re: [PHP-DB] PreCaching Db into Variables Slows it down?!??

2002-09-12 Thread M1tch
Cheers Patrick, I do keep them to a minimum, this is my 4th after the session variables. And I intend it to be my last. Andy "Patrick Latour" <[EMAIL PROTECTED]> wrote in message 001801c25a09$99e9d840$[EMAIL PROTECTED]">news:001801c25a09$99e9d840$[EMAIL PROTECTED]... > Not yet a big specialist o

[PHP-DB] sendmail

2002-09-12 Thread Bartłomiej Pawlik
Hi Sorry to be off topic but I have problem with sendmail If anyone know sth about sendmail please e-mail priv. Sorry once more [EMAIL PROTECTED]

[PHP-DB] Getting LDAP schema

2002-09-12 Thread Dave Smith
Howdy. I'm working on a PHP-based alternative to GQ, and it is coming along very nicely thanks to PHP's genius. I have run into an obstacle, though, and that is getting LDAP schema. I'd like to use the ldap_search() function or some alternative to capture the schema for an LDAP server so I ca

[PHP-DB] LDAP?

2002-09-12 Thread Tony Earnshaw
Hi list! Seen a lot of SQL stuff floating by, but my present, consuming interest is Openldap. Is this the right list, or should I subscribe to any other list? Best, Tony -- Tony Earnshaw Tha can allway tell a Yorkshireman, but tha canna tell 'im much. e-post: [EMAIL PROTECTED] www

RE: [PHP-DB] LDAP?

2002-09-12 Thread Ryan Jameson (USA)
LDAP is a database IMHO... :-) <>< Ryan -Original Message- From: Tony Earnshaw [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 9:37 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] LDAP? Hi list! Seen a lot of SQL stuff floating by, but my present, consuming interest is Openlda

[PHP-DB] previous and next links with php postgresql

2002-09-12 Thread Angelo Marcos Rigo
Hi I am trying to have previous and next links in my php script wich i make a select from a table. I am using postgresql anybody has a link for a tutorial or a sample code doing this? Ângelo Marcos Rigo Webmaster Colégio Anchieta http://www.colegioanchieta.g12.br -- PHP Database Mailing List

RE: [PHP-DB] previous and next links with php postgresql

2002-09-12 Thread Chandler, Jacob R
http://www.webmasterbase.com/article/662 -Original Message- From: Angelo Marcos Rigo [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 11:48 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] previous and next links with php postgresql Hi I am trying to have previous and next link

[PHP-DB] php start-stop howto?

2002-09-12 Thread Warren Massengill
RedHat Linux 7.2 RPM installation included: PostgreSQL 7.1.3 PHP 4.0.6 Had no problem creating a database using pg but can't find the on/off button for php. PHP is installed in /usr/bin/php; /etc/php.ini; /usr/share/php I edited the php.ini file to specify a location for; usr_dir = The manual

Re: [PHP-DB] php start-stop howto?

2002-09-12 Thread Adam Williams
look in /etc/httpd/conf/httpd.conf when you restart apache (/etc/rc.d/init.d/httpd restart) it restarts php because php is called by apache. Adam On Thu, 12 Sep 2002, Warren Massengill wrote: > RedHat Linux 7.2 RPM installation included: > PostgreSQL 7.1.3 > PHP 4.0.6 >

[PHP-DB] randomizing amounts of html displayed

2002-09-12 Thread Aaron Wolski
Hi All.. Quick question and perhaps a suggestion/solution requst to the above topic. My brain is just not working :( I have a HTML table with 5 rows of data. I would like to randomly display 3 of the 5 rows when the page is accessed. For example: Row 1 Row 2 Row 3 Row 4 Row 5 When

Re: [PHP-DB] php start-stop howto?

2002-09-12 Thread Warren Massengill
Hay! It worked. A minor miracle... Thanks >From: Adam Williams <[EMAIL PROTECTED]> >To: Warren Massengill <[EMAIL PROTECTED]> >CC: <[EMAIL PROTECTED]> >Subject: Re: [PHP-DB] php start-stop howto? >Date: Thu, 12 Sep 2002 13:19:03 -0500 (CDT) > >look in /etc/httpd/conf/httpd.conf > >when you resta

[PHP-DB] Help with special characters in Oracle 8i

2002-09-12 Thread Eric John Seneca
Hello All, I am running PHP 4.2 with Oracle 8.1.7. I am trying execute the following statement. insert into job_application values (NULL,'Unix','Mobile','Alabama','http://www.google.com/search?q=php+insert+oracle+special+characters\&hl=en\&lr=\&ie=UTF-8\&oe=UTF-8\&start=30\&sa=N','12-SEP-

Re: [PHP-DB] randomizing amounts of html displayed

2002-09-12 Thread Bas Jobsen
Op donderdag 12 september 2002 20:58, schreef Aaron Wolski: > Hi All.. > > Quick question and perhaps a suggestion/solution requst to the above > topic. My brain is just not working :( > > > I have a HTML table with 5 rows of data. I would like to randomly > display 3 of the 5 rows when the page

Re: [PHP-DB] Sessions and their function

2002-09-12 Thread nikos
You sould register sessions first, and if have been registered, are passing with session_start() in each page at the top, before the tag.. If you want to pass variables from a page to another, put them in the url: test.php?var=3&name=george (e.g.) Be sure that the page you refer is dynamic (.ph

[PHP-DB] extracting unique entries from mysql dbase

2002-09-12 Thread Godzilla
Hi everyone, I have a mysql row similar to the list below. What I need to do is have php output a link list from this. I'm new to php but in my head I picture something like: LINK TEXT"; } ?> The links will be on the same page thus the $php_self. The script will take a GET variable called "cate