[PHP] select * From ????

2002-12-15 Thread Bruce Levick
Hi,
Am just a newbie at this and was going great until I have hit this smell
snag.

I am connecting to mysql and all works well there. I query a table
"Illustrations" ($query = "SELECT * FROM Illustrations";), and want to
print the values of two columns ("titletext" & "img")within each row as
the request loops.

Print "$row[titletext]";
Print "$row[img]";

The code inplace seems all ok, but for some reason I am only being
returned the value of "titletext" and not also the value of "img". Am I
to be setting a new value for returning the info within "img"?? (eg
$row2).

I am sorry if this is hard to understand and also a silly Q, I am two
days into learning this stuff. All I want to do is to return these two
values from within the table. "titletext" and "img". They are both text
fields.

Cheers


  


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] undefined index....property.

2002-12-16 Thread Bruce Levick
I have just setup my localmachine to see how our site runs on php 4.2.
It currently runs on 4.1 on the server. I am only fairly new to this so
I have come across a slight hurdle.

At first logging in as a user to the database was giving "undefined
variable" error. Have read up on this and fixed it by turning on
register_globals. So that's sweet. Although my other form page is for
joining up, which sends variables to another page and then in turn sends
the info to the database. The info that the user fills out gets passed
ok cept  I get two errors output to the page.

//filled out info and clicked send.

Notice: Undefined index: license in c:\inetpub\wwwroot\php\config.php on
line 51

Notice: Undefined property: num_rows in
c:\inetpub\wwwroot\php\adcjoin.php on line 67


//

This is my action on the submit page






The undefined property is in the
adcjoinpage.php

$db->query("SELECT Username FROM global WHERE
(Username='".$Username."')");

if ($db->num_rows>0){

array_push($error,"Choose another username, this
name is reserved\n");

$flag = 1;

}


///attatched to adcjoin.php

require("connect.php");


//
Config file called on by connect.php contains a license variable.
//

I Am not quite sure why it is outputting these two errors. I have not
changed anything from downloading it off the serverapart from
targeting the database on my local machine now. Is it possibly a session
error??

If anybody has any thoughts please pass them on.

Cheers Bruce

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] undefined index....property.

2002-12-16 Thread Bruce Levick

Sorry I did not mention.
My local machine is WinXP pro, running php 4.2 and mysql 3.23.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] selecting img file extension.

2002-12-16 Thread Bruce Levick

Sorry for the newbie question.
I am an artist and entering my pieces into a databasebasically all
that will be displaying will be

Title:
Medium:
Date Created:
and an image (.gif, .jpg, .swf)

I want to know what is the best way to call a specific image type.???
Should I give each image file extension a column |.gif | .jpg | .swf |
and set that all these columns to only display when asked??

So for an example case. I have a piece of artwork Called Cheetah.

Title: Cheetah
Medium: Water Color
Date Created: 1998
cheetah.jpg

How do I set up my table so when I add this piece to my databse I can
select .jpeg extension to true.so to speak, and leave gif and swf
false.

My image source might be (i know the coding will be wrong)  (cheetah.jpg).

Cheers 
  

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] repeat region

2002-12-18 Thread Bruce Levick
Hi php'ers,
I have learnt alot in the last week in regards to php and listing the
rows of a table set.

I need help with a small challenge. I can retrieve rows from a database
table and list the results in HTML  cell successfully. My challenge
is this.

I want to list the I.D (auto increment id number) of a data base table
in html to display 7 columns accross and then drop down to the next row
and another 7 columns accross.

So the result would list numbers .1-7 then drop down and list 8-14
underneath and so in until the end of the results.

Is this at all possible?? Difficult??

Is there a project or a tutorial with an example I can draw from.??

Cheers

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] mmmmm SELECT

2003-01-06 Thread Bruce Levick


I have this silly problem. This select query works fine.


$query_retrievetasks = "SELECT * FROM tasks, users WHERE tasks.UID =
users.User_id ORDER by tasks.ID";


But when I add a further filter (AND active="yes") it comes up
blank...currently all the active rows in the tasks table are equal to
"yes" so they should still display, but comes up with a blank. 


$query_retrievetasks = "SELECT * FROM tasks, users WHERE tasks.UID =
users.User_id AND active="yes" ORDER by tasks.ID";


Can't understand this, is it just something simple I am missing??

Cheers

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] mmmmm SELECT

2003-01-06 Thread Bruce Levick
Yes that works.me newbie php skills falling down again...;0)


-Original Message-
From: Wee Keat (VisualDensity] [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 07, 2003 10:25 AM
To: Bruce Levick
Subject: Re: [PHP] m SELECT




>
>$query_retrievetasks = "SELECT * FROM tasks, users WHERE tasks.UID = 
>users.User_id AND active="yes" ORDER by tasks.ID"; 
>

>Can't understand this, is it just something simple I am missing??


Try using single quote instead of double quote... like this


$query_retrievetasks = "SELECT * FROM tasks, users WHERE tasks.UID =
users.User_id AND active='yes' ORDER by tasks.ID";

Not too sure myself... but it's just a wild guess...

Hope this helps!

Yours,
Wee Keat


"Good timber does not grow with ease; the stronger the wind, the
stronger the trees."




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] populate a list menu

2003-01-06 Thread Bruce Levick
Howdy,
I am looking to populate a list menu with the current date and then the
30days after that current date. Is there a small snippet of code that
achieves this??

Cheers

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] populate a list menu

2003-01-06 Thread Bruce Levick
That's sweet. Can you just satisfy my curiosity and explain the 86400??
I am thinking this might be minutes??

-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 07, 2003 4:12 PM
To: Bruce Levick; [EMAIL PROTECTED]
Subject: Re: [PHP] populate a list menu


I'm *positive* there is a better way, but this should work (untested):



 0) { $stamp = $stamp + 86400; }
$date = date('d-m-Y',$stamp);
echo "{$date}";
$i++;
}
?>




Cheers,

Justin


on 07/01/03 4:39 PM, Bruce Levick ([EMAIL PROTECTED]) wrote:

> Howdy,
> I am looking to populate a list menu with the current date and then 
> the 30days after that current date. Is there a small snippet of code 
> that achieves this??
> 
> Cheers
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> ---
> [This E-mail scanned for viruses]
> 
> 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] restrictions

2003-01-07 Thread Bruce Levick
I find that my the company that I work for is a little over protective.
My machine is quite restricted (as in firewall and accessability) when
it comes to ftp and telnet. Well basically my hands are tied in that
sense.
 
I am testing my database build on my local machine which runs fine and
all. I am curious though as to how these restrictions may affect my
attempts to send "mail()" I have tried various external SMTP srervers (i
am running off winxp pro) in my php.ini file and I get nothing. Just the
error code I have placed in (below).
 

 
Warning: Failed to connect to mailserver, verify your "SMTP" setting in
php.ini in c:\inetpub\wwwroot\_tasks\email.php on line 21
Mail could not be sent...
 
 
Would my local machines restrictions be stopping the mail function from
communicating with the SMTP server??
 
Cheers
 



RE: [PHP] restrictions

2003-01-07 Thread Bruce Levick
Well I can't be totally sure but I think all outgoing mail points to an
external SMTP server.

-Original Message-
From: Marco Tabini [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 08, 2003 9:11 AM
To: Bruce Levick
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] restrictions


Hello Bruce--

That depends on what restrictions are imposed on your box, of course.
Does your company use an SMTP-compatible mail server for your internal
mail? If so, you could use the server your mail client points to to
perform your tests.

Cheers,


Marco
-- 

php|architect - The Monthly Magazine for PHP Professionals
Come check us out on the web at http://www.phparch.com!
GET YOUR FREE COPY TODAY! Simply register & download!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] restrictions

2003-01-07 Thread Bruce Levick
I can't connect to anything via telnet whether its my works SMTP server
or another external server.

My works SMTP mail server was the first one I tried (this would be
logical). I have tried my own personal website mail server and that
fails too.

This is why I am thinking that its my computer restrictions. 

-Original Message-
From: Marco Tabini [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 08, 2003 9:16 AM
To: Bruce Levick
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] restrictions


Couple of suggestions:

1) Try connection to the SMTP server manually with Telnet, and see if
you discover more that way

2) Simply use the same SMTP server that is configured in your mail
client at work

Cheers,


Marco
-- 

php|architect - The Monthly Magazine for PHP Professionals
Come check us out on the web at http://www.phparch.com!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] restrictions

2003-01-07 Thread Bruce Levick
Thanks,
Tried this and I get.

"Cannot opeen connection to host on port 23"



-Original Message-
From: Timothy Hitchens (HiTCHO) [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 08, 2003 9:32 AM
To: Bruce Levick; 'Marco Tabini'
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] restrictions


In windowsxp do the following:

Start -> Run

Open: cmd

At the shell type:

telnet x.x.x.x 25< x.x.x.x being the smtp server

If you get a prompt then you have other issues such as relay etc etc



HiTCHO has Spoken! 
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED] 

> -Original Message-
> From: Bruce Levick [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 8 January 2003 9:25 AM
> To: Marco Tabini
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] restrictions
> 
> 
> Well I can't be totally sure but I think all outgoing mail
> points to an external SMTP server.
> 
> -Original Message-
> From: Marco Tabini [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 08, 2003 9:11 AM
> To: Bruce Levick
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] restrictions
> 
> 
> Hello Bruce--
> 
> That depends on what restrictions are imposed on your box, of
> course. Does your company use an SMTP-compatible mail server 
> for your internal mail? If so, you could use the server your 
> mail client points to to perform your tests.
> 
> Cheers,
> 
> 
> Marco
> --
> 
> php|architect - The Monthly Magazine for PHP Professionals
> Come check us out on the web at http://www.phparch.com!
> GET YOUR FREE COPY TODAY! Simply register & download!
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] restrictions

2003-01-07 Thread Bruce Levick
It definitely says port 23. And I can't connect to anything at all. I
even tried my own my local machine IP address and that doesn't work
either. Weird.

-Original Message-
From: Marco Tabini [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 08, 2003 9:29 AM
To: Bruce Levick
Cc: Timothy "Hitchens (HiTCHO); [EMAIL PROTECTED]
Subject: RE: [PHP] restrictions


It should say "port 25". If it's just a typo in your message, then it
could either be the restrictions or a general network problem--I know
this sounds stupid, but can you connect *at all* to anything else--ie. a
website?

Cheers,


Marco
-- 

php|architect - The Monthly Magazine for PHP Professionals
Come check us out on the web at http://www.phparch.com!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] restrictions

2003-01-07 Thread Bruce Levick
Connection failed on port 25 as well.


-Original Message-
From: Sean Malloy [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 08, 2003 9:41 AM
To: [EMAIL PROTECTED]; Bruce Levick
Subject: RE: [PHP] restrictions


SMTP = port 25


telnet  25

should do the trick

-Original Message-
From: Bruce Levick [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 8 January 2003 10:35 AM
To: Timothy Hitchens (HiTCHO)
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] restrictions


Thanks,
Tried this and I get.

"Cannot opeen connection to host on port 23"



-Original Message-
From: Timothy Hitchens (HiTCHO) [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 08, 2003 9:32 AM
To: Bruce Levick; 'Marco Tabini'
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] restrictions


In windowsxp do the following:

Start -> Run

Open: cmd

At the shell type:

telnet x.x.x.x 25< x.x.x.x being the smtp server

If you get a prompt then you have other issues such as relay etc etc



HiTCHO has Spoken! 
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED] 

> -Original Message-
> From: Bruce Levick [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 8 January 2003 9:25 AM
> To: Marco Tabini
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] restrictions
> 
> 
> Well I can't be totally sure but I think all outgoing mail points to 
> an external SMTP server.
> 
> -Original Message-
> From: Marco Tabini [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 08, 2003 9:11 AM
> To: Bruce Levick
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] restrictions
> 
> 
> Hello Bruce--
> 
> That depends on what restrictions are imposed on your box, of course. 
> Does your company use an SMTP-compatible mail server for your internal

> mail? If so, you could use the server your mail client points to to 
> perform your tests.
> 
> Cheers,
> 
> 
> Marco
> --
> 
> php|architect - The Monthly Magazine for PHP Professionals
> Come check us out on the web at http://www.phparch.com!
> GET YOUR FREE COPY TODAY! Simply register & download!
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] restrictions

2003-01-07 Thread Bruce Levick
Sorry, I tried this as well and it failed to connect on port 25.

-Original Message-
From: Timothy Hitchens (HiTCHO) [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 08, 2003 9:39 AM
To: Bruce Levick
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] restrictions


You need to follow my instructions and do "telnet x.x.x.x 25" notice the
25 after the IP ??


HiTCHO has Spoken! 
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED] 

> -Original Message-
> From: Bruce Levick [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 8 January 2003 9:35 AM
> To: Timothy Hitchens (HiTCHO)
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] restrictions
> 
> 
> Thanks,
> Tried this and I get.
> 
> "Cannot opeen connection to host on port 23"
> 
> 
> 
> -Original Message-
> From: Timothy Hitchens (HiTCHO) [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 08, 2003 9:32 AM
> To: Bruce Levick; 'Marco Tabini'
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] restrictions
> 
> 
> In windowsxp do the following:
> 
> Start -> Run
> 
> Open: cmd
> 
> At the shell type:
> 
> telnet x.x.x.x 25< x.x.x.x being the smtp server
> 
> If you get a prompt then you have other issues such as relay etc etc
> 
> 
> 
> HiTCHO has Spoken!
> Timothy Hitchens (HiTCHO)
> [EMAIL PROTECTED] 
> 
> > -Original Message-
> > From: Bruce Levick [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, 8 January 2003 9:25 AM
> > To: Marco Tabini
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [PHP] restrictions
> > 
> > 
> > Well I can't be totally sure but I think all outgoing mail
> points to
> > an external SMTP server.
> > 
> > -Original Message-
> > From: Marco Tabini [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 08, 2003 9:11 AM
> > To: Bruce Levick
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [PHP] restrictions
> > 
> > 
> > Hello Bruce--
> > 
> > That depends on what restrictions are imposed on your box,
> of course.
> > Does your company use an SMTP-compatible mail server for
> your internal
> > mail? If so, you could use the server your mail client points to to
> > perform your tests.
> > 
> > Cheers,
> > 
> > 
> > Marco
> > --
> > 
> > php|architect - The Monthly Magazine for PHP Professionals
> > Come check us out on the web at http://www.phparch.com!
> > GET YOUR FREE COPY TODAY! Simply register & download!
> > 
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> > 
> 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] restrictions

2003-01-07 Thread Bruce Levick
Yes I am and its very strange. I can't even ftp to my own website to
test it from there. 

-Original Message-
From: Timothy Hitchens (HiTCHO) [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 08, 2003 9:48 AM
To: Bruce Levick
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] restrictions


Are you surfing and emailing from this box right now?? (strange if you
are)

HiTCHO has Spoken! 
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED] 

> -Original Message-
> From: Bruce Levick [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 8 January 2003 9:47 AM
> To: Timothy Hitchens (HiTCHO)
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] restrictions
> 
> 
> Sorry, I tried this as well and it failed to connect on port 25.
> 
> -Original Message-
> From: Timothy Hitchens (HiTCHO) [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 08, 2003 9:39 AM
> To: Bruce Levick
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] restrictions
> 
> 
> You need to follow my instructions and do "telnet x.x.x.x 25"
> notice the 25 after the IP ??
> 
> 
> HiTCHO has Spoken!
> Timothy Hitchens (HiTCHO)
> [EMAIL PROTECTED] 
> 
> > -Original Message-
> > From: Bruce Levick [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, 8 January 2003 9:35 AM
> > To: Timothy Hitchens (HiTCHO)
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [PHP] restrictions
> > 
> > 
> > Thanks,
> > Tried this and I get.
> > 
> > "Cannot opeen connection to host on port 23"
> > 
> > 
> > 
> > -Original Message-
> > From: Timothy Hitchens (HiTCHO) [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 08, 2003 9:32 AM
> > To: Bruce Levick; 'Marco Tabini'
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [PHP] restrictions
> > 
> > 
> > In windowsxp do the following:
> > 
> > Start -> Run
> > 
> > Open: cmd
> > 
> > At the shell type:
> > 
> > telnet x.x.x.x 25< x.x.x.x being the smtp server
> > 
> > If you get a prompt then you have other issues such as relay etc etc
> > 
> > 
> > 
> > HiTCHO has Spoken!
> > Timothy Hitchens (HiTCHO)
> > [EMAIL PROTECTED]
> > 
> > > -Original Message-
> > > From: Bruce Levick [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, 8 January 2003 9:25 AM
> > > To: Marco Tabini
> > > Cc: [EMAIL PROTECTED]
> > > Subject: RE: [PHP] restrictions
> > > 
> > > 
> > > Well I can't be totally sure but I think all outgoing mail
> > points to
> > > an external SMTP server.
> > > 
> > > -Original Message-
> > > From: Marco Tabini [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, January 08, 2003 9:11 AM
> > > To: Bruce Levick
> > > Cc: [EMAIL PROTECTED]
> > > Subject: Re: [PHP] restrictions
> > > 
> > > 
> > > Hello Bruce--
> > > 
> > > That depends on what restrictions are imposed on your box,
> > of course.
> > > Does your company use an SMTP-compatible mail server for
> > your internal
> > > mail? If so, you could use the server your mail client
> points to to
> > > perform your tests.
> > > 
> > > Cheers,
> > > 
> > > 
> > > Marco
> > > --
> > > 
> > > php|architect - The Monthly Magazine for PHP Professionals
> > > Come check us out on the web at http://www.phparch.com! GET YOUR 
> > > FREE COPY TODAY! Simply register & download!
> > > 
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > 
> > 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] restrictions

2003-01-07 Thread Bruce Levick
It is using a microsoft exchange server.

-Original Message-
From: Larry Brown [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 08, 2003 9:53 AM
To: Bruce Levick
Subject: RE: [PHP] restrictions


In order to send mail on your mail client you must be able to connect to
port 25 on what is listed as your smtp server, otherwise you couldn't
send mail.  Is your system set up to use an IMAP server of some kind
like exchange or the like.  That may be what your system uses as a mail
transport.

Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388

-Original Message-
From: Bruce Levick [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 6:47 PM
To: Timothy Hitchens (HiTCHO)
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] restrictions

Sorry, I tried this as well and it failed to connect on port 25.

-Original Message-
From: Timothy Hitchens (HiTCHO) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 9:39 AM
To: Bruce Levick
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] restrictions


You need to follow my instructions and do "telnet x.x.x.x 25" notice the
25 after the IP ??


HiTCHO has Spoken!
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]

> -Original Message-----
> From: Bruce Levick [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 8 January 2003 9:35 AM
> To: Timothy Hitchens (HiTCHO)
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] restrictions
>
>
> Thanks,
> Tried this and I get.
>
> "Cannot opeen connection to host on port 23"
>
>
>
> -Original Message-
> From: Timothy Hitchens (HiTCHO) [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 08, 2003 9:32 AM
> To: Bruce Levick; 'Marco Tabini'
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] restrictions
>
>
> In windowsxp do the following:
>
> Start -> Run
>
> Open: cmd
>
> At the shell type:
>
> telnet x.x.x.x 25< x.x.x.x being the smtp server
>
> If you get a prompt then you have other issues such as relay etc etc
>
>
>
> HiTCHO has Spoken!
> Timothy Hitchens (HiTCHO)
> [EMAIL PROTECTED]
>
> > -Original Message-
> > From: Bruce Levick [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, 8 January 2003 9:25 AM
> > To: Marco Tabini
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [PHP] restrictions
> >
> >
> > Well I can't be totally sure but I think all outgoing mail
> points to
> > an external SMTP server.
> >
> > -Original Message-
> > From: Marco Tabini [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 08, 2003 9:11 AM
> > To: Bruce Levick
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [PHP] restrictions
> >
> >
> > Hello Bruce--
> >
> > That depends on what restrictions are imposed on your box,
> of course.
> > Does your company use an SMTP-compatible mail server for
> your internal
> > mail? If so, you could use the server your mail client points to to 
> > perform your tests.
> >
> > Cheers,
> >
> >
> > Marco
> > --
> > 
> > php|architect - The Monthly Magazine for PHP Professionals
> > Come check us out on the web at http://www.phparch.com!
> > GET YOUR FREE COPY TODAY! Simply register & download!
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] mail () format

2003-01-27 Thread Bruce Levick
I have a number of field entries that I am trying to send through to the
body of an email.

How can I format the mail() command to send these multiple fields. 

EG $name, $address, $comments. All to go into the body of an email.

Cheers
  

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] List-Unsubscribe

2003-02-05 Thread Bruce Levick
``List-Unsubscribe''