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

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

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. --

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

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'

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 breaks I have

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

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

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

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

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

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:

Re: [PHP] html to doc and pdf ??

2007-12-31 Thread Richard Lynch
http://php.net/pdf I'm betting there is a PEAR module to write Word docs. Or you could use COM objects, if you are running PHP on a Windows box that has Word installed. On Sat, December 22, 2007 9:55 pm, Me2resh Lists wrote: > Dear All, > > after suffering with asp.net, i finally convinced the c

RE: [PHP] html to doc and pdf ??

2007-12-23 Thread Bastien Koert
PDF is easy, there are many packages and classes that can convert the html to PDFs. A quick google will give you lots of results like www.fpdf.org http://www.digitaljunkies.ca/dompdf/ etc word docs will be harder to create bastien __

Re: [PHP] HTML parser (maybe even HTML to BBCode)

2007-12-20 Thread Richard Lynch
On Thu, December 20, 2007 9:30 am, Arvids Godjuks wrote: > Hi! > I'm looking for fast HTML parser, witch can give me a tree of tags > with > their attributes. > Maybe some one know a good HTML to BBCode parser, because that's > exactly > what i need. tried looking Google, doesn't helped much, still

Re: [PHP] HTML parser (maybe even HTML to BBCode)

2007-12-20 Thread Arvids Godjuks
I saw it, it only converts BBCode to HTML. BBCode to HTML isn't a problem - a child can do that with str_replace and a little help of preg_replace for links and images. The trick is that i need a HTML to BBCode parser. 2007/12/20, Daniel Brown <[EMAIL PROTECTED]>: > > On Dec 20, 2007 10:30 AM, Ar

Re: [PHP] HTML parser (maybe even HTML to BBCode)

2007-12-20 Thread Daniel Brown
On Dec 20, 2007 10:30 AM, Arvids Godjuks <[EMAIL PROTECTED]> wrote: > Hi! > I'm looking for fast HTML parser, witch can give me a tree of tags with > their attributes. > Maybe some one know a good HTML to BBCode parser, because that's exactly > what i need. tried looking Google, doesn't helped much

Re: [PHP] html parsing

2007-11-08 Thread Ron Croonenberg
Hi Per, the "pages" are templates. depending on some variables either one page shows up, or another without links in the address bar changing etc. Ron Per Jessen wrote: Ron Croonenberg wrote: I think the problem is that I read the lines in PHP, I read them with fgets and output them with

Re: [PHP] html parsing

2007-11-08 Thread Ron Croonenberg
Hi Mike, (I know it can probably be done better, or more elegant). The problem is that the recursion doesn't seem to stop. (Unless there are html ssi's that "loop") there shouldn't be a problem. It basically just freezes up (probably the recursion not terminating/ falling back.) However the ht

RE: [PHP] html parsing

2007-11-08 Thread Ford, Mike
On 08 November 2007 06:41, Ron Croonenberg wrote: > ok I wrote something "quick and dirty" real quick: > > But somehow it doesn't seem to like recursion. Is there something > "special" one needs to do in php ? Recursive functions work just fine in PHP. What's the error message? As far as I can

Re: [PHP] html parsing

2007-11-08 Thread Jim Lucas
Ron Croonenberg wrote: I think the problem is that I read the lines in PHP, I read them with fgets and output them with printf. So the php "interpreter" never gets to see the line. the apache doesn't parse php output, so it doesn't happen there either. So.. I figured.. I either had to parse

Re: [PHP] html parsing

2007-11-08 Thread Per Jessen
Ron Croonenberg wrote: > I think the problem is that I read the lines in PHP, I read them with > fgets and output them with printf. > > So the php "interpreter" never gets to see the line. > > the apache doesn't parse php output, so it doesn't happen there > either. > > So.. I figured.. I eit

Re: [PHP] html parsing

2007-11-07 Thread Ron Croonenberg
ok I wrote something "quick and dirty" real quick: But somehow it doesn't seem to like recursion. Is there something "special" one needs to do in php ? here's the code snippet: function parsehtmlline($line) { if (strlen(strstr($line, "#include")) == 0 && strlen(strstr($line, "

Re: [PHP] html parsing

2007-11-07 Thread Ron Croonenberg
I think the problem is that I read the lines in PHP, I read them with fgets and output them with printf. So the php "interpreter" never gets to see the line. the apache doesn't parse php output, so it doesn't happen there either. So.. I figured.. I either had to parse it in php myself OR convi

Re: [PHP] html parsing

2007-11-07 Thread Ron Croonenberg
Yes I do have SSI enabled here is what I am doing. I have a php script that reads (a basic) file with html in it. (meaning it it would have an html/shtml extension it would just work in a browser. Now I rename the file to myhtml.dat and let the script read it and print it to stdout. That works l

Re: [PHP] html parsing

2007-11-07 Thread Casey
Can you just change it to ? On Nov 7, 2007, at 7:24 PM, Ron Croonenberg <[EMAIL PROTECTED]> wrote: Hello, I have a script that ads data to a html template. However when there is an include in the html like: it is not "processed", but "just" ends up as a string in the page. So I guess

Re: [PHP] html parsing

2007-11-07 Thread Tom Ray [Lists]
Ron Croonenberg wrote: Hello, I have a script that ads data to a html template. However when there is an include in the html like: it is not "processed", but "just" ends up as a string in the page. So I guess it needs to be parsed. Is there an easy way to do that ? thanks, Ron Do you h

Re: [PHP] html tools for Web page

2007-10-19 Thread Łukasz Wojciechowski
On 10/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hello, > > Does it support multi-language and linux system ? > Yes it is multi-language (language-pack support) http://wiki.moxiecode.com/index.php/TinyMCE:LanguagePack And about compatibility look here: http://wiki.moxiecode.com/ind

Re: [PHP] html tools for Web page

2007-10-18 Thread edwardspl
Łukasz Wojciechowski wrote: On 10/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Dear All, Is there a tool better than fckeditor ( http://www.fckeditor.net ) ? Would you mind recommend ? You may check out http://tinymce.moxiecode.com/ Hello, Does it support multi-language

Re: [PHP] html tools for Web page

2007-10-18 Thread Łukasz Wojciechowski
On 10/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Dear All, > > Is there a tool better than fckeditor ( http://www.fckeditor.net ) ? > Would you mind recommend ? You may check out http://tinymce.moxiecode.com/ -- Łukasz Wojciechowski

Re: [PHP] HTML Parse Issue

2007-10-15 Thread Jim Lucas
Jim Lucas wrote: [EMAIL PROTECTED] wrote: I am having a issue parsing an html file. I want to pull all the data between two html tags. Problem I am having is that no matter what I try I can pull either tag or both but not the data in between.

Re: [PHP] HTML Parse Issue

2007-10-15 Thread Jim Lucas
[EMAIL PROTECTED] wrote: I am having a issue parsing an html file. I want to pull all the data between two html tags. Problem I am having is that no matter what I try I can pull either tag or both but not the data in between.

Re: [PHP] HTML Parse Issue

2007-10-14 Thread Tom Ray [Lists]
[EMAIL PROTECTED] wrote: I am having a issue parsing an html file. I want to pull all the data between two html tags. Problem I am having is that no matter what I try I can pull either tag or both but not the data in between.

Re: [PHP] html to xml?

2007-09-12 Thread mike
On 9/12/07, Slith <[EMAIL PROTECTED]> wrote: > i need to parse an html page for tabular data which i can then import > into mysql so i thought converting the html to xml might be a feasible > thing to do, however, other than using tidy from the command line i > can't find a way to do this from php.

RE: [PHP] html to xml?

2007-09-12 Thread Edward Kay
> Slith wrote: > > > i need to parse an html page for tabular data which i can then import > > into mysql so i thought converting the html to xml might be a feasible > > thing to do, however, other than using tidy from the command line i > > can't find a way to do this from php. > > > > does any

Re: [PHP] html to xml?

2007-09-12 Thread Per Jessen
Slith wrote: > i need to parse an html page for tabular data which i can then import > into mysql so i thought converting the html to xml might be a feasible > thing to do, however, other than using tidy from the command line i > can't find a way to do this from php. > > does anyone know of any c

  1   2   3   4   5   >