RE: [PHP-WIN] MS SQL Query question

2004-05-25 Thread Derrick Hermanson
try something like this $result = mssql_query ($query); if ($result) { while ($template_args = msssql_fetch_array ($res)) { //what ever you want to do with the data } } Derrick Hermanson Programmer/Analyst I Acton International LTD. 402.470.5816 mailto:[EMAIL

RE: [PHP-WIN] Strange Substr Behavior

2004-02-27 Thread Derrick Hermanson
e the space from the $searchWord variable. Derrick Hermanson Programmer/Analyst I [EMAIL PROTECTED] -Original Message- From: Gerardo Rojas [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 1:35 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Strange Substr Behav

RE: [PHP-WIN] Show the Progress of a file being uploaded

2004-01-20 Thread Derrick Hermanson
that you do not have to apply any patches to PHP to make use of it. Derrick Hermanson Programmer/Analyst I [EMAIL PROTECTED] -Original Message- From: Arijit Chaudhuri [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 2:08 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Show the

RE: [PHP-WIN] Shopping Cart Woes!!

2004-01-05 Thread Derrick Hermanson
One thing I always like to do is echo the query to see if the query looks correct. Just add an echo $query; before your $result = mysql_query ($query) or die(mysql_error()); Then if you have something missing from your query you will be able to see. -Original Message- From: kaizer boab

RE: [PHP-WIN] Time out a session

2003-11-26 Thread Derrick Hermanson
This is how we do it in some of our online programs. setcookie('LOGIN',$LOGIN,(time()+32400),'/','',0); Derrick Hermanson Programmer Analyst I [EMAIL PROTECTED] -Original Message- From: PETCOL [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 200

RE: [PHP-WIN] Quick Question

2003-09-18 Thread Derrick Hermanson
Doesn't really have to do with php now does it. -Original Message- From: Ben Wheeler [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 2:11 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP-WIN] Quick Question Has anyone heard of this company? I just bought a mother

RE: [PHP-WIN] Looking for Debugger program.

2003-08-18 Thread Derrick Hermanson
I have been working with Homesite and I haven't had any problems with it. http://www.macromedia.com/software/homesite/ Derrick Hermanson Programmer Analyst I ACTON International LTD (402)470-5816 [EMAIL PROTECTED] -Original Message- From: Alejandro C. Garrammone [mailto:[EMAIL PROT

[PHP-WIN] Connecting to another server

2003-08-04 Thread Derrick Hermanson
Was wondering if there was a way to call a php program from a different server. Have a program and I want it to call a program on one of our other servers. Not sure of how to get it done, if it can be done. Thanks in advance for any help. Derrick Hermanson Programmer Analyst I -- PHP Windows

[PHP-WIN] php with .procmailrc

2003-07-09 Thread Derrick Hermanson
I'm trying to set up .procmailrc to capture emails sent out. The .procmailrc file should filter the emails to a php program if the email is not deliverable. The php program works if I pass the variables directly to it but the .procamilrc doesn't seem to pass the email to the php program. .procmail