RE: [PHP] How New Is <<

2003-12-27 Thread Grant Walters
nd pasted your full html into a file. Under PHP version 4.3.1 It runs from the command line without fault. Apache 1.3.22 It runs without fault (increments properly). What text editor are you using? I saved the code as both Unix and DOS format and it works for both. I've attached my file

RE: [PHP] PHP Openlink/Progress Problems

2001-10-24 Thread Grant Walters
> On Tue, 23 Oct 2001 16:35, Grant Walters wrote: > > I'm going nuts trying to work out how to handle errors from data > > statement with single quotes. PHP 4.0.6 appears to be mangling > > something somewhere. > > All statements work with the Openlink odbctest

[PHP] PHP Openlink/Progress Problems

2001-10-22 Thread Grant Walters
37000 in SQLExecDirect in /usr/local/.WWW/WEBS/_odbc/test.php3 on line 42 SQL: SELECT ID,Category,description FROM card_type WHERE description="PEPPERELL'S" Warning: SQL error: [OpenLink][ODBC][Driver]Syntax error or access, SQL state 37000 in SQLExecDirect in /usr/local/.WWW/WEBS/

[PHP] preg_replace on array with "E (PCRE_DOLLAR_ENDONLY)" modifier

2001-04-23 Thread Grant Walters
re placed into the variables $pagetop ... $page = "{PAGETOP}{PAGEMIDDLE}{PAGEBOTTOM}"; $page = preg_replace($template,$pagevars,$page); Other modifiers seem to be accepted. Any help appreciated. Regards Grant Walters Brainbench 'Most Valuable Professional' for Unix Ad

[PHP] PHP4 4.04pl1 ODBC/Openlink/Progress8.3 COUNT Problem

2001-04-19 Thread Grant Walters
ppreciated. Regards Grant Walters Brainbench 'Most Valuable Professional' for Unix Admin Walters & Associates, P O Box 13-043 Johnsonville, Wellington, NEW ZEALAND Telephone: +64 4 4765175, CellPhone 025488265, ICQ# 23511989 -- PHP General Mailing List (http://www.php.net/) To uns

RE: [PHP] MySQL data

2001-04-17 Thread Grant Walters
ENAME SELECT * FROM DATABASE1.TABLENAME I don't know what the implications are for large tables, possibly use mysqldump utility instead. Regards Grant Walters Brainbench 'Most Valuable Professional' for Unix Admin Walters & Associates, P O Box 13-043 Johnsonville, Wellington, NEW Z

[PHP] FYI: compile php4 compress uncompress libmysqlclient issue

2001-03-25 Thread Grant Walters
: There is probably a whole lot of stuff that is a bit wrong with what I have done above, but a functioning binary was all I was after. I would appreciate any feedback on this. Regards Grant Walters Brainbench 'Most Valuable Professional' for Unix Admin Walters & Associates, P O

RE: [PHP] email an ms-word attachment (please)

2001-03-21 Thread Grant Walters
ate? > > > > Rick Widmer > > Internet Marketing Specialists > > http://www.developersdesk.com > > Hi Rick > I have advised my client of all of the risk you mention. > They still want to go ahead. They feel that the bulk of their > website visitors are > trust

RE: [PHP] Attachment problem with web based mail

2001-03-21 Thread Grant Walters
dy .= "--".$boundary."\n"; $mail_body .= "Content-Type: application/octet-stream\n"; $mail_body .= "name=\"".basename($mail_attachment)."\"\n"; $mail_body .= "Content-Transfer-Encoding: base64\n";

RE: [PHP] Attachment problem with web based mail - CODE SAMPLE

2001-03-21 Thread Grant Walters
_attachment)."\"\n"; $mail_body .= "Content-Transfer-Encoding: base64\n"; $mail_body .= "Content-Description: \"Mail Attachment\"\n"; $mail_body .= "Content-Disposition: attachment;\n"; $mail_body .= " fi

RE: [PHP] Easy Object Reading

2001-03-20 Thread Grant Walters
P3 >= 3.0.5, PHP4 ) Dumps information about a variable void var_dump (mixed expression) This function returns structured information about an expression that includes its type and value. Arrays are explored recursively with values indented to show structure. Compare var_dump() to print_r(). 1 2 3

FW: [PHP] PHP4 Compile As Per Bug id #2933 AMMENDED - FIXED!

2001-03-20 Thread Grant Walters
now compiles, the rest is still compiling :-) Regards Grant Walters Brainbench 'Most Valuable Professional' for Unix Admin Walters & Associates, P O Box 13-043 Johnsonville, Wellington, NEW ZEALAND Telephone: +64 4 4765175, CellPhone 025488265, ICQ# 23511989 -- PHP General Mailing Li

[PHP] PHP4 Compile As Per Bug id #2933

2001-03-20 Thread Grant Walters
snapshot and putting it into the pl2 directory I have (as you can see I'm not a C programmer :-) ). But this didn't work. Is it possible to get detail on the patch that was applied, or another solution. Regards Grant Walters Brainbench 'Most Valuable Professional' for Unix Ad

[PHP] Setting Up Openlink ODBC to Work With PHP

2001-01-16 Thread Grant Walters
Hi, Can anyone point me to a step by step setup including which files to download for using PHP/OpenLink? I want to make PHP talk to a Progress 8.3C database on a remote server. Regards Grant Walters Walters & Associates, P O Box 13-043 Johnsonville, Wellington, NEW ZEALAND Telephone: +