RE: [PHP] html formatting in mysql post

2011-05-07 Thread Ross Hansen
w['colname']); Thanks again for your assistance. > From: a...@ashleysheridan.co.uk > To: hansen.r...@live.com.au > CC: php-general@lists.php.net > Date: Sat, 7 May 2011 10:32:11 +0100 > Subject: RE: [PHP] html formatting in mysql post &g

RE: [PHP] html formatting in mysql post

2011-05-07 Thread Ashley Sheridan
> echo nl2br($row).PHP_EOL; > } > ?> > > your help is appreciated. > > > > From: danbr...@php.net > > Date: Fri, 6 May 2011 23:04:44 -0400 > > To: hansen.r...@live.com.au > > CC: php-general@lists.php.net >

RE: [PHP] html formatting in mysql post

2011-05-07 Thread Ross Hansen
ction?   your help is appreciated. > From: danbr...@php.net > Date: Fri, 6 May 2011 23:04:44 -0400 > To: hansen.r...@live.com.au > CC: php-general@lists.php.net > Subject: Re: [PHP] html formatting in mysql post > > On Fri, May 6, 2011 at

Re: [PHP] html formatting in mysql post

2011-05-06 Thread Daniel Brown
On Fri, May 6, 2011 at 22:52, Ross Hansen wrote: > > Hey Guys, > > I am using a form to post information to a MySQL table which is then > echo(ing) back out to a web page. it will sort of be like facebook where you > can post messages and stuff on peoples walls. The only issue is at the moment

[PHP] html formatting in mysql post

2011-05-06 Thread Ross Hansen
Hey Guys, I am using a form to post information to a MySQL table which is then echo(ing) back out to a web page. it will sort of be like facebook where you can post messages and stuff on peoples walls. The only issue is at the moment i can get the formatting to stay. When i echo the table out

Re: [PHP] HTML errors

2011-01-13 Thread Pete Ford
On 12/01/11 14:13, Richard Quadling wrote: On 12 January 2011 14:07, Steve Staples wrote: On Wed, 2011-01-12 at 13:40 +, Richard Quadling wrote: On 12 January 2011 13:20, Steve Staples wrote: Jim, Not to be a smart ass like Danial was (which was brilliantly written though), but you hav

Re: [PHP] HTML errors

2011-01-12 Thread Admin
If you are going to use double quotes escape out. >> echo "".$replace.""; On Jan 12, 2011, at 2:30 PM, tedd wrote: > At 10:35 PM -0500 1/11/11, David McGlone wrote: >> Hi Everyone, I'm having a problem validating some links I have in a foreach. >> Here is my code: >> > "http://www.w3.org/TR/ht

Re: [PHP] HTML errors

2011-01-12 Thread tedd
At 10:35 PM -0500 1/11/11, David McGlone wrote: Hi Everyone, I'm having a problem validating some links I have in a foreach. Here is my code: http://www.w3.org/TR/html4/loose.dtd";> my PHP code: $categorys = array('home', 'services', 'gallery', 'about_us', 'contact_us', 'testimonials'); foreach

Re: [PHP] HTML errors

2011-01-12 Thread Daniel Brown
On Wed, Jan 12, 2011 at 12:08, David Harkness wrote: > > I tried this with PHP 5.3.2 on Ubuntu 10.04, but when I run any PHP script I > get the following. > >    Fatal error in php.ini line 184: Saying a thing doesn't make it so. > > What does this mean? Looks like you may have installed the

Re: [PHP] HTML errors

2011-01-12 Thread David Harkness
On Wed, Jan 12, 2011 at 6:04 AM, David McGlone wrote: > Prounouncing words for a deaf person is often times difficult. > That makes perfect sense. Think about it, > spelling isn't about remembering how to spell the word, but how to > prounounce > it. Not so fast! While this argument can be ma

Re: [PHP] HTML errors

2011-01-12 Thread Richard Quadling
On 12 January 2011 14:07, Steve Staples wrote: > On Wed, 2011-01-12 at 13:40 +, Richard Quadling wrote: >> On 12 January 2011 13:20, Steve Staples wrote: >> > Jim, >> > >> > Not to be a smart ass like Danial was (which was brilliantly written >> > though),  but you have your "example" formatt

Re: [PHP] HTML errors

2011-01-12 Thread Steve Staples
On Wed, 2011-01-12 at 13:40 +, Richard Quadling wrote: > On 12 January 2011 13:20, Steve Staples wrote: > > Jim, > > > > Not to be a smart ass like Danial was (which was brilliantly written > > though), but you have your "example" formatted incorrectly. You are > > using commas instead of pe

Re: [PHP] HTML errors

2011-01-12 Thread David McGlone
On Wednesday, January 12, 2011 08:43:35 am Daniel Brown wrote: > On Wed, Jan 12, 2011 at 06:38, David McGlone wrote: > > Goes to show ya, even Deaf people aren't perfect spellers. Still like > > your little joke? ;-) > > Of course I do. Deafness has nothing to do with spelling. If it > did,

Re: [PHP] HTML errors

2011-01-12 Thread Richard Quadling
On 12 January 2011 13:43, Daniel Brown wrote: > On Wed, Jan 12, 2011 at 06:38, David McGlone wrote: >> >> Goes to show ya, even Deaf people aren't perfect spellers. Still like your >> little joke? ;-) > >    Of course I do.  Deafness has nothing to do with spelling.  If it > did, just imagine how

Re: [PHP] HTML errors

2011-01-12 Thread Daniel Brown
On Wed, Jan 12, 2011 at 06:38, David McGlone wrote: > > Goes to show ya, even Deaf people aren't perfect spellers. Still like your > little joke? ;-) Of course I do. Deafness has nothing to do with spelling. If it did, just imagine how ridiculously difficult it would've been to decipher any

Re: [PHP] HTML errors

2011-01-12 Thread Richard Quadling
On 12 January 2011 13:20, Steve Staples wrote: > Jim, > > Not to be a smart ass like Danial was (which was brilliantly written > though),  but you have your "example" formatted incorrectly.  You are > using commas instead of periods for concatenation, and it would have > thrown an error trying to

Re: [PHP] HTML errors

2011-01-12 Thread Steve Staples
On Tue, 2011-01-11 at 23:38 -0800, Jim Lucas wrote: > On 1/11/2011 7:35 PM, David McGlone wrote: > > Hi Everyone, I'm having a problem validating some links I have in a foreach. > > Here is my code: > >> "http://www.w3.org/TR/html4/loose.dtd";> > > > > my PHP code: > > $categorys = array('home'

Re: [PHP] HTML errors

2011-01-12 Thread David McGlone
On Tuesday, January 11, 2011 11:48:33 pm Daniel Brown wrote: > On Tue, Jan 11, 2011 at 22:35, David McGlone wrote: > > Hi Everyone, I'm having a problem validating some links I have in a > > foreach. Here is my code: > > > "http://www.w3.org/TR/html4/loose.dtd";> > > > > my PHP code: > > $categ

Re: [PHP] HTML errors

2011-01-11 Thread Jim Lucas
On 1/11/2011 7:35 PM, David McGlone wrote: Hi Everyone, I'm having a problem validating some links I have in a foreach. Here is my code: http://www.w3.org/TR/html4/loose.dtd";> my PHP code: $categorys = array('home', 'services', 'gallery', 'about_us', 'contact_us', 'testimonials'); foreach($ca

Re: [PHP] HTML errors

2011-01-11 Thread Daniel Brown
On Tue, Jan 11, 2011 at 22:35, David McGlone wrote: > Hi Everyone, I'm having a problem validating some links I have in a foreach. > Here is my code: >   "http://www.w3.org/TR/html4/loose.dtd";> > > my PHP code: > $categorys = array('home', 'services', 'gallery', 'about_us', 'contact_us', > 'testi

Re: [PHP] HTML errors

2011-01-11 Thread Chen Dong
Hi David: Quote your attribute value in "..." On Wed, Jan 12, 2011 at 2:35 PM, David McGlone wrote: > Hi Everyone, I'm having a problem validating some links I have in a > foreach. > Here is my code: > "http://www.w3.org/TR/html4/loose.dtd";> > > my PHP code: > $categorys = array('home', 'ser

[PHP] HTML errors

2011-01-11 Thread David McGlone
Hi Everyone, I'm having a problem validating some links I have in a foreach. Here is my code: http://www.w3.org/TR/html4/loose.dtd";> my PHP code: $categorys = array('home', 'services', 'gallery', 'about_us', 'contact_us', 'testimonials'); foreach($categorys as $category){ $replace = str_replace

Re: [PHP] HTML id attribute and arrays

2010-12-19 Thread Martin C
The "name" and "id" attributes do not have to be the same. Thank you, I thought it should be the same You're probably thinking of: http://www.w3.org/TR/html401/struct/links.html#h-12.2.3 "The id and name attributes share the same name space. This means that they cannot both define an anchor w

Re: [PHP] HTML id attribute and arrays

2010-12-19 Thread Benjamin Hawkes-Lewis
On Sun, Dec 19, 2010 at 4:57 PM, Martin C wrote: >> The "name" and "id" attributes do not have to be the same. > > Thank you, I thought it should be the same (for same reason, maybe > compatibility between XHTML and HTML). But could not find anything on the > net which states this. So my memories

Re: [PHP] HTML id attribute and arrays

2010-12-19 Thread Martin C
How should I follow the HTML specification while having the passed parameters automatically converted to arrays in PHP? The "name" attribute, not the "id" attribute, is used as the key when submitting form values. The "name" and "id" attributes do not have to be the same. Thank you, I thought

Re: [PHP] HTML id attribute and arrays

2010-12-19 Thread Martin C
How should I follow the HTML specification while having the passed parameters automatically converted to arrays in PHP? The "name" attribute, not the "id" attribute, is used as the key when submitting form values. The "name" and "id" attributes do not have to be the same. Thank you, I thought

Re: [PHP] HTML id attribute and arrays

2010-12-18 Thread Jim Lucas
What are you trying to accomplish? What do you think it wrong with the code below? On 12/17/2010 8:19 AM, Martin C wrote: Hi, PHP converts x[a]=b parameter of the HTTP request as an array named x with its item named a set to value b. So, it seems possible to have the following (X)HTML code: U

Re: [PHP] HTML id attribute and arrays

2010-12-17 Thread Benjamin Hawkes-Lewis
Martin C wrote: > How should I follow the HTML specification while having the passed > parameters automatically converted to arrays in PHP? The "name" attribute, not the "id" attribute, is used as the key when submitting form values. The "name" and "id" attributes do not have to be the same. --

[PHP] HTML id attribute and arrays

2010-12-17 Thread Martin C
Hi, PHP converts x[a]=b parameter of the HTTP request as an array named x with its item named a set to value b. So, it seems possible to have the following (X)HTML code: Unfortunatelly, HTML specification does not allow neither "[" nor "]" inside the id attribute. Specifically: * Must begin

Re: [PHP] HTML in emails

2010-07-07 Thread tedd
At 10:09 PM -0400 7/6/10, Paul M Foster wrote: On Tue, Jul 06, 2010 at 06:32:40PM +0200, Per Jessen wrote: In principle, I agree - in practice, CPU cycles are getting cheaper by the minute, and being wasted all the time. Not using HTML is highly unlikely to have a measurable impact on anybod

Re: [PHP] HTML in emails

2010-07-06 Thread Paul M Foster
On Tue, Jul 06, 2010 at 06:32:40PM +0200, Per Jessen wrote: > Paul M Foster wrote: > > > Here is the real problem with HTML email. Any straight text message > > will swell to many times its size when you HTML-ize it. Okay, so now > > you're sending the message around the internet to perhaps hundr

Re: [PHP] HTML in emails

2010-07-06 Thread upscope
On Tuesday, July 06, 2010 07:03:58 am Andre Majorel wrote: > On 2010-07-04 11:43 -0400, Al wrote: > > Seems like, from my preliminary Google searching, I should not > > waste time with the standard's way and just go straight to sending > > simple html pages since all modern browsers handle it well.

Re: [PHP] HTML in emails

2010-07-06 Thread Per Jessen
Paul M Foster wrote: > Here is the real problem with HTML email. Any straight text message > will swell to many times its size when you HTML-ize it. Okay, so now > you're sending the message around the internet to perhaps hundreds or > thousands of users, using up many times the bandwidth that the

Re: [PHP] HTML in emails

2010-07-06 Thread Andre Majorel
On 2010-07-04 11:43 -0400, Al wrote: > Seems like, from my preliminary Google searching, I should not waste > time with the standard's way and just go straight to sending simple > html pages since all modern browsers handle it well. And, it appears > to be the way web is going. "Browsers" ? "The

Re: [PHP] HTML in emails

2010-07-05 Thread tedd
At 11:44 PM +0100 7/4/10, Ashley Sheridan wrote: On Sun, 2010-07-04 at 17:06 -0400, Paul M Foster wrote: > On Sun, Jul 04, 2010 at 11:43:59AM -0400, Al wrote: -snip- > > Seems like, from my preliminary Google searching, I should not waste > time with > the standard's way and just go straight

Re: [PHP] HTML in emails

2010-07-05 Thread Richard Quadling
On 4 July 2010 16:43, Al wrote: > What are you folks doing? > > Al.. One of the tasks I had to develop was the sending of authorised work in a "by job" report. We receive the work as a fax/email. We log the job in our system. The client comes to our site and confirms the on-cost billing

Re: [PHP] HTML in emails

2010-07-05 Thread Ashley Sheridan
On Sun, 2010-07-04 at 23:12 -0400, Paul M Foster wrote: > On Sun, Jul 04, 2010 at 11:44:29PM +0100, Ashley Sheridan wrote: > > > > > > > >It is nice to be able to format emails nicely, but you have to realise > >when to restrain yourself. I've been getting loads of emails from Adobe >

Re: [PHP] HTML in emails

2010-07-04 Thread Paul M Foster
On Sun, Jul 04, 2010 at 11:44:29PM +0100, Ashley Sheridan wrote: > >It is nice to be able to format emails nicely, but you have to realise >when to restrain yourself. I've been getting loads of emails from Adobe >lately that haven't been formatted well at all, and appear awfully in

Re: [PHP] HTML in emails

2010-07-04 Thread Ashley Sheridan
On Sun, 2010-07-04 at 17:06 -0400, Paul M Foster wrote: > On Sun, Jul 04, 2010 at 11:43:59AM -0400, Al wrote: > > > I know this is a bit off-topic; but close enough. > > > > I'm starting to update the email feature of one of my DB applications and > > noticed that it appears most of the fancy ema

Re: [PHP] HTML in emails

2010-07-04 Thread Paul M Foster
On Sun, Jul 04, 2010 at 11:43:59AM -0400, Al wrote: > I know this is a bit off-topic; but close enough. > > I'm starting to update the email feature of one of my DB applications and > noticed that it appears most of the fancy emails I receive are using > just plain > old, simple html pages, with a

Re: [PHP] HTML in emails

2010-07-04 Thread Per Jessen
Rick Pasotto wrote: > On Sun, Jul 04, 2010 at 06:31:38PM +0200, Per Jessen wrote: >> >> We follow the standard and send both text and html. > > The text portion is the *only* portion I read. > Cool, that is the whole point. -- Per Jessen, Zürich (24.3°C) -- PHP General Mailing List (http

Re: [PHP] HTML in emails

2010-07-04 Thread Rick Pasotto
On Sun, Jul 04, 2010 at 06:31:38PM +0200, Per Jessen wrote: > Al wrote: > > > I know this is a bit off-topic; but close enough. > > > > I'm starting to update the email feature of one of my DB applications > > and noticed that it appears most of the fancy emails I receive are > > using just plain

Re: [PHP] HTML in emails

2010-07-04 Thread Per Jessen
Al wrote: > I know this is a bit off-topic; but close enough. > > I'm starting to update the email feature of one of my DB applications > and noticed that it appears most of the fancy emails I receive are > using just plain old, simple html pages, with a note about not being > able to see, go her

[PHP] HTML in emails

2010-07-04 Thread Al
I know this is a bit off-topic; but close enough. I'm starting to update the email feature of one of my DB applications and noticed that it appears most of the fancy emails I receive are using just plain old, simple html pages, with a note about not being able to see, go here with a link. It

[PHP] html analyzer

2010-05-18 Thread Rene Veerman
Hi. I'm trying to build a html analyzer that looks at natural words in html text. I'd like to build a routine that walks through the HTML character by character, but i'm not sure on how to properly walk through escaped " and ' characters in javascript or other embedded languages. Skipping the fir

Re: [PHP] HTML & plain text in Outlook 2007

2010-02-14 Thread Skip Evans
Ashley Sheridan wrote: That last reason could be why your email is failing! HTML email is the one place where it is actually better to code "the old way" with tables for markup, tags, and very little (if any) CSS. If you do use any CSS, it's best left inline as well, as some email clients stri

Re: [PHP] HTML & plain text in Outlook 2007

2010-02-12 Thread Robert Cummings
Michael A. Peters wrote: Ashley Sheridan wrote: That last reason could be why your email is failing! HTML email is the one place where it is actually better to code "the old way" with tables for markup, tags, and very little (if any) CSS. If you do use any CSS, it's best left inline as well,

Re: [PHP] HTML & plain text in Outlook 2007

2010-02-12 Thread Michael A. Peters
Ashley Sheridan wrote: That last reason could be why your email is failing! HTML email is the one place where it is actually better to code "the old way" with tables for markup, tags, and very little (if any) CSS. If you do use any CSS, it's best left inline as well, as some email clients str

Re: [PHP] HTML & plain text in Outlook 2007

2010-02-12 Thread Ashley Sheridan
On Fri, 2010-02-12 at 19:03 -0600, Skip Evans wrote: > Hey Guys, > > Thanks for all the info on this. Sorry for the late reply, but > I got sidetracked writing the module that will send out all > these nasty emails. > > I do have the text going on top, and I think I said, looks > perfect in E

Re: [PHP] HTML & plain text in Outlook 2007

2010-02-12 Thread Skip Evans
Hey Guys, Thanks for all the info on this. Sorry for the late reply, but I got sidetracked writing the module that will send out all these nasty emails. I do have the text going on top, and I think I said, looks perfect in Evolution and Thunderbird in both text and HTML. I also read about

Re: [PHP] HTML & plain text in Outlook 2007

2010-02-05 Thread Robert Cummings
Ashley Sheridan wrote: On Thu, 2010-02-04 at 13:44 -0500, Robert Cummings wrote: What about signing yourself up to some newsletters to see how they do it? Looking at the ones I get from Facebook as an example, they use the boundary codes you mentioned, and I can't see anything particularly spe

Re: [PHP] HTML & plain text in Outlook 2007

2010-02-05 Thread Ashley Sheridan
On Fri, 2010-02-05 at 08:03 -0500, Phpster wrote: > Ire ently needed to do this for a client as well. I took their word > doc and converted it to HTML with open office. This created a template > that I just do some search and replace to fill in the criteria. > > This has worked very well with

Re: [PHP] HTML & plain text in Outlook 2007

2010-02-05 Thread Phpster
Ire ently needed to do this for a client as well. I took their word doc and converted it to HTML with open office. This created a template that I just do some search and replace to fill in the criteria. This has worked very well with outlook and hotmail and gmail. Not sure if it will fit you

Re: [PHP] HTML & plain text in Outlook 2007

2010-02-05 Thread Richard Quadling
On 4 February 2010 16:44, Skip Evans wrote: > Hey all, > > First, let me say thanks for all the advice on Magento, and especially to > Ryan who has used the beast and gave some great advice on skinning, links to > some good docs and a book just for my designer. We'll be using and I'm > looking for

Re: [PHP] HTML & plain text in Outlook 2007

2010-02-04 Thread Ashley Sheridan
On Thu, 2010-02-04 at 13:44 -0500, Robert Cummings wrote: > Ashley Sheridan wrote: > > On Thu, 2010-02-04 at 10:44 -0600, Skip Evans wrote: > > > >> Hey all, > >> > >> First, let me say thanks for all the advice on Magento, and > >> especially to Ryan who has used the beast and gave some great

Re: [PHP] HTML & plain text in Outlook 2007

2010-02-04 Thread Robert Cummings
Ashley Sheridan wrote: On Thu, 2010-02-04 at 10:44 -0600, Skip Evans wrote: Hey all, First, let me say thanks for all the advice on Magento, and especially to Ryan who has used the beast and gave some great advice on skinning, links to some good docs and a book just for my designer. We'll b

Re: [PHP] HTML & plain text in Outlook 2007

2010-02-04 Thread Ashley Sheridan
On Thu, 2010-02-04 at 10:44 -0600, Skip Evans wrote: > Hey all, > > First, let me say thanks for all the advice on Magento, and > especially to Ryan who has used the beast and gave some great > advice on skinning, links to some good docs and a book just > for my designer. We'll be using and I'

[PHP] HTML & plain text in Outlook 2007

2010-02-04 Thread Skip Evans
Hey all, First, let me say thanks for all the advice on Magento, and especially to Ryan who has used the beast and gave some great advice on skinning, links to some good docs and a book just for my designer. We'll be using and I'm looking forward to learning it. But anyway... I'm doing som

Re: [PHP] html email showing instead of line breaks

2009-09-24 Thread Ben Dunlap
>>> \r\n should be between double quotes: "\r\n" I think you'll still see the literal ""s in your final email, though because htmlspecialchars() is converting the angle-brackets in the tag to their respective HTML entities ("<" for "<" and ">" for ">"). A bit of a thorny problem because you proba

Re: [PHP] html email showing instead of line breaks

2009-09-24 Thread Fernando Castillo Aparicio
Have you tried http://es.php.net/manual/en/function.nl2br.php ? I think it's easier and fits your needs. De: Adam Williams Para: PHP General list Enviado: jueves, 24 de septiembre, 2009 20:52:13 Asunto: [PHP] html email showing instead of line brea

Re: [PHP] html email showing instead of line breaks

2009-09-24 Thread Jonathan Tapicer
Double quotes accept special characters and string interpolation, see the manual: http://php.net/manual/en/language.types.string.php On Thu, Sep 24, 2009 at 4:00 PM, Adam Williams wrote: > Thanks, i'll try that.  what is the difference in using '' and ""?  I > thought they were interchangeable. >

Re: [PHP] html email showing instead of line breaks

2009-09-24 Thread Adam Williams
oh nevermind, i see double quotes translate the \r\n to its appropriate EOL character. Adam Williams wrote: Thanks, i'll try that. what is the difference in using '' and ""? I thought they were interchangeable. Jonathan Tapicer wrote: \r\n should be between double quotes: "\r\n"

Re: [PHP] html email showing instead of line breaks

2009-09-24 Thread Adam Williams
Thanks, i'll try that. what is the difference in using '' and ""? I thought they were interchangeable. Jonathan Tapicer wrote: \r\n should be between double quotes: "\r\n" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] html email showing instead of line breaks

2009-09-24 Thread Jonathan Tapicer
\r\n should be between double quotes: "\r\n" On Thu, Sep 24, 2009 at 3:52 PM, Adam Williams wrote: > I have users enter support tickets into a a form and then it > emails it to me, I'm trying to get the emails to display when they hit enter > correctly, so i'm changing the \r\n to , but in the e

[PHP] html email showing instead of line breaks

2009-09-24 Thread Adam Williams
I have users enter support tickets into a a form and then it emails it to me, I'm trying to get the emails to display when they hit enter correctly, so i'm changing the \r\n to , but in the email i'm getting, its displaying the instead of a line break: here is the code: $message = "new supp

Re: [PHP] HTML text extraction

2009-08-21 Thread Manuel Lemos
Hello, on 08/18/2009 05:37 AM leledumbo said the following: > Usually, a website gives preview of its articles by extracting some of the > first characters. This is easy if the article is a pure text, but what if > it's a HTML text? For instance, if I have the full text: > > > bla bla bla >

Re: [PHP] HTML text extraction

2009-08-18 Thread Richard Heyes
HI, > ... The easy way (Back to the Future 2 anyone...?) would be to use strip_tags() first: http://uk.php.net/strip_tags -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 8th August) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List (http:/

Re: [PHP] HTML text extraction

2009-08-18 Thread Ashley Sheridan
On Tue, 2009-08-18 at 01:37 -0700, leledumbo wrote: > Usually, a website gives preview of its articles by extracting some of the > first characters. This is easy if the article is a pure text, but what if > it's a HTML text? For instance, if I have the full text: > > > bla bla bla > > it

[PHP] HTML text extraction

2009-08-18 Thread leledumbo
Usually, a website gives preview of its articles by extracting some of the first characters. This is easy if the article is a pure text, but what if it's a HTML text? For instance, if I have the full text: bla bla bla item 1 item 2 item 3 and I take the first 40 characters,

Re: [PHP] html and password management

2009-06-04 Thread Michael A. Peters
Bob McConnell wrote: From my viewpoint, the bigger need is to educate administrators of publicly available computers to disable autocomplete in the browser configuration. If they would do that, when you go to the workstation in the library, you can't see the credentials of the last user, and th

RE: [PHP] html and password management

2009-06-04 Thread Bob McConnell
From: Andrew Ballard > On Thu, Jun 4, 2009 at 12:33 PM, Michael A. Peters wrote: >> Andrew Ballard wrote: >> >>> >>> >>> I just thought I'd toss this out there. Do you know that there is an >>> effort to remove browser support this attribute (or at least give the >>> user a browser configuration

Re: [PHP] html and password management

2009-06-04 Thread Andrew Ballard
On Thu, Jun 4, 2009 at 12:33 PM, Michael A. Peters wrote: > Andrew Ballard wrote: > >> >> >> I just thought I'd toss this out there. Do you know that there is an >> effort to remove browser support this attribute (or at least give the >> user a browser configuration option to ignore it)? >> >> htt

Re: [PHP] html and password management

2009-06-04 Thread Michael A. Peters
Andrew Ballard wrote: I just thought I'd toss this out there. Do you know that there is an effort to remove browser support this attribute (or at least give the user a browser configuration option to ignore it)? http://article.gmane.org/gmane.org.w3c.whatwg.discuss/3054 This article discusse

Re: [PHP] html and password management

2009-06-04 Thread Morris
Hi Can anyone help me handel this URL injection ? https://www.xxx.co.uk/register.php";| grep "123" I want to detect it and header back to my index page. It's quite urgent Thanks for help M.

Re: [PHP] html and password management

2009-06-04 Thread Michael A. Peters
Andrew Ballard wrote: On Tue, May 26, 2009 at 4:36 PM, Michael A. Peters wrote: kranthi wrote: seems more of a firefox question than a PHP question... just replace with https://developer.mozilla.org/en/How_to_Turn_Off_form_Autocompletion Thanks! I found that for xhtml I had to use follo

Re: [PHP] html and password management

2009-06-04 Thread Andrew Ballard
On Tue, May 26, 2009 at 4:36 PM, Michael A. Peters wrote: > kranthi wrote: >> >> seems more of a firefox question than a PHP question... >> >> just replace >> with > autocomplete="off"> >> >> https://developer.mozilla.org/en/How_to_Turn_Off_form_Autocompletion >> > > Thanks! > > I found that for

Re: [PHP] html and password management

2009-05-26 Thread Michael A. Peters
kranthi wrote: seems more of a firefox question than a PHP question... just replace with https://developer.mozilla.org/en/How_to_Turn_Off_form_Autocompletion Thanks! I found that for xhtml I had to use following DOCTYPE to get it to validate: "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd

Re: [PHP] html and password management

2009-05-26 Thread kranthi
seems more of a firefox question than a PHP question... just replace with https://developer.mozilla.org/en/How_to_Turn_Off_form_Autocompletion -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] html and password management

2009-05-25 Thread Michael A. Peters
Michael A. Peters wrote: I'm working on the user registration part of my site. User registration works fine, but there's an oddity with password management. The use I registered is username: someone After logging in, I told firefox to save the username and password. I then went to the UserP

[PHP] html and password management

2009-05-25 Thread Michael A. Peters
I'm working on the user registration part of my site. User registration works fine, but there's an oddity with password management. The use I registered is username: someone After logging in, I told firefox to save the username and password. I then went to the UserPrefs page to test both e-m

Re: [PHP] php & html integration

2009-05-15 Thread Bastien Koert
On Fri, May 15, 2009 at 9:38 AM, tedd wrote: > At 8:41 AM -0400 5/15/09, Robert Cummings wrote: > >> On Fri, 2009-05-15 at 05:42 -0400, Robert Cummings wrote: >> >>> On Thu, 2009-05-14 at 17:24 -0700, Michael A. Peters wrote: >>> > tedd wrote: >>> > >>> > > >>> > > >>> > > >>> > > >>>

Re: [PHP] php & html integration

2009-05-15 Thread tedd
At 8:41 AM -0400 5/15/09, Robert Cummings wrote: On Fri, 2009-05-15 at 05:42 -0400, Robert Cummings wrote: On Thu, 2009-05-14 at 17:24 -0700, Michael A. Peters wrote: > tedd wrote: > > > > > > > > > > > > > and Hello World will be show as a H1 headline. > > > > Please note, the "()

Re: [PHP] php & html integration

2009-05-15 Thread Robert Cummings
On Fri, 2009-05-15 at 05:42 -0400, Robert Cummings wrote: > On Thu, 2009-05-14 at 17:24 -0700, Michael A. Peters wrote: > > tedd wrote: > > > > > > > > > > > > > > > > > > > > and Hello World will be show as a H1 headline. > > > > > > Please note, the "()" seen in my use of echo is not neces

Re: [PHP] php & html integration

2009-05-15 Thread Robert Cummings
On Thu, 2009-05-14 at 17:24 -0700, Michael A. Peters wrote: > tedd wrote: > > > > > > > > > > > > > and Hello World will be show as a H1 headline. > > > > Please note, the "()" seen in my use of echo is not necessary -- it's > > just another one of those things that I do that no one else do

Re: [PHP] php & html integration

2009-05-14 Thread Michael A. Peters
tedd wrote: and Hello World will be show as a H1 headline. Please note, the "()" seen in my use of echo is not necessary -- it's just another one of those things that I do that no one else does. It's not wrong, but it serves no purpose other than it looks good and makes sense *to me* YM

Re: [PHP] php & html integration

2009-05-14 Thread Paul M Foster
On Thu, May 14, 2009 at 04:19:57PM -0400, tedd wrote: > > Please note, the "()" seen in my use of echo is not necessary -- it's > just another one of those things that I do that no one else does. Ohmygosh! I didn't realize Tedd was one of those "using parentheses with an echo command" guys. I'

Re: [PHP] php & html integration

2009-05-14 Thread tedd
At 2:35 PM -0400 5/14/09, PJ wrote: I'm a bit fuzzy on the relationship between the and the HTML code. Where should the php code be placed in a page so that execution is carried out smoothly? So far, my coding has managed to avoid horrendous snags; but as I delve deeper into the quagmire of codi

Re: [PHP] Re: php & html integration

2009-05-14 Thread Tom Worster
On 5/14/09 2:52 PM, "Shawn McKenzie" wrote: > PJ wrote: >> I'm a bit fuzzy on the relationship between the and the HTML code. >> Where should the php code be placed in a page so that execution is >> carried out smoothly? So far, my coding has managed to avoid horrendous >> snags; but as I delve

[PHP] Re: php & html integration

2009-05-14 Thread Shawn McKenzie
PJ wrote: > I'm a bit fuzzy on the relationship between the and the HTML code. > Where should the php code be placed in a page so that execution is > carried out smoothly? So far, my coding has managed to avoid horrendous > snags; but as I delve deeper into the quagmire of coding, I would like > t

[PHP] php & html integration

2009-05-14 Thread PJ
I'm a bit fuzzy on the relationship between the and the HTML code. Where should the php code be placed in a page so that execution is carried out smoothly? So far, my coding has managed to avoid horrendous snags; but as I delve deeper into the quagmire of coding, I would like to clear the fog befo

Re: [PHP] HTML pages are faster then php?

2009-01-14 Thread Lamp Lists
From: Ashley Sheridan To: Lamp Lists Cc: php-general@lists.php.net Sent: Wednesday, January 14, 2009 4:47:28 PM Subject: Re: [PHP] HTML pages are faster then php? On Wed, 2009-01-14 at 14:34 -0800, Lamp Lists wrote: > hi, > as far as I know (at least I wa

Re: [PHP] HTML pages are faster then php?

2009-01-14 Thread Ashley Sheridan
On Wed, 2009-01-14 at 14:34 -0800, Lamp Lists wrote: > hi, > as far as I know (at least I was told so) html page will download faster then > the same page made with php getting the same info from mysql, right? > > let's pretend we are building php/mysq based website of one football team. > there

[PHP] HTML pages are faster then php?

2009-01-14 Thread Lamp Lists
hi, as far as I know (at least I was told so) html page will download faster then the same page made with php getting the same info from mysql, right? let's pretend we are building php/mysq based website of one football team. there are pages of every player, about the team, games etc. in admin a

[PHP] [HTML MAIL FORM] - Body text not coming through

2008-07-20 Thread TS
Can someone spot what I'm doing wrong here? Must have something to do with headers maybe? The attached picture comes through but, no text. Here's the headers that do come through. Thanks for any help. Mail is such a pain. Received: (qmail 13640 invoked by uid 48); 19 Jul 2008 17:01:10 -0700

Re: [PHP] HTML 5

2008-06-12 Thread Pavel
В сообщении от Thursday 12 June 2008 16:43:59 Richard Heyes написал(а): > This may be of interest (HTML 5 diffences to HTML 4 overview): what about xHTML? html died few years ago and i thought is was official.. //sorry for my english -- === С уважением, Манылов Павел aka [R-k] icq:

[PHP] HTML 5

2008-06-12 Thread Richard Heyes
This may be of interest (HTML 5 diffences to HTML 4 overview): http://www.w3.org/TR/2008/WD-html5-diff-20080610/ -- Richard Heyes Employ me: http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive | |http://www.phpguru.org/sftpd

Re: [PHP] newbie with php/HTML/HTTP question

2008-04-28 Thread Andrew Ballard
On Sun, Apr 27, 2008 at 5:44 PM, Rod Clay <[EMAIL PROTECTED]> wrote: > I've written my php script to accept either: > > 1) url parameters, when first invoked (so in this case I'm getting > variables out of the $_GET global array), but then I create a form with > method=PUT and, when this form is s

Re: [PHP] newbie with php/HTML question

2008-04-27 Thread Rod Clay
Wow, thanks. I can't believe I made this mistake. This group is sooo helpful. I could probably have looked at this another 10 hours and not seen this. Thanks again. Also, I'd like to apologize for the double post. I posted the first with an email address different from the one I subsc

[PHP] newbie with php/HTML/HTTP question

2008-04-27 Thread Rod Clay
I've written my php script to accept either: 1) url parameters, when first invoked (so in this case I'm getting variables out of the $_GET global array), but then I create a form with method=PUT and, when this form is submitted and comes back into this same php script, I'm looking for 2) var

Re: [PHP] newbie with php/HTML question

2008-04-27 Thread Stut
On 27 Apr 2008, at 22:40, Rod Clay wrote: I've written my php script to accept either: 1) url parameters, when first invoked (so in this case I'm getting variables out of the $_GET global array), but then I create a form with method=PUT and, when this form is submitted and comes back into

  1   2   3   4   5   6   7   8   9   >