[PHP] mail() problems

2002-07-31 Thread dan radom
I'm having provblems with the following script... mail("[EMAIL PROTECTED]", "www form submission", $message, "From: $email"); ...the variables are being POSTed from a form, which does make it to sendmail. sendmail logs the following... Jul 31 19:32:47 mars sendmail[20605]: g711Wlu20605: from=

Re: [PHP] Re: mail() problems

2002-07-31 Thread dan radom
nope. all that did was prodice the following warning... Jul 31 20:53:47 mars sendmail[20790]: g712rkA20790: Authentication-Warning: mars.radom.org: nobody set sender to [EMAIL PROTECTED] using -f dan * Manuel Lemos ([EMAIL PROTECTED]) wrote: > Hello, > > On 07/31/2002 10:47 PM,

Re: [PHP] Re: mail() problems

2002-07-31 Thread dan radom
mailq's empty. i'll try a real address and see if i get a bounce notice. * Manuel Lemos ([EMAIL PROTECTED]) wrote: > Hello, > > On 07/31/2002 11:55 PM, Dan Radom wrote: > >nope. all that did was prodice the following warning... Jul 31 20:53:47 > >mar

[PHP] am i just a session tracking idiot?

2002-06-06 Thread dan radom
I can't seem to get session tracking to work to save my life. The end result I'm after is to store the value of the single column returned from this query .. SELECT user_id from users WHERE user_name = '$user_name' AND user_password = '$user_password' .. for use throughout the site. The curre

Re: [PHP] am i just a session tracking idiot?

2002-06-06 Thread dan radom
s well; less > chance of session hijacking). > > Cheers > > - -- > Shane > www.shanewright.co.uk > Public Key: http://www.shanewright.co.uk/files/public_key.asc > > > On Thursday 06 June 2002 6:31 pm, dan radom wrote: > > I can't seem to get session track

Re: [PHP] am i just a session tracking idiot?

2002-06-06 Thread dan radom
d color is: $bgcolor."; ?> argggh! * dan radom ([EMAIL PROTECTED]) wrote: > I've just tried that. /foo is owned by nobody and is mode 777. there's 135M >available on that partition. > > * Shane Wright ([EMAIL PROTECTED]) wrote: > > -BEGIN PGP SIGNED MESSAGE-

Re: [PHP] am i just a session tracking idiot?

2002-06-06 Thread dan radom
uot;bleh" > > It might work... who knows... > > ----- Original Message - > From: "dan radom" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, June 06, 2002 8:36 PM > Subject: Re: [PHP] am i just a session tracking idiot? > >

Re: [PHP] am i just a session tracking idiot?

2002-06-06 Thread dan radom
set in php.ini. This should be working! $@%%!@ dan * Shane Wright ([EMAIL PROTECTED]) wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi > > On Thursday 06 June 2002 7:55 pm, dan radom wrote: > > the last bgcolor example was cut and pasted from oreilly's s

Re: [PHP] am i just a session tracking idiot?

2002-06-06 Thread dan radom
i got everything working tonihgt. the problem seems to be that i was running this from an apache vhost, and not the real server. why would that matter? how can i fix that? dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] eregi problems

2002-07-04 Thread dan radom
I've got a form that's posted to a php page where I'm attempting to validate a field contains a valid email address. The eregi below seems to be totally ignored... if (eregi("^[a-z0-9\._-]+@[a-z0-9\._-]+$", $emp_email)) { echo "please enter a valid email address";

Re: [PHP] eregi problems

2002-07-04 Thread dan radom
responded. > > Even then, this could be done by a robot I guess. > > > Justin French > > Creative Director > http://Indent.com.au > > > > > > on 05/07/02 12:23 AM, dan radom ([EMAIL PROTECTED]) wrote: > >

[PHP] help sorting readdir values

2002-01-28 Thread dan radom
First I must state that I didn't write the code, and I'm not much of a programmer of any kind. I'm hoping someone can tell me how to sort the filenames and file sizes returned by readdir and filesize in the below code. Thanks in advance. dan "; while ($file = readdir($handle