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
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
I do forms like this
?
if (!empty($data))
{
echo You entered $data;
}
else
{
?
form action=?= $SCRIPT_NAME ? method=post
input type=text name=data
/form
?
}
?
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
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
?
$conn = mysql_connect(x, x, x);
$db = mysql_select_db (img);
$result =
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 a
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:
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??
, 255);
?
if I call the makeconnection.php script and then call the testconnection
right after it fails with invalid 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
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
-
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 write or read to it...
But this works But all that's telling me
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
Hi!
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]
Subject: RE: [PHP] Can it be doen with Array
Yes
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()
Two comments from the manual that are interesting
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 my
14 matches
Mail list logo