[PHP-WIN] php4 session variables HELP!!

2002-07-12 Thread Kit Kerbel
I've looked through the other posts just to let you know. Here's the code I have, not sure why it's not working: page1.php: ***This is the form that sends wUserID and wPassword to login.php

[PHP-WIN] SESSION QUESTION

2002-07-13 Thread Kit Kerbel
Is there a bug in php4.2.1 dealing with sessions? I am using $_SESSION to set my session variables and it will not work. Can anyone offer examples that they have used that work? I am going insane. Thanx, Kit _ Send and receiv

[PHP-WIN] Uploading files.

2002-07-22 Thread Kit Kerbel
I'm having a problem uploading files with php to an nt4 server. Can anyone outline a general method for uploading a jpeg/gif to a specified folder. Thanks in advance. Kit _ Chat with friends online, try MSN Messenger: http://me

[PHP-WIN] uploading

2002-07-22 Thread Kit Kerbel
Setup: php4.2.1 on NT4 server trying to upload file using copy function getting this error: Warning: Unable to open 'C:\Documents and Settings\kkerbel\TODO.txt' for reading: No such file or directory in D:\Inetpub\wwwroot3\testupload.php on line 24 any ideas? Kit __

[PHP-WIN] Newbie Question

2002-07-22 Thread Kit Kerbel
Why do you have to use backslashes in a file path? (i.e. c:\\upload) Also, is there any way to avoid doing this, or is it just the php way. Kit _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- PHP Wind

[PHP-WIN] Syntax

2002-07-23 Thread Kit Kerbel
What, if you please, does this syntax denote exactly. ($i==0?($i):($i*20)) _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://

[PHP-WIN] mktime limitation

2002-07-24 Thread Kit Kerbel
Does anyone know of a way to do this: //Date calculation $today = getdate(); $mn = $today['mon']; $dy = $today['mday']; $year = $today['year']; if ($AGEFROM=="") { $AGEFROMx = 32; $AGEFROMCALC = strftime("%m/%d/%Y",mktime(0,0,0,$mn,$dy,$year -$AGEFROMx));

[PHP-WIN] Disregard last

2002-07-24 Thread Kit Kerbel
_ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] mktime limitation

2002-07-24 Thread Kit Kerbel
here it is again. Does anyone know of a good way to do this: //Date calculation $today = getdate(); $mn = $today['mon']; $dy = $today['mday']; $year = $today['year']; if ($AGEFROM=="") { $AGEFROMx = 32; $AGEFROMCALC = strftime("%m/%d/%Y",mktime(0,0,0,$mn,$dy,$year - $AGEFROMx)); } **withou

[PHP-WIN] Problem with mktime

2002-07-24 Thread Kit Kerbel
I am running php4.2.1 on NT4. I can't seem to get the mktime function to work for dates previous to jan, 1 1970. It notes on php.net that with 32 bit systems, the range should go back as far as 1902. Any ideas? Kit _ Chat wit

[PHP-WIN] tricky session question

2002-07-24 Thread Kit Kerbel
I am attempting to paginate some results. All code is on the same page, so keep that in mind. So i query for the results i want, all is fine and dandy. when i click on the link to go to the next page of results, all is lost. Any ideas as to how to tackle this issue? thanx, Kit _

[PHP-WIN] Date conversion

2002-07-25 Thread Kit Kerbel
I would like to convert 2002-04-02 00:00:00 to the format, 04-02-2002or m/d/Y How would I do this? Thanx in advance, Kit _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- PHP Windows Mailing List

RE: [PHP-WIN] Date conversion

2002-07-25 Thread Kit Kerbel
ot comparing properly. Not sure what to do. Seems kinda like a stupid sticking point. Kit Original Message Follows From: Dash McElroy <[EMAIL PROTECTED]> To: 'Kit Kerbel' <[EMAIL PROTECTED]> Subject: RE: [PHP-WIN] Date conversion Date: Thu, 25 Jul 2002 10:02:03 -070

[PHP-WIN] GD extension problems

2002-07-27 Thread Kit Kerbel
I'm trying to use the GD extension in 4.2.1 to resize some jpegs. I'm getting an error that the module was not able to load. Has anyone had these problems as well? fyi: I'm using NT4, PHP 4.2.1 _ Send and receive Hotmail on y

[PHP-WIN] Does the GD extention work with windows?

2002-07-29 Thread Kit Kerbel
Does the GD extention work with windows? Thanx, Kit _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe,

[PHP-WIN] End session

2002-07-29 Thread Kit Kerbel
I would like to know how to end a session, so, when the user hits logoff, the user session is killed and if you user clicks a link that requires he/she to be logged in, it will not have the session data stored still. FYI, i am using the current syntax for sessions, $_SESSION['whatever']

[PHP-WIN] GD extension fix

2002-07-31 Thread Kit Kerbel
It seems 4.2.2 fixes windows/gd problems _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] php/javascript

2002-08-01 Thread Kit Kerbel
Here's the deal: I have a page that has a "print" button on it that opens a new window that shows a "print-friendly" version of the page. The new window is opened via some javascript. I'm having problems with passing two variables to that page for querying purposes. Can anyone help? Thanks

[PHP-WIN] pass var from JS to php

2002-08-02 Thread Kit Kerbel
With this statement: >/a> ...I would like to do something like: print.php?page=member&id=$LINKID <(where 140 is replaced with $linkid Is there a way to do this? _ Join the world’s largest e-mail service with MSN Hotmail.

[PHP-WIN] Problems with Caching

2002-08-03 Thread Kit Kerbel
I have session caching set to private. However, when I log back in to my site, it wants to show the cached page, even if i've made changes to my account, or whatever. Another example: I log in as Kit, do some things in the site, logoff, then log in as Erica. The site wants to show me as log

Re: [PHP-WIN] GD.DLL

2002-08-14 Thread Kit Kerbel
Which version of php? I know I had the same problem and I upgraded to 4.2.2 and it fixed the problem. Hope that helps, kit Original Message Follows From: "Martin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: [PHP-WIN] GD.DLL Date: Wed, 14 Aug 2002 20:37:23 -0500 I have omniht

[PHP-WIN] SOAP Installation

2002-08-16 Thread Kit Kerbel
Quick question...to install soap for php, is it just a matter of placing a dll in the extensions folder and adding a line to php.ini? If not, can someone point me in the direction of a site explaining how to install it. Thanx, Kit

[PHP-WIN] Checkbox problem

2002-08-21 Thread Kit Kerbel
I have a page that lists entries made by users in the database. There are three types of entries. Each type of entry is stored in their own table. My problem is this: I want people to be able to click a checkbox next to any of the entries and press a delete button and delete those entries.

[PHP-WIN] Javascript/PHP

2002-08-21 Thread Kit Kerbel
I have a javascript function that I am passing a group of checkboxes to. The purpose of the js is to check/uncheck all of the boxes for various operations to be performed on all of them at the same time. That said, the function used to work perfectly when the name of the checkbox group was as

[PHP-WIN] SOAP Install

2002-08-27 Thread Kit Kerbel
Has anyone had any experience installing/working with SOAP for php on windows? I am trying to install it to work with credit card information and I am having trouble beyond belief. Thanx in advance, Kit _ Chat with friends onlin

Re: [PHP-WIN] Dynamic extension problem (php 4.1.2)

2002-09-12 Thread Kit Kerbel
I know I had problems with loading php_curl.dll and the solution was to copy certain dlls into my system32 folder. Hope that helps. Original Message Follows From: Bård Tommy Nilsen <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: [PHP-WIN] Dynamic extension pr

[PHP-WIN] Simple Question

2002-09-19 Thread Kit Kerbel
This is a simple question: I'm trying to upload files using php. I'm pretty sure I've got that part down. However, I am trying to upload pics inside the same form which posts other information, not of "FILE" type. This doesn't seem to be working. Does the html enctype have anthing to do wi

[PHP-WIN] ENCTYPE

2002-09-21 Thread Kit Kerbel
Hi all...My post variables are not acting properly when I add enctype="multipart/form-data" to the form tag. is this a bug in the current version of php? has anyone experienced this? If I take the enctype declaration out, it works fine (except for the file uploading, which is crucial). I ca

[PHP-WIN] Array issue

2002-09-24 Thread Kit Kerbel
I have this in my code: "> I'm passing this to a javascript function like this to check all checkboxes: onClick="this.src = check(document.forms[0].elements['horse[]'], document.forms[0].elements['trailer[]'], document.forms[0].elements['tack[]'])" My problem is this...if there are two horse