RE: [PHP] Re: poor HTML syntax crashing (!) netscape

2001-07-08 Thread Matthew Loff
I completely agree, Dave... I use IE 6 for browsing, but when I develop sites, I always test them for backwards compatibility all the way down to Netscape 3.0. If your site renders properly in NS 3.0, then you can rest assured it will render correctly for the majority of web users out there.

RE: [PHP] Mosinskis's autoreply

2001-07-08 Thread Matthew Loff
Yep... Getting them here too. -Original Message- From: Ben Bleything [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 8:16 PM To: [EMAIL PROTECTED] Subject: [PHP] Mosinskis's autoreply Just out of curiosity, is everyone else receiving auto-replies from Peter Mosinskis when they

RE: [PHP] Running PHP as a cron job....

2001-07-08 Thread Matthew Loff
Make sure the code is like: #!/usr/local/bin/php -q (obviously the location of php may be different, but the above works for me, I'm running a daily e-mail batch from a PHP script via cron) Make sure you chmod ug+x it. -Original Message- From: James, Yz [mailto:[EMAIL PROTECTED]] S

RE: [PHP] ok!

2001-07-07 Thread Matthew Loff
A quick plug for Mysql-front at http://www.mysqlfront.de/ that Hennik meantions here... If you use Win98/ME/2k/NT, and are looking for a utility to admin a MySQL database, this is hands-down the best front end I've ever used... -Original Message- From: Henrik Hansen [mailto:[EMAIL PRO

RE: [PHP] Submiting Data with an '

2001-07-05 Thread Matthew Loff
Use the addslashes() call to automatically escape characters like that. MySQL will not add the slashes into the table cell, so no need to stripslashes() after you SELECT it back out. -Original Message- From: Mike Mike [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 05, 2001 3:19 PM To

RE: [PHP] how can I call a link? ??

2001-07-05 Thread Matthew Loff
BODY onLoad="otherFrameName.document.location = 'http://serverview_cart.php?add=4ffqe45'" I think that's how you'd do it... Can anyone with more experience in javascript verify? -Original Message- From: Shrout, Ryan [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 05, 2001 3:18 PM To

RE: [PHP] Parse URL parameters

2001-07-05 Thread Matthew Loff
Those are automatically assigned to $a1 and $a2. -Original Message- From: Andy [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 05, 2001 3:20 AM To: [EMAIL PROTECTED] Subject: [PHP] Parse URL parameters How can I parse parameters sent with the URL of an pgp site? Example: I call the

RE: [PHP] Email verification (was: [PHP] Removing Invalid Users)

2001-07-04 Thread Matthew Loff
I've had the same experience with VRFY... Our copy of sendmail was preconfigured to allow VRFY from localhost only... There really isn't any surefire way to verify whether an e-mail exists or not, except to try to send to it, correct? -Original Message- From: Steve Werby [mailto:[EMAI

RE: [PHP] Executing UNIX commands with PHP

2001-07-04 Thread Matthew Loff
You could popen() the command, I believe, and do it interactively... -Original Message- From: Tim Taubert [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 04, 2001 4:47 PM To: PHP Mailingliste Subject: RE: [PHP] Executing UNIX commands with PHP mh this is bad... can i do anything els

RE: [PHP] writing a query that returns similar numbers

2001-07-04 Thread Matthew Loff
This should work too: $sql = "SELECT rowid FROM numbers WHERE ABS(number - mynumber) <= 10"; -Original Message- From: Chris Anderson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 04, 2001 1:24 PM To: [EMAIL PROTECTED]; PHP Mailingliste Subject: Re: [PHP] writing a query that returns

RE: [PHP] Help Meeeeeeeeeee!!!!!!

2001-07-03 Thread Matthew Loff
(sorry for the off-topic still) http://www.mysql.com/Downloads/Contrib/MYSQLX.EXE A MySQL ActiveX control that can be accessed from VC++, VB, etc... Uses the MySQL API instead of ODBC... Sounds pretty versatile. -Original Message- From: Chris Anderson [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP] Help Meeeeeeeeeee!!!!!!

2001-07-03 Thread Matthew Loff
[I realize this is off-topic, I apologise] Would this have to be done with ODBC? Or are there any easy ways to link to the MySQL API libs via VB? I'm curious to know too... -Original Message- From: Chris Anderson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 03, 2001 10:34 PM To: [

RE: [PHP] Using PHP + GD to make bar graphs?

2001-07-03 Thread Matthew Loff
This may or may not be overkill for what you're doing, but it looks like a superb class: http://www.aditus.nu/jpgraph/index.php I've seen several other graphic classes as well... But this looks to be the best. -Original Message- From: Gonyou, Austin [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP] Troubleshooting syntax ?

2001-07-03 Thread Matthew Loff
I can't suggest any syntax checkers off-hand, but a suggestion for future work... I keep track of TABLE, TR, TD, etc. by indenting them like PHP/C code... Perhaps that would alleviate this from happening again in the future for you... TABLE TR TD /TD

RE: [PHP] configuring with gd for TTF

2001-07-03 Thread Matthew Loff
If you still can't get it working, post the contents of your config.log file, that can help diagnose it. I figured out a problem with gd 2.0.x not linking properly with PHP 4.0.6 by analyzing the config.log file... -Original Message- From: Ray Hilton [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP] second try - Mysql php install

2001-07-02 Thread Matthew Loff
If you don't see mysqld running when you do a ps, then the problem is starting mysql... Mysql doesn't report errors in starting up to the terminal... You need to find the log file... The log file should be stored in your /mysql/data directory. The logfile should be named [domain].log... S

RE: [PHP] help in getting results from mysql

2001-07-02 Thread Matthew Loff
If you aren't concened about multiple entries with the same date, you could try: $rs1 = mysql_query("select * from tablename where item_id=34 and item_type_id=3 order by date desc limit 1"); $last_date=mysql_result($rs1,0,0); Although I don't know how efficient of an SQL query that is... Perha

RE: [PHP] Function Reqest/Question

2001-07-02 Thread Matthew Loff
The best way I've seen this done is: But putting it within while(0), you can simply break; from it... There may be better ways... Any other suggestions? -Original Message- From: scott [gts] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 3:33 PM To: php Subject: RE: [PHP] Fu

RE: [PHP] Class/Func Librarys

2001-07-01 Thread Matthew Loff
Take a look at: http://phpclasses.upperdesign.com/browse.html -Original Message- From: ReDucTor [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 01, 2001 11:29 AM To: [EMAIL PROTECTED] Subject: [PHP] Class/Func Librarys Hey, Just Wondering if any one knows, any sites that havea

RE: [PHP] Why does it take so long?

2001-07-01 Thread Matthew Loff
I do the majority of my site development on a combination of Athlon 800 w/Win2k for graphics, and a P-133 w/16 megs of RAM running Slackware Linux (gulp!)... The Linux box performance with PHP is actually decent-- EXCEPT when doing database queries locally. I tried running queries on Mysql loca

<    1   2