php-windows Digest 7 Aug 2001 23:52:08 -0000 Issue 690

2001-08-07 Thread php-windows-digest-help
php-windows Digest 7 Aug 2001 23:52:08 - Issue 690 Topics (messages 8695 through 8707): Re: Seconds retrieving 8695 by: Hugh Bothwell Re: Problem 8696 by: Martin Kemp Re: Problem with session data on PHP4/Win2k 8697 by: Holm Puder 8706 by: Scott Piccotti R

Re: [PHP-WIN] includes

2001-08-07 Thread Ignatius Teo
What happens when you move stuff up or down a directory level? I normally do this: config.php -- define('BASE_DIR',getenv('DOCUMENT_ROOT').'/somedir/'); main.php include('config.php'); include(BASE_DIR.'phpfile.php'); include(BASE_DIR.'someother_dir/phpfile.php'); YMMV, Ignat

[PHP-WIN] Re: Problem with session data on PHP4/Win2k

2001-08-07 Thread Scott Piccotti
Thank you for your reply. Yes, IUSR_ has read and write access. Is there anything else in Active Directory that I should be looking for? My ISP and I are still both stumped about this one. Thanks again- scott On Tuesday, August 7, 2001, at 10:10 AM, Holm Puder wrote: >Check if the IUSER_<...

Re: [PHP-WIN] includes

2001-08-07 Thread Angie Tollerson
I noticed that is necessary only on Apache...IIS you don't need it. That might have been why you didn't know if you are using windows and had been developing using IIS before. To add a new question to this thread: Has anyone else been able to get includes to work from the top of the web? For

Re: [PHP-WIN] Make file.php look like file.htm ???

2001-08-07 Thread Mike Flynn
Hi, 1. This is dependent on your server software. If you configure .htm or .html files or whatever to execute PHP the way you have .php configured, then all files ending in .htm or whatnot will be executed the same as .php. 2. I hope you don't expect too many private replies when you put your

Re: [PHP-WIN] includes

2001-08-07 Thread William E. T.
THat works. Thanks. I was clueless as to why it wouldn't work. Could you explain why the ./ is necessary? I'm still a newbie, and I'm just curious so that I don't repeat the same mistake in other areas. Thanks William Angie Tollerson wrote: > try include("./main.inc"); > > >>> "William E. T.

Re: [PHP-WIN] includes

2001-08-07 Thread Angie Tollerson
try include("./main.inc"); >>> "William E. T." <[EMAIL PROTECTED]> 08/07/01 12:41PM >>> I'm running apache on win98 as a test platform for a site, but whenever I do includes it says it can't read the file. I know the file is there, as apache lists it in the director listing. The exact error I g

Re: [PHP-WIN] Make file.php look like file.htm ???

2001-08-07 Thread Rick S
Hello, I was interested in producing a link that looked like www.index.htm instead of www.index.php this would hide the use of dynamic HTML. My goal is to enhance security. Your insight on this is appreciated. Thanks, Rick S. "Alain Samoun" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECT

[PHP-WIN] includes

2001-08-07 Thread William E. T.
I'm running apache on win98 as a test platform for a site, but whenever I do includes it says it can't read the file. I know the file is there, as apache lists it in the director listing. The exact error I get is Warning: Failed opening 'main.inc' for inclusion (include_path='..') in c:\program f

[PHP-WIN] Re: can anyone explain this code segment?

2001-08-07 Thread elias
I agree with you. I think the first statment alone is enough. "Hugh Bothwell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Apologies for posting to php.windows with a > non-windows-specific question, but I haven't > been receiving php.general for several we

[PHP-WIN] Re: I need some help or a .45 magnum

2001-08-07 Thread elias
Are you sure you didn't forgot the uncomment this line in PHP.INI ? : [mail function] ; For Win32 only. SMTP = mailserver.com ; specify here your SMTP server "Rodney" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I'm new to php. I'm having trouble

[PHP-WIN] Re: Problem with session data on PHP4/Win2k

2001-08-07 Thread Holm Puder
Check if the IUSER_<... > has write access Holm >I'm using PHP4.0.6 on Win2k with IIS 5.0. I've already checked the >permissions on c:\php\sessiondata, and everything should be ok. The script >has the same problem on my web host's server. It does *not* have this >problem on my desktop machi

[PHP-WIN] RE: Problem

2001-08-07 Thread Martin Kemp
The biggest thing you need to consider here is that you're using * interchangably as a character to look for, and also as a wildcard operator: .* is a combination; the . means any character and the * means 0 or more occurrences of it. Therefore a.*a would match aza, but also aa. Similarly + m

[PHP-WIN] Re: Seconds retrieving

2001-08-07 Thread Hugh Bothwell
"Ventsyslav Vassilev" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, is there any function, which returns the number of seconds between > 01.01.1970 and a GIVEN date - similar to UNIX_TIMESTAMP in mySQL? > time() works, but counts from current time only...

php-windows Digest 7 Aug 2001 11:07:15 -0000 Issue 689

2001-08-07 Thread php-windows-digest-help
php-windows Digest 7 Aug 2001 11:07:15 - Issue 689 Topics (messages 8688 through 8694): Problem with session data on PHP4/Win2k 8688 by: Scott Piccotti Re: Trying to assosiate .wml 8689 by: CJD 8694 by: Sven-Olov Larsson Seconds retrieving 8690 by: Ventsysl

[PHP-WIN] Re: Trying to assosiate .wml

2001-08-07 Thread Sven-Olov Larsson
Thanks Cjd. It's Ok now :) "Cjd" <[EMAIL PROTECTED]> skrev i meddelandet [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > a.. Run Regedit. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To conta

[PHP-WIN] WML / WAP size

2001-08-07 Thread Keith Whyman
I'm using php/mysql to create some wml pages which work fine BUT as always there is a problem. It seems that you are only allowed to have wml pages of 1400 bytes, anyone got any clever ideas how I can judge/control how big my generated pages are ? Info comes out from mysql - sometimes just one a

[PHP-WIN] Upload Problem

2001-08-07 Thread birdto
When I try to upload the binary data into my MySQL database in IIS4, I found the upload time is very long even the file size is rather small. Even worse, those small file also can't upload to my server even wait for a long time. Does anyone know what's the problem on it? Configuration: Web Serve