Re: [PHP] A dumb question regarding sending email

2008-08-12 Thread Chris

tedd wrote:

Hi gang:

I wish I had another identify for asking dumb questions, but it's late 
and I'm tried -- so here goes.


I have a herdoc that I send out as an email -- no problems there.

However, how do I include a link within it?

If I use http://example.com, it's just a string but not an actual link.


Your mail client determines that.

You sent that email as text-only and thunderbird turned it into a link 
for me.


If you're trying to send an  link, you need to send it as a 
full html email (which means setting proper email headers etc).. for 
that I'd suggest using one of the libraries to do it all for you 
(phpmailer, swiftmail or whatever it is, zend_mailer)...


--
Postgresql & php tutorials
http://www.designmagick.com/


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



[PHP] A dumb question regarding sending email

2008-08-12 Thread tedd

Hi gang:

I wish I had another identify for asking dumb questions, but it's 
late and I'm tried -- so here goes.


I have a herdoc that I send out as an email -- no problems there.

However, how do I include a link within it?

If I use http://example.com, it's just a string but not an actual link.

So, how do you format a link in a heredoc?

Thanks,

tedd
--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

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



Re: [PHP] A dumb question - Regarding a php cms

2005-09-17 Thread Dragan Stanojevic - Nevidljivi

Troy Pieterman wrote:

Im trying to run Syntax desktop which is a php cms (on my own server
win2003). 


In the installation readme it tells me to edit a cfg.php file, i have done
this but the cms still does not load, i have a feeling its becuase it dosnt
know where to load its files from, here is the code that tells it, its path
and relative path.


///
// AUTO CALCULATED VARIABLE



How do i write in there its "phisical path and relative path" are
c:\www\syntax desktop\


As I can see those are auto calculated and should not be touched... Your 
problem probably lies somewhere else.


Did you get any error? What do server logs say? Do you get any output?

bye,
N::


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [PHP] A dumb question - Regarding a php cms

2005-09-17 Thread Jose Miguel
Regarding paths, in a Windows enviroment, you should use double slash, like:

c:\\www\\syntax desktop\\

Cheers.

On 18 Sep 2005 09:13:56 +1000, Troy Pieterman <[EMAIL PROTECTED]> 
wrote:
> 
> Im trying to run Syntax desktop which is a php cms (on my own server
> win2003).
> 
> In the installation readme it tells me to edit a cfg.php file, i have done
> this but the cms still does not load, i have a feeling its becuase it 
> dosnt
> know where to load its files from, here is the code that tells it, its 
> path
> and relative path.
> 
> 
> 
> ///
> // AUTO CALCULATED VARIABLE
> 
> 
> //
> 
> //phisical path. I.e. /var/www/html/site1/
> $synRealBasePath=substr(dirname(__FILE__),0,strlen(dirname(__FILE__))-6);
> 
> //relative path. I.e. /site1/
> $synBasePath="/".basename($synRealBasePath)."/";
> 
> 
> //
> 
> How do i write in there its "phisical path and relative path" are
> c:\www\syntax desktop\
> 
> thanks for your help
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
Jose Arce
http://sinexion.com - http://josearce.com


[PHP] A dumb question - Regarding a php cms

2005-09-17 Thread Troy Pieterman
Im trying to run Syntax desktop which is a php cms (on my own server
win2003). 

In the installation readme it tells me to edit a cfg.php file, i have done
this but the cms still does not load, i have a feeling its becuase it dosnt
know where to load its files from, here is the code that tells it, its path
and relative path.


///
// AUTO CALCULATED VARIABLE

//

//phisical path. I.e. /var/www/html/site1/
$synRealBasePath=substr(dirname(__FILE__),0,strlen(dirname(__FILE__))-6);

//relative path. I.e. /site1/
$synBasePath="/".basename($synRealBasePath)."/";

//

How do i write in there its "phisical path and relative path" are
c:\www\syntax desktop\

thanks for your help

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



Re: [PHP] A dumb question

2004-02-12 Thread Jeremy Schroeder
Sorry for the mistake.

I check the email I sent and I only sent it to the group,  I changed the 
subject an removed all the of the message.

Blake

David T-G wrote:

Jeremy --

You have started a new thread by taking an existing message and replying
to it while merely changing the Subject: line.
That is bad, because it breaks threading.  Whenever you reply to a
message, your mail client generates a "References:" header that tells all
recipients to which posting(s) your posting refers.  A mail client uses
this information to build a "thread tree" of the postings so that it is
easy to see just how they relate to each other.
With your posting style you successfully torpedoed this useful feature;
your posting shows up within an existing thread even though it is
completely unrelated.
Always do a fresh post when you want to start a new thread.  That means
that you do not select any sort of "Reply" when you start your message.
You can save the list address in your address book (or equivalent) for
convenience.
...and then Jeremy Schroeder said...
% 
% Hey Group

Hi!

% 
% I am starting to write class and objects and came across some syntax 
% that I dont understand.
% 
% What does the ampersand do in the bottom example code, they both work.
% 
% $n1 = $num1 -> function();
% $n1 = & $num1 -> function();

1) Search the manual.

2) Assigning by reference, as compared to the default assigning by value,
means that the variable on the left of the '=' now points to the very
same little chunk of memory as the variable on the right.  This is
different from the usual assignment in that when you change the left var
you change the value for the right var, too.
 $a = 1 ;
 $b = $a ;
 $c = &$a ;
 $b++ ; $c-- ;
 print "a = $a ; b = $b ; c = $c ;\n" ;
 // a = 0 ; b = 2 ; c = 0
3) You can't, as far as I know, assign-by-reference a function, so your
code should generate a parse error.
% 
% -Blake

HTH & HAND

:-D
 

--

+-+-++
| Blake Schroeder | Owner/Developer |lhwd.net|
+--(http://www.lhwd.net)+--/3174026352\--+
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] A dumb question

2004-02-12 Thread John Nichel
Alex Hogan wrote:
HAND?

I haven't seen that one...
"Have A Nice Day"

--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] A dumb question

2004-02-12 Thread Alex Hogan
HAND?

I haven't seen that one...

> -Original Message-
> From: David T-G [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 12, 2004 11:34 AM
> To: PHP General list
> Cc: Jeremy Schroeder
> Subject: Re: [PHP] A dumb question
> 
> Jeremy --
> 
> You have started a new thread by taking an existing message and replying
> to it while merely changing the Subject: line.
> 
> That is bad, because it breaks threading.  Whenever you reply to a
> message, your mail client generates a "References:" header that tells all
> recipients to which posting(s) your posting refers.  A mail client uses
> this information to build a "thread tree" of the postings so that it is
> easy to see just how they relate to each other.
> 
> With your posting style you successfully torpedoed this useful feature;
> your posting shows up within an existing thread even though it is
> completely unrelated.
> 
> Always do a fresh post when you want to start a new thread.  That means
> that you do not select any sort of "Reply" when you start your message.
> You can save the list address in your address book (or equivalent) for
> convenience.
> 
> ...and then Jeremy Schroeder said...
> %
> % Hey Group
> 
> Hi!
> 
> 
> %
> % I am starting to write class and objects and came across some syntax
> % that I dont understand.
> %
> % What does the ampersand do in the bottom example code, they both work.
> %
> % $n1 = $num1 -> function();
> % $n1 = & $num1 -> function();
> 
> 1) Search the manual.
> 
> 2) Assigning by reference, as compared to the default assigning by value,
> means that the variable on the left of the '=' now points to the very
> same little chunk of memory as the variable on the right.  This is
> different from the usual assignment in that when you change the left var
> you change the value for the right var, too.
> 
>   $a = 1 ;
>   $b = $a ;
>   $c = &$a ;
>   $b++ ; $c-- ;
>   print "a = $a ; b = $b ; c = $c ;\n" ;
>   // a = 0 ; b = 2 ; c = 0
> 
> 3) You can't, as far as I know, assign-by-reference a function, so your
> code should generate a parse error.
> 
> 
> %
> % -Blake
> 
> 
> HTH & HAND
> 
> :-D
> --
> David T-G  * There is too much animal courage in
> (play) [EMAIL PROTECTED] * society and not sufficient moral courage.
> (work) [EMAIL PROTECTED]  -- Mary Baker Eddy, "Science and
> Health"
> http://justpickone.org/davidtg/  Shpx gur Pbzzhavpngvbaf Qrprapl Npg!



** 
The contents of this e-mail and any files transmitted with it are 
confidential and intended solely for the use of the individual or 
entity to whom it is addressed.  The views stated herein do not 
necessarily represent the view of the company.  If you are not the 
intended recipient of this e-mail you may not copy, forward, 
disclose, or otherwise use it or any part of it in any form 
whatsoever.  If you have received this e-mail in error please 
e-mail the sender. 
** 




Re: [PHP] A dumb question

2004-02-12 Thread David T-G
Jeremy --

You have started a new thread by taking an existing message and replying
to it while merely changing the Subject: line.

That is bad, because it breaks threading.  Whenever you reply to a
message, your mail client generates a "References:" header that tells all
recipients to which posting(s) your posting refers.  A mail client uses
this information to build a "thread tree" of the postings so that it is
easy to see just how they relate to each other.

With your posting style you successfully torpedoed this useful feature;
your posting shows up within an existing thread even though it is
completely unrelated.

Always do a fresh post when you want to start a new thread.  That means
that you do not select any sort of "Reply" when you start your message.
You can save the list address in your address book (or equivalent) for
convenience.

...and then Jeremy Schroeder said...
% 
% Hey Group

Hi!


% 
% I am starting to write class and objects and came across some syntax 
% that I dont understand.
% 
% What does the ampersand do in the bottom example code, they both work.
% 
% $n1 = $num1 -> function();
% $n1 = & $num1 -> function();

1) Search the manual.

2) Assigning by reference, as compared to the default assigning by value,
means that the variable on the left of the '=' now points to the very
same little chunk of memory as the variable on the right.  This is
different from the usual assignment in that when you change the left var
you change the value for the right var, too.

  $a = 1 ;
  $b = $a ;
  $c = &$a ;
  $b++ ; $c-- ;
  print "a = $a ; b = $b ; c = $c ;\n" ;
  // a = 0 ; b = 2 ; c = 0

3) You can't, as far as I know, assign-by-reference a function, so your
code should generate a parse error.


% 
% -Blake


HTH & HAND

:-D
-- 
David T-G  * There is too much animal courage in 
(play) [EMAIL PROTECTED] * society and not sufficient moral courage.
(work) [EMAIL PROTECTED]  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/  Shpx gur Pbzzhavpngvbaf Qrprapl Npg!



pgp0.pgp
Description: PGP signature


Re: [PHP] A dumb question

2004-02-11 Thread Paul Furman
Chris W. Parker wrote:
Chris W. Parker <>
on Wednesday, February 11, 2004 11:45 AM said:

I think in this is what's called a reference. 


Sounds like that's simply a way of making an alias for a variable:
http://us2.php.net/manual/en/language.references.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] A dumb question

2004-02-11 Thread Chris W. Parker
Chris W. Parker <>
on Wednesday, February 11, 2004 11:45 AM said:

> I think in this it's what's called a reference. Don't know much else.
> :) 

Ok that should be "I think this is what's called"... had to correct
that.

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



RE: [PHP] A dumb question

2004-02-11 Thread Chris W. Parker
Jeremy Schroeder 
on Wednesday, February 11, 2004 11:39 AM said:

> What does the ampersand do in the bottom example code, they both work.
> 
> $n1 = $num1 -> function();
> $n1 = & $num1 -> function();

I think in this it's what's called a reference. Don't know much else. :)



Chris.

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



[PHP] A dumb question

2004-02-11 Thread Jeremy Schroeder
Hey Group

I am starting to write class and objects and came across some syntax 
that I dont understand.

What does the ampersand do in the bottom example code, they both work.

$n1 = $num1 -> function();
$n1 = & $num1 -> function();
-Blake

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