Re: [PHP] XML to Array

2013-03-11 Thread Karl DeSaulniers
On Mar 11, 2013, at 8:22 AM, Bastien Koert wrote: On Sun, Mar 10, 2013 at 6:28 PM, Karl DeSaulniers k...@designdrumm.com wrote: On Mar 10, 2013, at 6:03 AM, richard gray wrote: On 10/03/2013 11:47, Karl DeSaulniers wrote: Hi Guys, I am hoping someone can guide me or help me fix

Re: [PHP] XML to Array

2013-03-11 Thread Karl DeSaulniers
On Mar 11, 2013, at 8:22 AM, Bastien Koert wrote: On Sun, Mar 10, 2013 at 6:28 PM, Karl DeSaulniers k...@designdrumm.com wrote: On Mar 10, 2013, at 6:03 AM, richard gray wrote: On 10/03/2013 11:47, Karl DeSaulniers wrote: Hi Guys, I am hoping someone can guide me or help me fix

Re: [PHP] XML to Array

2013-03-10 Thread Karl DeSaulniers
On Mar 10, 2013, at 6:03 AM, richard gray wrote: On 10/03/2013 11:47, Karl DeSaulniers wrote: Hi Guys, I am hoping someone can guide me or help me fix this issue. I have been lost in the code for some time now. I am trying to get the attributes of an xml node. I have this code: [snip

Re: [PHP] Arrays

2013-02-26 Thread Karl DeSaulniers
On Feb 26, 2013, at 10:35 PM, tamouse mailing lists wrote: On Mon, Feb 25, 2013 at 9:51 PM, Karl DeSaulniers k...@designdrumm.com wrote: Never mind. I found a different function that reads out the children as well into the array. function xml_parse_into_assoc($data

[PHP] Arrays

2013-02-25 Thread Karl DeSaulniers
this somehow? It is always going to be different per specialservice. TIA, Best, Karl DeSaulniers Design Drumm http://designdrumm.com

Re: [PHP] Arrays

2013-02-25 Thread Karl DeSaulniers
On Feb 25, 2013, at 7:48 PM, Adam Richardson wrote: On Mon, Feb 25, 2013 at 8:40 PM, Karl DeSaulniers k...@designdrumm.com wrote: Hi Guys/Gals, If I have an multidimensional array and it has items that have the same name in it, how do I get the values of each similar item? EG

Re: [PHP] Arrays

2013-02-25 Thread Karl DeSaulniers
On Feb 25, 2013, at 7:50 PM, Jim Lucas wrote: On 02/25/2013 05:40 PM, Karl DeSaulniers wrote: Hi Guys/Gals, If I have an multidimensional array and it has items that have the same name in it, how do I get the values of each similar item? EG: specialservices = array( specialservice

Re: [PHP] Arrays

2013-02-25 Thread Karl DeSaulniers
On Feb 25, 2013, at 7:50 PM, Jim Lucas wrote: On 02/25/2013 05:40 PM, Karl DeSaulniers wrote: Hi Guys/Gals, If I have an multidimensional array and it has items that have the same name in it, how do I get the values of each similar item? EG: specialservices = array( specialservice = array

[PHP] Re: [PHP-DB] Re: [PHP] Shopping Cart Discount System

2012-12-31 Thread Karl DeSaulniers
On Dec 31, 2012, at 3:36 AM, Ashley Sheridan wrote: Karl DeSaulniers k...@designdrumm.com wrote: Hello Everyone, Hope all are well. Quick and hopefully painless question. Is there any examples on how to build a discount system into your shopping cart out there that anyone knows of? I am

Re: [PHP] Shopping Cart Discount System

2012-12-31 Thread Karl DeSaulniers
On Dec 31, 2012, at 3:51 PM, tamouse mailing lists wrote: On Mon, Dec 31, 2012 at 2:31 AM, Karl DeSaulniers k...@designdrumm.com wrote: Hello Everyone, Hope all are well. Quick and hopefully painless question. Is there any examples on how to build a discount system into your shopping cart

Re: [PHP] Missing email

2012-10-22 Thread Karl DeSaulniers
wrote: On Sat, Oct 20, 2012 at 5:00 AM, Karl DeSaulniers k...@designdrumm.com wrote: @Moderator Any reason why my emails do not post or at least dont post for hours later? There is no moderator on this list. I'm probably about as close as it comes. Can you explain more about

Re: [PHP] Re: User Timezone

2012-10-21 Thread Karl DeSaulniers
On Oct 21, 2012, at 5:01 AM, Maciek Sokolewicz wrote: On 21-10-2012 01:11, Karl DeSaulniers wrote: Thanks for the response. Yes, for the US I plan on calculating by state, but this website is not geared to just the US. So I am looking for a solution that lets me also calculate by country

Re: [PHP] Re: User Timezone

2012-10-21 Thread Karl DeSaulniers
On Oct 21, 2012, at 5:11 PM, tamouse mailing lists wrote: On Sun, Oct 21, 2012 at 7:30 AM, Matijn Woudt tijn...@gmail.com wrote: On Sun, Oct 21, 2012 at 12:01 PM, Maciek Sokolewicz maciek.sokolew...@gmail.com wrote: On 21-10-2012 01:11, Karl DeSaulniers wrote: Thanks for the response. Yes

[PHP] User Timezone

2012-10-20 Thread Karl DeSaulniers
the timezone or UTC location based on country and zip or city state country zip. Any help is appreciated. Best, Karl DeSaulniers Design Drumm http://designdrumm.com

[PHP] Re: User Timezone

2012-10-20 Thread Karl DeSaulniers
On Oct 20, 2012, at 7:23 AM, Maciek Sokolewicz wrote: On 20-10-2012 09:39, Karl DeSaulniers wrote: Hello all, Happy weekend. Hoping you can help me with an age old question. I am trying to get a users timezone for a purchase online. I know that php is not really able to get a timzone

Re: RES: [PHP] Re: User Timezone

2012-10-20 Thread Karl DeSaulniers
: Maciek Sokolewicz [mailto:tula...@gmail.com] Em nome de Maciek Sokolewicz Enviada em: sábado, 20 de outubro de 2012 09:24 Para: Karl DeSaulniers Cc: php-general Assunto: [PHP] Re: User Timezone On 20-10-2012 09:39, Karl DeSaulniers wrote: Hello all, Happy weekend. Hoping you can help me with an age old

Re: [PHP] Re: User Timezone

2012-10-20 Thread Karl DeSaulniers
On Oct 20, 2012, at 6:02 PM, Matijn Woudt wrote: On Sun, Oct 21, 2012 at 12:56 AM, Karl DeSaulniers k...@designdrumm.com wrote: On Oct 20, 2012, at 7:23 AM, Maciek Sokolewicz wrote: On 20-10-2012 09:39, Karl DeSaulniers wrote: Hello all, Happy weekend. Hoping you can help me with an age

[PHP] define()

2012-06-16 Thread Karl DeSaulniers
? And server variables are easy to read/get ? If it is unsafe, what is the best method of storing/using a token so that it can be called at will? Kind of like a global, just more secure. Can you secure a define statement? TIA, Best, Karl DeSaulniers Design Drumm http://designdrumm.com

[PHP] Re: define()

2012-06-16 Thread Karl DeSaulniers
On Jun 16, 2012, at 6:39 AM, Maciek Sokolewicz wrote: On 16-06-2012 08:36, Karl DeSaulniers wrote: Quick question phprz. Is it ok to put a token inside a define() statement? IE: define('TOKEN', $sometoken); I guess what I am really after is if this can be read by a hacker? I may

[PHP] Converting date string to unix timestamp

2012-05-11 Thread Karl DeSaulniers
an easy one. TIA!! Best, Karl DeSaulniers Design Drumm http://designdrumm.com

Re: [PHP] Converting date string to unix timestamp

2012-05-11 Thread Karl DeSaulniers
, 2012, at 7:42 PM, Jim Lucas wrote: On 05/11/2012 04:11 PM, Karl DeSaulniers wrote: Hello everyone, Got a quick one (I hope), and probably an easy one. For some reason it is eluding me at the moment. Hoping someone can help. I am building an ics file with PHP and the form that is submitting

Re: [PHP] Converting date string to unix timestamp

2012-05-11 Thread Karl DeSaulniers
Never mind, it's because January 1st is not a Saturday. The 7th is. Interesting... so it corrects the date per the text representation of the day?? Thanks again. Best, Karl On May 11, 2012, at 7:42 PM, Jim Lucas wrote: On 05/11/2012 04:11 PM, Karl DeSaulniers wrote: Hello everyone

Re: [PHP] Converting date string to unix timestamp

2012-05-11 Thread Karl DeSaulniers
post. Anyone else having trouble with the list like that? Best, Karl On May 11, 2012, at 8:06 PM, Jim Lucas wrote: On 05/11/2012 05:55 PM, Karl DeSaulniers wrote: Thanks Jim, To tell you the truth, this was handed off to me. Thank you for the response. I knew this was just bloated code. Thanks

[PHP] Re: [PHP-DB] Re: foreach

2012-04-05 Thread Karl DeSaulniers
And POST[] is not the same as $_POST[] Karl Sent from losPhone On Apr 5, 2012, at 3:24 PM, Jim Giner jim.gi...@albanyhandball.com wrote: I don't know about others, but I can't make sense of this - way too much presented with no idea of what I am looking at - code or output. One thing:

[PHP] Variable scope

2011-07-14 Thread Karl DeSaulniers
but the other email functions work fine with those, so I'm not sure what's going on. TIA, Best, Karl DeSaulniers Design Drumm http://designdrumm.com

[PHP] Re: Variable scope

2011-07-14 Thread Karl DeSaulniers
for the error reporting code. Best, Karl On Jul 14, 2011, at 4:17 PM, Shawn McKenzie wrote: On 07/14/2011 03:54 PM, Karl DeSaulniers wrote: Can anyone explain this to me. I can't read through all that crap, but I notice multiple times that you use undefined variables, due to typo or just

[PHP] str_replace around a character??

2011-07-13 Thread Karl DeSaulniers
...@domain.com, to be $cc = ema...@domain.com, ema...@doamin.com, ema...@domain.com, ema...@domain.com Any pointers would be much appreciated. TIA Best Regards, Karl DeSaulniers Design Drumm http://designdrumm.com

[PHP] Re: str_replace around a character??

2011-07-13 Thread Karl DeSaulniers
On Jul 13, 2011, at 9:59 AM, Shawn McKenzie wrote: On 07/13/2011 02:54 AM, Karl DeSaulniers wrote: Hello All, I am needing some assistance. I am trying to add some Cc and Bcc to a mail script I have. On the form I have instructions for each to be separated by a comma + a space. In an all

[PHP] Re: [PHP-DB] Re: [PHP] Re: [PHP-DB] Re: [PHP] PHP EOL

2011-07-04 Thread Karl DeSaulniers
) that the creator went with a check for System OS when determining the end of line characters to use. Not substantiated in any way, but that is what it looks like to me. I could stand corrected. Best, Karl On Jul 3, 2011, at 6:11 PM, Karl DeSaulniers wrote: I see. Yes, I was referring to the PHP

[PHP] Re: [PHP-DB] Re: [PHP] Re: [PHP-DB] Re: [PHP] Re: [PHP-DB] Re: [PHP] PHP EOL

2011-07-04 Thread Karl DeSaulniers
at 7:11 AM, Karl DeSaulniers k...@designdrumm.comwrote: Hello Stuart, After some closer look at the RFC Compliant manuals you suggested, I have determined that the creator of that code was in fact RFC821 Compliant. Being that this was a code I found several years ago, RFC822 may not have been

[PHP] Re: [PHP-DB] Re: [PHP] PHP EOL

2011-07-04 Thread Karl DeSaulniers
On Jul 4, 2011, at 2:34 AM, Tim Streater wrote: On 04 Jul 2011 at 08:01, Stuart Dallas stu...@3ft9.com wrote: On Mon, Jul 4, 2011 at 7:11 AM, Karl DeSaulniers k...@designdrumm.comwrote: Hello Stuart, After some closer look at the RFC Compliant manuals you suggested, I have determined

Re: [PHP] PHP EOL

2011-07-03 Thread Karl DeSaulniers
')) { $eol=\r\n; when sending out emails, the most compatible way is to use \r\n as Stuart has pointed out (plain text emails). ~viraj On Sat, Jul 2, 2011 at 7:15 PM, Stuart Dallas stu...@3ft9.com wrote: On Sat, Jul 2, 2011 at 9:01 AM, Karl DeSaulniers k...@designdrumm.comwrote: Hello All

[PHP] Re: [PHP-DB] Re: [PHP] PHP EOL

2011-07-03 Thread Karl DeSaulniers
directed in the right direction. So I will be changing my code to reflect. Thank you, Best, Karl A am going to end this thread here. Since it is getting cross-post responses. On Jul 3, 2011, at 4:37 PM, Stuart Dallas wrote: On Sun, Jul 3, 2011 at 10:31 PM, Karl DeSaulniers k

Re: [PHP] Re: [PHP-DB] Re: [PHP] PHP EOL

2011-07-03 Thread Karl DeSaulniers
I see. Yes, I was referring to the PHP manual. I will investigate the RFC manuals as well like you had noted. No offense taken. Thank you for the clarification. Best, Karl On Jul 3, 2011, at 6:07 PM, Stuart Dallas wrote: On Sun, Jul 3, 2011 at 11:22 PM, Karl DeSaulniers k...@designdrumm.com

[PHP] PHP EOL

2011-07-02 Thread Karl DeSaulniers
, just a quick question. ;) Karl DeSaulniers Design Drumm http://designdrumm.com

Re: [PHP] PHP EOL

2011-07-02 Thread Karl DeSaulniers
On Jul 2, 2011, at 3:10 AM, viraj wrote: PHP_EOL is the best fit. you do not have to write multiple lines of code to do the same thing. ~viraj p.s. cross-posting is bad. removed db. from the cc list. On Sat, Jul 2, 2011 at 1:31 PM, Karl DeSaulniers k...@designdrumm.com wrote: Hello All

[PHP] Re: [PHP-DB] Re: [PHP] PHP EOL

2011-07-02 Thread Karl DeSaulniers
Thanks Stuart! Karl Sent from losPhone On Jul 2, 2011, at 8:45 AM, Stuart Dallas stu...@3ft9.com wrote: On Sat, Jul 2, 2011 at 9:01 AM, Karl DeSaulniers k...@designdrumm.comwrote: Hello All, Happy pre independence for my American PHPers. And good health to all others. Have a quick

[PHP] Re: [PHP-DB] Two forms on one page

2011-01-03 Thread Karl DeSaulniers
. Best, Karl DeSaulniers Design Drumm http://designdrumm.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DB] Re: [PHP] Regex for telephone numbers

2010-12-29 Thread Karl DeSaulniers
from my iPod -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Karl DeSaulniers Design Drumm http://designdrumm.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DB] Re: [PHP] Regex for telephone numbers

2010-12-29 Thread Karl DeSaulniers
://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Karl DeSaulniers Design Drumm http://designdrumm.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] include html

2010-11-02 Thread Karl DeSaulniers
On Nov 2, 2010, at 12:37 AM, Nathan Nobbe wrote: On Mon, Nov 1, 2010 at 11:22 PM, Karl DeSaulniers k...@designdrumm.com wrote: I need to basically grab the source of the page as text. Then I can do a replace() on the link tag. Then insert the text into an Iframe. In theory, this I thought

Re: [PHP] include html

2010-11-01 Thread Karl DeSaulniers
I need to basically grab the source of the page as text. Then I can do a replace() on the link tag. Then insert the text into an Iframe. In theory, this I thought would be handled better server side. Is this possible? I think the problem I'm having is that the domain I'm requesting from is

[PHP] include html

2010-10-30 Thread Karl DeSaulniers
the other companies to do so as well. TIA, Karl DeSaulniers Design Drumm http://designdrumm.com

Re: [PHP] Multiple Login in a single PC should not be possible

2010-09-07 Thread Karl DeSaulniers
On Sep 7, 2010, at 12:47 AM, Robert Cummings wrote: On 10-09-07 01:21 AM, Karl DeSaulniers wrote: @Jagdeep Singh Hi Jagdeep, I know it has been a while now, but I thought I'd let you know. Setting up a database with a session login and some checks and balances will allow you to do what you

Re: [PHP] Multiple Login in a single PC should not be possible

2010-09-06 Thread Karl DeSaulniers
with this or not, but thought I'd let you know what I found out. Best, Karl DeSaulniers Design Drumm http://designdrumm.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Removing link on the fly, but leave link text

2010-09-01 Thread Karl DeSaulniers
On Aug 31, 2010, at 3:06 PM, Ashley Sheridan wrote: On Tue, 2010-08-31 at 15:01 -0500, Karl DeSaulniers wrote: On Aug 31, 2010, at 2:32 PM, Ashley Sheridan wrote: On Tue, 2010-08-31 at 14:31 -0500, Karl DeSaulniers wrote: Hi, Say I have some text. $text = 'You can logon here: a href

Re: [PHP] Removing link on the fly, but leave link text

2010-08-31 Thread Karl DeSaulniers
On Aug 31, 2010, at 2:32 PM, Ashley Sheridan wrote: On Tue, 2010-08-31 at 14:31 -0500, Karl DeSaulniers wrote: Hi, Say I have some text. $text = 'You can logon here: a href=http://website.com/shop/ index.php?username='.$username.'http://website.com/shop/index.php? username='.$username

Re: [PHP] Removing link on the fly, but leave link text

2010-08-31 Thread Karl DeSaulniers
On Aug 31, 2010, at 2:34 PM, Joshua Kehn wrote: On Aug 31, 2010, at 3:31 PM, Karl DeSaulniers wrote: Hi, Say I have some text. $text = 'You can logon here: a href=http://website.com/shop/ index.php?username='.$username.'http://website.com/shop/ index.php?username='.$username

Re: [PHP] Removing link on the fly, but leave link text

2010-08-31 Thread Karl DeSaulniers
On Aug 31, 2010, at 3:06 PM, Ashley Sheridan wrote: On Tue, 2010-08-31 at 15:01 -0500, Karl DeSaulniers wrote: On Aug 31, 2010, at 2:32 PM, Ashley Sheridan wrote: On Tue, 2010-08-31 at 14:31 -0500, Karl DeSaulniers wrote: Hi, Say I have some text. $text = 'You can logon here: a href

[PHP] PHP Reference

2010-08-14 Thread Karl DeSaulniers
Hello all, I was wondering, can you reference php in a url string like you can javascript. EG: javascript:someFunction() Can you do something similar in php like php:someFunction() I am thinking that you can not do this, but was wondering if there was something like that. Thanks, Karl

Re: [PHP] PHP Reference

2010-08-14 Thread Karl DeSaulniers
That is what I thought. Thank you for confirming. Karl On Aug 14, 2010, at 1:54 AM, Peter Lind wrote: On 14 August 2010 08:08, Karl DeSaulniers k...@designdrumm.com wrote: Hello all, I was wondering, can you reference php in a url string like you can javascript. EG: javascript:someFunction

Re: [PHP] PHP Reference

2010-08-14 Thread Karl DeSaulniers
();? -- With best regards from Ukraine, Andre Skype: Francophile Twitter: http://twitter.com/m_elensule Facebook: http://facebook.com/menelion - Original message - From: Karl DeSaulniers k...@designdrumm.com To: php-general php-general@lists.php.net Date: Saturday, August 14, 2010, 9:08:20 AM Subject

Re: [PHP] PHP Reference

2010-08-14 Thread Karl DeSaulniers
On Aug 14, 2010, at 5:19 AM, Ashley Sheridan wrote: On Sat, 2010-08-14 at 01:57 -0500, Karl DeSaulniers wrote: That is what I thought. Thank you for confirming. Karl On Aug 14, 2010, at 1:54 AM, Peter Lind wrote: On 14 August 2010 08:08, Karl DeSaulniers k...@designdrumm.com wrote

Re: [PHP] PHP Reference

2010-08-14 Thread Karl DeSaulniers
Thanks tedd. On Aug 14, 2010, at 7:45 AM, tedd wrote: At 1:08 AM -0500 8/14/10, Karl DeSaulniers wrote: Hello all, I was wondering, can you reference php in a url string like you can javascript. EG: javascript:someFunction() Can you do something similar in php like php:someFunction() I

[PHP] Creating image on-the-fly

2010-07-07 Thread Karl DeSaulniers
it to the user. Can I take this text box and make it a png? Any pointers or insight appreciated. If anyone happens to knows of a javascript equiv., that would work too. TIA Karl DeSaulniers Design Drumm http://designdrumm.com

Re: [PHP] Multiple Login in a single PC should not be possible

2010-06-15 Thread Karl DeSaulniers
On Jun 15, 2010, at 6:24 AM, Ashley Sheridan wrote: On Tue, 2010-06-15 at 16:52 +0530, Shreyas Agasthya wrote: Karl, Which app are you talking about? Regards, Shreyas On Tue, Jun 15, 2010 at 8:21 AM, Karl DeSaulniers k...@designdrumm.comwrote: Hey, I just found this app that I think

Re: [PHP] Multiple Login in a single PC should not be possible

2010-06-15 Thread Karl DeSaulniers
Sent from losPhone On Jun 15, 2010, at 7:08 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-06-15 at 07:04 -0500, Karl DeSaulniers wrote: On Jun 15, 2010, at 6:24 AM, Ashley Sheridan wrote: On Tue, 2010-06-15 at 16:52 +0530, Shreyas Agasthya wrote: Karl, Which app

Re: [PHP] Multiple Login in a single PC should not be possible

2010-06-15 Thread Karl DeSaulniers
Sent from losPhone On Jun 15, 2010, at 12:37 PM, Karl DeSaulniers k...@designdrumm.com wrote: Sent from losPhone On Jun 15, 2010, at 7:08 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-06-15 at 07:04 -0500, Karl DeSaulniers wrote: On Jun 15, 2010, at 6:24 AM

Re: [PHP] Multiple Login in a single PC should not be possible

2010-06-15 Thread Karl DeSaulniers
Sent from losPhone On Jun 15, 2010, at 12:41 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-06-15 at 12:37 -0500, Karl DeSaulniers wrote: Sent from losPhone On Jun 15, 2010, at 7:08 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-06-15 at 07:04

Re: [PHP] Multiple Login in a single PC should not be possible

2010-06-15 Thread Karl DeSaulniers
On Jun 15, 2010, at 12:52 PM, Ashley Sheridan wrote: On Tue, 2010-06-15 at 12:51 -0500, Karl DeSaulniers wrote: Sent from losPhone On Jun 15, 2010, at 12:41 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-06-15 at 12:37 -0500, Karl DeSaulniers wrote: Sent from

Re: [PHP] Quick Question

2010-06-14 Thread Karl DeSaulniers
...@lists.evolt.org -- Malka Cymbalista Webmaster, Weizmann Institute of Science malki.cymbali...@weizmann.ac.il 08-934-3036 On 6/14/2010 at 2:06 AM, in message 26040320-88f0-4cf3-84ca-2ff81891b...@designdrumm.com, Karl DeSaulniers k...@designdrumm.com wrote: Hello List, I may have asked

Re: [PHP] Quick Question

2010-06-14 Thread Karl DeSaulniers
On Jun 14, 2010, at 3:45 PM, Paul M Foster wrote: On Sun, Jun 13, 2010 at 06:06:16PM -0500, Karl DeSaulniers wrote: Hello List, I may have asked this before, but can not find any emails about it. Does anyone know of a general-javascript email list like this php list? Hoping someone here

Re: [PHP] Multiple Login in a single PC should not be possible

2010-06-14 Thread Karl DeSaulniers
Hey, I just found this app that I think will do your single user login. It is a MySQL monitoring app called MySQL Query Analyzer. It has the functionality I think you were looking for. Might be worth a look-see. :)) Hth, Karl

Re: [PHP] String Parse Help for novice

2010-06-13 Thread Karl DeSaulniers
, but cant you do something to separate them according to the / (forward slash)? maybe preg_replace or something. Sorry not much more help. Karl DeSaulniers Design Drumm http://designdrumm.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] String Parse Help for novice

2010-06-13 Thread Karl DeSaulniers
($parts); Now you have your directories in the $directories array and the filename in $filename. Thanks, Ash http://www.ashleysheridan.co.uk Hi Ash, What about the // in the beginning? Karl DeSaulniers Design Drumm http://designdrumm.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] String Parse Help for novice

2010-06-13 Thread Karl DeSaulniers
On Jun 13, 2010, at 5:31 PM, Ashley Sheridan wrote: On Sun, 2010-06-13 at 17:27 -0500, Karl DeSaulniers wrote: On Jun 13, 2010, at 5:23 PM, Ashley Sheridan wrote: On Sun, 2010-06-13 at 18:13 -0400, Rick Dwyer wrote: Hello List. I need to parse the PATH portion of URL. I have assigned

Re: [PHP] String Parse Help for novice

2010-06-13 Thread Karl DeSaulniers
? --Rick try echo($url); and see Karl DeSaulniers Design Drumm http://designdrumm.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] String Parse Help for novice

2010-06-13 Thread Karl DeSaulniers
? --Rick Oops I meant echo($the_path); or echo both and see. Karl DeSaulniers Design Drumm http://designdrumm.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] String Parse Help for novice

2010-06-13 Thread Karl DeSaulniers
On Jun 13, 2010, at 5:40 PM, Ashley Sheridan wrote: On Sun, 2010-06-13 at 17:35 -0500, Karl DeSaulniers wrote: On Jun 13, 2010, at 5:31 PM, Ashley Sheridan wrote: On Sun, 2010-06-13 at 17:27 -0500, Karl DeSaulniers wrote: On Jun 13, 2010, at 5:23 PM, Ashley Sheridan wrote: On Sun, 2010

Re: [PHP] Finding a font.

2010-06-08 Thread Karl DeSaulniers
2010 22:22:31 Karl DeSaulniers wrote: Hi Dave, It is called Fine Hand I believe. Found a copy here. http://www.fonts.com/FindFonts/Detail.htm?pid=203813/cgi-bin/ MsmGo.exe?grab_id=0page_id=8346query=HANDWRITINGSCOPE=Fonts Thank you Karl, how did you find it? every google search I did, I

Re: [PHP] Finding a font.

2010-06-08 Thread Karl DeSaulniers
That and I have an uncanny scanning ability while scrolling. Don't know where it comes from, but glad its there. lol Karl On Jun 8, 2010, at 7:45 PM, David McGlone wrote: On Monday 07 June 2010 22:22:31 Karl DeSaulniers wrote: Hi Dave, It is called Fine Hand I believe. Found a copy here

Re: [PHP] Battle of Spam

2010-06-07 Thread Karl DeSaulniers
Well you coud do just that but after you turn it back on. Set up a fresh error log based on the reset of the mail server. You then have some kind of script monitoring the in and out of your server. Disconnecting the mail server momentarily and maybe a pass reset for your users would stunt

Re: [PHP] Finding a font.

2010-06-07 Thread Karl DeSaulniers
/) To unsubscribe, visit: http://www.php.net/unsub.php Karl DeSaulniers Design Drumm http://designdrumm.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong with this code?

2010-06-05 Thread Karl DeSaulniers
Could the exit() be terminating it? Do you need this exit() as the else for that if statement? Try deleting just the else {}. JAT Karl Sent from losPhone On Jun 5, 2010, at 6:54 PM, David Mehler dave.meh...@gmail.com wrote: Hello, I've got a while loop outputting values from a database.

Re: [PHP] What's wrong with this code?

2010-06-05 Thread Karl DeSaulniers
took out the entire else section including the exit call, it now all processes, however $row['enddate'] is not displayed on the two records where it is set. Thanks. Dave. On 6/5/10, Karl DeSaulniers k...@designdrumm.com wrote: Could the exit() be terminating it? Do you need this exit

Re: [PHP] File Downloads

2010-05-28 Thread Karl DeSaulniers
the downloading of the file? Best, Karl DeSaulniers Design Drumm http://designdrumm.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File Downloads

2010-05-28 Thread Karl DeSaulniers
On May 28, 2010, at 4:25 PM, tedd wrote: At 3:39 PM -0500 5/28/10, Karl DeSaulniers wrote: Hello, How can I go about restricting the number of downloads of a file on my server? For Eg: if I want a music track to only be able to be downloaded by 150 people and thats it.. ever, how can I

Re: [PHP] File Downloads

2010-05-28 Thread Karl DeSaulniers
to be able to download (whatever it is) only once. But up to 150 users can get in on it kind of thing. Karl On May 28, 2010, at 4:41 PM, Karl DeSaulniers wrote: On May 28, 2010, at 4:25 PM, tedd wrote: At 3:39 PM -0500 5/28/10, Karl DeSaulniers wrote: Hello, How can I go about restricting

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-23 Thread Karl DeSaulniers
What about creating a java or ajax proxy that verifies the system mixed with PHP login security and cookies? Maybe mix it with some SSL?? Karl On May 22, 2010, at 10:37 PM, Karl DeSaulniers wrote: I am going to ask my flash guru buddies. Let me see if I can find anything out. Karl

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-23 Thread Karl DeSaulniers
DeSaulniers wrote: What about creating a java or ajax proxy that verifies the system mixed with PHP login security and cookies? Maybe mix it with some SSL?? Karl On May 22, 2010, at 10:37 PM, Karl DeSaulniers wrote: I am going to ask my flash guru buddies. Let me see if I can find anything out

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-23 Thread Karl DeSaulniers
or another. Can I trace MAC address of a single machine to solve this issue? Or is there a concept of GLOBAL COOKIE / Cross Browser Cookie which will work for all browsers in a single machine.. I hope You will help me out Regards Jagdeep Singh +91 9988009272 Karl DeSaulniers Design Drumm

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-23 Thread Karl DeSaulniers
, then there are two running. Otherwise only that one is running. Sort of hackish, but would probably do the trick. HTH Karl On May 23, 2010, at 3:35 PM, Karl DeSaulniers wrote: Hi Nathan, The problem is not mine to speak of necessarily. I was trying to help find a solution for another. But from

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-23 Thread Karl DeSaulniers
You may still have trouble with virtual machines though. Karl On May 23, 2010, at 4:18 PM, Karl DeSaulniers wrote: I was given a solution, or a work-around. You will have to use flash, but, you can set up a LocalConnection class that determines if the swf is being run on the same system

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-23 Thread Karl DeSaulniers
://www.colettas.org/?p=273 But here again, if they have a virtual machine... HTH, Karl On May 23, 2010, at 4:21 PM, Karl DeSaulniers wrote: You may still have trouble with virtual machines though. Karl On May 23, 2010, at 4:18 PM, Karl DeSaulniers wrote: I was given a solution, or a work-around

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-23 Thread Karl DeSaulniers
The consensus I have been getting is that there really is no way to block this type of activity, BUT you can make it difficult enough to deter most attempts. Karl On May 23, 2010, at 9:42 PM, Karl DeSaulniers wrote: I was also told that you can use Adobe Air to control this as well. Air

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-22 Thread Karl DeSaulniers
Yeah. Don't be concerned about which browser. Just set up an active users table in your database that gets checked at login. Then it doesn't matter which machine or browser. Unless you know that the computers are giving the true ip, there is no way to keep a user from logging in with two

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-22 Thread Karl DeSaulniers
, Opera, Safari on same computer with different users would not be allowed). Cheers, Rob. Karl DeSaulniers wrote: Yeah. Don't be concerned about which browser. Just set up an active users table in your database that gets checked at login. Then it doesn't matter which machine or browser

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-22 Thread Karl DeSaulniers
On May 22, 2010, at 7:43 PM, Brandon Rampersad wrote: These third world internet providers are screwing up the IP address system with their shared IPs which defeats the entire purpose of an IP address. On Sat, May 22, 2010 at 6:19 PM, Karl DeSaulniers k...@designdrumm.com wrote: On May

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-22 Thread Karl DeSaulniers
Well you could alway build it as an Adobe AIR app. Then it would be its own application. Not viewed through a browser. Karl On May 22, 2010, at 8:46 PM, Robert Cummings wrote: Yeah, but flash is proprietary and I for one hate hitting flash websites. Karl DeSaulniers Design Drumm http

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-22 Thread Karl DeSaulniers
? Karl Sent from losPhone On May 22, 2010, at 9:11 PM, Robert Cummings rob...@interjinn.com wrote: But then I don't get to use worldwide accepted and open standards for development. Karl DeSaulniers wrote: Well you could alway build it as an Adobe AIR app. Then it would be its own

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-22 Thread Karl DeSaulniers
I am going to ask my flash guru buddies. Let me see if I can find anything out. Karl On May 22, 2010, at 10:10 PM, Robert Cummings wrote: Robert Cummings wrote: Karl DeSaulniers wrote: Wow. I'm going to stay away from that one. I'm just trying to help this guy secure his learning API

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Karl DeSaulniers
? Or is there a concept of GLOBAL COOKIE / Cross Browser Cookie which will work for all browsers in a single machine.. I hope You will help me out Regards Jagdeep Singh +91 9988009272 Karl DeSaulniers Design Drumm http://designdrumm.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Karl DeSaulniers
Just remember to remove them from this table on log out. Karl Sent from losPhone On May 14, 2010, at 2:23 AM, Karl DeSaulniers k...@designdrumm.com wrote: Hi Jagdeep, I would make an active users table in your database that the username gets loaded into on successful login and in your

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Karl DeSaulniers
: http://www.flickr.com/photos/fake51 BeWelcome: Fake51 Couchsurfing: Fake51 /hype Karl DeSaulniers Design Drumm http://designdrumm.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Karl DeSaulniers
in any browser in Simple words: MAXIMUM ONE USER SHOULD LOGIN IN ONE MACHINE... On Fri, May 14, 2010 at 2:23 PM, Karl DeSaulniers k...@designdrumm.com wrote: You lost me on that one. You want it so that multiple users can log in, but they have to be on separate browsers? Karl

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Karl DeSaulniers
Only other thing I could think of is a session timeout. Because if two people are using the same computer, one person is going to be away long enough to time out. HTH Karl On May 14, 2010, at 4:21 AM, Karl DeSaulniers wrote: Hi J, Well, if you have an active users table with a users

Re: [PHP] jquery password problem

2010-05-14 Thread Karl DeSaulniers
On May 14, 2010, at 4:01 AM, Manolis Vlachakis wrote: I encode my password with md5 base 64 ..on the php side but i have a problem with the POST that this function i using on my form. after posting my data + is replaced with space I came out with that explanation after a lot of tries and

Re: [PHP] jquery password problem

2010-05-14 Thread Karl DeSaulniers
On May 14, 2010, at 4:38 AM, Peter Lind wrote: On 14 May 2010 11:29, Karl DeSaulniers k...@designdrumm.com wrote: On May 14, 2010, at 4:01 AM, Manolis Vlachakis wrote: I encode my password with md5 base 64 ..on the php side but i have a problem with the POST that this function i using on my

Re: [PHP] GD - import a PNG image and make transparant

2010-05-13 Thread Karl DeSaulniers
Hey tedd, Sorry bout that.. here you go. http://designdrumm.com/upload_images_test.zip Karl On May 13, 2010, at 9:06 AM, tedd wrote: At 6:40 PM -0500 5/12/10, Karl DeSaulniers wrote: Hi Alex, I have a php file I made just a few months ago. It takes a gif, jpeg or png of any size and sizes

Re: [PHP] regexp questions

2010-05-12 Thread Karl DeSaulniers
know if you found your solution or not, but here is a good website for regexp. http://lawrence.ecorp.net/inet/samples/regexp-intro.php HTH, Karl DeSaulniers Design Drumm http://designdrumm.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >