[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:

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, Dan Radom wrote

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 mars sendmail[20790]: g712rkA20790: Authentication

[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 centerplease enter a valid email address/center;

Re: [PHP] eregi problems

2002-07-04 Thread dan radom
to an email box and furthermore, someone opened the email, read it, and 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] 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

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

2002-06-06 Thread dan radom
- -- 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 tracking to work to save my life. The end result I'm after is to store the value of the single column returned from

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

2002-06-06 Thread dan radom
link=#808040 vlink=#606060 alink=#808000 ? // Retrieve SID from cookie. print Your SID is $PHPSESSID br; // Display the value of the $bgcolor variable. print The persistent background color is: $bgcolor.; ? argggh! * dan radom ([EMAIL PROTECTED]) wrote: I've just tried that. /foo is owned

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

2002-06-06 Thread dan radom
... 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? what's weird is that if i set session.save_handler = mm, i obviously don't get the file error

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

2002-06-06 Thread dan radom
* 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 session tracking examples. it should work. IIRC, some things depend on your PHP

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] 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 ? function list_dir($dir) {