[PHP] database problem?

2001-12-02 Thread christian.donhofer
hi all! i have the following problem: 1.im loading 5 colums from a mysql-table into an array: $threads = db_query(SELECT title, date, body, poster, board_posts_ID FROM board_posts WHERE msgkind = 'thr' ORDER BY date DESC); everything fine so far... 2.im trying to list them line

[PHP] Mercantec Payment Module

2001-12-02 Thread John Monfort
Has anyone here worked with the Mercantec Merchant Account? If so, do you have (or know where I can get) a payment module? Or, information on how I can process cards myself? I'm looking for something like AuthorizeNet offers. Please help. -john __John Monfort_

php-general Digest 2 Dec 2001 09:38:07 -0000 Issue 1028

2001-12-02 Thread php-general-digest-help
php-general Digest 2 Dec 2001 09:38:07 - Issue 1028 Topics (messages 76323 through 76340): Re: Getting the filesize of an image? 76323 by: faeton 76324 by: Matt McClanahan 76325 by: faeton SAPI 76326 by: Obasi Adande George 76331 by: Fred Cause

[PHP] Re: PHP and JAVA

2001-12-02 Thread Christian Stocker
In 00f501c17b22$dd26da20$0600a8c0@shaemeli, Steve Haemelinck wrote: Hi all Does anyone got any experience with JAVA in PHP? I tried to rebuild php with java support. Everything worked well but when I try to initiate Java in PHP, I get cannot instantiate Virtual machine. I use kaffe and I

[PHP] best way to handle a form with 60 fields !!!

2001-12-02 Thread Masudi Olivier
What is the best way to handle a form with 60 fields ? Is it a maximum number of var that i can regisister in a session ? is it possible to configure this number in php.ini ? I dont'host my web site I use a hoste company where my site is hosted on an linux/apache server with php4. Is it a good

Re: [PHP] PHP 4.1 out?

2001-12-02 Thread ~~~i LeoNid ~~
On Thu, 29 Nov 2001 15:37:09 -0600 impersonator of [EMAIL PROTECTED] (Mark Charette) planted I saw in php.general: -Original Message- From: ~~~i LeoNid~~ [mailto:[EMAIL PROTECTED]] It could be stated on the site, or (and) tar could be re-moved. As far as I am concerned, as soon as

[PHP] Re: best way to handle a form with 60 fields !!!

2001-12-02 Thread Fred
First, if your goal is to enter the form information into a database, there is no need to ever register the form data as session variables. Simply insert the data into the database from the form and if you need some or all of the data on other pages pull it back out of the database. Second, it

[PHP] How to set file extension php Mac OSX and PHP 4.0.6

2001-12-02 Thread René Fournier
I have successfully installed PHP 4.0.6, and it works! Only problem is that Apache only sends files to the PHP module that have a .php extension. However, I need to name the files .php4 (long story). As it stands, all I see is the actual PHP source, not the output. Does anyone know how I can

[PHP] PHP Bulletin Boards...how they work.

2001-12-02 Thread Anthony Ritter
I'm using Windows 98 with Apache, mysql and PHP. I'm in the process of learning PHP and would like to find a few tutorials on PHP/mysql bulletin boards. I know that there are a few that you can download but I am trying to find a tutorial that will let me anylaze the syntax and logic of the code

Re: [PHP] PHP Bulletin Boards...how they work.

2001-12-02 Thread Miles Thompson
What did a search of Google bulletin board tutorial php turn up? Then grab some source and analyze it. Miles Thompson At 03:53 PM 12/2/2001 -0600, Anthony Ritter wrote: I'm using Windows 98 with Apache, mysql and PHP. I'm in the process of learning PHP and would like to find a few tutorials

Re: [PHP] PHP Bulletin Boards...how they work.

2001-12-02 Thread Anthony Ritter
A search of Google came up with more than a few PHP/mysql bulletin boards. I'd like to get one or two basic PHP/mysql BB's which a few users on this NG like so that I can try to analyze the code. TR -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Re: PHP Bulletin Boards...how they work.

2001-12-02 Thread Fred
If you are new to PHP and/or MySQL then you are asking more than you think. It is much more difficult for a newbie to analyze someone else's code than it is to learn from scratch. Do yourself a favor and read the PHP and MySQL manual several time. Start by writing simple scripts to enter and

Re: [PHP] How to set file extension php Mac OSX and PHP 4.0.6

2001-12-02 Thread René Fournier
OK, that makes sense--that's what I did under WinME. The only problem is that I can't seem to find the httpd.conf file anywhere. At least, Sherlock is not returning any results. Do you know which directory httpd.conf is in? ...Rene On Sunday, December 2, 2001, at 01:56 PM, Michael B. Weiner

php-general Digest 2 Dec 2001 21:50:56 -0000 Issue 1029

2001-12-02 Thread php-general-digest-help
php-general Digest 2 Dec 2001 21:50:56 - Issue 1029 Topics (messages 76341 through 76351): PHP and JAVA 76341 by: Steve Haemelinck 76342 by: Christian Stocker best way to handle a form with 60 fields !!! 76343 by: Masudi Olivier 76345 by: Fred Re: PHP 4.1

[PHP] Question about adding library to use with php

2001-12-02 Thread Joelmon2001
Hello, i have one simple question With php installed, if the time comes where I want to add another library, let's say ming, do I redo the ./congigure script or do I redo the installation or just edit one file to accomodate the new software so it can work with php? This way if there is

[PHP] content disposition and internet exploder

2001-12-02 Thread Fred
I am attempting to allow users to download csv files that are created dynamically from a database. In order to do so I use: header( Content-Disposition: attachment, filename=query.csv); This works fine in NS, but not in IE, as it always attempts to save the file using the script name instead

RE: [PHP] content disposition and internet exploder

2001-12-02 Thread Jason Murray
I am attempting to allow users to download csv files that are created dynamically from a database. In order to do so I use: header( Content-Disposition: attachment, filename=query.csv); [snip] Has anyone had success in getting IE to use the correct filename when downloading dynamically

Re: [PHP] content disposition and internet exploder

2001-12-02 Thread Rasmus Lerdorf
You could just trick it with a URL like: http://your.domain.com/script.php/query.csv IE will think your script is called query.csv while Apache is smart enough to run script.php. -Rasmus On Sun, 2 Dec 2001, Fred wrote: I am attempting to allow users to download csv files that are created

Re: [PHP] content disposition and internet exploder

2001-12-02 Thread Fred
LOL Of course it worked. Open Source outwits MS yet again. Fred Rasmus Lerdorf [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... You could just trick it with a URL like: http://your.domain.com/script.php/query.csv IE will think your script is called query.csv

Re: [PHP] content disposition and internet exploder

2001-12-02 Thread Fred
That works fine in IE but does not work in NS, undoubtedly because it does not conform to the RFC. Fred Jason Murray [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am attempting to allow users to download csv files that are created dynamically from a

Re: [PHP] Re: A tricky one?

2001-12-02 Thread Justin French
Basically, you want to do is evaluate if they entered anything for each item, and if so, print an additional line to the message. ? $message = I would like to order:\n; if($pizza != ) { $message .= Pizza: $pizza \n; } if($chips != ) { $message .= Chips: $chips \n; } if($hamburger != ) {

Re: [PHP] How to set file extension php Mac OSX and PHP 4.0.6

2001-12-02 Thread Rasmus Lerdorf
In your httpd.conf file, add: AddType application/x-httpd-php .php4 On Sun, 2 Dec 2001, [ISO-8859-1] René Fournier wrote: I have successfully installed PHP 4.0.6, and it works! Only problem is that Apache only sends files to the PHP module that have a .php extension. However, I need to

[PHP] pages will not refresh publically

2001-12-02 Thread Keith Kwasigroch
I have a W2k box setup with IIS and PHP. It works fine, well almost. I can create a .php page and it works great. But, when I edit that page, the old page still shows up pubically. The page is updated if I open it from within the private network. For instance: www.domain.com displays old

[PHP] 4800 Would you like to lose weight while you sleep? 5060017

2001-12-02 Thread 1750600ultimate
As seen on NBC, CBS, CNN, and even Oprah! The health discovery that actually reverses aging while burning fat, without dieting or exercise! This proven discovery has even been reported on by the New England Journal of Medicine. Forget aging and dieting forever! And it's Guaranteed!

[PHP] SQL state S1090: Almost connected to mysql via PHP/odbc

2001-12-02 Thread mweb
Hello, thanks to the precious suggestions I had on this list some day ago, I have made some progresses, or at least have something new to report. I would like to ask now above the error mentioned in the subject, because I have not found it inside www.,mysql.com I have a database called m97. It

[PHP] RE: SQL state S1090: Almost connected to mysql via PHP/odbc

2001-12-02 Thread Venu
Hi, -Original Message- From: mweb [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 02, 2001 2:03 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: SQL state S1090: Almost connected to mysql via PHP/odbc Hello, thanks to the precious suggestions I had

Re: [PHP] RE: SQL state S1090: Almost connected to mysql via PHP/odbc

2001-12-02 Thread mweb
On Sunday 02 December 2001 23:18, Venu wrote: snip in themysql monitor. It *shows* when I run isql -v m97. I have modified /etc/odbc.ini and /etc/odbcinst.ini and /etc/odbc.ini as snip The problem is that, unixODBC is not able to find your MyODBC DSN entry. This is probably due to the fact

[PHP] PHP and JAVA

2001-12-02 Thread Steve Haemelinck
Hi all Does anyone got any experience with JAVA in PHP? I tried to rebuild php with java support. Everything worked well but when I try to initiate Java in PHP, I get cannot instantiate Virtual machine. I use kaffe and I believe I have configured PHP correctly. See