[PHP-DB] Printing?

2002-08-21 Thread James Hatridge
Hi all... I'm useing SuSE 8.0, mysql, and PHP with a HP L5 printer. Could someone give me a hint on how to print a form to my HP? What I want to do is print (on paper G) monthly customer statements. Thanks JIM -- Jim Hatridge Linux User #88484

[PHP-DB] Charts...

2002-08-21 Thread James Hatridge
Hi all.. I'm using SuSE 8.0, mysql, and PHP4. Is it possible to make charts with a database? If so, how about a hint on it? Thanks JIM -- Jim Hatridge Linux User #88484 -- BayerWulf Linux System # 129656

[PHP-DB] This is driving me insane!

2002-08-29 Thread James Hatridge
HI all... I'm at my end, would some kind soul please help? I'm working on a database using SuSE 8.0, mysql, and PHP. All the standard installs. I need to use exec, unlink, etc. BUT the durn PHP is stuck in safe_mode and I can't get it out. I've looked in /etc/php.ini and it shows safe_mode

[PHP-DB] Forms question..

2002-10-20 Thread James Hatridge
Hi all... When I have an input form I must click on the first input field. Is there anyway to have it active when the form loads? #2 When I tab down to the next input field, is there anyway to have it highlight what is in the field (ie the default data) so that it will overwrite it? #3 How

[PHP-DB] Quarter question..

2002-11-01 Thread James Hatridge
HI all, In the code below I'm trying to get the last column to show 1, 2, 3, or 4 according to which quarter of the year it is. But all it shows in that column is Resource ID # X. The X starts with #3 and goes to 18. There are (at the moment) 15 items in the table. Any ideas what's wrong?

[PHP-DB] PHP Safe Mode ...

2003-09-07 Thread James Hatridge
Hi all,,, I'm having hell with this !ยง$ PHP safe mode. It seems that SuSE complies PHP with safe mode = on. THEREFORE the config file php.ini can not turn it off. Can someone who is using PHP exec in SuSE 8.2 give me an idea how they are doing it? OR how to work around this. Here is my

[PHP-DB] DB update problem...

2003-09-13 Thread James Hatridge
HI gang! I am trying to do a mysql update. I wrote a small bash file that works fine at the command line. But I would like to have it ran by PHP whenever I start the DB. What I am trying to do is have PHP check if a new update file is there (AUD.txt) if it is run the euro-update.program. But

[PHP-DB] Re: DB update problem...

2003-09-14 Thread James Hatridge
Hi Simon, On Saturday 13 September 2003 19:01, Simon Stiefel wrote: On 13 Sep 2003 at 17:26, James Hatridge wrote: HI gang! Hi! I am trying to do a mysql update. I wrote a small bash file that works fine at the command line. But I would like to have it ran by PHP whenever I start

[PHP-DB] Web counter question..

2003-12-05 Thread James Hatridge
Hi all.. I just put up my stamp bulletin on line (issue #100!!). I have a problem with it. The counter that I use counts everyone every time they look at the site. I want a better counter, can you all suggest one? It's got to work with html and php only. Thanks, JIM PS Check out my stamp

[PHP-DB] Re: Results with ledger stripes?

2004-01-27 Thread James Hatridge
On Tuesday 27 January 2004 17:13, Ricardo Lopes wrote: It isnt pretty, efficient or small, but it works... :) Try this: $c= (++$ZZ%2? 'yellow':'white'); printf(tr bgcolor=\$c\); - Original Message - From: Gary Every [EMAIL PROTECTED] To: Ryan Jameson (USA) [EMAIL PROTECTED];

[PHP-DB] Stopped working?

2004-06-21 Thread James Hatridge
HI all... I just upgraded my SuSE system from 8.2 to 9.1 now the counters on my web sites are not working right. I tracked it down to this line: $cur_ip = $REMOTE_ADDR; I believe that this has stopped working. The idea was my counter kept your number so that you were only counted once. But

[PHP-DB] Re: LOAD DATA LOCAL INFILE

2004-08-16 Thread James Hatridge
Hi Dani et al.. The guys at MySQL turned this off for security reasons. :( They and SuSE say that you can turn it back on, but I've never been able to get it to work. There are two ways to handle this, first you have to use LOAD DATA INFILE. The file then needs to be either in /tmp and