On Jan 21, 2011, at 6:52 PM, Ron Piggott wrote:
Would someone write me a syntax so all the web site addresses in $data turn
into links
$data = “Visit our web site http://www.site.com, http://www.secondsite.org
and http://www.thirdsite.info.”;
My desired results for what I am asking fo
On Jan 21, 2011, at 6:52 PM, Ron Piggott wrote:
>
> Would someone write me a syntax so all the web site addresses in $data turn
> into links
>
> $data = “Visit our web site http://www.site.com, http://www.secondsite.org
> and http://www.thirdsite.info.”;
>
> My desired results for what I am
On Jan 21, 2011, at 7:52 PM, Ron Piggott wrote:
>
> Would someone write me a syntax so all the web site addresses in $data turn
> into links
>
> $data = “Visit our web site http://www.site.com, http://www.secondsite.org
> and http://www.thirdsite.info.”;
>
> My desired results for what I am a
Ah, sorry. It's a browser-based script.
On Fri, Jan 21, 2011 at 1:28 PM, Jim Lucas wrote:
> On 1/21/2011 12:37 PM, Richard S. Crawford wrote:
> > I've got a massive PHP script which takes nearly an hour to run.
> Sometimes,
> > when it comes close to the end, it mysterious restarts itself and I
On 1/21/2011 12:37 PM, Richard S. Crawford wrote:
> I've got a massive PHP script which takes nearly an hour to run. Sometimes,
> when it comes close to the end, it mysterious restarts itself and I have to
> wait for another hour for it to complete.
>
> Is there any reason why a PHP script would r
I've got a massive PHP script which takes nearly an hour to run. Sometimes,
when it comes close to the end, it mysterious restarts itself and I have to
wait for another hour for it to complete.
Is there any reason why a PHP script would restart itself like this?
FWIW, I'm running PHP5 with Apache
Donovan Brooke wrote:
[snip]
if ($t_ok) {
}
Small correction.. with my established naming convention.. the above
ideally would be:
> if ($b_ok) {
>
> }
D
--
D Brooke
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> In fact I'm wondering why the OP doesn't just do what every other site
> seems to do - accept the registering user's input as valid, and ask them
> to validate it by sending them an email address to that address.
It still makes sense to validate the format of the address as soon as
possible. Th
Paul M Foster wrote:
[snip]
Shawn, I don't know if I have a good reason, other than I rather like
working with string vars instead of array vars from $_REQUEST for
(sticky forms and conditionals). I can check/verify them as well in the
process.
You should probably get used to dealing with the a
On Fri, Jan 21, 2011 at 4:44 AM, Dotan Cohen wrote:
> Then I would have to check what values are available when inserting,
> and possibly normalise every so often. I'll think about that, and when
> I have enough data in the database I'll set up a test system to play
> with the possibility.
>
Yes
On 01/20/2011 05:26 PM, Tommy Pham wrote:
> On Thu, Jan 20, 2011 at 2:49 PM, Shawn McKenzie wrote:
>> On 01/20/2011 04:28 PM, Donovan Brooke wrote:
>>> Hello again!
>>>
>>> I'm trying to find a good way to convert array key/value's to
>>> variable name values... but with the caveat of the name b
Gary wrote:
[snip]
In fact I'm wondering why the OP doesn't just do what every other site
seems to do - accept the registering user's input as valid, and ask them
to validate it by sending them an email address to that address.
Assuming an email address is even really required for operation of th
On Fri, 21 Jan 2011 18:32:56 +0530, Nilesh Govindarajan wrote:
> Okay let me tell you guys one more thing that the validator I posted
> earlier is not exactly as per RFC. It does have some variations.
> "@"@example.com may be a valid email address, but I doubt very much if
> any provider in the
On Thu, Jan 20, 2011 at 5:27 PM, David Harkness wrote:
> On Thu, Jan 20, 2011 at 4:26 PM, Tommy Pham wrote:
>>
>> Anyway, I found the problem: \N in
>> use org\puremvc\php\patterns\observer\Notifier;
>
> AFAIK \n is only processed inside double-quoted strings and here-docs. The
> \N has no speci
On 01/21/2011 06:25 AM, Andre Polykanine wrote:
Hej Nisse,
Me thinks it isn't a valid address :-).
Okay let me tell you guys one more thing that the validator I posted
earlier is not exactly as per RFC. It does have some variations.
"@"@example.com may be a valid email address, but I doubt
On Fri, Jan 21, 2011 at 12:29, Richard Quadling wrote:
> Changing data in a database is the role of the database engine. It is
> much more efficient to have the cost on the insert than it is on the
> select.
>
Agreed. On insert I could even delegate the operation to another
thread which does not
> If you are doing this often, you could leave spaces in the left and right
> values so that you could minimize the number of rows that need to be
> updated. The article makes every leaf use x and x+1 for left and right which
> forces another update to add a child. If instead you used x and x+20 yo
>> Actually, I'm the customer! But assuming that a customer exists, that
>> implies compensation, and therefore fair bait.
> Then that's different altogether. you get to decide what information
> is displayed, and what information is 'sensed', and on what platform.
>
Yes, but before I get to that
On 21 January 2011 11:38, a...@ashleysheridan.co.uk
wrote:
> That won't accept dozens of different types of email addresses. It won't even
> match some value domains.
>
> Valid email addresses can contain virtually any character in the local part
> (although in the main they will require being i
That won't accept dozens of different types of email addresses. It won't even
match some value domains.
Valid email addresses can contain virtually any character in the local part
(although in the main they will require being inside quotation marks), and the
@ symbol is included in that!
Thank
Donovan:
Try this
function EmailCheck ( $sEmail )
{
$regexp="/^[a-z0-9]+([_\\.-][a-z0-9]+)*@([a-z0-9]+([\.-][a-z0-9]+)*)+\\.[a-z
]{2,}$/i";
if ( !preg_match($regexp, $sEmail) )
return false;
return true;
}
Alejandro M.S.
-Mensagem original-
De: Donovan Brooke [ma
On 21 January 2011 05:34, Paul M Foster wrote:
> On Thu, Jan 20, 2011 at 12:05:53PM -0800, David Harkness wrote:
>
>> On Thu, Jan 20, 2011 at 7:00 AM, Richard Quadling wrote:
>>
>> > I'd recommend using a nested set approach for the tags
>> > (http://dev.mysql.com/tech-resources/articles/hierarchi
On 20 January 2011 19:20, Dotan Cohen wrote:
> On Thu, Jan 20, 2011 at 19:21, Richard Quadling wrote:
>>> That is terrific, at least the first half. The second half, with the
>>> Venn diagrams, is awkward!
>>
>> When you get heavily nested data, the adjacent list model (where you
>> have a parent
23 matches
Mail list logo