Re: [PHP-DB] Sharing variable values among PHP files

2003-04-01 Thread Ronan Chilvers
Coments inline... snip On 01 Apr,2003 at 10:04 Mustafa Ocak wrote: You can store the value in a session variable session_start(); if (isset($_HTTP_SESSION_VARS['your_variable_name'])) { /snip Rather than using isset() you may need to use session_is_registered(). This is specifically for

Re: [PHP-DB] Sharing variable values among PHP files

2003-04-01 Thread Leif K-Brooks
Please, please, PLEASE don't give advice! If you don't know the answer, DON'T COMMENT! The method you posted is for register_gkobals on, which it won'tr always (and shouldn't be)! Ronan Chilvers wrote: Coments inline... snip On 01 Apr,2003 at 10:04 Mustafa Ocak wrote: You can store the

Re: [PHP-DB] Sharing variable values among PHP files

2003-04-01 Thread Ronan Chilvers
Hi Leif On 01 Apr,2003 at 3:07 Leif K-Brooks wrote: snip Please, please, PLEASE don't give advice! If you don't know the answer, DON'T COMMENT! The method you posted is for register_gkobals on, which it won'tr always (and shouldn't be)! /snip No need to be rude ... its very easy to

[PHP-DB] LDAP using login form

2003-04-01 Thread Jason End
Could someone point me to an example script using ldap authentication but where logins are entered through a form rather than an http pop-up challenge. I can only find exmaples of the latter, and I'm not sure how to keep the user logged in with the former. thanks, J

[PHP-DB] Re: Database Design Help

2003-04-01 Thread shaun
the data colleccted at each booking will be the fields set by an administrator that he/she feels are appropriate to collect for that project. Gustavo Del Castillo Meza [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What kind of data do you need to collect at each booking? Shaun

[PHP-DB] Entering a Query

2003-04-01 Thread shaun
Hi, I would be very interested to see an example of how it would be possible to enter a query into a text area and the results of the query displayed on the next page, similar to PHP admin I guess, are they any examples out there? -- PHP Database Mailing List (http://www.php.net/) To

Re: [PHP-DB] Entering a Query

2003-04-01 Thread Ronan Chilvers
Hi Shaun Comments inline ... On 01 Apr,2003 at 13:37 shaun shaun wrote: snip Hi, I would be very interested to see an example of how it would be possible to enter a query into a text area and the results of the query displayed on the next page, similar to PHP admin I guess, are they any

Re: [PHP-DB] Connect Microsoft SQL database with php on unix

2003-04-01 Thread Adam Voigt
You need to compile the FreeTDS library (freetds.org), and on your PHP configure line, add --with-sybase=/usr/local/freetds replacing the path for where you installed FreeTDS. And yes, it says Sybase, but no, you don't use the sybase functions, you can still use all the mssql_whatever functions.

Re: [PHP-DB] Entering a Query

2003-04-01 Thread shaun
thanks for your reply, What i was after is a way of representing the data, given that you dont know what columns will be displayed and how many rows etc? I would only be looking to do 'selects' so how can i ensure that this is the only type of query run? Thanks for your help Ronan Chilvers

Re: [PHP-DB] Starting to hate MySql... thinking about using MS SqlServer instead...... :-(((((((((

2003-04-01 Thread Mignon Hunter
On my ms box at home when I first started with mysql I used mysql LOAD DATA INFILE doc.txt INTO TABLE tablename; instead of mysql LOAD DATA LOCAL INFILE (etc...) delete 'local' Now I use phpmyadmin at work on my linux box... M On Sun, 2003-03-30 at 18:30, Doug Thompson wrote: There's

Re: [PHP-DB] Connect Microsoft SQL database with php on unix

2003-04-01 Thread Greg Cirino
Thank you Adam Will Try that. Regards Greg Cirino - Original Message - From: Adam Voigt [EMAIL PROTECTED] To: Greg Cirino [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 8:23 AM Subject: Re: [PHP-DB] Connect Microsoft SQL database with php on unix | You need to

[PHP-DB] BLOB in Oracle

2003-04-01 Thread Patrick Cossette
Hi, Using PHP 4.2.2 with Oracle 8. Can someone provide the code for reading a BLOB from a Oracle database? I cannot find it anywhere in the archives. Thank you. Patrick Cossette [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP-DB] Entering a Query

2003-04-01 Thread Ronan Chilvers
Hi Shaun On 01 Apr,2003 at 14:28 shaun shaun wrote: snip thanks for your reply, What i was after is a way of representing the data, given that you dont know what columns will be displayed and how many rows etc? /snip One way to do it is to load the data into arrays. I generally use

Re: [PHP-DB] Sharing variable values among PHP files

2003-04-01 Thread Leston Drake
For us novices, can you please share how you would do this with register_globals off? At 01:07 AM 4/1/2003, you wrote: The method you posted is for register_gkobals on, which it won'tr always (and shouldn't be)! Ronan Chilvers wrote: Coments inline... snip On 01 Apr,2003 at 10:04 Mustafa

Re: [PHP-DB] Sharing variable values among PHP files

2003-04-01 Thread Ronan Chilvers
Hi Leston In case Leif, doesn't get back to you, here's a way to do it (inline). Similar to what Mustafa has already posted:- On 01 Apr,2003 at 8:35 Leston Drake wrote: snip For us novices, can you please share how you would do this with register_globals off? /snip snip ?php // need

[PHP-DB] compling php against interbase rpm

2003-04-01 Thread May, Patrick
Hello, I'm having problems getting php installed when I compile it with interbase support. I installed interbase using the firebird rom: FirebirdSS-1.0.2.908-1.i386.rpm This installs firebird into /opt/interbase. I configure php with a line like: ./configure

[PHP-DB] Re: Database Design Help

2003-04-01 Thread Gustavo Del Castillo Meza
The easiest way to deal with this is to add a TEXT field to the end of the Booking table and have the user put in there all the extra data they need. If this doesnt resolve your problem you could add an etra table called extraData or something like that it may look like this: extraData: PK

RE: [PHP-DB] Entering a Query

2003-04-01 Thread John W. Holmes
I would be very interested to see an example of how it would be possible to enter a query into a text area and the results of the query displayed on the next page, similar to PHP admin I guess, are they any examples out there? Issue the query with mysql_query() and check for an error. If

[PHP-DB] dynamic forms

2003-04-01 Thread massimo
hey everyone, I have this select form which get filled dynamically with all my tables in my database. It depends on which one I choose from the drop down menu, that clicking submit it displays the right table.. now, I need to have a form on the page that would let me insert new records. Of

RE: [PHP-DB] PHP mail() question?

2003-04-01 Thread Gavin Amm
mmm, could you use a foreach loop? I think you will need to send separate mail items for each e-mail address you have stored in the database if you want to address it to them personally. Eg in seudo code: foreach($row_returned_from_database){ # variables headers etc here # eg, $contactemail

Re: [PHP-DB] Sharing variable values among PHP files

2003-04-01 Thread Leif K-Brooks
The method posted, using isset(). Leston Drake wrote: For us novices, can you please share how you would do this with register_globals off? At 01:07 AM 4/1/2003, you wrote: The method you posted is for register_gkobals on, which it won'tr always (and shouldn't be)! Ronan Chilvers wrote:

Re: [PHP-DB] dynamic forms

2003-04-01 Thread George Patterson
On Tue, 1 Apr 2003 20:21:57 -0600 massimo [EMAIL PROTECTED] wrote: hey everyone, I have this select form which get filled dynamically with all my tables in my database. It depends on which one I choose from the drop down menu, that clicking submit it displays the right table.. now, I need

[PHP-DB] PHP mail fetching email address(es) from database question!

2003-04-01 Thread JeRRy
Hi, Fristly, thanks Jen for your information earlier. I have managed to fetch email addresses from a database to be sent out via email fine. But I have a few problems which are listed below. 1) I can't get from to work at all. :( When the emails are generated it goes out as nobody @ domain.

[PHP-DB]

2003-04-01 Thread nikos
Title: Glacier Hello everyone. This is a litle of topic but I need your help. Is there any toutorial or a good documentation for mailman? www.list.org doesn't help me much Thanx Qbit - Gatsis NikosWeb developertel.: 2108256721 - 2108256722fax: 2108256712email: [EMAIL