RE: [PHP] Some questions regarding pfsocketopen()

2003-01-02 Thread Gareth Hastings
here is one about. Anyway back to google :) > -Original Message- > From: Michael J. Pawlowsky [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 02, 2003 5:10 PM > To: Gareth Hastings; [EMAIL PROTECTED] > Subject: RE: [PHP] Some questions regarding pfsocketopen() >

RE: [PHP] Can it be doen with Array????

2003-01-02 Thread Gareth Hastings
Bah, I meant $a[] = "0"; $a[] = "1"; $b = $a; echo $b[0]; > -Original Message- > From: Gareth Hastings [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 02, 2003 5:05 PM > To: 'Scott Fletcher'; [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] &

RE: [PHP] Can it be doen with Array????

2003-01-02 Thread Gareth Hastings
Yes you can simply assign arrays like $a = "0"; $a = "1"; $b = $a; echo $b[0]; would print 0 > -Original Message- > From: Scott Fletcher [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 02, 2003 5:08 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Can it be doen with Array > >

RE: [PHP] Some questions regarding pfsocketopen()

2003-01-02 Thread Gareth Hastings
t :/ > -Original Message- > From: Michael J. Pawlowsky [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 02, 2003 4:32 PM > To: Gareth Hastings > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] Some questions regarding pfsocketopen() > > > Well I didnt try to wr

RE: [PHP] Some questions regarding pfsocketopen()

2003-01-02 Thread Gareth Hastings
> You will need to have everythng on the same page. Your program ends once > the page does. pfsocketopen() is persistent and stays open even after your script has finished running until either the timeout period is reached or it gets disconnected/closedI think. I just don't know how to acc

RE: [PHP] Some questions regarding pfsocketopen()

2003-01-02 Thread Gareth Hastings
file resource error. > -Original Message- > From: Chris Shiflett [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 02, 2003 2:47 PM > To: Gareth Hastings; 'PHP-List' > Subject: Re: [PHP] Some questions regarding pfsocketopen() > > --- Gareth Hastings

[PHP] Some questions regarding pfsocketopen()

2003-01-02 Thread Gareth Hastings
Could anyone tell me, is it possible to connect to a persistent socket after it has been opened by a different script? There is little documentation on this function. I did a quick search on google and lots of people say you can't, some say you can but its really hard and the rest go..."pf what??"

[PHP] snmpget

2002-12-28 Thread Gareth Hastings
I can't get this to work, I'm using RH 8 with php 4.2.2. Is there a way to fix this? I think its something to do with ucd-snmp and me needing to use net-snmp but I'm not sure. Any ideas? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

[PHP] A little regex help

2002-12-13 Thread Gareth Hastings
Hi, I'm trying to work out the regex needed to split either one of the following lines Windows 2000 Hotfix (Pre-SP4) See Q322842 for more information Windows XP Hotfix (SP2) See Q327696 for more information Into one of these Windows 2000 Hotfix (Pre-SP4) See Q 322842 for more information Window

RE: [PHP] Trouble with switch statements

2002-10-27 Thread Gareth Hastings
Edward, Try Case "1": . Break; -Original Message- From: Edward Kehoe [mailto:emkehoe@;learn.senecac.on.ca] Sent: Friday, October 25, 2002 6:47 PM To: [EMAIL PROTECTED] Subject: [PHP] Trouble with switch statements Ok...I just recently installed Apache1 and PHP 4.2.3 on m

RE: [PHP] Multiple Domains in cookie?

2002-09-28 Thread Gareth Hastings
Oops, sorry, forgot to turn off read receipt before I posted. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Multiple Domains in cookie?

2002-09-28 Thread Gareth Hastings
or you just have something like login.myhost.com and all your sites use that to authenticate the user. In your php login script you can just see which site they came back from and then on a successful login you just redirect them back to that one. You wouldn't need to use cookies. You could make

RE: [PHP] Uploaded Image display problems

2001-12-07 Thread Gareth Hastings
I found this worked fine for me, I used the same method to read the file into the database and the following lines to print the image out. I tested this with images from 1kb --> 945kb both gif/jpg and it worked fine Try taking out your header statements in display.php just to see what happens.

RE: [PHP] Forms and Results with PHP

2001-12-06 Thread Gareth Hastings
I do forms like this The if line just checks to see if any data has been passed if it has it prints what you send else if shows the form -Original Message- From: Ben Clumeck [mailto:[EMAIL PROTECTED]] Sent: 06 December 2001 17:14 To: [EMAIL PROTECTED] Subject: [PHP] Forms and