[PHP-WIN] Authentication problem under IIS 5

2004-03-24 Thread MW
I recently installed PHP as an ISAPI module under Win2k. I've followed the instructions as listed on the website, and copied php4ts.dll and php4sapi.dll to the winnt/system32 directory (PHP is installed in d:/php) My website is set to use basic authentication. The problem is now that when I acc

[PHP-WIN] Re: Major apache start error!!

2004-03-24 Thread Sumito_Oda
>What about updating to Apache2 altogether? It is "Could you adopt latest Apache1.3.29 now? (It is not old Apache1.3.14 in version 1.x)" that he says. However, a similar error did not occur though I obtained Apache1.3.14r2 from the archive, and tried with PHP4.3.5RC4. http://archive.apache.org/di

[PHP-WIN] Timestamp comparison

2004-03-24 Thread Jim MacDiarmid
Hi folks, I'm looking for some opinions on the best way to do time date comparison. For example, I have a log file and I'd like to retrieve all records or the top 15 records within the last day or within the last hour. Any recommendations? I was considering splitting Date and time into 2 fields b

[PHP-WIN] Favortire Page template Structure

2004-03-24 Thread Jim MacDiarmid
I was interested in seeing if anyone has a favorite way of structuring their PHP pages? For instance, I found one example where pages were laid out as follows: Everything was based off of index.php and parameters were submitted through the hidden fields or through an action variable on the url que

RE: [PHP-WIN] Favortire Page template Structure

2004-03-24 Thread Charles P. Killmer
I have been very fond of this method that I developed over the last few years. Lets say you have a site with three pages. Index, about us, and contact us. I create index.php like this html stuff here About us and contact us look the same Template then just has HTML Stuff More

[PHP-WIN] PHP sql to table code

2004-03-24 Thread M.Feoli
Hi, all Does anyone knows where to find a sample of a code that takes an SQL and delivers a paged report on html? say for example 200 records come out of the sql search, so it displays the first page of 50 records, and shows at the bottom the numbers 2,3,4 to move forward on pages. Am I aski

RE: [PHP-WIN] Favortire Page template Structure

2004-03-24 Thread Charles P. Killmer
Exactly. I have really loved doing sites this way. One caveat though. Unless you buffer the entire page you must send headers before the template file is included. This is because the template will echo to the browser before the output function is called. So if the output function is going t

Re: [PHP-WIN] PHP sql to table code

2004-03-24 Thread trystano
Sitepoint.com have a very nice tutorial/article on this. I also have another tutorial URL in my house, so will have to post that link when I get home. Tryst -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: php5isapi.dll not handling MySQL

2004-03-24 Thread Tom Khoury
Don McFarland wrote: Im using PHP version Version 5.0.0b4 on XP-Pro (php5isapi.dll) running IIS 5.1 and have gotten the SQLite to work nicely. However, the when trying to use an up-and-running MySQL server, the script is always cut-off at the start with the error "Call to undefined function mysql_c

[PHP-WIN] Email with attachments coming through damaged

2004-03-24 Thread Ron.Herhuth
Hi, I'm trying to send an attachment via email using the following function, but it keeps coming through damaged. I am having no trouble emailing the same attachment using OutLook. Is there something wrong with the function I'm using? The attachment shows up and I'm not getting any errors, but

php-windows Digest 24 Mar 2004 20:20:26 -0000 Issue 2180

2004-03-24 Thread php-windows-digest-help
php-windows Digest 24 Mar 2004 20:20:26 - Issue 2180 Topics (messages 23249 through 23260): Authentication Problem under IIS 5 23249 by: MW 23250 by: MW Re: Major apache start error!! 23251 by: Sumito_Oda Timestamp comparison 23252 by: Jim MacDiarmid Favort

[PHP-WIN] Re: Email with attachments coming through damaged

2004-03-24 Thread Justin Patrin
Ron Herhuth wrote: Hi, I'm trying to send an attachment via email using the following function, but it keeps coming through damaged. I am having no trouble emailing the same attachment using OutLook. Is there something wrong with the function I'm using? The attachment shows up and I'm not gett

[PHP-WIN] I need to display records of a Database on html,

2004-03-24 Thread M.Feoli
Hi, I am rephrasing my last question, I have a database which I need to access via Web, and display multiple pages of the resulting records of the select statement I issue. Is there a code for this out there, which I could start with. thanks -- PHP Windows Mailing List (http://www.php.net

Re: [PHP-WIN] I need to display records of a Database on html,

2004-03-24 Thread Jim Hunter
If you are not aware of www.phpclasses.org, then you might want to start there. There are a few classes that are in the DB group that you simply pass the SQL to the class and it does the query and creates the HTML for you. Very neat and tidy and easy to use. I use baagrid.php and here is an exampl

Re: [PHP-WIN] I need to display records of a Database on html,

2004-03-24 Thread Trystano
I take it you are referring to Paging? Tryst

[PHP-WIN] Re: Email with attachments coming through damaged

2004-03-24 Thread Manuel Lemos
Hello, On 03/24/2004 05:22 PM, Ron Herhuth wrote: I'm trying to send an attachment via email using the following function, but it keeps coming through damaged. I am having no trouble emailing the same attachment using OutLook. Is there something wrong with the function I'm using? The attachment

[PHP-WIN] w32api GUI

2004-03-24 Thread Bill Zeller
Hey guys, I have a non-standard question regarding Windows programming. My objective is to create a small PHP wrapper for some basic win32 api stuff, such as creating message boxes and some dialog windows. This would be used for windows command line scripting, not for web development. I realize p

[PHP-WIN] Proper coding?

2004-03-24 Thread Jim MacDiarmid
Fellow PHP list members, I'm hoping you can share your knowledge and help me. I'm incorping the PEAR:DB module into my scripts and I'm running into a situation. To make a long story short.. I basically have 2 files. Index.php and an include file I'm calling db_functions.php which I'm creating

[PHP-WIN] Session problem

2004-03-24 Thread carlos castillo
I want to know how can i do to make the session dont expire?. i have an application that works with sessions, when i left the browser open for a while, i dont know maybe 30 minutes, when i try to go into a section it throw me an error, for session expire, how can i fic that?. thanks. Carlos A. C