How can I get my webpage to validate to XHTML strict if I am using the
commands as given in the phpthumb demo:
<img src="../phpThumb.php?src=images/disk.jpg&w=200">
This gives validation errors as I'm not allowed the 'w' or other
parameters.
I wondered if it was possible to do something like this (bare with me)
$thisThumb = phpThumb(src=images/disk.jpg&w=200);
echo '<img src="'.$thisThumb.'">;
But I am unsure of what the variable will contain, I ideally want to
create the thumbnail and for the result to be a string pointing to the
location of said thumbnail.
I've checked google but there doesn't seem to be any issues with using
phpthumb and validating html. (Am I missing something) :)
Thanks in advance for any replies. (p.s. please keep in on topic). 21 2667 pe*******@gmail.com wrote in news:1155652970.767956.93180
@i42g2000cwa.googlegroups.com:
How can I get my webpage to validate to XHTML strict if I am using the
commands as given in the phpthumb demo:
<img src="../phpThumb.php?src=images/disk.jpg&w=200">
This gives validation errors as I'm not allowed the 'w' or other
parameters.
The validation error is because of the ampersand.
Use: <img src="../phpThumb.php?src=images/disk.jpg&w=200">
(if it is XHTML, use <img src="../phpThumb.php?src=images/disk.jpg&w=
200" />
You'll also need to supply an alt attribute to pass validation as well.
--
Karl Groves www.karlcore.com pe*******@gmail.com wrote:
How can I get my webpage to validate to XHTML strict if I am using the
commands as given in the phpthumb demo:
<img src="../phpThumb.php?src=images/disk.jpg&w=200">
This gives validation errors as I'm not allowed the 'w' or other
parameters.
No, that's not the reason.
<img src="../phpThumb.php?src=images/disk.jpg&w=200">
Will be valid.
>
I wondered if it was possible to do something like this (bare with me)
$thisThumb = phpThumb(src=images/disk.jpg&w=200);
echo '<img src="'.$thisThumb.'">;
No.
(p.s. please keep in on topic).
Tssk, this is usenet, you know :-)
Grtz,
--
Rik Wasmus
Karl, spot on!! sorry about that.. makes sense too. :) (thanks for the
speedy reply).
Thanks again
Peteski
(Php newbie)
I get a 'literal is missing closing delimiter.' where the first / is
following the
Karl Groves wrote:
pe*******@gmail.com wrote in news:1155652970.767956.93180
@i42g2000cwa.googlegroups.com:
How can I get my webpage to validate to XHTML strict if I am using the
commands as given in the phpthumb demo:
<img src="../phpThumb.php?src=images/disk.jpg&w=200">
This gives validation errors as I'm not allowed the 'w' or other
parameters.
The validation error is because of the ampersand.
Use: <img src="../phpThumb.php?src=images/disk.jpg&w=200">
(if it is XHTML, use <img src="../phpThumb.php?src=images/disk.jpg&w=
200" />
You'll also need to supply an alt attribute to pass validation as well.
--
Karl Groves www.karlcore.com
newshroup posting newbie also, please ignore the literal is missing
closing delimeter comment, it was an accidental paste from the
clipboard.
petesk...@gmail.com wrote:
Karl, spot on!! sorry about that.. makes sense too. :) (thanks for the
speedy reply).
Thanks again
Peteski
(Php newbie)
I get a 'literal is missing closing delimiter.' where the first / is
following the
Karl Groves wrote:
pe*******@gmail.com wrote in news:1155652970.767956.93180
@i42g2000cwa.googlegroups.com:
How can I get my webpage to validate to XHTML strict if I am using the
commands as given in the phpthumb demo:
>
<img src="../phpThumb.php?src=images/disk.jpg&w=200">
>
This gives validation errors as I'm not allowed the 'w' or other
parameters.
The validation error is because of the ampersand.
Use: <img src="../phpThumb.php?src=images/disk.jpg&w=200">
(if it is XHTML, use <img src="../phpThumb.php?src=images/disk.jpg&w=
200" />
You'll also need to supply an alt attribute to pass validation as well.
--
Karl Groves www.karlcore.com
newsgroup posting newbie also, please ignore the literal is missing
closing delimeter comment, it was an accidental paste from the
clipboard.
petesk...@gmail.com wrote:
Karl, spot on!! sorry about that.. makes sense too. :) (thanks for the
speedy reply).
Thanks again
Peteski
(Php newbie)
I get a 'literal is missing closing delimiter.' where the first / is
following the
Karl Groves wrote:
pe*******@gmail.com wrote in news:1155652970.767956.93180
@i42g2000cwa.googlegroups.com:
How can I get my webpage to validate to XHTML strict if I am using the
commands as given in the phpthumb demo:
>
<img src="../phpThumb.php?src=images/disk.jpg&w=200">
>
This gives validation errors as I'm not allowed the 'w' or other
parameters.
The validation error is because of the ampersand.
Use: <img src="../phpThumb.php?src=images/disk.jpg&w=200">
(if it is XHTML, use <img src="../phpThumb.php?src=images/disk.jpg&w=
200" />
You'll also need to supply an alt attribute to pass validation as well.
--
Karl Groves www.karlcore.com pe*******@gmail.com wrote:
newsgroup posting newbie also, please ignore the literal is missing
closing delimeter comment, it was an accidental paste from the
clipboard.
Well, we'll forgive you if you promise to stop top-posting.
Grtz,
--
Rik Wasmus
Okay, I have to ask...why the "rule" against top posting? Personally I
VERY much prefer it. And where can I find these rules; is there a FAQ?
Rik wrote:
Well, we'll forgive you if you promise to stop top-posting.
"Gary Hasler" <ga********@thelogconnection.comwrote in message
news:44***************@thelogconnection.com...
Okay, I have to ask...why the "rule" against top posting? Personally I
VERY much prefer it. And where can I find these rules; is there a FAQ?
It is a commonly accepted convention. Most people to perefer to see a
comment immediately below the thing to which it is commenting. You are in
the very small minority. Note that this wa inline posting. If I had been
responding to several points in a larger post then you, the reader, would
have very little idea as to just which part I was responding. This way, it
is clear.
Shelly
Gary Hasler wrote:
>Well, we'll forgive you if you promise to stop top-posting.
Okay, I have to ask...why the "rule" against top posting? Personally
I VERY much prefer it. And where can I find these rules; is there a
FAQ?
Google for netiquette, there are hundreds of pages explaining it.
The main reason: keep the same flow in the conversation. The normal answer
of non-believers to that is:"But all the information is already in the post
before?!".
To this we say: Remember this is usenet, differnet newsservers, between
which a message can often be delayed for hours or even not arrive at all.
(Unfortunately, I detected that last problem a couple of times a week in
this ng, I'll have to contact my ISP about what's going on.) I may not be
able to see the message you're replying to, and allthough you quote, reading
from the bottom up is terribly annoying. Also, when setting a follow-up to a
more relevant newsgroup, it's nice to give the readers there a normal
starting point for the conversation.
Consider this flow:
Ah, now I see.
This is usenet, they might not be there.
>But why don't they first read the proevious posts then?
>>Well, It's a lot easier to read, and follows the flow of the conversation Why do people keep asking me to toppost?
Grtz,
--
Rik Wasmus
Rik wrote:
>>>>Why do people keep asking me to toppost?
Euhm, to _stop_ toppost offcourse :-)
Grtz,
--
Rik Wasmus
Shelly wrote:
>
"Gary Hasler" <ga********@thelogconnection.comwrote in message
news:44***************@thelogconnection.com...
Okay, I have to ask...why the "rule" against top posting?
Personally I VERY much prefer it. And where can I find these
rules; is there a FAQ?
It is a commonly accepted convention. Most people to perefer to see
a comment immediately below the thing to which it is commenting.
You are in the very small minority. Note that this wa inline
posting. If I had been responding to several points in a larger post
then you, the reader, would have very little idea as to just which
part I was responding. This way, it is clear.
Here's a handy web site:
<http://www.caliburn.nl/topposting.html>
Brian
Rik wrote:
Google for netiquette, there are hundreds of pages explaining it.
Hmmm...from wikipedia:
"Objections to top-posting, as a rule, seem to come from persons who
first went online in the earlier days of Usenet, and in communities
that date to Usenet's early days. Among the most vehement communities
are those in the Usenet comp.lang hierarchy,.."
Well put!
Gary Hasler wrote:
Rik wrote:
>Google for netiquette, there are hundreds of pages explaining it.
Hmmm...from wikipedia:
"Objections to top-posting, as a rule, seem to come from persons
who first went online in the earlier days of Usenet, and in
communities that date to Usenet's early days. Among the most
vehement communities are those in the Usenet comp.lang
hierarchy,.."
Well put!
Well, the second argument is. It's probably derived from our our wish for
well-structured data. And according to the other link given in this
conversation, I'm even more strict because I'm dutch :-)
About being from the early days on internet. Hardly. I got my first computer
in 1999, my first usage of newsgroups dates back to 2003. But I know either
buggy or lagging newsservers, so I know what a pain it is to decypher what
an original question was, and tend to accomodate other users who might not
have seen the earlier post, in the hope they'll do the same for me.
Grtz,
--
Rik Wasmus
Gary Hasler wrote:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
Was this a, "what's even worse than top-posting example"?
*plonk*
Brian
--
Please don't top-post. Your replies belong following or interspersed
with properly trimmed quotes. See the majority of other posts in the
newsgroup, or:
<http://www.caliburn.nl/topposting.html>
Default User wrote:
Gary Hasler wrote:
><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
Was this a, "what's even worse than top-posting example"?
*plonk*
Hmmz, didn't even realize that due to the fact HTML is completely ignored
here. There was a plaintext alternative I saw. I won't plonk just yet, but
it's a very, very bad habit to post HTML young man...
Grtz,
--
Rik Wasmus
Rik wrote:
>
it's a very, very bad habit to post HTML young man...
Oh, jeez, another "rule"...wonderful...this group is just a little too
anal for me (and who you calling young?)
I'm history.
Gary Hasler wrote:
Okay, I have to ask...why the "rule" against top posting? Personally I
VERY much prefer it. And where can I find these rules; is there a FAQ?
Rik wrote:
>Well, we'll forgive you if you promise to stop top-posting.
Try doing a search in the newsgroups, ala Google Group search, for
something. The thread becomes unreadable even tho your immediate
hedonistic tendency feels good at the time you top post.
Don't understands why new posters and some old ones do not understand
this. I guess you have to try to search for something to understand it.
I am new here in th php newsgroups. It seems to be a big problem here in
the PHP newsgroups. I am coming from the Java newsgroups where this is
not a big problem.
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
__________________________________________________ ________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Gary Hasler wrote:
Okay, I have to ask...why the "rule" against top posting? Personally I
VERY much prefer it. And where can I find these rules; is there a FAQ?
Rik wrote:
>>Well, we'll forgive you if you promise to stop top-posting.
A. Because they don't know any better.
Q. Why do people do it?
A. Top posting.
Q. What's the most annoying thing on usenet?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attglobal.net
==================
IchBin wrote:
Gary Hasler wrote:
>Okay, I have to ask...why the "rule" against top posting? Personally I VERY much prefer it. And where can I find these rules; is there a FAQ?
Rik wrote:
>>Well, we'll forgive you if you promise to stop top-posting.
Try doing a search in the newsgroups, ala Google Group search, for
something. The thread becomes unreadable even tho your immediate
hedonistic tendency feels good at the time you top post.
Don't understands why new posters and some old ones do not understand
this. I guess you have to try to search for something to understand
it.
I am new here in th php newsgroups. It seems to be a big problem here
in the PHP newsgroups. I am coming from the Java newsgroups where
this is not a big problem.
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
__________________________________________________ ________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
And yet you refuse to use a proper sig sepearator :P
Your sig wouldn;t be quoted here if you just used '-- '.
--
Rik Wasmus
Rik wrote:
IchBin wrote:
>Gary Hasler wrote:
>>Okay, I have to ask...why the "rule" against top posting? Personally I VERY much prefer it. And where can I find these rules; is there a FAQ?
Rik wrote:
Well, we'll forgive you if you promise to stop top-posting.
Try doing a search in the newsgroups, ala Google Group search, for something. The thread becomes unreadable even tho your immediate hedonistic tendency feels good at the time you top post.
Don't understands why new posters and some old ones do not understand this. I guess you have to try to search for something to understand it.
I am new here in th php newsgroups. It seems to be a big problem here in the PHP newsgroups. I am coming from the Java newsgroups where this is not a big problem.
Thanks in Advance... IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us _________________________________________________ _________________________
'If there is one, Knowledge is the "Fountain of Youth"' -William E. Taylor, Regular Guy (1952-)
And yet you refuse to use a proper sig sepearator :P
Your sig wouldn;t be quoted here if you just used '-- '.
I have not refused..because it was never brought to my attention in the
Java groups nor here as a problem.
Ok RIK.. you got me with my pants down...
--
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
IchBin wrote:
Rik wrote:
>And yet you refuse to use a proper sig sepearator :P Your sig wouldn;t be quoted here if you just used '-- '.
I have not refused..because it was never brought to my attention in
the
Java groups nor here as a problem.
Ok RIK.. you got me with my pants down...
See, we're not that bad. Allthough i thought about it, I've never nagged
about it untill a relevenat conversation :-).
Thanks BTW, makes quoting less work.
--
Rik Wasmus This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Zhang Weiwu |
last post by:
Hello. I just read a article "rdf in html: approaches" at
"http://infomesh.net/2002/rdfinhtml" (guided by google).
Looking into the "Embed XML RDF Part II: Embrace Validation" part, there
are an...
|
by: CMAR |
last post by:
For xhtml validatin, which is the right metatag to use for English language
or can one forget about this tag?
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta...
|
by: Arthur Dent |
last post by:
Hello all, ive been programming with ASP.NET since it came out, but am just
getting my feet with now with v.2.
Ive noticed something strange in the way my HTML tables get rendered with 2.
I use...
|
by: Nalaka |
last post by:
Hi,
I suddenly started getting a lot of errors from html validation (some CSS)
so I followed the following instructions to disable it.
If you'd rather not have these types of HTML validation...
|
by: Rob Roberts |
last post by:
Is there any way to change VS2005 to generate HTML 4.01/Strict instead of
XHTML 1.0/Transititional? VS2005 puts a DOCTYPE statement specifying XHTML
1.0/Transitional at the top of every new aspx...
|
by: Fred Mertz |
last post by:
So I have a non trivial ASP.NET 1.1 Web Application with custom controls
emitting HTML markup and good deal of static HTML in the aspx pages.
I'm wanting to make this thing fully XHTML 1.0...
|
by: Tatyana |
last post by:
Hi All,
I have a question regarding validation with XHTML on ASP.Net websites.
Our site is built on ASP.NET 2.0 with validation XHTML. Search Engine
Optimizer advised us that we should change it...
|
by: webrod |
last post by:
Hi,
I have some php pages with a lot of HTML code.
I am looking for a HTML validator tool (like TIDY).
TIDY is not good enough with PHP tags (it removes a lot of php code).
Do you have any...
|
by: jimchapuk |
last post by:
I just started to learn. I can't get the code in my CSS file to link to my HTML file to produce the web page I want.
The code I've used is;
<link rel="stylesheet" type="txt/css"...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: erikbower65 |
last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps:
1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal.
2. Connect to...
|
by: erikbower65 |
last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA:
1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
|
by: kcodez |
last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: Taofi |
last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same
This are my field names
ID, Budgeted, Actual, Status and Differences
...
|
by: Rina0 |
last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
|
by: lllomh |
last post by:
Define the method first
this.state = {
buttonBackgroundColor: 'green',
isBlinking: false, // A new status is added to identify whether the button is blinking or not
}
autoStart=()=>{
|
by: lllomh |
last post by:
How does React native implement an English player?
| |