[PHP] session problems with NS and AOL

2001-07-25 Thread DrWebPat
I'm developing an area on my site where clients will have access to certain things that nonclients don't. They each have a login and password and stuff like that. I'm using sessions so members can move from one page to the next w/o typing in their info everytime. This works so great in IE.

[PHP] array through url?

2001-07-27 Thread DrWebPat
Is it possible to send an array of numbers into a php file through a url? Like if I have a file that adds numbers together, could I send it www.domain.com/add.php?num=2,3,4,5 $num would be an array. Thanks, Pat

[PHP] php.net's index.php

2001-07-29 Thread DrWebPat
I was wondering what I would have to do in order to have index.php load up automatcially when someone went to my domain. IE if they go to www.mydomain.com and I have index.html or index.htm there then those pages get loaded first. How could I do it so index.php, index.php3, index.phtml were

Re: [PHP] search array for value

2001-07-30 Thread DrWebPat
In a message dated 7/31/01 12:32:59 AM Eastern Daylight Time, [EMAIL PROTECTED] writes: > How do I search an array? > > For example if I want to know if $array contains "1"... > > Regards, > > Matthew Delmarter > for ($i = 0; $i < count($array); $i++) { if ($array[$i] == 1) {

Re: [PHP] Good Tutorial

2001-07-31 Thread DrWebPat
www.devshed.com www.phpbuilder.com www.thickbook.com www.phpwizard.net hotwired.lycos.com/webmonkey/programming/php/ www.hotscripts.com is great for finding php scripts that are available hth, Pat

Re: [PHP] Mailing 4 newbies

2001-07-31 Thread DrWebPat
That should do it. Pat

[PHP] correct date

2001-08-09 Thread DrWebPat
I am making a site where people get 3 free months from when they register. In a table I have 2 different fields; 1 for when they register, and another I want exactly 3 months later. I have this code:

[PHP] correct date (cont.)

2001-08-09 Thread DrWebPat
Oops..(Hit send prematurely.) $currentmonth = date("m"); $currentday = date("d"); $year = date("Y"); $newmonth = $currentmonth + 3; if ($newmonth > 12){ $newmonth = $newmonth % 12; $year = $currentyear + 1; } $3months = date("Y-m-d",mktime(0,0,0,$newmonth,$currentday,$year))

Re: [PHP] PHP Shopping Carts ??

2001-08-14 Thread DrWebPat
In a message dated 8/14/01 3:23:54 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: > Could anyone point me in the direction of some PHP shopping cart scripts? > > > Thanks, > > Christopher Raymond > I'm sure they have one: http://hotscripts.com/PHP/Scripts_and_Programs/ Pat