Re: [PHP] exec to launch putty.exe for telnet

2012-07-10 Thread Hans Åhlin
exec call and it will chop of the string after it. $securecrt = "\"C:\\Documents and Settings\\user\\Desktop\\putty.exe telnet:// 10.3.215.15/\""; -- ** Hans Åhlin Tel: +46761488019 icq: 275232967 http://www.kronan-net.com/ irc://irc.freenode.net:6667 - TheCoin **

Re: [PHP] Re: Re: Top Posting

2011-07-07 Thread Hans Åhlin
2011/7/7 Daniel Brown : > On Thu, Jul 7, 2011 at 02:18, Hans Åhlin wrote: >> >> I't is useless to argue with this guy, >> I had the same problem with him allot of times and it always ended up >> with him not understanding and insulting me. >> So i put a slas

Re: [PHP] Re: Re: Top Posting

2011-07-06 Thread Hans Åhlin
y carry. > > I'm not sure why you think I do, but I have no problem with the emails I get > as a result of subscribing to this mailing list - in fact I find them > invaluable. I've found the list invaluable whenever I've had a problem I > can't solve myself, and

Re: [PHP] notices nightmare - looking for a regex solution

2011-06-01 Thread Hans Åhlin
in the same way $Pos = strpos($Line, '[', $Pos2) $Pos2 = strpos($Line, ']' , $Pos) if($Pos == false || $Pos2 == false){ $Ctrl = false } }else{ copy the whole line to $NewFile } add \r\n to $NewFile }

Re: [PHP] PHP intreprets trailing slashes incorrectly?

2011-05-19 Thread Hans Åhlin
ks because of Apaches support for mod_rewrite. ie, http://www.example.com/virtual_dir/script/option/?Foo=bar --> /my_script.php?Foo=bar -- **  Hans Åhlin    Tel: +46761488019    icq: 275232967    http://w

Re: [PHP] Re: File Upload Problem

2011-04-11 Thread Hans Åhlin
> (Yes, all possible file paths have been investigated) > > Nor, can I copy the file by: > > $result = copy($_FILES['userfile']['tmp_name'], $path . '/' . > $_FILES['userfile']['name']); > > The only difference I see is the

Re: [PHP] Last Name extraction in query

2011-04-04 Thread Hans Åhlin
> > You could try http://forums.mysql.com/ or have a look around Yahoo > groups (e.g. php_my...@yahoogroups.com). > > HTH, > > -- > Geoff > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

Re: [PHP] is there any syntax to save a file in mysql?

2011-03-27 Thread Hans Åhlin
blob.html -- ******  Hans Åhlin    Tel: +46761488019    icq: 275232967    http://www.kronan-net.com/    irc://irc.freenode.net:6667 - TheCoin ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

Re: [PHP] Permission Denied

2011-03-27 Thread Hans Åhlin
-- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- **  Hans Åhlin    Tel: +46761488019    icq: 275232967    http://www.kronan-net.com/    irc://irc.freenode.net:6667 - Th

Re: [PHP] Re: echo?

2011-03-24 Thread Hans Åhlin
ne is going to be interpreted as #101/#102/#103 aso (that i figured when you wrote that putting a space in the beginning of the echo solved the problem. >    else        echo " \r\n"; >    } -- **  Hans Åhlin    Tel: +4676148

Re: [PHP] How to protect the source code.

2010-11-19 Thread Hans Åhlin
2010/11/19 Daniel P. Brown > > On Fri, Nov 19, 2010 at 17:07, Tamara Temple wrote: > > > > Perhaps it's just me, but I'm completely missing the point of this. How is > > someone going to get your code off of a server? > >    It's more likely that he's interested in learning how to protect > code

[PHP] How to protect the source code.

2010-11-19 Thread Hans Åhlin
** Hans Åhlin Tel: +46761488019 icq: 275232967 http://www.kronan-net.com/ irc://irc.freenode.net:6667 - TheCoin **

Re: [PHP] Storing Social Security Number WAS: Encryption/Decryption Question

2010-08-12 Thread Hans Åhlin
the system uses the mksk that the the admin who create the user uses. This has the advantage that you can re-encrypt the ssn table and the only key you have to change is the master key. ** Hans Åhlin Tel: +46761488019 icq: 275232967 http

Re: [PHP] generate animated gifs

2010-08-02 Thread Hans Åhlin
sorry for the empty mail, my web-browser crashed) ~Philip > > http://lonestarlightandsound.com/ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > ** Hans Åhlin Tel: +46761488019 icq: 275232967 http://www.kronan-net.com/ irc://irc.freenode.net:6667 - TheCoin **

Re: [PHP] generate animated gifs

2010-08-02 Thread Hans Åhlin
/www.ashleysheridan.co.uk > > I thought that GIF was patented or copyrighted or something - didn't know > if it was possible to create GIFs with ImageMagick/PHP. Did I pull that from > left field > > ~Philip > > http://lonestarlightandsound.com/ > > > -

Re: [PHP] Trapping for PDF Type and file size in a UPLOAD form...

2010-07-30 Thread Hans Åhlin
** Hans Åhlin Tel: +46761488019 icq: 275232967 http://www.kronan-net.com/ irc://irc.freenode.net:6667 - TheCoin ** 2010/7/30 Pete Ford > On 29/07/10 19:10, tedd wrote: > >> At 9:5

Re: [PHP] Retaining scroll position after asynchronous refresh

2010-07-23 Thread Hans Åhlin
<http://www.eggheadcafe.com/community/aspnet/3/10002280/scroll-positions.aspx> http://www.daniweb.com/forums/thread60189.html ** Hans Åhlin Tel: +46761488019 icq: 275232967 http://www.kronan-net.com/ irc://irc.freenode.net:666

Re: [PHP] interface name file

2010-07-07 Thread Hans Åhlin
*.api Application Programming Interface http://en.wikipedia.org/wiki/Application_Programming_Interface ** Hans Åhlin Tel: +46761488019 icq: 275232967 http://www.kronan-net.com/ irc://irc.freenode.net:6667 - TheCoin

Re: [PHP] What's wrong in this function? Does not work for me.

2010-07-03 Thread Hans Åhlin
7;Error, try again'; } ****** Hans Åhlin Tel: +46761488019 icq: 275232967 http://www.kronan-net.com/ irc://irc.freenode.net:6667 - TheCoin ** 2010/7/3 Carlos Sura : > > > Hello, this function does not work for me... And

Re: [PHP] What's wrong in this function? Does not work for me.

2010-07-03 Thread Hans Åhlin
#x27;,'".$field[3]."','".$field[4]."','".$field[5]."','".$field[6]."');"); ** Hans Åhlin Tel: +46761488019 icq: 275232967 http://www.kronan-net.com/ irc://irc.freenode.net:6667 - TheCoin **

Re: [PHP] Re: Is this a bug with date() ?

2010-06-30 Thread Hans Åhlin
A year can have 52 or 53 weeks and it can begin with week nr 1, 52 or 53 check this algorithm http://www.threesides.se/blogg/2010/04/15/date-calculation-algorithm/ ** Hans Åhlin Tel: +46761488019 icq: 275232967 http://www.kronan-net.com

Re: [PHP] Website content question

2010-06-21 Thread Hans Åhlin
Did you include the necessary php code? ** Hans Åhlin Tel: +46761488019 icq: 275232967 http://www.kronan-net.com/ irc://irc.freenode.net:6667 - TheCoin ** 2010/6/21 Ernie Kemp > This is no

Re: [PHP] CakePHP, alternatives?

2010-06-04 Thread Hans Åhlin
The thing I did beside the stuff already mentioned is, I took stuff from real life and I tried to define them and then write a program that handled/simulated it. ** Hans Åhlin Tel: +46761488019 icq: 275232967 http://www.kronan-net.com/ irc

Re: [PHP] Re: wondering how to catch notice errors properly

2010-05-02 Thread Hans Åhlin
Thanks for that, it saved me some thinking when I reach the error handling class with in my project. ** Hans Åhlin Tel: +46761488019 http://www.kronan-net.com/ irc://irc.freenode.net:6667 - TheCoin

Re: [PHP] What's your game? (X-PHP)

2010-04-25 Thread Hans Åhlin
Lineage II Comanche 4 Unreal Tournament Blood Rayne 1 and 2 Battlefield 2, 2142 Warhammer 40k Fallout 1, 2 and 3 My game list at CheatHappens.com http://www.cheathappens.com/show_user.asp?userID=553587 ** Hans Åhlin Tel: +46761488019 http

Re: [PHP] Re: Re: replying to list (I give up)[SOLVED TO A DEGREE]

2010-04-22 Thread Hans Åhlin
Is this the new "threading support" thread?!?! Why don't nuke everything then its nothing to use or complain about... ****** Hans Åhlin Tel: +46761488019 http://www.kronan-net.com/ irc://irc.freenode.net

Re: [PHP] replying to list (I give up)

2010-04-21 Thread Hans Åhlin
2010/4/21 David McGlone : > On Wed, 2010-04-21 at 14:49 +0200, Peter Lind wrote: >> On 21 April 2010 14:38, Hans Åhlin wrote: >> > Why change the way that has been around for years and adopted by >> > multiple e-mail lists? >> > It feels like it's more p

Re: [PHP] replying to list (I give up)

2010-04-21 Thread Hans Åhlin
2010/4/21 David McGlone : > On Wed, 2010-04-21 at 14:49 +0200, Peter Lind wrote: >> On 21 April 2010 14:38, Hans Åhlin wrote: >> > Why change the way that has been around for years and adopted by >> > multiple e-mail lists? >> > It feels like it's more p

Re: [PHP] replying to list (I give up)

2010-04-21 Thread Hans Åhlin
Why change the way that has been around for years and adopted by multiple e-mail lists? It feels like it's more problem to change the way for thousands of users just to satisfy a couple of few. ****** Hans Åhlin Tel: +46761488019 http://www.k

Re: [PHP] Does PHP support multi-thread ?

2010-04-18 Thread Hans Åhlin
PHP ever "grow up" and have threading?". it got 257+ replys ;) > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > ** Hans Åhlin Tel: +46761488019 http

Re: [PHP] Sort two coupled arrays

2010-04-07 Thread Hans Åhlin
Try this insted array( [0]=>array( [0]=>75, [1] => Personal Email) [1]=>array( [0]=>31, [1] => Personal Phone) [2]=>array( [0]=>31, [1] => Web site) [3]=>array( [0]=>31, [1] => Text Message) [4]=>array( [0]=>40, [1] => USPS mail) MvH / Hans Åhlin Tel

Re: [PHP] Howto send command over ssh using sockets

2010-04-04 Thread Hans Åhlin
Instead of ssh, you could use telnet to connect to the Cisco router (which incidentally runs on port 23, but is likely to be disabled on the cisco router, unless you have a pre-SSH capable IOS running on it (like my old cisco crap :( ) ), because i strongly doubt you have written or are willing to

Re: [PHP] Re: Will PHP ever "grow up" and have threading?

2010-03-25 Thread Hans Åhlin
MvH / Hans Åhlin Tel: +46761488019 http://www.kronan-net.com/ irc://irc.freenode.net:6667 - TheCoin 2010/3/25 Rene Veerman : > On Thu, Mar 25, 2010 at 6:13 AM, Hans Åhlin wrote: >>I admit that if there were native support for threading I >> would use it. But I don´t want

Re: [PHP] Re: Will PHP ever "grow up" and have threading?

2010-03-24 Thread Hans Åhlin
ative support for threading I would use it. But I don´t want the support for threading if it slowdown the performance. MvH / Hans Åhlin Tel: +46761488019 http://www.kronan-net.com/ irc://irc.freenode.net:6667 - TheCoin 2010/3/25 Tommy Pham : > On Wed, Mar 24, 2010 at 7:53 PM, Michelle

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Hans Åhlin
uage. C++/C programmer sometimes must use assembler, in asp/dot.net have to switch between VB,C# and so on. nothing new. thats why languages now days are mainly based on C/C++ to make it easier to jump between languages. (PHP, Perl, Java, JavaScript is based on C/C++ aso) -- MvH / Hans Åhlin T

Re: [PHP] Recommended Books on Object Oriented Programming

2010-03-24 Thread Hans Åhlin
ects, Patterns, and Practice ISBN10: 1-59059-380-4 ** Design Patterns: Elements of Reusable Object-Oriented Software ISBN 0-201-63361-2 ** -- MvH / Hans Åhlin Tel: +46761488019 http//www.kronan-net.com/ -- PHP Gen

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-23 Thread Hans Åhlin
th > business right?  If the company started small and want to use > available open source solutions, then grow quickly because of their > unique and quality products and services, and become enterprise level > with-in a few years, what then?  Slow down business growth just so > that IT can migrate everything to another language? Of all the > enterprise applications I've seen, they used threads. > Same answer as above. > Regards, > Tommy > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- MvH / Hans Åhlin Tel: +46761488019 http//www.kronan-net.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-22 Thread Hans Åhlin
created a poll here too: > http://www.rapidpoll.net/awp1ocy > > Past polls are below: > http://www.rapidpoll.net/8opnt1e > http://www.rapidpoll.net/arc1opy (although someone hacked this poll and > loaded up the 76 votes like a little cheater) > > > -- > PHP General Mailin

Re: [PHP] Recognizing double clicks

2009-11-21 Thread Hans Åhlin
nesis, raise my hand. >  -- Kurt Vonnegut > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- MvH / Hans Åhlin Tel: +46761488019 http//www.kronan-net.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Hash function

2009-11-10 Thread Hans Åhlin
gt; i want to create a function that mix together this request code with user > name that user entered and create new serial number. > What implications i have to satisfy to create such hash function in php? > Thanks for any suggestion > -- MvH / Hans Åhlin Tel: +46761488019 http//

Re: [PHP] Calendar/Date

2009-03-18 Thread Hans Åhlin
hen its in week nr 01 else if equal to 4 (Friday) its week 53 else its week 52 http://threesides.kronan-net.com/2008/08/04/date-calculation-algorithm/ -- MvH / Hans Åhlin - www.kronan-net.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php