On 01/12/06, Michelle Konzack <[EMAIL PROTECTED]> wrote:
Am 2006-11-27 03:28:08, schrieb Dotan Cohen:
> Actually, it does. He can global replace "
Yes, that's what I meant.
Dotan Cohen
http://what-is-what.com/what_is/bios.html
--
PHP General Mailing List (http://www.php.n
How can I ensure that a variable contains a postive integer number?
I'm currently using this code:
$number=(1-$number);
$number=(1-$number);
if ( $number<1 ) { $number=1; }
But I'm sure that there is a better way. What would that be?
Dotan Cohen
http://what-is-wha
#x27;s what happens when one scripts in a language
with 3000+ built-in functions... :)
Dotan Cohen
http://lyricslist.com/
http://what-is-what.com/what_is/bios.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
preg_match("/^\d+$/", $input)) {
// OK
} else {
// NOT OK
}
Thanks. As the 'number' is used in a for loop, it actually is alright
if it is a float. I just added a check that the number is indeed >=1,
otherwise I set it to 1. Good enough for this project, anyway.
upid people are, i hope mr fielding never needs help from me
cause he has now been plopped into my spam box.
You obviously don't remember Peter Whalley.
http://what-is-what.com/what_is/spam.html
Dotan Cohen
http://lyricslist.com
--
PHP General Mailing List (http://www.php.net/)
To unsu
you have an int, or...
But a typecast and inequality test should be pretty clear and cheap.
Hey, nice. Thanks!
Dotan Cohen
http://what-is-what.com/what_is/bluetooth.html
http://lyricslist.com/lyrics/artist_albums/509/whitesnake.php
--
PHP General Mailing List (http://www.php.net/)
To unsubs
listed in it. If not, then I'll add it with a value of
1. If it is already listed then I'll just increase it's number. Ditto
for $fruits[1] and so on...
Has someone cleverer than myself found a better way of doing this?
This function will be used as a word count for text documents,
Thanks for the link to the function. Know that I did RTFM before
posting, but I missed that one.
Dotan Cohen
http://lyricslist.com/lyrics/artist_albums/219/xyz.php
http://simplesniff.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> in a little time with the testing of it. I have offered similar beta
> testing programs for some of the other scripts I have available at
> http://sweetphp.com and they have become very successful because of all your
> help.
>
> Thanks,
>
> Matt Palermo
> [EMAIL PRO
Hey all, it is possible to parse capcha's in php? I'm not asking how
to do it, nor have I any need, it's just something that I was
discussing with a friend. My stand was that ImageMagik could crack
them. She says no way. What are your opinions?
Thanks.
Dotan Cohen
http://what-is-what.com
e and add a tag based upon who is in
it.
Dotan Cohen
http://gmail-com.com
runs
on linux that can do the conversion in batch? I have ~200 files to
convert.
Thanks.
Dotan Cohen
http://what-is-what.com
623
On 5/23/06, Jay Blanchard <[EMAIL PROTECTED]> wrote:
[snip]
This may be far-fetched, but can php convert a doc file to HTML?
[/snip]
http://www.google.com/search?hl=en&q=php+convert+word+doc+to+html
Thanks, Jay. I mostly found Windows software on google that would do
the job. So I decided to
On 5/23/06, tedd <[EMAIL PROTECTED]> wrote:
At 7:09 PM +0300 5/23/06, Dotan Cohen wrote:
>This may be far-fetched, but can php convert a doc file to HTML? I
>vaguely remember a thread that discussed converting pdf's, but I
>cannot find reference to either that or to doc in th
lso has a similar tool).
Because there are 200 of them.
Dotan Cohen
http://what-is-what.com
323
On 5/24/06, Martin Alterisio <[EMAIL PROTECTED]> wrote:
2006/5/23, Jochem Maas <[EMAIL PROTECTED]>:
> my 2cents
>
> Martin Alterisio wrote:
> > 2006/5/23, Dotan Cohen <[EMAIL PROTECTED]>:
> >
> >>
> >> On 5/23/06, Martin Alterisi
? How does this differ from:
$query = "SELECT * FROM users WHERE user=".$_POST['username']." AND
password=".$_POST['password'];
Dotan Cohen
http://linux-apache-mysql-php.org
23
On 5/26/06, Brad Bonkoski <[EMAIL PROTECTED]> wrote:
Dotan Cohen wrote:
> In the php manual:
> http://www.php.net/manual/en/function.mysql-real-escape-string.php
>
> The following method is suggested:
> // Quote variable to make safe
> function quote_smart($value)
On 5/26/06, Satyam <[EMAIL PROTECTED]> wrote:
- Original Message -
From: "Dotan Cohen" <[EMAIL PROTECTED]>
> // Make a safe query
> $query = sprintf("SELECT * FROM users WHERE user=%s AND password=%s",
> quote_smart($_POST[
trying to learn.
I think that it is a little involved for what I'm currently doing, but
I will certainly save the code for use when I'm more skilled. I most
appreciate your help. Thanks!
Dotan Cohen
http://what-is-what.com
41
ler code (to my eyes) and
eliminate the sprintf. In any case, it works.
Dotan Cohen
http://auto-car.info
On 5/30/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Fri, May 26, 2006 10:39 am, Dotan Cohen wrote:
> What is the purpose of the sprintf? If it were using %d on integers I
> could see the point, but as we're talking about %s strings, what is
> the advantage to using sp
http://dotancohen.com/xmp_test.jpg
This image has the comment "This is a comment" and two tags:
"People->Yehuda" and "Place->Sarid".
Has anybody invented a wheel to extract these tags and comment as
strings? I'd love to see it if so.
Thanks in advance.
Dotan Cohen
h
On 24/06/06, tedd <[EMAIL PROTECTED]> wrote:
PS: The ee_extract_exif_from_pscs_xmp() function works -- but I can't find an
image that has any info.
You can use a picture of my friend Yehuda:
http://dotancohen.com/xmp_test.jpg
Dotan Cohen
http://what-is-what.com
--
PHP General M
On 24/06/06, tedd <[EMAIL PROTECTED]> wrote:
Dotan:
I did try that picture, but I couldn't extract exif/xmp data from it.
I did manage to get the last tags in the hierarchy out of it. My tag
"Places->Sarid" came out as "Sarid", and "People->Yehuda" came out as
"Yehuda".
PS: No offense, but th
2008/6/19 Jay Blanchard <[EMAIL PROTECTED]>:
> [snip]
>I wonder how many of us on the list served. It's got to be more
> than just you and I, Tedd, wouldn't you think?
> [/snip]
>
> U.S. Air Force
>
Golani, IDF
Dotan Cohen
http://what-is-what.com
http:
lear family and everyone
> you know) injecting you the poison of this apperciation, so when you are 18
> years-old you know what is the meaning of service and you are aspiring to
> serv as much & as good as you can.
>
> Regards,
> Nitsan
>
Good for you, Nitsan. If you find
them, not feel automatically entitled to them by birth.
>
Have you read Starship Troopers? Their civilization is based upon this.
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
A: Because it messes up the order in which peopl
,
> then migratig to the USA and must serv there.. :-D
>
In my country, those who have served in a foreign army are exempt from
serving here.
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
A: Because it messes up the
an army which is trained to use
their rifles as little as possible, such as the Israeli army.
>> Good for you, Nitsan. If you find yourself in Gdud 51 let me know.
>
> :-D
Are you familiar with my unit?
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך
ilians who resort to accusations.
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
2008/6/23 Boyd, Todd M. <[EMAIL PROTECTED]>:
> Regardless, let's turn this back around:
>
> echo "Hello, politically-heterogenous world!";
> ?>
>
To all those who insist that _all_ programs have bugs, behold this
wonder and repent!
Do
2008/6/23 Daniel Brown <[EMAIL PROTECTED]>:
>(In actuality, you can't use dashes in a variable name. You may
> have meant to use an underscore [ _ ].)
>
IHateUnderscoresInVariableNames!
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל
2008/6/22 Michelle Konzack <[EMAIL PROTECTED]>:
> Am 2008-06-21 19:45:32, schrieb Dotan Cohen:
>> In my country, those who have served in a foreign army are exempt from
>> serving here.
>
> Realy?
>
> I know at least on Jew, which was 1 1/2 years in the french
>
2008/6/22 Michelle Konzack <[EMAIL PROTECTED]>:
> Am 2008-06-21 20:52:22, schrieb Dotan Cohen:
>> While I won't confirm nor deny my opinion of your statement, tell me,
>> in your opinion how much does training matter? And dedication to the
>
> The problem is, th
is hiding among civilians, and our job is to
protect civilians. Whether those are Israeli, Lebanese, or Palestinian
civilians does not matter.
> Shamelessly lifted that from Wikipedia. But yeah, you're right. It was also a
> fantastic video game in the style of Warcraft/Command & C
The screen just flashes. I'll wait until games4lin
comes out, I suppose. Or not.
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
s. Reserve might not have been the correct term,
but I know that it is not the normal French army. I'll read up more in
wikipedia. Thanks.
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
A: Because it messes up the order in wh
return "Daniel P. Brown: 01-01-1970 - ".$dateOfDeath";
>}
>die(dan('00-00-'));
> ?>
>
> What would you like on your Tombstone? (<-- that's actually a trademarked
> saying)
>
What's wrong with a simple Heptadecagon?
Dotan Cohen
h
2008/6/26 Robert Cummings <[EMAIL PROTECTED]>:
> * What's wrong with a simple Heptadecagon?
>
> It'll look like a circle on your tombstone... why not use a star
> instead? :B
>
I wasn't sure that anyone else would be familiar with the idea. Nice!
Dotan
/C/C++ etc. Bombs with a syntax error.
>
That is a great tip, thanks!
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
2008/6/25 Michelle Konzack <[EMAIL PROTECTED]>:
> Am 2008-06-23 21:17:13, schrieb Dotan Cohen:
>> 2008/6/22 Michelle Konzack <[EMAIL PROTECTED]>:
>> > I know at least on Jew, which was 1 1/2 years in the french
>> > army for his "service national"
k' I actually prefer. Say more, takes less.
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
gt;
> if ($challenge_password_hash = $stored_password_hash) {
>echo 'Welcome to the club!';
> } else {
>echo 'Stay out! This club is for members only!';
> }
> ?>
>
> Andrew
>
In these instances you could rely on != behaviour instead of ==
be
errors.
>
> Even your example above hints at another "political" minefield - Early
> Return or Multiple Return Points (s/Return/Exit/ in this case) Let's not
> even go there!!!
>
Why not? I do this often, but I am not a professional programmer. I
find this to be very useful.
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
errors.
>
> Even your example above hints at another "political" minefield - Early
> Return or Multiple Return Points (s/Return/Exit/ in this case) Let's not
> even go there!!!
>
Why not? I do this often, but I am not a professional programmer. I
find this to be very useful.
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
2008/6/29 tedd <[EMAIL PROTECTED]>:
> Start a new thread.
>
Done, sorry for the highjack.
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
A: Because it messes up the order in which people normally read text.
Q: Why is
2008/6/29 Colin Guthrie <[EMAIL PROTECTED]>:
> Dotan Cohen wrote:
>>
>> Why not? I do this often, but I am not a professional programmer. I
>> find this to be very useful.
>
> Found another opinion/article about this. I remember reading this one a
> while back
2008/7/2 Daniel Brown <[EMAIL PROTECTED]>:
>> Fatal error: Call to undefined function shawn() in /home/shawn/life.php on
>> line 1
>
>I like it. ;-P
>
I think that a 500 internal service error would be more appropriate at
that stage...
Dotan Cohen
h
ry 90 seconds until someone
> does. When in doubt, hijack a thread.
>
You do realize, of course, that this is posted in a hijacked thread?
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
ient into her console and their
> SQL statements intermingle until something magic happens. At least that's
> what my Daddy told me when I was a little regex.
No, no, you've got it all wrong: http://www.zoitz.com/archives/14
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
2008/7/18 OOzy Pal <[EMAIL PROTECTED]>:
> The cms should manage small websites (mainly article type).
MediaWiki also deserves a mention:
http://www.mediawiki.org/wiki/MediaWiki
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-
;
> Thanks in advance for any suggestions.
> [/snip]
>
> Click 'Submit'
>
>
>
> Your form tag needs an action statement
>
>
>
> All of the form's variables will be available in the $_POST array
>
I think he's asking how to make a POST r
parse specific files as PHP:
AddType application/x-httpd-php filename.html
I know that I am doing something wrong, but I do not know what. Any
ideas? Thanks!
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ä-ö-ü-ß-Ä-Ö-Ü
navoidable then I can live with it.
Thanks!
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ä-ö-ü-ß-Ä-Ö-Ü
ems :))
> if that's
> possible in httpd.conf or .htaccess using a Files section to tell Apache to
> execute it with PHP. I don't see that as any more portable.
If would keep the php file portable.
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט
know what line to add to .htaccess
to have it parse a specific file as php. But it is no longer critical
for this project because I will use the shebang line.
Thanks!
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ä-ö-ü-ß-Ä-Ö-Ü
I get to a place where I dare run SSH I will try
that. It looks to be just what I was looking for, thanks.
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ä-ö-ü-ß-Ä-Ö-Ü
2008/8/28 Shelley <[EMAIL PROTECTED]>:
> Though vim is not a so-called IDE, actually it's quite handy.
>
And as PHP is not [generally] compiled, no "IDE" is needed. VIM is
great, and for a GUI text editor I use Kate. Note that there will soon
be a VIM mode in Kate! I ca
f using vi, vim, pico, nano, emacs, epsilon, kate,
> notepad(!), notepad2, aptana, eclipse, and many more I can't remember. It's
> text, use what works for you.
>
I've also rarely answered this question, and I don't know why I spoke up today.
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ä-ö-ü-ß-Ä-Ö-Ü
; stepping features and break points that can make debugging a whole lot
> easier and quicker.
>
Dan, you are right. A debugger most certainly makes it an IDE. As I
don't use a debugger I never really paid attention to their existence.
I stand corrected.
--
Dotan Cohen
http://what-is-what.
2008/8/28 Stut <[EMAIL PROTECTED]>:
> And thanks for the tasty eggs!
>
Eggs? I've obviously missed something.
So long, and thanks for all the fish!
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ä-ö-ü-ß-Ä-Ö-Ü
2008/8/28 Micah Gersten <[EMAIL PROTECTED]>:
> That's an opinion that you state as fact.
You must be new here :)
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ä-ö-ü-ß-Ä-Ö-Ü
ant
as an in-joke, with absolutely no offense intended. Quite the
opposite, it is most often said to veterans.
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ä-ö-ü-ß-Ä-Ö-Ü
in the early 00's because of sites that were coded for the
undocumented 'features' of specific browsers five years prior?
Additionally, if you cannot test all the varied platforms (PC,
cellphones, iPhone, PS3, browsers for the disabled) then you should
not rely on undocumented behaviour.
Dota
our code (and I like the top one :-)
> )?
>
> thanks.
>
> -ll
>
Chris posts here, you might want to stfa for his address and cc him
the question to the list. Just be sure not to bug him offlist, that is
generally frowned upon.
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ä-ö-ü-ß-Ä-Ö-Ü
eg -itsoffset -1 -i "$@" -vcodec png -vframes 1 -an -f rawvideo
-s 640x480 $filename.3.png
In addition to the video it creates three png files, from the first
few frames of the video. I choose one of these pngs (rm the other two)
and use it as the thumbnail for the video in the flash
my old address: Middlesex.
>
> I can't believe you didn't use the infamous "Scunthorpe" as your example :p
>
> Col
There was a post on Coding Horror not long ago that brought this one up:
http://google.com/search?q=consbreastution
http://www.codinghorror.com/bl
2008/10/29 Richard Heyes <[EMAIL PROTECTED]>:
> Hi,
>
> Anyone know of a good (as opposed to a bad) mailing list manager,
> other than freelists.org (which I can't seem to get working).
>
> Thanks.
>
Gmail!
--
Dotan Cohen
http://what-is-what.com
http://gibberish
roups.google.com/group/rgraph
>>
>
> OH GOD MY EYES ARE BLEEDING! Is that a breast cancer awareness group?
>
OMG Ponies!!!
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ä-ö-ü-ß-Ä-Ö-Ü
#x27;t spend the last two-hundred-thirty-two years butchering
> the language just for you to correct us, Sheridan! If you guys had
> gotten it right in the first place, we wouldn't have had to improve
> it! ;-P
>
You mean fork it? funEnglish?
--
Dotan Cohen
http://what-is-what.c
2008/11/3 Richard Heyes <[EMAIL PROTECTED]>:
>>> OMG Pwnies!
>>>
>> Fixed that for you.
>
> In my best Manuel voice (kinda topical)... Keh??
>
/. memes. You may be better off not knowing.
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-
2008/11/3 Daniel P. Brown <[EMAIL PROTECTED]>:
>Dark matter, grey matter, fecal matter, it doesn't matter.
>
It's all mind over matter. I've got no mind, and it doesn't seem to matter.
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו
2008/11/4 bruce <[EMAIL PROTECTED]>:
> and what's the best way to do the redirect
>
Header redirects are my preferred method, because of the Back button
on the browser.
> sample code would be cool!
>
It is available at php.net/manual
--
Dotan Cohen
http:
without Javascript enabled,
such as those who use the popular Firefox extension NoScript or who
are browsing from a cellphone / PDA.
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ä-ö-ü-ß-Ä-Ö-Ü
Is there a compliance test?
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ä-ö-ü-ß-Ä-Ö-Ü
mpliance too, which they
weren't. Now, lots of $$$ later, they are.
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ä-ö-ü-ß-Ä-Ö-Ü
2008/11/4 Boyd, Todd M. <[EMAIL PROTECTED]>:
>> Is there a compliance test?
>
> There's a link at the bottom of this page for an automated test:
>
> http://pamil-visions.com/W3C-compliance.php
>
Thanks!
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.
ility to
command my little compter to give me four possible spellings of kayak.
So I now turn to the popular php community for advise. What functions could be
reccommended to complete the task? Is there a better way of doing this? Was I
better off trying to do it with explode/implode or is the
s with the wealth of information the php community is willing to share.
Dotan
On Monday 17 January 2005 04:41 am, Richard Lynch wrote:
> Dotan Cohen wrote:
> > kayak. Focusing only on the 'k's I get this array: kayak, cayac. But I
> > need
> > kayak, kayac, cayak, cayac.
>
print $con->query($query);
> > $con->query("OPTIMIZE TABLE LoginTracker ");
> >
> > $this->discon ($conClas, $con);
> > }
>
> thx
> janbro
>
-snip-
$query = "DELETE FROM LoginTracker W
t;/(.|\s)*?<\/head>/i" , "" ,
$text);
==^
It seems to be pointing to the 'e' is 'head'. Why? Thanks.
Dotan Cohen
http://lyricslist.com/lyrics/pages/artist_albums.php/416/Queen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have gone over and over through google and various archives, but
cannot come up with a solution even though I am convinced that this is
a FAQ:
I want to parse my .wml files. So in .htaccess I have:
AddType application/x-httpd-php .wml
AddType text/vnd.wap.wml .wml
But it does not parse! If I rem
On 6/5/05, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> Dotan Cohen wrote:
> > I took this example from php.net, but can't figure out where I went
> > wrong. Why does this:
> > $text = preg_replace("/(.|\s)*?<\/head>/i" , "" , $text);
>
On 6/5/05, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> Dotan Cohen wrote:
> > I have gone over and over through google and various archives, but
> > cannot come up with a solution even though I am convinced that this is
> > a FAQ:
> > I want to parse my .
On 6/5/05, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> Dotan Cohen wrote:
> > On 6/5/05, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> >
> >>Dotan Cohen wrote:
> >>
> >>>I have gone over and over through google and various archives,
On 6/5/05, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote:
> * Dotan Cohen <[EMAIL PROTECTED]>:
> > I took this example from php.net, but can't figure out where I went
> > wrong. Why does this:
> > $text = preg_replace("/(.|\s)*?<\/head>/
On 6/6/05, Brian V Bonini <[EMAIL PROTECTED]> wrote:
> On Sun, 2005-06-05 at 16:05, Dotan Cohen wrote:
>
> > I don't want to strip out all the tags, just certain ones. But the
> > problem turned out not to be in this peice of code- the script simply
> > wasn&
On 6/5/05, M. Sokolewicz <[EMAIL PROTECTED]> wrote:
> Dotan Cohen wrote:
> > On 6/5/05, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> >
> >>Dotan Cohen wrote:
> >>
> >>>On 6/5/05, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> >&g
On 6/6/05, Brian V Bonini <[EMAIL PROTECTED]> wrote:
> On Sun, 2005-06-05 at 18:13, Dotan Cohen wrote:
> > On 6/6/05, Brian V Bonini <[EMAIL PROTECTED]> wrote:
> > > On Sun, 2005-06-05 at 16:05, Dotan Cohen wrote:
> > >
> > > > I don't wa
On 6/6/05, Richard Lynch <[EMAIL PROTECTED]> wrote:
> On Sun, June 5, 2005 7:05 am, Dotan Cohen said:
> > I took this example from php.net, but can't figure out where I went
> > wrong. Why does this:
> > $text = preg_replace("/(.|\s)*?<\/head>/i" , &
On 6/6/05, Chris Shiflett <[EMAIL PROTECTED]> wrote:
> Dotan Cohen wrote:
> > IF you know every single tag that exists! And being how I only wanted
> > to remove four of them, the list of 'what to remove' is so much more
> > compact than the 'leave
your original problem :-)
>
> But, hey, ya learned some stuff, and that's never bad. :-)
>
> On Sun, June 5, 2005 6:36 pm, Dotan Cohen said:
> > On 6/6/05, Richard Lynch <[EMAIL PROTECTED]> wrote:
> >> On Sun, June 5, 2005 7:05 am, Dotan Cohen said:
> >&
Now, I know that this is easy, but I am embarassed to say that I can't
find a regex tutorial that will show me how to match any occurances of
x and replace them with one x:
x >x
xx > x
x > x
$string="I have apples!";
$string=preg_replace("-regex here-","x", $string);
print "$string";
On 6/8/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Quoting Dotan Cohen <[EMAIL PROTECTED]>:
>
> $string="I have apples!";
> $string=preg_replace("/x+/sim","x", $string);
> print "$string";
>
> hope it helps.
On 6/8/05, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Dotan Cohen wrote:
> > On 6/8/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> >>Quoting Dotan Cohen <[EMAIL PROTECTED]>:
> >>
> >>$string="I have apples!"
On 6/8/05, John Nichel <[EMAIL PROTECTED]> wrote:
> preg_replace ( "/x+/", "x", $string );
> preg_replace ( "/x{1,}/", "x", $string );
>
> But those will also change a letter 'x' in a word, so you'll probably
> need to tinker with that part too.
>
> --
> John C. Nichel
> ÜberGeek
> KegWorks.com
>
Hi gurus. I'm having fun replacing the text within [ and ] to XML
format on 4000+ files on a windows XP machine. I installed php (and an
apache server) on the machine because it is the only language the I am
remotely familiar with.
I want and text that is with [ and ] to be enclosed with and
. Go
On 6/14/05, Sebastian Mendel <[EMAIL PROTECTED]> wrote:
> Dotan Cohen wrote:
> > Hi gurus. I'm having fun replacing the text within [ and ] to XML
> > format on 4000+ files on a windows XP machine. I installed php (and an
> > apache server) on the machine because
On 6/14/05, Sebastian Mendel <[EMAIL PROTECTED]> wrote:
> Dotan Cohen wrote:
> > Hi gurus. I'm having fun replacing the text within [ and ] to XML
> > format on 4000+ files on a windows XP machine. I installed php (and an
> > apache server) on the machine because
401 - 500 of 596 matches
Mail list logo