[PHP-DB] fw:¤£°eªáªº²z¥Ñ.

2004-03-12 Thread ©÷­ô
> > > >不送花的理由 > > > >朋友讀美術系的女友問: > >「我的生日耶!你怎麼都不送花給我?」 > >「什麼?」讀園藝系的某某竟然說: > >「你不知道花是植物的生殖器嗎?!我們為什麼要將人家的生殖器割下來,然 > >[EMAIL PROTECTED] > > > >這男人真是狠角色.. > >竟然講到那女孩子慚愧地低下頭來.』 > > > >所以 > >1.有些女生會比較誰收到的生殖器比較多、比較大 > >2.有經驗的女生,會認為未割過包皮的生殖器(含苞的)可以較持久 > >3.女生們會[EMAI

[PHP-DB] Inserting Data in Multiple Tables.. again

2004-03-12 Thread Craig Hoffman
Here is the problem I am experiencing: I have a form that collects data and I would like it to send it to three tables in a MySQL DB. One table is called TRAININGLOG , other is called CORE and the third is USERS. The USER table is the main table that contains the primary key. My question

RE: [PHP-DB] How to redirect after a valid login

2004-03-12 Thread Hutchins, Richard
Not to mention, the header() statement is being used incorrectly in the example code. You don't echo out the header() statement. You simply use it. For example... In your sample code, you include("mainmenu.php") which looks like it would output to the browser. You can't to that on the same pag

RE: [PHP-DB] ldap_connect() version

2004-03-12 Thread Shawn Coomey
Philip- Echo your phpinfo() and see if that version of PHP was compiled with ldap support. If it wasn't, the interpreter will not recognize any ldap functions, and you will have to recompile php --with-ldap=/path/to/ldap Regards. Shawn -Original Message- From: Philip R Thompson [mailto:

[PHP-DB] ldap_connect() version

2004-03-12 Thread Philip R Thompson
Does anyone know what version of php that ldap_connect() was released with? It works on version 4.3.0 on this one server, but it does not work on 4.2.3 on a different server? If it is supposed to work on 4.2.3, any suggestions on why it's not recognizing it as a valid function? Philip Thompson

Re: [PHP-DB] How to redirect after a valid login

2004-03-12 Thread Brent Baisley
You can do a redirect at any point in your code as long as you haven't sent anything to the browser yet. You can run 10,000 lines of PHP code and do 1,000 queries and still send a redirect to the browser. In a nut shell, have no echo statement before your redirect. On Mar 12, 2004, at 3:02 P

RE: [PHP-DB] How to redirect after a valid login

2004-03-12 Thread Paul Miller
That means you send some output before the headers were sent. That is a no no. For instance, this will not work: http://www.yahoo.com/";); ?> But this will http://www.yahoo.com/";); Echo "hello world"; ?> - Paul -Original Message- From: Larry Sandwick [mailto:[EMAIL PROTECTED] Se

RE: [PHP-DB] How to redirect after a valid login

2004-03-12 Thread Larry Sandwick
What is considered to be the headers() information When I use the header() functions, I get an error stating that I have already sent the headers information? // Larry -Original Message- From: Larry E. Ullman [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 3:04 PM To:

[PHP-DB] Using Array with form submission

2004-03-12 Thread Aleks @ USA.net
Sorry for all the dead space in my last post... I cleaned it up some here... === I have been trying to get this to work and think I must be missing something. I am using Kevin Yank's books and examples as a guide. Here is what

[PHP-DB] Using Array with form submission

2004-03-12 Thread Aleks @ USA.net
I have been trying to get this to work and think I must be missing something. I am using Kevin Yank's books and examples as a guide. Here is what I have so far - this does work [as it should since Kevin created it.. 8-) ] I have a form that creates a list of items with a select link that when cli

Re: [PHP-DB] How to redirect after a valid login

2004-03-12 Thread Larry E . Ullman
Is there a way that after a execution of a Login script and validation of login from a MySql database to automatically redirected to run another script ? Use PHP's header() function. See the manual for syntax. Larry -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://

[PHP-DB] How to redirect after a valid login

2004-03-12 Thread Larry Sandwick
Is there a way that after a execution of a Login script and validation of login from a MySql database to automatically redirected to run another script ? example someone logs in through the login.php script, in the login script you are validated and then you run another script called mainmenu.p

[PHP-DB] Inserting Data in Multiple Tables - MySQL

2004-03-12 Thread Craig Hoffman
Is it possible to write one INSERT statement to populate multiple tables? __ Craig Hoffman - eClimb Media v: (847) 644 - 8914 f: (847) 866 - 1946 e: [EMAIL PROTECTED] w: www.eclimb.net _ -- PHP Database Mailing List (http://www.php.n

Re: [PHP-DB] Accessing MS SQL from Linux

2004-03-12 Thread Robert Twitty
Is the machine running SQL Server also hosted by the same company? Is it possible to use PHP on a Win32 machine so that you can use the php_mssql.dll extension? -- bob On Fri, 12 Mar 2004, S K Rana wrote: > > My domain is hosting through a hosting company on Linux with PHP 4.3.4. > Hosting comp

Re: [PHP-DB] Accessing MS SQL from Linux

2004-03-12 Thread Frank M. Kromann
You need one ofe the folowing extensions compied as a shared or static module: ODBC (UnixODBC) MSSQL (FreeTDS) ODBTP compiling as a shered module does not require recompile of PHP. You just need to load the extension with dl() or from php.ini. - Frank > > My domain is hosting through a hosting

Re: [PHP-DB] Impact of MySQL Queries

2004-03-12 Thread Jochem Maas
Marcjon, I think you have asked this question before. there are replies to it, have you checked those? Marcjon Louwersheimer wrote: I'm working on a forum. When it displays a forum index, it gets all the topics and depending on the offset, displays only ten at a time. Now that's a single query.

[PHP-DB] Accessing MS SQL from Linux

2004-03-12 Thread S K Rana
My domain is hosting through a hosting company on Linux with PHP 4.3.4. Hosting company is not open to re-compile PHP for using FreeTDS or any other application. If I can not use FreeTDS, what other options do I have? a) Can Pear be used? It is 4.3.4. I tried but got error. b) Can ADO

[PHP-DB] Impact of MySQL Queries

2004-03-12 Thread Marcjon Louwersheimer
I'm working on a forum. When it displays a forum index, it gets all the topics and depending on the offset, displays only ten at a time. Now that's a single query. But problem comes when I display how many replies each post has. So far, when it does the while loop, it does a query for each item. He

RE: [PHP-DB] ODBC support

2004-03-12 Thread Galbreath, Mark A
This looks really great, Bob...thx! Mark -Original Message- From: Robert Twitty [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 10:19 AM To: Galbreath, Mark A Cc: '[EMAIL PROTECTED]' Subject: Re: [PHP-DB] ODBC support Hi Mark An alternative solution for connecting to MS Access i

Re: [PHP-DB] ODBC support

2004-03-12 Thread Robert Twitty
Hi Mark An alternative solution for connecting to MS Access is odbtp. Details are available at http://odbtp.sourceforge.net. It provides better support for ODBC, especially in regards to MS Access. Take a look at the storedqry.php example at http://odbtp.sourceforge.net/examples.html. It shows

Re: [PHP-DB] PHP -> MSSQL connects, but can't query

2004-03-12 Thread Adam Voigt
Hmm, replace the line where you select the DB with: $dbconnect = mssql_select_db("Northwind") or die(mssql_get_last_message()); (All on one line incase the email wraps it.) On Fri, 2004-03-12 at 08:35, Jason Morrill wrote: > I've got a very simple PHP script for testing my MS SQL Server > conne

[PHP-DB] PHP -> MSSQL connects, but can't query

2004-03-12 Thread Jason Morrill
I've got a very simple PHP script for testing my MS SQL Server connection. I've installed FreeTDS and I can connect and query the database with TSQL. With PHP I can connect and disconnect properly but I can't query or attach to different databases. Here is my sample PHP followed by what the web se

Re: [PHP-DB] BLOB

2004-03-12 Thread Ricardo Lopes
i think this is the right sintax: SELECT * FROM `MEMBER` WHERE ISNULL(`PASSWD`) Passwd is a blob, that is an interesting name for a blob field, what are you planing to do? - Original Message - From: "Ng Hwee Hwee" <[EMAIL PROTECTED]> To: "DBList" <[EMAIL PROTECTED]> Sent: Friday, March 1