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
> 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
>
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
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
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
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
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
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
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
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
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
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,
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
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
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
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'
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
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
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
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
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
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
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
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
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
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.
--
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
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
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.
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
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
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
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
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
>
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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'
>>> \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
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
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.
>
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"
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
\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
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
>
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:/
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
В сообщении от 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:
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
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
__
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
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
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
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
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
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
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
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
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, "
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
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
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
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
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
Ł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
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
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.
[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.
[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.
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.
> 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
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 - 100 of 495 matches
Mail list logo