Re: [PHP-WIN] Problems with Unix timestamp

2003-08-23 Thread Stephen March
bah, sorry for the spam. Was able to create my own timestamp with mktime and then do the eregi(mydate, $line), etc etc. Thanks anyways ~Steve Stephen March wrote: Hey folks, simple question for you.. I'm trying to search through a page (with fopen) for a Unix timestamp (on Windows). S

[PHP-WIN] Problems with Unix timestamp

2003-08-22 Thread Stephen March
Hey folks, simple question for you.. I'm trying to search through a page (with fopen) for a Unix timestamp (on Windows). Simply doing while(!feof($fd)) { $line = fgets($fd, 4096); if(eregi(time(), $line) ... will not work.Upon further investigation, I could not get die(time()) to w

Re: [PHP-WIN] recompiling php under windows

2003-07-24 Thread Stephen March
I'm not 100% sure on the problems you are incuring, however I just thought I'd make mention of http://www.opensa.org, which is an open SSL (mod ssl & open ssl 0.97b) enabled version of apache (2.0.44) w/php 4.3.0 (on Windows). I find it useful to contribute to such a project, rather than compi

Re: [PHP-WIN] open source php cms

2003-07-17 Thread Stephen March
I think "good" is a relative term in terms of what you are doing :) I've been using PHP Nuke for a while (http://www.phpnuke.org), and it's does have it's advantages. *shrugs* It's got a pretty huge user-base. ~Steve [EMAIL PROTECTED] wrote: Hi, I am working with eZpublish. http://www.ez.no No

Re: [PHP-WIN] checkboxes in php

2003-07-10 Thread Stephen March
Could you please post your code?It's a lot easier to find the problem ie: what is line 27 trying to do? Cheers, ~Steve Harpreet wrote: I have 4 checkboxes in a form. I can select any number of boxes.When i go to the results page it gives me errors for boxes i dont select Notice: Undef

Re: [PHP-WIN] cookies problem

2003-07-09 Thread Stephen March
r employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of my firm shall be understood as neither given nor endorsed by it. ----- Original Message - From: "Stephen March"

Re: [PHP-WIN] cookies problem

2003-07-09 Thread Stephen March
Mark, I've run in to this problem - first noticing this with PHP Nuke. This cookie problem seems to be a result of a server configuration issue with the Windows operating system. At work I have 2 Win-2k servers, both running PHP 4.3.2, our production web-server can set cookies no problem

Re: [PHP-WIN] Problem IIS

2003-07-09 Thread Stephen March
Can you get a screenshot (picture) of the error? Or provide a link to your site :) It would be a bit easier to troubleshoot. Cheers, ~Steve Jonas Ferreira wrote: My dear friends, I use IIS 5.1, that comes with Windows XP (pro), and PHP 4.3.2, everything installed usually, however when I ex

[PHP-WIN] SSL Certificates - where do I put them?

2003-07-08 Thread Stephen March
Let's say I have a Web Server, which has a script that is accessing a resource on another server, with a proper SSL certificate. Where would I place these, or how would I specify a path through PHP code? I think I require this to do an LDAP bind, it's via SSL. I can get this to work with an LDAP

Re: [PHP-WIN] PHP+IIS - POST data propagate along redirect with header(Location: ....)

2003-07-07 Thread Stephen March
Sorry, I should also mention you will have to restart your IIS server. From a command prompt, (on the server) issue the command: net stop iisadmin (type Y - if you have the publisher service active) net start w3svc Or reboot it, if you like :) ~Steve Stephen March wrote: In your

Re: [PHP-WIN] PHP+IIS - POST data propagate along redirect with header(Location: ....)

2003-07-07 Thread Stephen March
In your php.ini (c:\windows\php.ini for 9x, xp, c:\winnt\ for NT4, 2000 => around line 365) make sure Register Globals = Off. Register globals does just that, creates global variables from any data posted to from a form. As you've noticed it's not the most secure thing, to have these var

Re: [PHP-WIN] fwrite error (noobie I am)

2003-07-06 Thread Stephen March
properties there is no "Security" tab, button or anything. It does have two check boxes one for read only (unchecked) and one for Hidden. This is the Windows Explorer version. In the IIS properties there is a "File Security" tab, but it doesn't seem to help. See the attach

Re: [PHP-WIN] fwrite error (noobie I am)

2003-07-06 Thread Stephen March
If you right click on the file count.txt, go to properties -> security. Does "everyone" have modify/write permissions to this file? The first error it posts, is that it doesn't have permissions to alter the file.This would also account for it failing to create the stream. ~Steve Ron St