Re: [PHP] PHP with NNTP?

2008-04-16 Thread Crayon Shin Chan
On Wednesday 16 April 2008, vester_s wrote: > Can anybody tell me how can php connect to NNTP to get the list of all > users in the newsgroups? NNTP has no concept of "users". -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Join question

2007-12-02 Thread Crayon Shin Chan
On Sunday 02 December 2007, Daniel Brown wrote: > There are a great deal of highly-intelligent people on this list, so why > not take advantage of that resource? I do, that's why I'm on the list. > So until you've been around enough to truly earn your right to > tell someone far more accomp

Re: [PHP] Join question

2007-12-02 Thread Crayon Shin Chan
On Saturday 01 December 2007, chris smith wrote: > Considering the rest of the off-topic questions that regularly get > asked on this list it's a bit much to single out this one particular > post. I didn't single it out, it just happened to be at the top of the pile at the the time. It was also h

Re: [PHP] Join question

2007-11-30 Thread Crayon Shin Chan
On Friday 30 November 2007, Jochem Maas wrote: > my guess it took less time to search for 'Crayon' in his mail archive > than it took you to write the sentence. Is not so much the actual time taken but rather that he had the free time at all. > aparently Rob wasn't saying this ... but I would,

Re: [PHP] Join question

2007-11-30 Thread Crayon Shin Chan
On Friday 30 November 2007, Robert Cummings wrote: > I'm sorry, allow me to rephrase... in the past 5 months you've made 2 > on-topic useful posts, with the rest either being on-topic for an > off-topic thread, or completely off-topic. I see no point in saying > more, I've made my point. I know y

Re: [PHP] Join question

2007-11-30 Thread Crayon Shin Chan
On Saturday 01 December 2007, tedd wrote: > At 10:21 AM +0800 11/30/07, Crayon Shin Chan wrote: > >On Friday 30 November 2007, tedd wrote: > >> I'm trying to understand joins, > > > >Ask on a database related list. > Really? Really. > No language l

Re: [PHP] Join question

2007-11-29 Thread Crayon Shin Chan
On Friday 30 November 2007, Robert Cummings wrote: > > Or are you saying that one needs to make a lot of on-topic posts to > > build up credit in order to be able to make off-topic posts? > > No, I'm merely pointing out the hypocrisy. That would only be true if I had been making off-topic posts. B

Re: [PHP] Join question

2007-11-29 Thread Crayon Shin Chan
On Friday 30 November 2007, Robert Cummings wrote: > That's an amusing statement. I took a peek back in time and noticed > that in the past 5 months you've only made two on-topic useful posts to > the PHP General list-- and they were both for the same thread. If you have that much free time on yo

Re: [PHP] Join question

2007-11-29 Thread Crayon Shin Chan
On Friday 30 November 2007, tedd wrote: > I'm trying to understand joins, Ask on a database related list. -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP RFC # 0001 --- List Etiquette [SOLVED]

2007-11-28 Thread Crayon Shin Chan
On Wednesday 28 November 2007, Jay Blanchard wrote: > [snip] > So the summary of my proposal is as follows: > reached or question is asked. This will allow a step-by-step document > (of sorts) to be created and made "searchable" on the web. > [/snip] > > This has been the expected behavio

Re: [PHP] Newline

2007-10-29 Thread Crayon Shin Chan
On Monday 29 October 2007, Nathan Nobbe wrote: > if you were going to do that you may as well use PHP_EOL > its cross-platform and doesnt require an define directive. > (php5 only) It's available in 4.3.10 as well, but manual doesn't specify what it defines - I suppose I can echo or vardump it to

Re: [PHP] Newline

2007-10-29 Thread Crayon Shin Chan
On Sunday 28 October 2007, magoo wrote: > I have switched to using single quotes, and found out that newline (\n) > only works in double quotes. It looks kind of stupid using > 'someString'."\n"; and it`s kind of inconsistent using double quotes > for some lines like "someString\n";. You can:

Re: [PHP] cant send mail

2007-10-28 Thread Crayon Shin Chan
On Friday 26 October 2007, Diana wrote: > The problem is I am the mail server administrator also. Fire the mailserver administrator and employ a better one? -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php personal project

2007-09-22 Thread Crayon Shin Chan
On Friday 21 September 2007, Karl james wrote: > I am in need of some help. > I would love to get some assistance on this. > I need to start creating a database for my website. > This will be for a fantasy football league website. > To store stats on the database for archive purposes, > And be abl

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread Crayon Shin Chan
On Tuesday 31 July 2007 22:21, Larry Garfield wrote: > "Commercial publication" didn't exist as a concept until after the > invention of the printing press, which is when copyright was invented > in order to protect the business of the publishers. Presumably you're talking about Europe, because i

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread Crayon Shin Chan
On Tuesday 31 July 2007 21:37, tedd wrote: > Extortion? Are you saying that anyone who owes a copyright is > obtaining money through force or threats? That sounds strange. Wow, it seems you haven't heard of the RIAA and their racketeering. -- Crayon -- PHP General Mailing List (http://www.php

Re: [PHP] Re: Pirate PHP books online?

2007-07-30 Thread Crayon Shin Chan
On Tuesday 31 July 2007 02:45, tedd wrote: > Well, when I *use* my neighbor's car without his authorization it's > called "stealing" If your intention was not to keep the car on a permenant basis then you would probably be prosecuted for joyriding rather than stealing. > >How? Nobody is not bei

Re: [PHP] Re: Pirate PHP books online?

2007-07-30 Thread Crayon Shin Chan
On Tuesday 31 July 2007 02:08, tedd wrote: > No, if you want something that you don't have -- you have three > choices: a) go without; b) BUY it; c) STEAL it. Rubbish. You can borrow, lease, hire purchase, rent, and there are probably other options as well. -- Crayon -- PHP General Mailing L

Re: [PHP] Re: Pirate PHP books online?

2007-07-30 Thread Crayon Shin Chan
On Monday 30 July 2007 23:49, tedd wrote: > The opposite of BUYING is STEALING I think you meant SELLING. -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] No is_date() function?

2007-07-25 Thread Crayon Shin Chan
On Thursday 26 July 2007 11:44, Ken Tozier wrote: > On Jul 25, 2007, at 10:37 AM, Edward Kay wrote: > > PS: Please don't top post on mailing lists. > > I'm unfamiliar with the term "top post". What does it mean? But you are familiar with google? -- Crayon -- PHP General Mailing List (http://ww

Re: [PHP] Pirate PHP books online?

2007-07-24 Thread Crayon Shin Chan
On Tuesday 24 July 2007 06:02, Ryan A wrote: > >Instead of clip tags, I recommend that you configure your mail client > >to prepend a greater than sign to quotes. It's rather customary, if > >not standard. > > Sorry about that, its driving me crazy too. I have to manually do it if > I want it (li

Re: Re[2]: [PHP] Pirate PHP books online?

2007-07-24 Thread Crayon Shin Chan
On Tuesday 24 July 2007 06:12, tedd wrote: > How about "Rasmus Lerdorf, Lord of the Code" I thought it was supposed to be based on a Potter book? How about "Rasmus Lerdorf, Prisoner of ASP". -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Pirate PHP books online?

2007-07-23 Thread Crayon Shin Chan
On Monday 23 July 2007 22:26, Larry Garfield wrote: > So when does "Rasmus Lerdorf and the Deathly Hallows" open in theaters? They've got to make "Rasmus Lerdorf and the Order of the PHP" first. -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] can't open a file

2007-07-23 Thread Crayon Shin Chan
On Monday 23 July 2007 12:23, Ken Tozier wrote: > The permissions for the "test" folder is set to me in a WebServer > subfolder on Mac OS X. What exactly does "permission ... set to me" mean? > Do I need to set permissons to something else > to get this to work? If so, what permissions should

Re: [PHP] Pirate PHP books online?

2007-07-22 Thread Crayon Shin Chan
On Monday 23 July 2007 08:45, Ryan A wrote: > Disagree again, if Adam uploads or not, there is a whole bunch of stuff > out there that he cant hope to download in a lifetime. It was never mentioned *when* Adam uploaded his file, it could've been when the site first started out and uploads then

Re: [PHP] Pirate PHP books online?

2007-07-22 Thread Crayon Shin Chan
On Sunday 22 July 2007 23:05, Ryan A wrote: > Let me give you an example, "Adam" buys your book/cd/ or a video, > "rips" it into digital format and uploads it onto...say... thepiratebay > (since thats where you found your book's links) Adam does not make a > cent by doing so, Not exactly, Adam's

Re: [PHP] Pirate PHP books online?

2007-07-22 Thread Crayon Shin Chan
On Sunday 22 July 2007 18:13, David Powers wrote: > That's why books keep on > coming. The situation in the music industry is similar. Perhaps you authors should make greater use of things like www.lulu.com where you can dictate the terms and cut out the middle-men. But if you're relying on the

Re: [PHP] Denial of Service Attack

2007-07-21 Thread Crayon Shin Chan
On Saturday 21 July 2007 10:24, Jim Lucas wrote: > So, I guess to sum up what the guy is talking about, I think he is > right. Some of us might have been DDOSed from making posts on this > list. > > my email address points right back to my web server. > > What does everybody else think? Ther

Re: [PHP] Re: Pirate PHP books online?

2007-07-21 Thread Crayon Shin Chan
On Saturday 21 July 2007 08:58, Richard Lynch wrote: > In the olden days, it often turned into "slash the cover and donate it > and collect tax break", I do believe, but I think that practice was > decried and has decreased. Just curious, which part was decried: "slash the cover" or "donate it an

Re: [PHP] Pirate PHP books online?

2007-07-21 Thread Crayon Shin Chan
On Saturday 21 July 2007 16:20, Jim Lucas wrote: > more then likely, recycling a stack of newspapers would cost more then > running my computer for a month. Also reminds me of how some people (especially Americans) who drive miles and miles in their big gas-guzzling SUVs so they could drop off t

Re: [PHP] Pirate PHP books online?

2007-07-21 Thread Crayon Shin Chan
On Saturday 21 July 2007 04:15, Tijnema wrote: > Old paper can be recycled, lost energy from computers can't ;) Recycling old paper use energy as well. -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Pirate PHP books online?

2007-07-18 Thread Crayon Shin Chan
On Wednesday 18 July 2007 22:12, Stut wrote: > There is a very very important difference. Stealing/theft is a criminal > offence. Copyright infringement is not. For you to be prosecuted for > copyright infringement the injured party must bring a civil case. Actually whether it's civil or criminal

Re: Re[2]: [PHP] Re: Pirate PHP books online?

2007-07-16 Thread Crayon Shin Chan
On Monday 16 July 2007 20:51, Richard Davey wrote: > Someone ought to create a 'carbon footprint per email sent' > calculator. Total up how much energy is literally wasted in the > transmission (and consequent receiving) of just one message. I bet if > you add it all up it'd put a printed book, wh

Re: [PHP] Pirate PHP books online?

2007-07-16 Thread Crayon Shin Chan
On Monday 16 July 2007 19:42, Dotan Cohen wrote: > I guess that I'm naive. I've gotten a few "what's the address" > requests, but none from authors... What makes you think any of the authors are subscribed to this list? Even if some are, what makes you think they monitor the list 24/7? They mig

Re: [PHP] SMS questions

2007-07-16 Thread Crayon Shin Chan
On Friday 13 July 2007 22:38, Robert Cummings wrote: > > in which the sender is responsible for storing the mail until the > > intended recipient retrieves it seems like a good start. > > Bleh, that's so easily solvable for spammers. Create one real message, > then softllink it for every actual em

Re: [PHP] SMS questions

2007-07-13 Thread Crayon Shin Chan
On Friday 13 July 2007 14:07, Richard Lynch wrote: > I'd give a lot of money to be able to teleport back in time and yell > at the email designer folks to tell them just how horrible a mess they > were making... :-) But you have to give them credit for designing something so scaleable that even

Re: [PHP] Anyone have an iPhone? OT

2007-07-11 Thread Crayon Shin Chan
On Wednesday 11 July 2007 19:58, tedd wrote: > If you bought an iPhone, please contact me off-list -- I have a > question. They have: http://www.willitblend.com/videos.aspx?type=unsafe&video=iphone -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

Re: [PHP] duration of mp3 file

2007-07-11 Thread Crayon Shin Chan
On Wednesday 11 July 2007 21:32, Steven Macintyre wrote: > Any takers on this ... I JUST want the duration of the mp3 file - with > a small function if possible ... I honestly don't want to use a class > like http://www.phpclasses.org/browse/package/112.html > > The coding is terrible and SERIOUSL

Re: [PHP] how PHP is batter?

2007-07-04 Thread Crayon Shin Chan
On Tuesday 03 July 2007 22:56, Stut wrote: > > I saw there is a free version of Studio, but I think it's for > > students... You cannot go build a corporate project with it I > > think... > > More FUD. Go read the licence before claiming to know what it says! Regardless, the "Express" version has

Re: [PHP] how PHP is batter?

2007-07-04 Thread Crayon Shin Chan
On Tuesday 03 July 2007 21:52, Stut wrote: > > In short words it's not Micro$oft and you don't need to buy stuff to > > develop in it. > > You have never needed to buy anything to develop ASP.net applications. However, remember that many of the functions and extensions that PHP has "builtin" are

Re: [PHP] simple OCR in php

2007-06-29 Thread Crayon Shin Chan
On Saturday 30 June 2007 00:32, Jay Blanchard wrote: > In short PHP cannot perform OCR functions. Why? PHP provides all requisite functions/features so if someone was sadistic enough and talented enough there's nothing to stop them writing an OCR app using it. > You could insert an OCR > app

Re: [PHP] Create .php file with php [POC CODE INCLUDED]

2007-06-27 Thread Crayon Shin Chan
On Wednesday 27 June 2007 06:32, Edward Vermillion wrote: > Most /tmp directories are world rwx. So anyone that can log into the > server through a shell, or any account running on the server, has at > least read access to anything in the /tmp directory. They wouldn't > need to do it through a web

Re: [PHP] Create .php file with php [POC CODE INCLUDED]

2007-06-26 Thread Crayon Shin Chan
On Wednesday 27 June 2007 03:53, Daniel Brown wrote: > On 6/26/07, Al Rider <[EMAIL PROTECTED]> wrote: > > I think most systems have a /tmp directory above the web dir, so > > outsiders can't watch it anyhow. > > True, but on an unsecured box, this becomes possible, as Apache > will most likely

Re: [PHP] Aggressive PHP Smart Caching

2007-06-25 Thread Crayon Shin Chan
On Monday 25 June 2007 11:55, Nathan Nobbe wrote: >- why cache script output on disk? if a fast cache is your goal, > why not store the result of script output in memory rather than on > disk; that would be much faster Under most OSs whatever is on disk will end up cached in memory sooner or

Re: [PHP] Small LAMP install/distro

2007-06-23 Thread Crayon Shin Chan
On Saturday 23 June 2007 04:29, Tijnema wrote: > > 3) This is basically the same as point 1, but I think it's still > > worth making. I don't know about anyone else, but this is 1 of 14 > > lists I subscribe to. Keeping track of what's happening in all > > current threads in all those lists is not

Re: [PHP] Re: php framework, large site

2007-06-21 Thread Crayon Shin Chan
On Wednesday 20 June 2007 03:27, Robert Cummings wrote: > > 1) study a selection of frameworks and learn from their strengths and > > weaknesses then go on to create a kickass framework based on what > > you've learnt > > Now, now, let's not pretend that you even nearly suggested that in your > or

Re: [PHP] Re: php framework, large site

2007-06-19 Thread Crayon Shin Chan
On Tuesday 19 June 2007 06:58, tedd wrote: > Yes, but the fact still remains, for the exception of drug companies > passing DNA sequences off as patents, In the bad old U S of A you can patent your own grandmother (or at least someone somewhere thinks you ought be able to). > the *majority* of

Re: [PHP] Re: php framework, large site

2007-06-19 Thread Crayon Shin Chan
On Tuesday 19 June 2007 13:47, Robert Cummings wrote: > No, it's simple probability. So it's probability now? Which has the greater probability: 1) study a selection of frameworks and learn from their strengths and weaknesses then go on to create a kickass framework based on what you've learnt

Re: [PHP] Re: php framework, large site

2007-06-19 Thread Crayon Shin Chan
On Tuesday 19 June 2007 09:26, Robert Cummings wrote: > Making up phrases and passing them off as though they are common adages > only goes towards showing that you have no steam to your argument. I really wish you would make up your mind. On the one hand you value individuality and originality

Re: [PHP] Re: php framework, large site

2007-06-18 Thread Crayon Shin Chan
On Tuesday 19 June 2007 09:35, Robert Cummings wrote: > Ah but it is quite possible that the OP will go ahead and try to build > a framework, he may fail miserably, all the while learning from his > mistakes. Then he may try again and subsequently build a kickass > framework. In the pragmatic wo

Re: [PHP] Re: php framework, large site

2007-06-18 Thread Crayon Shin Chan
On Tuesday 19 June 2007 09:12, Nathan Nobbe wrote: > it seems to me most people use the terms flavor and distribution > interchangeably when referring to linux. Yeah and most people forget that linux (the kernel) is only a tiny part of a "linux distribution". > although gentoo linux [the only o

Re: [PHP] Re: php framework, large site

2007-06-18 Thread Crayon Shin Chan
On Tuesday 19 June 2007 02:04, Nathan Nobbe wrote: > discouraging new framework development is like telling the people of > the world never to develop a new flavor of linux. There are no new flavours of linux. You're probably mixing it up with linux distributions of which there are many. Most of

Re: [PHP] Re: php framework, large site

2007-06-18 Thread Crayon Shin Chan
On Tuesday 19 June 2007 02:18, Robert Cummings wrote: > I put that exact phrase (double quoted of course) into Google and > turned up the following: > > Your search - "there's a fine line between personal satisfaction > and egotism" - did not match any documents. > > I'm going to guess you

Re: [PHP] Re: php framework, large site

2007-06-18 Thread Crayon Shin Chan
On Tuesday 19 June 2007 00:36, tedd wrote: > What about the wasted time in searching through "billions of > half-baked to fully-baked > frameworks" to find one that works for you? That's really a waste of > time. Well search through the fully-baked frameworks only, and don't create another half-

Re: [PHP] Re: php framework, large site

2007-06-18 Thread Crayon Shin Chan
On Monday 18 June 2007 04:00, Robert Cummings wrote: > Typo... *yawn*. Please lookup the real meaning of typo . > You knew what was intended. Of course. I'm not a computer and can make judgements based on context and experience. I only brought it up because you seem to delight in grammatical

Re: [PHP] Unable to use exec() in php

2007-06-17 Thread Crayon Shin Chan
On Monday 18 June 2007 13:15, makhan wrote: Stop top posting. > I am also using shell_exec('matlab -r myscript') to run > my matlab script. Using shell_exec('matlab -r /path/to/myscript') would be a better idea. -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

Re: [PHP] Re: php framework, large site

2007-06-17 Thread Crayon Shin Chan
On Monday 18 June 2007 02:12, Robert Cummings wrote: > Why not? You're argument is invalid. "You're" == "You are", which makes the above invalid, or at least nonsensical. > It suggests that since solutions > already exist to a problem that we should lie down and leave things as > they are. Pro

Re: [PHP] Re: php framework, large site

2007-06-17 Thread Crayon Shin Chan
On Monday 18 June 2007 00:12, Robert Cummings wrote: > Good reasons to write your own: It's an extremely inefficient use of precious time. Inventing the wheel over and over. Surely out of the billions of half-baked to fully-baked frameworks out there must be something suitable for everyone. How

Re: [PHP] Automatic mail forwarding (using cpanel) --------------------------------------------------> (Maybe a bit 0T)

2007-06-16 Thread Crayon Shin Chan
On Saturday 16 June 2007 22:00, Ryan A wrote: > This is already possible via cpanel but rather than enter each > address by hand in cpanel... is there anyway to do this via a php > script so that as the user creates a userid and specifies his real > address the forward is created? Yeah, find ou

Re: [PHP] OK to have many files in one folder?

2007-06-15 Thread Crayon Shin Chan
On Saturday 16 June 2007 03:47, Daniel Brown wrote: > Once again, this doesn't matter so much for per-directory (though > listing will take longer, as I think I mentioned) as it does the > filesystem mount. Several years ago, having say 3000+ files in single directory on ext2 would mean tha

Re: [PHP] OK to have many files in one folder?

2007-06-15 Thread Crayon Shin Chan
On Saturday 16 June 2007 02:51, Daniel Brown wrote: > And remember, the fact that they're all > in one directory doesn't matter at all to the system, as directories, > folders, et cetera, are just representations for human readability and > organization. In fact, those files reside on several sec

Re: [PHP] Re: Re: php-cli vs python

2007-06-15 Thread Crayon Shin Chan
On Friday 15 June 2007 21:23, Jochem Maas wrote: [etc] > IT is a joke, this list is joke, I'm a joke. no joke. Someone give this guy his meds :) -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mbstring problems

2007-06-14 Thread Crayon Shin Chan
On Friday 15 June 2007 04:09, Martin Marques wrote: > Using PHP 5.2.0 and I get this error: > > Fatal error: Call to undefined function mb_list_encodings_alias_names() > in /home/martin/prueba.php on line 3 > > But mb_list_encodings() works like a charm. What's wrong? RTFM -- Crayon -- PHP Gen

Re: Re[4]: [PHP] London PHP salaries

2007-06-14 Thread Crayon Shin Chan
On Friday 15 June 2007 07:39, Richard Davey wrote: > Yeah, it makes buying software from the US a dream at the moment. Huh? When software comes across the pond they usually markup at 1USD=1GBP -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

Re: Re[2]: [PHP] London PHP salaries

2007-06-14 Thread Crayon Shin Chan
On Friday 15 June 2007 06:50, Richard Davey wrote: > VAT is 17.5%, doesn't apply to all goods (certain items are exempt) Foodstuffs and "essential" items are exempt. > and is in practise no different to your state taxes. Think yourself > lucky it's only 17.5%, some European countries go way high

Re: [PHP] London PHP salaries

2007-06-14 Thread Crayon Shin Chan
On Thursday 14 June 2007 17:11, Javier Leyba wrote: Please trim your post! > How much should be the lower limit to keep a family > happy (happy means with enough money for a flat, food, > clothes, entertainment, education and something to > save for the future) ? $salary = 3 + (sizeof($famil

Re: [PHP] PHP list as a blog

2007-06-12 Thread Crayon Shin Chan
On Wednesday 13 June 2007 12:39, Paul Scott wrote: > Our interns and students specifically. They are all dead scared of > joining mailing lists in general, and find that using a web based > prettier interface is much easier and friendlier. Not to mention slower, clumsier and more bandwidth hungr

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Crayon Shin Chan
On Tuesday 12 June 2007 00:22, Tijnema wrote: > On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Mon, 2007-06-11 at 10:38 -0400, tedd wrote: [snip] Tijnema, Daniel Brown, and any other guilty ones, please trim your posts! -- Crayon -- PHP General Mailing List (http://www.php.net/

Re: [PHP] Transparent image resizing using php 4.4.x

2007-06-09 Thread Crayon Shin Chan
On Sunday 10 June 2007 04:12, Sukhwinder Singh wrote: > $img_resized = ImageCreateTrueColor ($img_new_width, $img_new_height); > But the above doesn't work using php 4.4.x and creates images with lots > of white lines/dots in it. Some pixel is transparent and some it isn't. > I have no knowedge a

Re: [PHP] None US ASCII characters not allowed in headers?

2007-06-09 Thread Crayon Shin Chan
On Sunday 10 June 2007 04:05, Robert Cummings wrote: > Funny how the solution often presents itself after you make your > problem public *lol* :) Wonder if it falls under Murphy's Law. There should be a dummy list that people post to, if they don't work out the answer themselves 10 minutes after

Re: [PHP] checking the aspect ratio of an images

2007-06-08 Thread Crayon Shin Chan
On Saturday 09 June 2007 02:21, Robert Cummings wrote: > As for how this affects the aspect ratio of an image... it doesn't > really, but the person who said that "You can't really be 'approximate' > when coding" didn't exactly confine it to the question about aspect > ratio and an image. Taking

Re: [PHP] Re: Re: php-cli vs python

2007-06-08 Thread Crayon Shin Chan
On Saturday 09 June 2007 01:22, Daniel Brown wrote: > I actually haven't found a platform yet that I couldn't port PHP > to, if it wasn't already native. We're talking Windows, Linux, BSD, > true *nix, MacOS, SunOS, Amiga, et cetera. I doubt it would run on my > old Commodore 64 with the 154

Re: [PHP] checking the aspect ratio of an images

2007-06-08 Thread Crayon Shin Chan
On Friday 08 June 2007 22:17, tedd wrote: > >> Wednesday, June 6, 2007, 11:41:19 AM, you wrote: > >> > I want to force users to insert landscape rather portrait images. > >> > I don't want to be too pedantic about it but they do need to have > >> > an > >> > >>approximate 4x3 > >> > >> > aspe

Re: [PHP] Re: Re: php-cli vs python

2007-06-08 Thread Crayon Shin Chan
On Friday 08 June 2007 04:10, Abdullah Ramazanoglu wrote: > I found one intersting item though: Under the "What does Python have > that PHP doesn't?" header, there's a bullet stating that "support for > all major GUI frameworks". I know that both php and python have support > for gtk. Am I to unde

Re: [PHP] Re: php-cli vs python

2007-06-08 Thread Crayon Shin Chan
On Friday 08 June 2007 13:50, Man-wai Chang wrote: > > Micro$oft expressed interest in Python. But I don't know whether it's > > a trap or bait... :) > > I said these because of Foxpro. Micro$oft bought it, improved it. But > now that Micro$oft wanan go .NET, Visual Foxpro was discontinued. > > Sam

Re: [PHP] checking the aspect ratio of an images

2007-06-06 Thread Crayon Shin Chan
On Wednesday 06 June 2007 21:33, Robert Cummings wrote: > You certainly can be "approximate" when coding. It's called heuristics > and it's an absolute necessity in many areas of software development. But you still have to define _precisely_ how "approximate" you want to be. -- Crayon -- PHP

Re: [PHP] preg_match() returns false but no documentation why

2007-05-30 Thread Crayon Shin Chan
On Thursday 31 May 2007 01:33, Jared Farrish wrote: > Can anybody spot why this doesn't seem to be working right? The manual > ( http://us2.php.net/preg_match) says it returns "false" on error, but > preg_last_error() returns 0, which I assume points to the > "PREG_NO_ERROR" error code. > > > pre

Re: [PHP] PHP needs better funtion organization, naming and parameter specifications. WAS: Form Validation Issues

2007-05-23 Thread Crayon Shin Chan
On Thursday 24 May 2007 04:57, Jay Blanchard wrote: > Send this all to the developer's list Too late now. The damage has been done. Fixing all the inconsistencies would either break backward compatibility or introduce a whole raft of yet more aliases. Rasmus should have applied strict controls

Re: [PHP] Re: Form Validation Issues

2007-05-23 Thread Crayon Shin Chan
On Thursday 24 May 2007 00:51, Greg Donald wrote: > As I watch PHP de-evolve into Java, I find myself wanting something > lighter weight and with a smaller syntax. PHP has long since spawned into something uncontrollable. Compare the number of functions (and its aliases) to eg Ruby. The string

Re: [PHP] Timezone DB update frequency

2007-05-21 Thread Crayon Shin Chan
On Monday 21 May 2007 19:33, Rob Desbois wrote: > How often does the timezone DB (php_timezonedb.dll) actually *need* to > be updated? Whenever jurisdictions around the world change their time? -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: Re[6]: [PHP] A Guide to running Apache 2, PHP 4 & PHP 5 on Windows XP

2007-05-17 Thread Crayon Shin Chan
On Friday 18 May 2007 01:00, Richard Davey wrote: > Viruses? God, that old bullshit ladened chestnut*. At least come up > with some kind of valid OS argument, please. If you'd gone for > 'competent use of the CPU', or 'effective memory management', you'd be > worth taking seriously. In a roundabo

Re: [PHP] Making code public -- What steps to take? GPL?

2007-05-14 Thread Crayon Shin Chan
On Monday 14 May 2007 07:30, Daniel Brown wrote: Please don't top post. > The biggest thing to remember is that a license is like a key > it's meant to keep an honest man honest, but won't stop someone who is > intent on taking what they want for a profit. Sure, but if you don't make you

Re: [PHP] printing out this nested array

2007-05-14 Thread Crayon Shin Chan
On Monday 14 May 2007 18:41, Don Don wrote: > am thinking echo $arrayName['Errors']['ErrorId']; // should display the > value but it does not Anyone wants to shed more light ? echo $arrayName['Errors'][0]['ErrorId']; // ?? -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubsc

Re: [PHP] Making code public -- What steps to take? GPL?

2007-05-13 Thread Crayon Shin Chan
On Sunday 13 May 2007 21:17, Micky Hulse wrote: > I will definitely read-up on the MIT license after I get some zzZZzz's! Don't forget the MIT license allows people to incorporate your code into commercial products and sell for profit without having to give anything back (money/improved code/et

Re: [PHP] GET variable unexpectedly assigned to session variable

2007-05-11 Thread Crayon Shin Chan
On Friday 11 May 2007 03:08, Dave Goodchild wrote: > Another small and unrelated point - you don't need to use double quotes > inside the array brackets - you're not processing them at all. You seemed to have left out: "use single quotes instead". -- Crayon -- PHP General Mailing List (http:/

Re: [PHP] What is the best way to protect the PHP page that returns the AJAX data? [solved]

2007-05-10 Thread Crayon Shin Chan
On Friday 11 May 2007 12:45, Robert Cummings wrote: > On Thu, 2007-05-10 at 21:23 -0700, Daevid Vincent wrote: > > Thanks for the suggestion and concern. Fear not, I'm a PHP Guru as > > mentioned. > > A Guru would have spent 60 seconds testing to see if the > session_start() scenario worked BEFORE