php-general Digest 15 Nov 2005 10:06:22 - Issue 3795
Topics (messages 225785 through 225808):
Re: Walking through a bunch of MySQL Records
225785 by: Miles Thompson
[EMAIL PROTECTED]
225786 by: Miles Thompson
225789 by: Jasper Bryant-Greene
Re: Filtering and
bye
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there,
I´m familiar with PHP syntax, but I´ve been reading some sample scripts, in
PHP5 and i´ve seen some strange things, like diferent ways to read a
collection of rows, magic functions, wrapers, and operators like :: and
-. I know that all is the manual, but before that anyone nows, a
Danny wrote:
Hi there,
I´m familiar with PHP syntax, but I´ve been reading some sample scripts, in
PHP5 and i´ve seen some strange things, like diferent ways to read a
collection of rows, magic functions, wrapers, and operators like :: and
-. I know that all is the manual, but before that
-. I know that all is the manual, but before that anyone nows, a website
or a simple tutorial or explained samples, in order that the transition from
PHP4 and PHP5 were easiest as possible.
http://www.php.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On 11/14/05, Ford, Mike [EMAIL PROTECTED] wrote:
On 11 November 2005 18:47, sunaram patir wrote:
array(1) { [PHPSESSID]= string(32)
337a44c0d6c9ed3cf4ba4e97d707589e } is returned by firefox on calling
var_dump($_COOKIE). NULL in ie.
If the very same piece of PHP produces different
Thanks.
Any other source (some resume pdf or something like What´s new)
On 11/15/05, Raz [EMAIL PROTECTED] wrote:
-. I know that all is the manual, but before that anyone nows, a
website
or a simple tutorial or explained samples, in order that the transition
from
PHP4 and PHP5 were
http://uk2.php.net/manual/en/migration5.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Greg Donald wrote:
On Mon, 2005-11-14 at 03:55 -0500, Roman Ivanov wrote:
What features do you need from a framework?
Convention over configuration. (Yaml, not XML. ActiveRecord not
Propel/Phing.)
Hard to do in pure PHP. But I tried:
On 15 Nov 2005, at 10:06, Danny wrote:
I´m familiar with PHP syntax, but I´ve been reading some sample
scripts, in
PHP5 and i´ve seen some strange things, like diferent ways to read a
collection of rows, magic functions, wrapers, and operators like
:: and
-. I know that all is the manual,
been fighting this for a while but can find no definitave docs that say how
exactly and with
what options are needed to enable this..
Here is what Im using for my config
./configure -v --with-oci8=/apps/oracle
--with-apxs=/local/apache-1333/bin/apxs
--with-gd=/local/stuff
Can '?=' be used for templates, or is it a bad thing?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 15 Nov 2005, GamblerZG wrote:
Convention over configuration. (Yaml, not XML. ActiveRecord not
Propel/Phing.)
Hard to do in pure PHP. But I tried:
http://cvs.sourceforge.net/viewcvs.py/naturalgine/NECMS_0_3/tools/ori.php?rev=1.1.1.1view=markup
Maybe Zend will get it right where all
Hi All,
I want to start using a framework to my future sites and I saw that
there are quite alot of options out there at the net, if anyone got any
experience with frameworks I would really like to receive some
suggestions, recommenditions and even ideas.
The framework need to achieve the
Hi Yonatan,
Tuesday, November 15, 2005, 2:54:27 PM, you wrote:
I want to start using a framework to my future sites and I saw that
there are quite alot of options out there at the net, if anyone got
any experience with frameworks I would really like to receive some
suggestions,
On 11/15/05, Roman Ivanov [EMAIL PROTECTED] wrote:
Can '?=' be used for templates, or is it a bad thing?
The manual's reasonably explicit on the subject:
Note: Using short tags should be avoided when developing
applications or libraries that are meant for redistribution, or
deployment on PHP
Robin Vickery wrote:
On 11/15/05, Roman Ivanov [EMAIL PROTECTED] wrote:
Can '?=' be used for templates, or is it a bad thing?
The manual's reasonably explicit on the subject:
Note: Using short tags should be avoided when developing
applications or libraries that are meant for
Robin Vickery wrote:
On 11/15/05, Roman Ivanov [EMAIL PROTECTED] wrote:
Can '?=' be used for templates, or is it a bad thing?
The manual's reasonably explicit on the subject:
Note: Using short tags should be avoided when developing
applications or libraries that are meant for
Roman Ivanov wrote:
Robin Vickery wrote:
On 11/15/05, Roman Ivanov [EMAIL PROTECTED] wrote:
Can '?=' be used for templates, or is it a bad thing?
The manual's reasonably explicit on the subject:
Note: Using short tags should be avoided when developing
applications or libraries that are
Richard Davey wrote:
Hi Yonatan,
Tuesday, November 15, 2005, 2:54:27 PM, you wrote:
I want to start using a framework to my future sites and I saw that
there are quite alot of options out there at the net, if anyone got
any experience with frameworks I would really like to receive some
Robin Vickery wrote:
On 11/15/05, Roman Ivanov [EMAIL PROTECTED] wrote:
Can '?=' be used for templates, or is it a bad thing?
The manual's reasonably explicit on the subject:
Note: Using short tags should be avoided when developing
applications or libraries that are meant
Hi All,
I know that it is pretty darn impossible to come up with a regular
expression for validating emails.
How do you all validated emails on form submission?
Is it good just to do something like /[EMAIL PROTECTED]/ ? That (or a
close derivative) should match that there is at least a @ and
Every server I work on is set to not allow short tags, and I work on
about 7 different state, federal, and commercial ones. Some of them
don't even read .htaccess files in the directories where my scripts
reside, so trying that type of hack would get you booted.
just my $.02
--
PHP General
Hi All,
Is there any way to develop a php scrip which generates reports of emails sent
from a list?
Basic records like open rate, click rate, opt out that is automatically
generated from the email campaign list?
I am trying to substitute our email publishing house because they don't have a
HI All,
Every server I work on is set to not allow short tags, and I work on
about 7 different state, federal, and commercial ones.
Why turn off short tags? Does that make things more secure?
Thanks,
--
Leonard Burton, N9URK
[EMAIL PROTECTED]
The prolonged evacuation would have
On Tue, 15 Nov 2005, Leonard Burton wrote:
I know that it is pretty darn impossible to come up with a regular
expression for validating emails.
Nah.. just depends on how closely you want to follow the RFC.
http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html
--
Greg Donald
Zend Certified
seems like as soon as I post to the list, I end up figgereing it out..
anyway, heres what ended up working.
./configure -v --with-oci8=/apps/oracle
--with-apxs=/local/apache-1333/bin/apxs
--with-gd=/local/stuff --with-mysql=/local/stuff --with-curl
--with-imap=/local/jason/imap-2002d
Leonard Burton wrote:
Hi All,
I know that it is pretty darn impossible to come up with a regular
expression for validating emails.
How do you all validated emails on form submission?
Is it good just to do something like /[EMAIL PROTECTED]/ ? That (or a
close derivative) should match that
- Original Message -
From: Leonard Burton [EMAIL PROTECTED]
To: PHP-General php-general@lists.php.net
Sent: Tuesday, November 15, 2005 4:16 PM
Subject: [PHP] Validating Email addrs
Hi All,
I know that it is pretty darn impossible to come up with a regular
expression for validating
Every server I work on is set to not allow short tags, and I work on
about 7 different state, federal, and commercial ones.
Why turn off short tags? Does that make things more secure?
In some respects it does because it means shortcuts are not allowed, it
also means that someone trying to
Hi Greg, all,
http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html
That is a heck of a regex there. I am going to have to experiment with
that one a little bit.
Thanks for the replies to my post here.
--
Leonard Burton, N9URK
[EMAIL PROTECTED]
The prolonged evacuation would have
On Tue, 2005-11-15 at 09:54, Yonatan Ben-Nes wrote:
Hi All,
I want to start using a framework to my future sites and I saw that
there are quite alot of options out there at the net, if anyone got any
experience with frameworks I would really like to receive some
suggestions,
Jim Moseby wrote:
Robin Vickery wrote:
On 11/15/05, Roman Ivanov [EMAIL PROTECTED] wrote:
Can '?=' be used for templates, or is it a bad thing?
The manual's reasonably explicit on the subject:
Note: Using short tags should be avoided when developing
applications or libraries that are
Leonard Burton wrote:
HI All,
Every server I work on is set to not allow short tags, and I work on
about 7 different state, federal, and commercial ones.
Why turn off short tags? Does that make things more secure?
Don't know if it makes it any more or less secure. I turn them off
On Tue, 15 Nov 2005, [EMAIL PROTECTED] wrote:
In some respects it does because it means shortcuts are not allowed, it
also means that someone trying to hack through your site is going to be
held to a higher standard (ASP tags are cut off as well, the only thing
Most PHP site exploits I've
I am trying to learn how to work with arrays, and have the basic concept
down for working within a single page, but I am having trouble sending an
array from one page to another. For example, I can send a variable from
page to page using either the URL, such as www.domain.com/?foo=bar, or using
a
Robert Cummings wrote:
On Tue, 2005-11-15 at 09:54, Yonatan Ben-Nes wrote:
Hi All,
I want to start using a framework to my future sites and I saw that
there are quite alot of options out there at the net, if anyone got any
experience with frameworks I would really like to receive some
Jim Moseby wrote:
Robin Vickery wrote:
On 11/15/05, Roman Ivanov [EMAIL PROTECTED] wrote:
Can '?=' be used for templates, or is it a bad thing?
The manual's reasonably explicit on the subject:
Note: Using short tags should be avoided when developing
applications or libraries
Hi Jochem,
Tuesday, November 15, 2005, 4:34:28 PM, you wrote:
so how many people actually _need_ to write portable code? ok so
many you are starting a project which will become a runaway success
but until it starts receiving alot of attention use of
short-open-tags is probably not your
On 11/15/05, Jochem Maas [EMAIL PROTECTED] wrote:
Jim Moseby wrote:
Robin Vickery wrote:
On 11/15/05, Roman Ivanov [EMAIL PROTECTED] wrote:
Can '?=' be used for templates, or is it a bad thing?
The manual's reasonably explicit on the subject:
Note: Using short tags should be
Hi Jim,
Tuesday, November 15, 2005, 5:25:58 PM, you wrote:
I don't know, but those who do should not use short tags. And those
who hope to should not get into the habit of using short tags.
And for the vast majority remaining, who write closed-apps for
clients??
It will be when you have to
On Tue, November 15, 2005 11:35 am, Richard Davey wrote:
Tuesday, November 15, 2005, 4:34:28 PM, you wrote:
so how many people actually _need_ to write portable code? ok so
many you are starting a project which will become a runaway success
but until it starts receiving alot of attention use
At 01:25 PM 11/15/2005, Jim Moseby wrote:
Jim Moseby wrote:
Robin Vickery wrote:
On 11/15/05, Roman Ivanov [EMAIL PROTECTED] wrote:
Can '?=' be used for templates, or is it a bad thing?
The manual's reasonably explicit on the subject:
Note: Using short tags should be
Real simple question
How do I change this from disabled to enabled.
Thanks
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Nov 15, 2005 at 05:39:36PM +, Richard Davey wrote:
Hi Jim,
Tuesday, November 15, 2005, 5:25:58 PM, you wrote:
I don't know, but those who do should not use short tags. And those
who hope to should not get into the habit of using short tags.
And for the vast majority
[snip]
Real simple question
How do I change this from disabled to enabled.
[/snip]
Flip the switch?
/subtle :)
This an IIS question. Please see
http://www.microsoft.com/windows2000/en/server/iis/default.asp?url=/windows2
000/en/server/iis/htm/core/iicodirv.htm
--
PHP General Mailing List
On 11/15/05, Jochem Maas [EMAIL PROTECTED] wrote:
so how many people actually _need_ to write portable code? ok so many you
are starting a project which will become a runaway success but until it starts
receiving alot of attention use of short-open-tags is probably not your
biggest
issue
Robin Vickery wrote:
snip
Short tags have been deprecated for years. Both the manual and the
php.ini file itself advise people not to use them. Personally I think
it's about time they were turned off by default, but that's bound to
annoy a lot of people who've ignored the warnings.
Hey, we
On Nov 15, 2005, at 12:07 PM, Ben Miller wrote:
I am trying to learn how to work with arrays, and have the basic
concept
down for working within a single page, but I am having trouble
sending an
array from one page to another. For example, I can send a variable
from
page to page using
On Tuesday 15 November 2005 16:09, Richard Davey wrote:
I want to start using a framework to my future sites and I saw that
there are quite alot of options out there at the net, if anyone got
any experience with frameworks I would really like to receive some
suggestions, recommenditions
On 11/15/05, Roman Ivanov [EMAIL PROTECTED] wrote:
Robin Vickery wrote:
On 11/15/05, Roman Ivanov [EMAIL PROTECTED] wrote:
Can '?=' be used for templates, or is it a bad thing?
The manual's reasonably explicit on the subject:
Note: Using short tags should be avoided when
On Tue, 15 Nov 2005, Jim Moseby wrote:
It will be when you have to sort through 1,000,000 lines of code in 400
files to change '?' to '?PHP'. Better to save the grief and do it right
to start with, no?
for file in *.php; do
cp $file $file.tmp
sed -e s/?$/?php/g $file.tmp $file
rm $file.tmp
On Nov 15, 2005, at 8:39 AM, Greg Donald wrote:
On Tue, 15 Nov 2005, Jim Moseby wrote:
It will be when you have to sort through 1,000,000 lines of code
in 400
files to change '?' to '?PHP'. Better to save the grief and do
it right
to start with, no?
for file in *.php; do
cp $file
Hi Robin,
Tuesday, November 15, 2005, 6:18:06 PM, you wrote:
Short tags have been deprecated for years. Both the manual and the
php.ini file itself advise people not to use them. Personally I
think it's about time they were turned off by default, but that's
bound to annoy a lot of people
On 11/15/05, Greg Donald [EMAIL PROTECTED] wrote:
On Tue, 15 Nov 2005, Jim Moseby wrote:
It will be when you have to sort through 1,000,000 lines of code in 400
files to change '?' to '?PHP'. Better to save the grief and do it right
to start with, no?
for file in *.php; do
cp $file
When I test locally I get a weird error..
CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:
any ideas?
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
When I test locally I get a weird error..
CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:
any ideas?
[/snip]
It is not nearly as weird as you may think. Have you looked at your error
log? Can we see the
On Tue, 15 Nov 2005, Jim Moseby wrote:
It will be when you have to sort through 1,000,000 lines of
code in 400
files to change '?' to '?PHP'. Better to save the grief
and do it right
to start with, no?
for file in *.php; do
cp $file $file.tmp
sed -e s/?$/?php/g $file.tmp $file
Hi, i´m writting a php program that parses and saves some xml files on a
server. The problem is that i want to catch warnings so as to be able to
store them in a variable, but not to be put directly on client´s
browser. I got the following code, but i cannot get it working:
I think I may be headed down the wring direction.
I'm using Apache.
What I'd like to be able to do is to
pass arguments to a script as though it were a directory.
Something like so
http://server.com/script.php/some-virtual/dirs/
On 11/15/05, Jay Blanchard [EMAIL PROTECTED] wrote:
[snip]
Real
Hiyah Richard,
On 11/15/05, Richard Davey [EMAIL PROTECTED] wrote:
Hi Robin,
Tuesday, November 15, 2005, 6:18:06 PM, you wrote:
Short tags have been deprecated for years. Both the manual and the
php.ini file itself advise people not to use them. Personally I
think it's about time they
[snip]
I think I may be headed down the wring direction.
I'm using Apache.
What I'd like to be able to do is to
pass arguments to a script as though it were a directory.
Something like so
http://server.com/script.php/some-virtual/dirs/
[/snip]
http://us2.php.net/dir
Jay Blanchard wrote:
[snip]
I think I may be headed down the wring direction.
I'm using Apache.
What I'd like to be able to do is to
pass arguments to a script as though it were a directory.
Something like so
http://server.com/script.php/some-virtual/dirs/
[/snip]
http://us2.php.net/dir
cho tag reasonably portable?
Hi Jim,
Hi Richard.
Tuesday, November 15, 2005, 5:25:58 PM, you wrote:
I don't know, but those who do should not use short tags. And those
who hope to should not get into the habit of using short tags.
And for the vast majority remaining, who write
On Tue, Nov 15, 2005 at 02:50:53PM -0500, Brad Glonka wrote:
I think I may be headed down the wring direction.
Yeah, the Virtual Directory Support isn't really what its name
seems to be, it basically is enabled when php is compiled with
Zend Thread Saftey which only effects how certain things
Hi,
I'm trying to compile php 4.4.1 on Solaris 8 but I'm getting the error
Command failed for target 'ext/xml/xml.lo' during the make process.
[snip]
/nfs/dm11-fs22/work/training/dj365/php-4.4.1/ext/xml/xml.c:1582:
`XML_Char' undeclared (first use in this function)
Brad Glonka wrote:
The script does not give me any output.
I think this is what I need to enable.
No, as has already been said on the list. That virtual directory
setting has nothing to do with this AFAIK.
Are you running PHP as an Apache module or as CGI?
Jasper
--
PHP General Mailing
The script does not give me any output.
I think this is what I need to enable.
On 11/15/05, Jasper Bryant-Greene [EMAIL PROTECTED] wrote:
Jay Blanchard wrote:
[snip]
I think I may be headed down the wring direction.
I'm using Apache.
What I'd like to be able to do is to
pass
Hi All,
Does anyone know of a regex to work for Amateur Radio Callsigns that
will work with any from across the world?
Thanks and 73,
--
Leonard Burton, N9URK
[EMAIL PROTECTED]
The prolonged evacuation would have dramatically affected the
survivability of the occupants.
--
PHP General
Hi!
I have a server written in C++ and my webpages are in PHP. The PHP has
to communicate with the server using shared memory. This was working
fine on the server running FC-1 with php-4.3.8. We recently migrated
to CentOS 4.1 (Equivalent to RHEL 4.1) running php-4.3.9. The error it
displays is
On Tue, 15 Nov 2005, Jim Moseby wrote:
for file in *.php; do
cp $file $file.tmp
sed -e s/?$/?php/g $file.tmp $file
rm $file.tmp
done
I maintain: Better to save the grief and do it right to start with, no?
Maybe at some point I too will be lucky enough to only work on code that
I authored.
Hi Robin,
Tuesday, November 15, 2005, 7:53:55 PM, you wrote:
I did quote the note concerning them in its entirety. If I had
simply quoted the manual as saying be sure not to use short tags
then I could see your point regarding lack of context. But I didn't.
Not in the message I was replying
On 11/15/05, Greg Donald [EMAIL PROTECTED] wrote:
On Tue, 15 Nov 2005, Jim Moseby wrote:
for file in *.php; do
cp $file $file.tmp
sed -e s/?$/?php/g $file.tmp $file
rm $file.tmp
done
I maintain: Better to save the grief and do it right to start with, no?
Maybe at some point I too
Hi Jim,
Tuesday, November 15, 2005, 8:01:01 PM, you wrote:
Still best practice is to use long tags. Suppose you write a
closed-app for a client who makes a business decision to move it to
a hosted server that does not allow short tags... The down side is,
the app will break. The up side is,
On 11/15/05, Greg Donald [EMAIL PROTECTED] wrote:
On Tue, 15 Nov 2005, Jim Moseby wrote:
for file in *.php; do
cp $file $file.tmp
sed -e s/?$/?php/g $file.tmp $file
rm $file.tmp
done
I maintain: Better to save the grief and do it right to start with, no?
Maybe at some point I too
Hello all,
Recently I had some problems with include/include_once.
This is the scenario:
My application uses only classes loaded through a centered __autoload()
function (no require/include anywere in the scripts, but in __autoload()
itself).
Now, diverse libraries use diverse extensions. For
Yonatan,
And since I'm the Lampshade guy, I'll throw Lampshade out there, as well:
http://www.thinkcomputer.com/software/lampshade/index.html
Unlike a lot of frameworks, Lampshade is entirely procedural, and it's
designed specifically for use with MySQL. I suppose that makes it less
flexible
I tried to unsubscribe on several occasion without
success. I followed the instruction at the bottom
of the email. Can someone take me off the list.
Thank You.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Nov 15, 2005 at 10:48:56PM +, Thiago Silva wrote:
...
So, __autload has to *try* include_once's. Something like that:
function __autoload($className) {
include_once(${className}.php);
if(class_exists($className, false)) return;
include_once(${className}.class.php);
On Tue, Nov 15, 2005 at 09:33:42PM -0500, wayne wrote:
I tried to unsubscribe on several occasion without
success. I followed the instruction at the bottom
of the email. Can someone take me off the list.
Thank You.
you can always send an email to:
[EMAIL PROTECTED]
Curt.
--
--
PHP
On Tue, Nov 15, 2005 at 04:39:05PM -0300, Mariano Guadagnini wrote:
Hi, i�m writting a php program that parses and saves some xml files on a
server. The problem is that i want to catch warnings so as to be able to
store them in a variable, but not to be put directly on client�s
browser. I
On Tue, Nov 15, 2005 at 03:47:21PM -0500, Leonard Burton wrote:
Does anyone know of a regex to work for Amateur Radio Callsigns that
will work with any from across the world?
What does a amateur radio callsign look like? And in what context
are you trying to parse this callsign?
Curt.
--
On Wed, Nov 16, 2005 at 03:33:22AM +0530, Yaswanth Narvaneni wrote:
Hi!
I have a server written in C++ and my webpages are in PHP. The PHP has
to communicate with the server using shared memory. This was working
fine on the server running FC-1 with php-4.3.8. We recently migrated
to CentOS
HI Curt,
Thanks for the reply,
What does a amateur radio callsign look like? And in what context
are you trying to parse this callsign?
Basically here is the regex I used (I am not the best with regexes):
$pattern = /^[0-9]?[A-Z]{1,2}[0-9][A-Z]{1,3}/;
Here are how they look
W1W
W1AW
WA1W
On Tue, Nov 15, 2005 at 06:05:20PM -, Ross wrote:
When I test locally I get a weird error..
CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:
any ideas?
Not really, how did you set php up locally?
On Tue, Nov 15, 2005 at 11:16:15AM -0500, Leonard Burton wrote:
Hi All,
I know that it is pretty darn impossible to come up with a regular
expression for validating emails.
How do you all validated emails on form submission?
Is it good just to do something like /[EMAIL PROTECTED]/ ?
My question is simnple. I want to randomly select a row in a mysql
table. I have a primary id.
?php
$server = localhost;
$user = foo;
$pass = foo;
$db=foo_db;
$table=foo_table;
$myconnection = mysql_connect($server,$user,$pass);
mysql_select_db($db,$myconnection);
$sql = ??;
$news =
John Taylor-Johnston wrote:
My question is simnple. I want to randomly select a row in a mysql
table. I have a primary id.
?php
$server = localhost;
$user = foo;
$pass = foo;
$db=foo_db;
$table=foo_table;
$myconnection = mysql_connect($server,$user,$pass);
mysql_select_db($db,$myconnection);
On Wed, Nov 16, 2005 at 01:27:12AM +0200, Robin Vickery wrote:
On 11/15/05, Greg Donald [EMAIL PROTECTED] wrote:
On Tue, 15 Nov 2005, Jim Moseby wrote:
for file in *.php; do
cp $file $file.tmp
sed -e s/?$/?php/g $file.tmp $file
rm $file.tmp
done
...
for file in *.php; do
IS their a way to set the time to localtime instead of GMT in
the ini file?
Some users are complaining that they are seeing GMT, which this server
is set to.
--
Member - Liberal International
This is [EMAIL PROTECTED] Ici [EMAIL PROTECTED]
God Queen and country! Beware Anti-Christ
On Tue, Nov 15, 2005 at 10:39:19PM -0500, Leonard Burton wrote:
HI Curt,
Thanks for the reply,
What does a amateur radio callsign look like? And in what context
are you trying to parse this callsign?
Basically here is the regex I used (I am not the best with regexes):
$pattern =
On Wed, Nov 16, 2005 at 05:19:52PM +1300, Jasper Bryant-Greene wrote:
John Taylor-Johnston wrote:
My question is simnple. I want to randomly select a row in a mysql
table. I have a primary id.
?php
$server = localhost;
$user = foo;
$pass = foo;
$db=foo_db;
$table=foo_table;
On Mon, Nov 14, 2005 at 06:01:21PM -0400, Miles Thompson wrote:
Can someone get rid of him?
Every time I post, which I admit is not often, I get a bounce.
I put in a request to remove that email from the list, hopefully it
will get remove shortly.. i had to look in my gmail spam to find
that
HI Curt,
W1W
W1AW
WA1W
AD4HZ
N9URK
WB6NOA
4N1UBG
Ok, so i can conclude so far we have alpha numeric chars minimum of
3 chars up to 6, this would make a regex:
/[A-Z0-9]{3,6}/
The only problem with this is that it would take 444 which is not a
valid call.
$pattern = /^;
HI
How to uncompress compressed data with php://input
Which one of the following is correct
1 .$unzip = gzinflate(php://input,r);
$getdata = fopen($unzip.r);
2. gzcompress(php://input,r);
$getdata = fopen($unzip.r);
what the best solution help me
With regards
Praveen
On Tue, Nov 15, 2005 at 09:28:22PM -0800, kumar kumar wrote:
HI
How to uncompress compressed data with php://input
Which one of the following is correct
1 .$unzip = gzinflate(php://input,r);
$getdata = fopen($unzip.r);
2. gzcompress(php://input,r);
$getdata =
On Wed, Nov 16, 2005 at 12:25:22AM -0500, Leonard Burton wrote:
HI Curt,
W1W
W1AW
WA1W
AD4HZ
N9URK
WB6NOA
4N1UBG
Ok, so i can conclude so far we have alpha numeric chars minimum of
3 chars up to 6, this would make a regex:
/[A-Z0-9]{3,6}/
The only problem with this
I grabbed the following from a web-published article (sorry, can't remember
where):
function validate_email($email) {
if(preg_match(/^( [a-zA-Z0-9] )+( [a-zA-Z0-9\._-] )*@( [a-zA-Z0-9_-]
)+(
\.[a-zA-Z0-9_-] +)+$/ , $email)){
list($username,$domain)=split('@',$email);
98 matches
Mail list logo