Re: [nyphp-talk] Send HTML mail with Javascript function

2007-04-26 Thread Billy Reisinger
I think you meant that HTTP is for port 80. HTML is a markup language, not a protocol. Anyway, you can use HTTP on any port. Port 80 is what is webservers conventionally listen to. HTML in email is difficult mostly because there are so many email clients with different ideas of how to im

Re: [nyphp-talk] Send HTML mail with Javascript function

2007-04-26 Thread David Krings
Mark Armendariz wrote: Aniesh joseph wrote: Hello All, I am trying to send one mail with HTML content. To do this, I have added HML header to mail function. I really wonder why? HTML is for port 80, not 21. HTML in emails is IMHO the biggest waste ever. I'm not sure I can agree, David.

Re: [nyphp-talk] Checking active sessions

2007-04-26 Thread David Krings
Rob Marscher wrote: Is there any way I can check which sessions are currently active and which aren't? I like to add some housekeeping code, but taking away things from active sessions would be just mean. Check out the documentation for session_set_save_handler -- http://us.php.net/manual/en/

Re: [nyphp-talk] wonderful presentation on Tuesday

2007-04-26 Thread Susan Shemin
That makes sense with database data, but how about "hijacking" the submit button by putting their script on the button/image that sends the login info to a different domain site? I'm not really looking for a specific how it's done (of course), but more for how ever is it possible if the webpage

Re: [nyphp-talk] wonderful presentation on Tuesday

2007-04-26 Thread csnyder
On 4/26/07, Rob Marscher <[EMAIL PROTECTED]> wrote: How ever can someone inject their code/script onto my webpage? The code is on my server so they don't have access to it. Am I missing something here? If you allow the user to submit anything that is then displayed our your site, they can inj

Re: [nyphp-talk] wonderful presentation on Tuesday

2007-04-26 Thread Rob Marscher
How ever can someone inject their code/script onto my webpage? The code is on my server so they don't have access to it. Am I missing something here? If you allow the user to submit anything that is then displayed our your site, they can inject javascript code unless you do a very good

[nyphp-talk] wonderful presentation on Tuesday

2007-04-26 Thread Susan Shemin
Chris did an excellent job with the introduction on how to make PHP code more secure. Love that he used an Ajax example. I do have a question since I wasn't able to go to the question time at TGIFriday's. How ever can someone inject their code/script onto my webpage? The code is on my server

RE: [nyphp-talk] Send HTML mail with Javascript function

2007-04-26 Thread Mark Armendariz
> Aniesh joseph wrote: > > > > Hello All, > > > > I am trying to send one mail with HTML content. To do this, I have > > added HML header to mail function. > > > > I really wonder why? HTML is for port 80, not 21. HTML in > emails is IMHO the biggest waste ever. I'm not sure I can agree,

Re: [nyphp-talk] Checking active sessions

2007-04-26 Thread Rob Marscher
Is there any way I can check which sessions are currently active and which aren't? I like to add some housekeeping code, but taking away things from active sessions would be just mean. Check out the documentation for session_set_save_handler -- http:// us.php.net/manual/en/function.session-s

Re: [nyphp-talk] Send HTML mail with Javascript function

2007-04-26 Thread David Krings
Aniesh joseph wrote: Hello All, I am trying to send one mail with HTML content. To do this, I have added HML header to mail function. I really wonder why? HTML is for port 80, not 21. HTML in emails is IMHO the biggest waste ever. Nobody likes it, but almost everybody sends it. If it is a

[nyphp-talk] Send HTML mail with Javascript function

2007-04-26 Thread Aniesh joseph
Hello All, I am trying to send one mail with HTML content. To do this, I have added HML header to mail function. Inside the content, I added a Javascript function that calls a Ajax Page( to send one mail to my mail address). I called this Javascript function on the onload of body of html like