RE: [PHP] Re: num2string wish list
px.sklar.com used to have code that did something like this. Do a google search for some pseudo code that does it if not. You should be able to easily port it to PHP.. Cris -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 22, 2001 4:04 PM To: Thomas Deliduka Cc: [EMAIL PROTECTED] Subject: [PHP] Re: num2string wish list If http://php.net/sprintf doesn't do that, check the code archives http://php.net/links.php You're not the first to want this, by a long shot... If all else fails, search the mailing list archives. It's been posted... Terms like number and words and money and check should pick up the thread. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: Thomas Deliduka [EMAIL PROTECTED] Newsgroups: php.general To: PHP List [EMAIL PROTECTED] Sent: Saturday, September 22, 2001 2:15 PM Subject: num2string wish list I don't know if this exists already, I'm looking for it but I'm not coming up with much of anything. Basically, a function to take a number and convert it to a string: 1 converts to one 365 converts to three hundred sixty-five This would be awesome for me. -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Am I right or wrong?
It's wrong of them?!?! Not to sound irrational here, but you're DOWNLOADING the file every time, even if you are downloading it every time. Why are you opening it through HTTP? Why not directly via the FS? If you're local to the machine, that seems more intelligent. If you're not local to the machine then you're using not only CPU resource, but network resource, and even more so should be responsible. It is very difficult for an ISP to differentiate between what was an external request and what was you requesting something from yourself. Even if it was simple, I'm not sure they have any obligation or responsibility to do it. Regards, Cristopher Daniluk President CEO email: [EMAIL PROTECTED] direct: 330/530-2373 Digital Services Network, Inc Unleashing Your Potential voice: 800/845-4822 web: http://www.dsnet.net/ -Original Message- From: Stig-Ørjan Smelror [mailto:[EMAIL PROTECTED]] Sent: Monday, September 03, 2001 8:33 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Am I right or wrong? My ISP has a limit on my site of 10,000MB of data transfer per month. 4 days into september and I'm already at 2,500MB. It would seem they're including requests by their own PHP server. I have a folder of ~80kb images that are dynamically resized using PHP into ~1.4kb thumbnails. Now for each one the PHP server sends an HTTP request for the 80kb image, and this is being counted against my 10,000MB. Should it? Am I in the right in thinking that it shouldn't? regards, Everybody will always try to screw you some way or another... Always look at the small print ;) And you're right... it's wrong of them... imho. -- Stig-Ørjan Smelror Systemutvikler Linux Communications AS Sandakerveien 48b Box 1801 - Vika N-0123 Oslo, Norway tel. +47 22 09 28 80 fax. +47 22 09 28 81 http://www.lincom.no/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] The future of PHP
Manuel, This thread is long since dead. Your points are respectfully taken by all of us, but I for one believe you are missing a fundamental point. That in mind, I've prepared a list of ubiquitous tools in use today. These tools are not backed by big marketing budgets or Microsoft or anything of the like. Some are represented in trade shows. Some don't say a word. Some have done crazy things like you have suggested we do, like contests. Some are old, some are relatively new. The only common thread they have is their success. Some went down a road similar to what you've suggested. Some have gone down long roads, some short. Many of the names you will see here today enjoy the backing of corporations who have built their existence around the survival (and thriving) of a technology which they did not create and do not own. Apache Sendmail BIND Perl HTML/WWW Python Linux C++ I hope you will consider the point I'm making here and leave this thread to the winds. And for what it's worth, in passing, the reason PHP-GTK is not mentioned when presenting PHP is that it isn't relevant. You won't win hearts by dazzling them with irrelevant features. PHP-GTK is a great project, but the world is slowly being captivated by the power of its web capabilities, not buttons. The Regards, Cristopher Daniluk President CEO email: [EMAIL PROTECTED] direct: 330/530-2373 Digital Services Network, Inc Unleashing Your Potential voice: 800/845-4822 web: http://www.dsnet.net/ -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 6:40 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] The future of PHP Hello Zeev, Zeev Suraski wrote: Manuel, I started answering your letter point by point, but stopped, as it wouldn't have gotten us anywhere. I'm sorry if sharing my (IMHO very realistic) estimate of the PHP world seemed like an insult to you or anybody else. Not everything that is done You don't have to be sorry. It is your point of view. You don't have to agree. I don't feel insulted. I don't take difference of points of view personally, if they are just that. in the PHP world is of good quality. PHP and the various services around it are not magical, and are not free of flaws. It would be scary if it was. I basically said it out loud. Do I appreciate each and every effort made to improve PHP and the community around it? Definitely. Is everything that's done perfect? No. Some of the efforts are young, and will mature. Some are just not that good. Many are great. I'm sorry you fail to understand that this is a tricky business and not blackwhite, and try to show my points in a very negative light. Talking in theoretical terms is much easier than trying to work with the real-world resources and context, and picking realistic routes. Whoever hears you may even believe that Microsoft products and supporting sites are successful because they don't have flaws. Sorry, but honestely this sounds like an excuse for not doing it. As for the GUI business, I'll repeat what I answered to others on this list, and on other lists, in many occassions. First off, Perl and Python are *NOT* successful GUI platforms. They may be feature complete, they may be very easy to use and develop (I don't use either, so I don't know) but in practice, they're completely negligible in the GUI world. I don't think anybody has a good reason to believe this is going to change in a revolutionary manner. Now, does the fact that I think that hurts the developers of Perl's and Python's GUI bindings? I sure as hell hope it doesn't, and it doesn't, if they're realistic people. I don't see the efforts made in the PHP-GUI front as fundamentally different. It's useful, it's cool, it should be developed and improved, and no, it will not take over the world. The problem is not PHP-GUI capabilities being able to compete with other languages. The problem is that you seem to be willing to omit them when you present PHP as if it is something you don't want PHP be known for. About a central resource of PHP sites that has a voting system - I think that's a good idea. You're quite welcome to implement it if you volunteer. www.php.net will happily host it. My point to suggest that was to help you to make it work according to a criteria that you would accept. In the end it would to favor your cause, which is the PHP future. I can't justify any time spent on that because I don't depend on PHP for my professional future. Currently, I even do not even program for a living. I manage people in a company that pays me for managing software development projects. In this company, they have choose Microsoft stuff because they think it is the right choice for what they do. For some things, PHP could be a better choice, but it would be hard to convince who is in charge above me because PHP does not benefit of a great credibility in the market that would help me to make a good case
RE: [PHP] The future of PHP
I don't understand when this thread became so focused on monetary needs. We are talking about penetrating corporate markets, and all corporate markets care about is time to market, cost of maintenance, and long term support. Not that marketing is worthless, but if we build a better product, it will be used whether we do some Houdini use-our-product marketing game or not. The future of PHP will be determined by the dedication and sacrifice of the developers associated with it. Every success is measured in sacrifice. In the realm of Java and .NET it is primarily a monetary sacrifice - they could have spent that money on something else, but elected to spend it on this instead. Every member of the PHP team could have spent their time on something else, but chose this. This continued dedication will yield just as much success in the long run. The true reason that Java gets a huge boost from marketing is that marketing creates the labor market of qualified people by encouraging people to retrain based on a perceived market for the technology. It is the perception that creates the market. Voodoo economics at its best. As I said before, PHP is already discussed in the corporate circles that matter, and the recurring theme is getting qualified people to do it. Sure, experienced Java or C or ASP (bleh) gurus could retrain easily and be able to handle PHP with no trouble. Who cares? They're not there yet. That affects time to market. When we look at pure numbers, there is a direct correlation between the corporate growth of PHP and the labor market of PHP developers. While we cannot create a labor market out of perceptual metrics, we have, in my opinion, the strongest and most comprehensive web scripting language on the planet, and that will make the future of PHP bright and limitless. The never ending dedication of the hundreds of developers and the thousands of people preaching its wonders will ultimately propel us to the front page of every buzzword magazine in circulation. This will happen whether we have silly games, spend a billion dollars on ad campaigns, build trade show booths that look like space rockets, or give away door prizes for making tricky code. Manuel, I can only urge you to focus on reality instead of Utopia. We have a better product and that is all we have. The good news? That's all we need. Maybe a little patience and some free pizza too, but that's neither here nor there. Economics says so. Regards, Cristopher Daniluk President CEO email: [EMAIL PROTECTED] direct: 330/530-2373 Digital Services Network, Inc Unleashing Your Potential voice: 800/845-4822 web: http://www.dsnet.net/ -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 9:21 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] The future of PHP Hello, These guys resort to these marketing tricks to promote Python as hell, and the PHP people just sits and waits doing almost nothing in comparision to promote PHP as hard as they can even when they lives depend on the acceptance of PHP as a wide spread language! Manuel, please, give this tirade a rest. Nobody associated with Python development was involved in this amazing marketing trick you are referring to. Somebody just decided to do this on their own. And now you are criticizing the PHP developers for not having the same foresight as the Python developers? Yes. I feel that it is a constructive criticism, like saying, there are plenty of ways to market PHP, with or without money, but what you do in comparision is very little to what Python people do. So, you need to do more. I am not saying that what you do is wrong. It says so right in their FAQ (http://software-carpentry.codesourcery.com/faq.html) And in answer to some of the more virulent postings on Usenet and in other venues, neither Guido van Rossum nor anyone else associated with Python development was involved in setting up this project, choosing the language, or defining the terms of the competition. Guido was only asked to be a judge after the decision to use Python had been made. If we had decided to use Perl or Tcl, we would obviously have invited Larry Wall or John Ousterhout to join the panel. What this says is something like if applied to PHP, what we are doing was not Rasmus initiative, although he accepted to be a judge in the contest. That doesn't matter, they are still committed to market Python like hell. If somebody wants to put up $100,000 for a PHP software contest, perfect, great, we will be every bit as cooperative as the Python developers. Money doesn't come that easily. You have to go after it if you feel it is needed. What won't help is staying there and do nothing, because I think the money won't come to you from the sky. You need to find sponsors. I'm sure it won't be hard if you really bother to look for them. Regards, Manuel Lemos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail
RE: [PHP] The future of PHP
While I don't want to tear down Manuel Lemos or some of the good points he's made, I think it would be helpful to hope that he's been to a PHP talk. Likewise, he makes several pointed views on why it is important to follow the outline he's set forth for a product to be successful. Some credence could be added to these arguments if it were backed by either a clear logical explanation, or some relevant reference to work experience and/or education. Right now, I think a lot of us are stabbing in the air trying to agree with everything you're saying. I think you fail to understand the phenomenal success PHP has had in the last 2-3 years. I see it in every aspect of reality. Netcraft shows booming charts, the #php efnet channel has sweltered from a few dozen people at most to over 165 as I write this email. The mailing lists are unmanageable they're so high traffic. I can walk into a job, suggest PHP, and not be met by a bunch of questioning What the hell is 'PHP' looks. I can go to the bookstore and select from any one of probably 15 PHP books. I can go onto monster.com, pop in PHP, and get a plethora of results--compared to none about 16 months ago. To me, PHP will always be the project I watched grow into a juggernaut in front of my eyes. I'm proud of Zeev, Andi, Rasmus, and the rest of the team and all they've accomplished. I frequently regret not being able to dedicate myself to the success of the project like they do. I do not know what you define as success, but surely this has got to be it. The best thing? The project has attained critical mass now. It's going to keep growing and growing and growing no matter how poor of a job you think everyone is doing. It may be able to grow a little faster if we do a dance and spend a million bucks, but its going to grow sooner or later either way. Just think, someday I'd like to think our children will be coding in PHP. Regards, Cristopher Daniluk President CEO email: [EMAIL PROTECTED] direct: 330/530-2373 Digital Services Network, Inc Unleashing Your Potential voice: 800/845-4822 web: http://www.dsnet.net/ -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 2:10 PM To: Manuel Lemos Cc: [EMAIL PROTECTED] Subject: Re: [PHP] The future of PHP The talks that you give are for people that already know about PHP. No they aren't. As I said in my message, the seminar series I did were specifically for people who knew nothing about PHP and it was presented alongside other technologies. But yes, the people would have to have had some interest in web stuff or database stuff to have bothered to attend in the first place. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] The future of PHP
After following this thread for a while, it seems like there is a lot of discrepancy between what is success and what isn't for PHP. I do not believe PHP will ever become the ubiquitous web language, if for no other reason than because it isn't always the right choice for your web based project. PHP is already a strong option in many corporate environments. Really from what I've seen lately, the only reason it loses out to Java, ASP (uggh), or other similar options is that it is difficult to find a team of qualified PHP developers. Even if you can get the project off the ground, the continual maintenance is a problem. Simply put, I think this means we have great potential to have long term success, as far as penetrating the corporate market. As employers start finding the qualified people out there, and as people re-train/relearn, and as fresh meat comes out, the job market will sustain our growth. I would say we don't need the multi-billion dollar backing to be successful as well. Linux, as you particularly mentioned, is shunned by a lot of suits, but it has grown - and that growth has sustained itself over the last 10 years, more relevantly the last 4-5. It's starting to get a little more attractive to suits as bigger and bigger and bigger companies sponsor or use it. I envision PHP going down this road as well, though I obviously don't expect the same grandeur that Linux has received. We will achieve this by doing exactly what Rasmus said - developing a good product. Though I must digress on the subject of technical conferences. While they're valuable and by all means we should be there, I believe the true value will come when people do our work for us - we need to prove to the world that it is cool to use PHP, and they'll make sure all their friends are cool too :) Regards, Cristopher Daniluk President CEO email: [EMAIL PROTECTED] direct: 330/530-2373 Digital Services Network, Inc Unleashing Your Potential voice: 800/845-4822 web: http://www.dsnet.net/ -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 25, 2001 1:52 AM To: Manuel Lemos Cc: [EMAIL PROTECTED] Subject: Re: [PHP] The future of PHP So, it is very hard to convince the anybody to bet all the farm in PHP. You may have the technical arguments, but is not enough, I'm afraid. You in particular, may not need to convince others to bet on PHP, but it is nothing like that for most people that want to live from software development. They have to put up with work/business opportunities that the market offers to live from it. So, today, I'm afraid that you already still have an hard time to convince people to dedicate only to PHP, even those that know and believe PHP is that great. PHP is represented at every important technical conference right alongside Perl and Python. When you hear someone talk about scripting languages, they will usually say Perl, Python and PHP. I don't see any problem with the current state of PHP marketing in the technical community. PHP is not marketed the way Java and .NET is. There are no multi-billion dollar corporations behind PHP and asking us, and apparently me personally, to make that happen is unrealistic. Like Linux 5 years ago, PHP is adopted by the techies and somewhat shunned by the suits because they haven't read about it in their latest advertisement-sponsored magazine. We can't possibly hope to compete with Sun and Microsoft when it comes to suit-oriented marketing drivel. What we can do is concentrate on what we do best. Writing a solid and very focused tool. Building the grassroot community and being visible at all relevant technical conferences. If we continue to do this, I see no reason for any dropoff in PHP popularity which leads directly to more and more corporate acceptance. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Why lynx don't work with cron?
Augusto, If for whatever reason you can't (I don't even begin to want to know why), try wget :) Regards, Cristopher Daniluk President CEO email: [EMAIL PROTECTED] direct: 330/530-2373 Digital Services Network, Inc Unleashing Your Potential voice: 800/845-4822 web: http://www.dsnet.net/ -Original Message- From: Stig-Ørjan Smelror [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001 9:10 AM To: Augusto Cesar Castoldi Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Why lynx don't work with cron? Augusto Cesar Castoldi wrote: Hi, I'm trying the command lynx -dump -nolog http://localhost/script.php /dev/null on crontab but I (httpd) receive an e-mail from Cron Daemon saying that: Your terminal lacks the ability to clear the screen or position the cursor. what should I do run my script with cron? thanks, Augusto ___ Yahoo! GeoCities Tenha seu lugar na Web. Construa hoje mesmo sua home page no Yahoo! GeoCities. É fácil e grátis! http://br.geocities.yahoo.com/ One thing comes to mind. Compile PHP as a CGI and use that to run your scipts ;) -- Stig-Ørjan Smelror Systemutvikler Linux Communications AS Sandakerveien 48b Box 1801 - Vika N-0123 Oslo, Norway tel. +47 22 09 28 80 fax. +47 22 09 28 81 http://www.lincom.no/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]