Re: [PHP] > 2gb file issues

2011-02-17 Thread Nicholas Kell
On Feb 17, 2011, at 3:29 PM, Steve Staples wrote: > Is there a workaround for 32bit systems wanting to use > fopen() > is_file() > filesize() > > and i am sure there are others.. on files that are > 2gb? > > My development box is win visat 64bit, and i dont have any issues, when > i ported it

Re: [PHP] iVery payment integration help

2011-02-16 Thread Nicholas Kell
On Feb 16, 2011, at 3:34 PM, Mujtaba Arshad wrote: > Here you go: > http://lmgtfy.com/?q=how+to+integrate+the+iVeri+payment+gateway+in+a+wordpress+site > > On Wed, Feb 16, 2011 at 4:27 PM, Michael Simiyu > wrote: > >> hello, >> >> i need some quick help integrating the iVery payment gateway i

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Nicholas Kell
On Feb 15, 2011, at 1:20 PM, Mujtaba Arshad wrote: > I would say all languages have their 'lousy developers', however, since very > few schools focus on teaching the 'proper coding style' for PHP it leads to > people learning from a variety of resources available online, and this leads > to them

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Nicholas Kell
On Feb 15, 2011, at 11:52 AM, tedd wrote: > At 11:37 AM -0600 2/15/11, Nicholas Kell wrote: >> On Feb 15, 2011, at 10:51 AM, tedd wrote: >> > At 8:26 PM -0500 2/14/11, Brian Waters wrote: >> >> (if that's OK). I know that PHP sometimes has a reputation for h

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Nicholas Kell
On Feb 15, 2011, at 10:51 AM, tedd wrote: > At 8:26 PM -0500 2/14/11, Brian Waters wrote: >> Hi everyone! I'm just starting out with PHP so I'm looking for a good >> place to ask some questions, have my code critiqued (read: visciously >> ripped apart), and generally BS about PHP and programming

Re: [PHP] odd list bounces

2011-01-31 Thread Nicholas Kell
On Jan 31, 2011, at 4:47 AM, Ashley Sheridan wrote: > Hiya, > > Is anyone else getting odd bounce messages? I just received one from the > list about a message that was returned as a bounce from my email > address. The fact that I was able to read an email about an email that > bounced from me s

Re: [PHP] Parse question

2011-01-21 Thread Nicholas Kell
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

Re: [PHP] Exec Script in the background, don't wait till it finishes

2011-01-14 Thread Nicholas Kell
On Jan 14, 2011, at 12:41 PM, Kai Renz wrote: > Hi guys and thanks for your answers... > > @Nicholas: > Yes, you are right. The first socket is only used if a new clients > connects, thats why the script generates a new port so the client can > connect to the new socket. After that socket1 shoul

Re: [PHP] Exec Script in the background, don't wait till it finishes

2011-01-14 Thread Nicholas Kell
On Jan 14, 2011, at 12:41 PM, Kai Renz wrote: > Hi guys and thanks for your answers... > > @Nicholas: > Yes, you are right. The first socket is only used if a new clients > connects, thats why the script generates a new port so the client can > connect to the new socket. After that socket1 shoul

Re: [PHP] Exec Script in the background, don't wait till it finishes

2011-01-14 Thread Nicholas Kell
On Jan 14, 2011, at 10:56 AM, Kai Renz wrote: > Hi there, > > i'm currently working on a socket project. It consists of two scripts. > The first script (socket1.php) creates a socket on a specified port > and waits for a client to connect. If a client connects, they exchange > some informations,

Re: [PHP] Command line PHP

2011-01-07 Thread Nicholas Kell
On Jan 7, 2011, at 1:34 PM, TR Shaw wrote: > > On Jan 7, 2011, at 12:08 PM, Nicholas Kell wrote: > >> >> On Jan 7, 2011, at 11:01 AM, Joshua Kehn wrote: >> >>> On Jan 7, 2011, at 11:55 AM, la...@garfieldtech.com wrote: >>> >>>> Hi fol

Re: [PHP] Command line PHP

2011-01-07 Thread Nicholas Kell
On Jan 7, 2011, at 11:01 AM, Joshua Kehn wrote: > On Jan 7, 2011, at 11:55 AM, la...@garfieldtech.com wrote: > >> Hi folks. I have a project coming up that will involve writing a >> non-trivial command line PHP application. Most of it will be nice and >> abstracted and standalone and all of

Re: [PHP] Global or include?

2011-01-05 Thread Nicholas Kell
On Jan 5, 2011, at 4:40 PM, Paul Halliday wrote: > Say you have 10 or so scripts and a single config file. If you have > main.php, functions1.php, functions2.php, functions3.php.. > > Does is hurt to do an include of the config file in each separate > script, even if you only need a few things

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-29 Thread Nicholas Kell
On Dec 29, 2010, at 6:37 PM, Omega -1911 wrote: > I know something funnier... Let's wait for Dani's response. > > On Wed, Dec 29, 2010 at 7:28 PM, Bastien wrote: >> >> >> On 2010-12-29, at 5:32 PM, "Daniel P. Brown" >> wrote: >> >>> On Wed, Dec 29, 2010 at 15:16, Omega -1911 <1911...@gmail

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-29 Thread Nicholas Kell
On Dec 29, 2010, at 10:40 AM, Paul M Foster wrote: > On Wed, Dec 29, 2010 at 11:06:15AM +0200, Dotan Cohen wrote: > >> On Wed, Dec 29, 2010 at 06:51, Paul M Foster wrote: > > > >> >>> Under the circumstances I described, I have yet to hear in what way >>> copying and pasting passwords compr

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-28 Thread Nicholas Kell
On Dec 28, 2010, at 2:11 PM, Joshua Kehn wrote: > Specifically: > >>> Dotan Cohen wrote: I seem to have an issue with users who copy-paste their usernames and passwords coping and pasting leading and trailing space characters. > > Users should not be copy-pasting passwords or username

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-28 Thread Nicholas Kell
On Dec 28, 2010, at 8:52 AM, Dotan Cohen wrote: > On Tue, Dec 28, 2010 at 15:27, Al wrote: >> Can't you simply specify the allowed characters that can be used for PWs and >> usernames? >> > > No, I hate when websites do that. It leads to less secure passwords, > not more secure, and it is pass

Re: [PHP] Server response very poor again

2010-12-22 Thread Nicholas Kell
On Dec 22, 2010, at 10:09 AM, Steve Staples wrote: > On Wed, 2010-12-22 at 10:19 -0500, Al wrote: >> It was fixed about 3 or 4 weeks ago; but, has reverted to poor again. Many >> times outs etc. >> >> Took me 4 tries to post this. >> >> Al... >> > > Not trying to sound rude or prick

Re: [PHP] Problems w/ goto

2010-12-17 Thread Nicholas Kell
On Dec 17, 2010, at 11:08 AM, Steve Staples wrote: [snip /] >> >> >> GOTO should never be used like this. >> >> GOTO should never be used. >> > > Wow... that brought me back to 1990... using basic and batch files... > I honestly didn't even know that the GOTO was still in existence, > espec

Re: [PHP]Confusion About WordPress Cache

2010-12-17 Thread Nicholas Kell
On Dec 17, 2010, at 8:21 AM, 肖晗 wrote: > I am using WordPress Cache to cache data retrieved from database, using > WP_Cache . > > After I used wp_cache_set to set some data in the cache, I try to get it by > wp_cache_get in ANOTHER post re

Re: [PHP] PHPInfo disabled due to security

2010-12-17 Thread Nicholas Kell
On Dec 16, 2010, at 10:39 PM, Paul S wrote: > On Thu, 16 Dec 2010 00:13:31 +0700, "Daniel P. Brown" > wrote: > > >> >>Well, phpinfo() does, by default, divulge some things that could >> be considered security concerns --- particularly in poorly-managed >> environments. Primarily, this is

Re: [PHP] How does one reply to messages on this list?

2010-12-16 Thread Nicholas Kell
On Dec 16, 2010, at 9:28 AM, Paul M Foster wrote: > On Thu, Dec 16, 2010 at 08:19:52AM -0600, Nicholas Kell wrote: > >> >> Couldn't we just have a reply-to address for the list in the header of >> the email? So all a fella had to do was hit reply, and it would

Re: [PHP] How does one reply to messages on this list?

2010-12-16 Thread Nicholas Kell
On Dec 16, 2010, at 8:26 AM, Daniel Brown wrote: > On Thu, Dec 16, 2010 at 09:19, Nicholas Kell wrote: >> >> Couldn't we just have a reply-to address for the list in the header of the >> email? So all a fella had to do was hit reply, and it would work? > >

Re: [PHP] How does one reply to messages on this list?

2010-12-16 Thread Nicholas Kell
Couldn't we just have a reply-to address for the list in the header of the email? So all a fella had to do was hit reply, and it would work? This is how the Apache and the MySQL list works. The PHP list is the only list that I have to manually edit my reply every time. For example, I hit reply

Re: [PHP] PDO: good, popular?

2010-12-15 Thread Nicholas Kell
On Dec 14, 2010, at 5:45 PM, Govinda wrote: >> In previous experience with questions such as these, you will get >> several types of individual responses to usages of the software. Some >> good, some bad, depending on the experience level of the commenter >> with both the language and the code in

Re: [PHP] is this thing on??

2010-11-23 Thread Nicholas Kell
Whitetail hunting season, for most of the American Midwest anyway. :) On Nov 23, 2010, at 2:01 PM, Steve Staples wrote: > On Tue, 2010-11-23 at 20:55 +0100, Peter Lind wrote: >> On 23 November 2010 20:52, Steve Staples wrote: >>> tap tap tap... testing testing... 1, 2, 3 >>> >>> Hello?

Re: [PHP] Securing Use of PHP site

2010-11-17 Thread Nicholas Kell
On Nov 17, 2010, at 6:51 AM, Don Wieland wrote: > Hello all, > > I have recently built a site using PHP. I was a little loose with GET and > POST methods because I was using it for personal/private use. Now I am > thinking of going public and allow different companies to use the site. I > w

Re: [PHP] How to code in PHP an onchange event in a ?

2010-11-04 Thread Nicholas Kell
On Nov 4, 2010, at 3:23 PM, Tomás Corrales Lemoine wrote: > Hi, List, > > I have this two files (“index.php” and “include.php”). They both work fine, > but I want to substitute the code for de onchange event in the tag. > Can I use PHP to code this event? How? > > Thanks. > > > > ind

Re: [PHP] Problems converting strings with 0 to integer

2010-11-03 Thread Nicholas Kell
On Nov 3, 2010, at 4:22 PM, robert mena wrote: > Hi, > > I have a text file (utf-8 encoded) which contains lines with numbers and > text separated by \t. I need to convert the numbers that contains 0 (at > left) to integers. > > For some reason one line that contains 0002 is casted to 0 in

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-02 Thread Nicholas Kell
s a shared > object right are they stored on disk as individual files or all together > compiled into a binary > > Thank you > > Suyash Ramineni > On Tue, Nov 2, 2010 at 3:55 PM, Nicholas Kell wrote: > > On Nov 2, 2010, at 2:50 PM, Suyash R wrote: >

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-02 Thread Nicholas Kell
amineni > On Mon, Nov 1, 2010 at 2:35 PM, Nicholas Kell wrote: > >> >> On Nov 1, 2010, at 1:12 PM, Suyash R wrote: >> >>> No, sockets.so in not included in any of the machines php.ini file. >> However, I found that Linux machine's php.ini doesn'

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-01 Thread Nicholas Kell
Is it required to be included only in Solaris? > > On Mon, Nov 1, 2010 at 1:41 PM, Nicholas Kell wrote: > > On Nov 1, 2010, at 12:08 PM, crrr errr wrote: > > > Yes, the http ( Apache user) has rl ( read permission) on the php file with > > sockets code i

Re: [PHP] PHP sockets enabled but socket_create() gives an error callto undefined function

2010-11-01 Thread Nicholas Kell
On Nov 1, 2010, at 12:36 PM, rek wrote: > I don't think the unix permission will cause a function undefined error. > > 於 2010年11月02日 01:08, crrr errr 提到: >> Yes, the http ( Apache user) has rl ( read permission) on the php file with >> sockets code in it. I think write access is unnecess

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-01 Thread Nicholas Kell
On Nov 1, 2010, at 12:08 PM, crrr errr wrote: > Yes, the http ( Apache user) has rl ( read permission) on the php file with > sockets code in it. I think write access is unnecessary for Apache user. > > On Mon, Nov 1, 2010 at 12:50 PM, Nicholas Kell wrote: > >>

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-01 Thread Nicholas Kell
On Nov 1, 2010, at 12:08 PM, crrr errr wrote: > Yes, the http ( Apache user) has rl ( read permission) on the php file with > sockets code in it. I think write access is unnecessary for Apache user. > > On Mon, Nov 1, 2010 at 12:50 PM, Nicholas Kell wrote: > > On

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-01 Thread Nicholas Kell
On Nov 1, 2010, at 11:44 AM, crrr errr wrote: > Yes, the phpinfo() shows that sockets are enabled in both machines. > On Mon, Nov 1, 2010 at 12:43 PM, Bastien Koert wrote: > >> On Mon, Nov 1, 2010 at 12:40 PM, crrr errr >> wrote: >>> Hello, >>> >>> I was trying to create a soc

Re: [PHP] Documentation

2010-10-27 Thread Nicholas Kell
On Oct 27, 2010, at 4:09 AM, Tommy Pham wrote: >> -Original Message- >> From: Jordan Jovanov [mailto:jovanovj...@gmail.com] >> Sent: Wednesday, October 27, 2010 1:53 AM >> To: php-general@lists.php.net >> Subject: [PHP] Documentation >> >> Hello All, >> >> I finished with coding and now

Re: [PHP] Character encoding hell

2010-10-26 Thread Nicholas Kell
On Oct 26, 2010, at 12:00 PM, Marc Guay wrote: > Again, if it helps, a link formatted in the same way to the same file > links correctly on a windows machine. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > A windows server, or w

Re: [PHP] Character encoding hell

2010-10-26 Thread Nicholas Kell
On Oct 26, 2010, at 11:38 AM, Marc Guay wrote: >> Are you using UTF-8? > > Could you be more specific? Do you mean in the browser/php header or > in the filesystem? I created the file on a Windows machine, > transferred them to a Linux machine, and the encoding of the page is > UTF-8. > > I j

Re: [PHP] Character encoding hell

2010-10-26 Thread Nicholas Kell
On Oct 26, 2010, at 10:56 AM, Marc Guay wrote: > Hi folks, > > I've got a problem with character encoding that's threatening to kill > my little brain. Here we go: > > I have a directory with a bunch of PDFs in it that my webpage displays > links to. All of the files have the french character