Re: [PHP] Re: Need Help with register_globals OFF
Thanks for the tips, Justin. Sounds like a good idea. Do you, or anyone, know if the $_POST vars stay defined even after moving on to another page? Do I also need to unset $_POST after passing the vars each time? From: [EMAIL PROTECTED] (Justin French) Newsgroups: php.general Date: Sat, 03 Aug 2002 15:46:57 +1000 To: Monty [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [PHP] Re: Need Help with register_globals OFF Anyone want to share any tips on how to deal with form vars passed to a script with register_globals turned off? Do you simply refer to them directly with $_GET['var'] or do you initialize vars locally that contain all the $_GET vars? Well I usually choose to POST forms, not GET them, but yeah, I just deal with the vars as $_POST['var']. If I'm referencing the vars a LOT, I make regular $vars out of each element in the POST array: $myvar = $_POST['myvar']; If there's a lot of them, I do it with a foreach loop... something like: ? foreach($_POST as $key = $value) { $$key = $value; } ? ...will do the trick. It achieves the same as register_globals, but only from one source, the POST array. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] isset($var) !empty($var) same time!
Just use empty() ?! With error_reporting(E_ALL) you'll get a bunch of warnings if you only use empty() w/o the isset() ! use isset() first and then check wheter empty or not empty! so there is not one function that tests for empty and isset same time!? Elias Analysis Solutions [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Fri, Aug 02, 2002 at 04:48:17PM +0200, lallous wrote: function issne($var) { return isset($var) !empty($var) ? true : false; } is there is any builtin function that does that? (one function call). Yes. Just use empty(). It automatically checks if the variable is: not set null an empty string zero If any of them are true, the empty() function returns true. You don't need your function at all. --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: My SQL speed.
On August 3, 2002 12:54 am, Jason Stechschulte wrote: On Sat, Aug 03, 2002 at 01:49:10AM -0300, Manuel Lemos wrote: Google has 1 billion pages and qurys in a few milliseconds... Real search engines do not use SQL databases. What do search engines use? Is there something out there that explains how they work? Generally search egines use various hash algorithms to store their data, such as B-trees, Hash Tables, etc... Even that, is not enough when dealing with an extremely large dataset, in which case expensive hardware is used to provide the necessary IO capacity to allow for fast look ups. If you are trully interested in how search engines do this, there are plenty of articles describing Google's setup in terms of hardware. As far as fetching data from large MySQL databases it is not impossible or slow as some people claim. I have a 4 million record database in MySQL that is routinely accessed and most queries on that table are completed in 0.01-0.03 seconds, speed mostly depending on the number of rows retrieved. Keep in mind that your system and database configuration will play a very large role in regard to performance once you go beyond a certain amount of data. -- Ilia Alshanetsky [EMAIL PROTECTED] http://fud.prohost.org/forum/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Protect PHP coding
any windows version of this product? Manuel Lemos [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, On 08/02/2002 11:06 AM, Lallous wrote: So... Is this equivalent to Zend Encoder? Not exactly, but in some aspects it is/will be better like the ability to generate executable standalone PHP programs that you can distribute independently. There is also the question of the price that for Zend Encoder is ridiculously expensive. Other than that, if you're main concerne is protecting your PHP code, you can do very well with bcompiler. Elias Manuel Lemos [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, On 08/01/2002 01:58 PM, Yc Nyon wrote: Is there any method to encrypt PHP files. Use bcompiler which is free and is part of PEAR/PECL official PHP extensions repository: http://pear.php.net/package-info.php?pacid=95 -- Regards, Manuel Lemos -- Regards, Manuel Lemos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] isset($var) !empty($var) same time!
I always set error_reporting(E_ALL) oR error_reporting(2047), but i have never got any errors when just use empty() to determine whether a variable is set. If the variable is: 0, null, not set or an empty string. Then the empty() will return true. It's unnecessary to call isset() first. - Original Message - From: lallous Sent: 2002Äê8ÔÂ3ÈÕ 15:01 To: [EMAIL PROTECTED] Subject: Re: [PHP] isset($var) !empty($var) same time! Just use empty() ?! With error_reporting(E_ALL) you'll get a bunch of warnings if you only use empty() w/o the isset() ! use isset() first and then check wheter empty or not empty! so there is not one function that tests for empty and isset same time!? Elias Analysis Solutions [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Fri, Aug 02, 2002 at 04:48:17PM +0200, lallous wrote: function issne($var) { return isset($var) !empty($var) ? true : false; } is there is any builtin function that does that? (one function call). Yes. Just use empty(). It automatically checks if the variable is: not set null an empty string zero If any of them are true, the empty() function returns true. You don't need your function at all. --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpGet more from the Web. FREE MSN Explorer download : http://explorer.msn.com
Re: [PHP] PHP Hosting
File permissions. Each user has their own username, but all are a member of the group hosting They can CHMOD their files to whatever they like, so security is really up to them. And PHP's Safe mode of course. - Original Message - From: Matt Babineau [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 02, 2002 11:04 PM Subject: [PHP] PHP Hosting If any PHP hosts are out there I have a question: How do you keep users from erasing / altering files out side of their web folder with PHP? Doesn't PHP run in the system user context? Is is possible to prevent a user from using PHP to alter anything but in their Web folder? Matt Babineau MCWD / CCFD - e: mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] p: 603.943.4237 w: http://www.criticalcode.com/ http://www.criticalcode.com PO BOX 601 Manchester, NH 03105 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] isset($var) !empty($var) same time!
because your variable is set already! try doing this: echo empty($asdadadadadadasd); you will get a warning and have a FALSE value. Elias Verdana Musone [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I always set error_reporting(E_ALL) oR error_reporting(2047), but i have never got any errors when just use empty() to determine whether a variable is set. If the variable is: 0, null, not set or an empty string. Then the empty() will return true. It's unnecessary to call isset() first. - Original Message - From: lallous Sent: 2002Äê8ÔÂ3ÈÕ 15:01 To: [EMAIL PROTECTED] Subject: Re: [PHP] isset($var) !empty($var) same time! Just use empty() ?! With error_reporting(E_ALL) you'll get a bunch of warnings if you only use empty() w/o the isset() ! use isset() first and then check wheter empty or not empty! so there is not one function that tests for empty and isset same time!? Elias Analysis Solutions [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Fri, Aug 02, 2002 at 04:48:17PM +0200, lallous wrote: function issne($var) { return isset($var) !empty($var) ? true : false; } is there is any builtin function that does that? (one function call). Yes. Just use empty(). It automatically checks if the variable is: not set null an empty string zero If any of them are true, the empty() function returns true. You don't need your function at all. --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpGet more from the Web. FREE MSN Explorer download : http://explorer.msn.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] isset($var) !empty($var) same time!
I had given a try on your code, But it really output 1, a true value. I used PHP 4.2.2+Apache 1.3.26 under Win2K. And u? - Original Message - From: lallous Sent: 2002Äê8ÔÂ3ÈÕ 16:19 To: [EMAIL PROTECTED] Subject: Re: [PHP] isset($var) !empty($var) same time! because your variable is set already! try doing this: echo empty($asdadadadadadasd); you will get a warning and have a FALSE value. Elias Verdana Musone [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I always set error_reporting(E_ALL) oR error_reporting(2047), but i have never got any errors when just use empty() to determine whether a variable is set. If the variable is: 0, null, not set or an empty string. Then the empty() will return true. It's unnecessary to call isset() first. - Original Message - From: lallous Sent: 2002Äê8ÔÂ3ÈÕ 15:01 To: [EMAIL PROTECTED] Subject: Re: [PHP] isset($var) !empty($var) same time! Just use empty() ?! With error_reporting(E_ALL) you'll get a bunch of warnings if you only use empty() w/o the isset() ! use isset() first and then check wheter empty or not empty! so there is not one function that tests for empty and isset same time!? Elias Analysis Solutions [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Fri, Aug 02, 2002 at 04:48:17PM +0200, lallous wrote: function issne($var) { return isset($var) !empty($var) ? true : false; } is there is any builtin function that does that? (one function call). Yes. Just use empty(). It automatically checks if the variable is: not set null an empty string zero If any of them are true, the empty() function returns true. You don't need your function at all. --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpGet more from the Web. FREE MSN Explorer download : http://explorer.msn.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpGet more from the Web. FREE MSN Explorer download : http://explorer.msn.com
[PHP] Include php code as variable
How can I Include my php code code as variable and excute it ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Protect PHP coding
Hello, On 08/03/2002 05:41 AM, Lallous wrote: any windows version of this product? AFAIK, you compile it for Windows. I was also told that is a major headache. Anyway, don't despair, it seems that some developers are working on providing already compiled PECL extensions that can be automatically downloaded. Manuel Lemos [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, On 08/02/2002 11:06 AM, Lallous wrote: So... Is this equivalent to Zend Encoder? Not exactly, but in some aspects it is/will be better like the ability to generate executable standalone PHP programs that you can distribute independently. There is also the question of the price that for Zend Encoder is ridiculously expensive. Other than that, if you're main concerne is protecting your PHP code, you can do very well with bcompiler. Elias Manuel Lemos [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, On 08/01/2002 01:58 PM, Yc Nyon wrote: Is there any method to encrypt PHP files. Use bcompiler which is free and is part of PEAR/PECL official PHP extensions repository: http://pear.php.net/package-info.php?pacid=95 -- Regards, Manuel Lemos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Include php code as variable
http://www.php.net/eval - Original Message - From: Alawi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, August 03, 2002 11:41 AM Subject: [PHP] Include php code as variable How can I Include my php code code as variable and excute it ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Protect PHP coding
So... Is this equivalent to Zend Encoder? Not exactly, but in some aspects it is/will be better like the ability to generate executable standalone PHP programs that you can distribute independently. There is also the question of the price that for Zend Encoder is ridiculously expensive. The people for Zend have to eat to live. People, if there is no Zend there is no core for PHP. This is the same as with MySQL. MySQL is free under GPL but has no subselects because the companies that has commercial licenses didn't wanted that - Monty has to eat and he codes other features. IMO Zend must exist and this is only possible by selling its products. If the company we work for has the money to buy Zend Accelerator licenses why not do that instead of using other Open Source accelerators. I just want the people from Zend to continue their tremendous work and we will have PHP5 and PHP6 and so on otherwise start learning ASP or JSP. My 2 cents. Regards, Andrey -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] string questions
Try, list($test)=explode(' ',$address); HTH Danny - Original Message - From: webmaster [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 02, 2002 5:35 PM Subject: [PHP] string questions I know there has to be an easy way to do this, but I just can't find the answer. I need to strip out the first part of a text string. I've figured out out to strip out the last part of a string using the following: $address = (4455 N. 45th St.); $test = strstr($address, ); echo $test; The variable $test returns N. 45th St. without the 4455. Is there a way to reverse this so I can just return 4455? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] virtual hosting using php as apache module
Hi everybody, I would like to know how to make the directive user/group in virtualhost working with php. I prefer to use php as modules but not cgi, as it is more handy and easy for upgrade. How to do that ? Thx ! Regards, Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Protect PHP coding
Hello, On 08/03/2002 09:16 AM, Andrey Hristov wrote: So... Is this equivalent to Zend Encoder? Not exactly, but in some aspects it is/will be better like the ability to generate executable standalone PHP programs that you can distribute independently. There is also the question of the price that for Zend Encoder is ridiculously expensive. The people for Zend have to eat to live. And don't we all? That is the main problem. If we need to pay USD $3,000 to be able to compile our PHP programs, doesn't that make not viable for most of us to sell our PHP programs as closed source? People, if there is no Zend there is no core for PHP. This is the same as with MySQL. MySQL is free under GPL but has no subselects because the companies that has commercial licenses didn't wanted that - Monty has to eat and he codes other features. If there is something that Zend people do not have a problem that is to be able to eat from their work. Just recently they announced a USD $300,000 deal, which where I live lets many eat for many years. IMO Zend must exist and this is only possible by selling its products. I only agree with the first part. It is not true that selling products is the only viable way for them to survive. Your MySQL example is good because they have been leaving from consulting, training and certification. If the company we work for has the money to buy Zend Accelerator licenses why not do that instead of using That is your decision. Zend people have publically declared that they are targetting high-end customers. Their pricing obviously rules out the majority of us for which their prices are simply unaffordable, especially if you have to pay them over and over again if you want to use them every year. Since we are not idiots, if we have Open Source solutions that solve our problem, why do you think that paying those fortunes to Zend would be a better idea? I think their business model makes sense to make their company viable, but that should be at the expense of those that can't afford their prices. Let those that believe that expensive software is a better solution from them then Open Source, to make Zend company viable. Also, Zend uses a subscription based licensing which is what Microsoft is shifting their licenses too. I am not saying that is wrong, I just say that it is not acceptable for most of us to stay in the dependence of Zend to keep our software running every year. If you agree with the licensing, it is your problem. other Open Source accelerators. I just want the people from Zend to continue their tremendous work and we will have PHP5 and PHP6 and so on otherwise start learning ASP or JSP. If you ask me, I see very little point in what you say. You just made it sound as if Zend people are the only ones working on the development of PHP. The way I see it PHP lacks mostly of extensions that address real world problems of many people like: interfacing with Web services via SOAP, compiling PHP scripts to protect so we can generate closed source standalone executables, multi-threading support, generating GUI applications, interfacing with the user management and authentication system, etc.. Zend people are not working on anything like this as they don't agree it is important for PHP or for their business that is all that matters to them. As a matter of fact the only thing that Zend people have been working on PHP itself is Zend engine 2. Last time that I looked, Zend engine 2 is mostly a thing that was developed to make PHP more like Java. If I wanted that, I would probably be using Java instead. I am afraid that is only helping to remember more and more users to switch to Java. My 2 cents. Actually that should be worth many times USD $3,000... for Zend of course. :-) -- Regards, Manuel Lemos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] ODBC
Have a look at http://php.weblogs.com/adodb_csv Bob Lockie [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Can PHP be used on an Apache server (linux) to connect to a (remote) MS Access server (NT) through ODBC? Yes. If so, does anyone have examples of how this is done? Nope, never done it. It'll use the same PHP database commands probably. Read www.php.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] alternative to phpadsnew?
Hi there, I am searching for a way to track advertisment, clickrates on my site. So I tryed out phpadsnew http://sourceforge.net/projects/phpadsnew/ Unfortunatelly the current beta 7 works only with register globals set to on. I cant install it in this case, because my application requires this to be off. Has anybody a good recomendation on another software to track adds? Thank you for any hint on that. andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] what is equivalent to Response.End ?
Hi everybody Can someone tell me what is the PHP equivalent code to ASP's Response.End ? I want to stop my code at a given position so i need this. thanks in advance Raja -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Protect PHP coding
Everyone understands that Zend has to eat, but so do most of us small developers. I have no problem with them charging for their products. IMO they would make more money if the pricing for the encoder would be less. This is a fundamental feature that most of us need. I would offer a Pro version of the Zend Studio and bundle the encoder with it for abou $500. This would enable Zend to capture a significant market share among PHP developers withoug breaking the bank. Just a thought... - Original Message - From: Andrey Hristov [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, August 03, 2002 8:16 AM Subject: Re: [PHP] Re: Protect PHP coding So... Is this equivalent to Zend Encoder? Not exactly, but in some aspects it is/will be better like the ability to generate executable standalone PHP programs that you can distribute independently. There is also the question of the price that for Zend Encoder is ridiculously expensive. The people for Zend have to eat to live. People, if there is no Zend there is no core for PHP. This is the same as with MySQL. MySQL is free under GPL but has no subselects because the companies that has commercial licenses didn't wanted that - Monty has to eat and he codes other features. IMO Zend must exist and this is only possible by selling its products. If the company we work for has the money to buy Zend Accelerator licenses why not do that instead of using other Open Source accelerators. I just want the people from Zend to continue their tremendous work and we will have PHP5 and PHP6 and so on otherwise start learning ASP or JSP. My 2 cents. Regards, Andrey -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] alternative to phpadsnew?
You can track ads with phpAdsNew also remotely, not necessarily via view() function. Maxim Maletsky PHP Beginner www.phpbeginner.com -Original Message- From: Andy [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 03, 2002 4:44 PM To: [EMAIL PROTECTED] Subject: [PHP] alternative to phpadsnew? Hi there, I am searching for a way to track advertisment, clickrates on my site. So I tryed out phpadsnew http://sourceforge.net/projects/phpadsnew/ Unfortunatelly the current beta 7 works only with register globals set to on. I cant install it in this case, because my application requires this to be off. Has anybody a good recomendation on another software to track adds? Thank you for any hint on that. andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] alternative to phpadsnew?
what do u mean by that. I would like to install this software on the same server. I guess you mean installing it on another server - remotly? Andy Maxim Maletsky [EMAIL PROTECTED] schrieb im Newsbeitrag 001601c23afe$8e0df9e0$1113fe17@dominanta">news:001601c23afe$8e0df9e0$1113fe17@dominanta... You can track ads with phpAdsNew also remotely, not necessarily via view() function. Maxim Maletsky PHP Beginner www.phpbeginner.com -Original Message- From: Andy [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 03, 2002 4:44 PM To: [EMAIL PROTECTED] Subject: [PHP] alternative to phpadsnew? Hi there, I am searching for a way to track advertisment, clickrates on my site. So I tryed out phpadsnew http://sourceforge.net/projects/phpadsnew/ Unfortunatelly the current beta 7 works only with register globals set to on. I cant install it in this case, because my application requires this to be off. Has anybody a good recomendation on another software to track adds? Thank you for any hint on that. andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] what is equivalent to Response.End ?
http://php.net/die http://php.net/exit Both will stop your code. Dead. Danny. - Original Message - From: Ing. Rajesh Kumar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, August 03, 2002 3:50 PM Subject: [PHP] what is equivalent to Response.End ? Hi everybody Can someone tell me what is the PHP equivalent code to ASP's Response.End ? I want to stop my code at a given position so i need this. thanks in advance Raja -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: what is equivalent to Response.End ?
Hi! try exit() (http://www.php.net/exit) or die() (http://www.php.net/die) Kindly /lasso ([EMAIL PROTECTED]) Ing. Rajesh Kumar wrote: Hi everybody Can someone tell me what is the PHP equivalent code to ASP's Response.End ? I want to stop my code at a given position so i need this. thanks in advance Raja -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Install
I have followed the instructions to install php4 on both apache 1.3.x and 2.0.x, both fail. I am running RedHat 7.2, Apache 2.0.39. I am trying to install php4.2.2. When I type 'make install' at the command it goes through its little thing and then says: ./.libs/libphp4.a(zend_execute.lo): In function `safe_free_zval_ptr': /root/php-4.2.2/Zend/zend_execute.h:59: undefined reference to `ts_resource_ex' collect2: ld returned 1 exit status make[1]: *** [php] Error 1 make[1]: Leaving directory `/root/php-4.2.2' make: *** [install-recursive] Error 1 Can anyone help? Nick Niehoff __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Include php code as variable
In article 00d501c23ada$87050590$3404a8c0@alawi, [EMAIL PROTECTED] (Alawi) wrote: How can I Include my php code code as variable and excute it ? include() can return a value, assignable to a variable. Some other ways to get the content of a file (I assume that's why you're saying include) into a variable: file(), fread(). eval() can execute the value of a variable as PHP code. http://php.net/include http://php.net/file http://php.net/fread http://php.net/eval -- CC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP and multiple page .tiffs
Is there a way for PHP to look at a local multiple-page .tiff file and find out haw many page it has? Thanks, Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] RegEx (back referencing)
Hi, I am am writing a function to color code and indent JavaScript source using regular expressions and cannot seem to get back referencing working. The pattern match is successful but the output is a single unrecognised character (a square). $string = eregi_replace((/?)(scr[^]*), «font color=maroon»\1«/font», $string); This results in opening and closing script/script tags being replaced with a square being wrapped in font tags. I have this working in Cold Fusion but cannot seem to convert my scripts to PHP. Can anyone help? TIA Phil Ewington. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Install
Try this site : http://www.linuxguruz.org/z.php?id=32h=php+mysql+apache Nick Niehoff wrote: I have followed the instructions to install php4 on both apache 1.3.x and 2.0.x, both fail. I am running RedHat 7.2, Apache 2.0.39. I am trying to install php4.2.2. When I type 'make install' at the command it goes through its little thing and then says: ./.libs/libphp4.a(zend_execute.lo): In function `safe_free_zval_ptr': /root/php-4.2.2/Zend/zend_execute.h:59: undefined reference to `ts_resource_ex' collect2: ld returned 1 exit status make[1]: *** [php] Error 1 make[1]: Leaving directory `/root/php-4.2.2' make: *** [install-recursive] Error 1 Can anyone help? Nick Niehoff __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Install
What is your configure command? I have followed the instructions to install php4 on both apache 1.3.x and 2.0.x, both fail. I am running RedHat 7.2, Apache 2.0.39. I am trying to install php4.2.2. When I type 'make install' at the command it goes through its little thing and then says: ./.libs/libphp4.a(zend_execute.lo): In function `safe_free_zval_ptr': /root/php-4.2.2/Zend/zend_execute.h:59: undefined reference to `ts_resource_ex' collect2: ld returned 1 exit status make[1]: *** [php] Error 1 make[1]: Leaving directory `/root/php-4.2.2' make: *** [install-recursive] Error 1 Can anyone help? Nick Niehoff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] RegEx (back referencing)
try \\1 - Original Message - From: Phil Ewington [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Saturday, August 03, 2002 5:03 PM Subject: [PHP] RegEx (back referencing) Hi, I am am writing a function to color code and indent JavaScript source using regular expressions and cannot seem to get back referencing working. The pattern match is successful but the output is a single unrecognised character (a square). $string = eregi_replace((/?)(scr[^]*), «font color=maroon»\1«/font», $string); This results in opening and closing script/script tags being replaced with a square being wrapped in font tags. I have this working in Cold Fusion but cannot seem to convert my scripts to PHP. Can anyone help? TIA Phil Ewington. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
There is a free php accelerator so I don't know why you would pay for one. www.php-accelerator.co.uk The same guy (Nick) has also just made an encoder. It is in beta testing right now and there's no windows version yet but that should be coming soon. I think it's like $0.50 to encode your program which is much more affordable. http://www.php-encoder.com I think the problem with zend is that they have put up the guise that php is an opensource project but to actually use it in production you had to pay several thousands every year for the accelerator and the encoder. It kinda feels like a bait and switch to me which is why I personally think zend is bad for php. Just do a search for jobs for asp, cf or jsp. There are a ton of jobs for these languages and you would be lucky to find one for a php developer. So zend rakes in the money and does no real marketing with that money for php is the way I see it. You'll never hear anything from the core php group since they are a tight click so it's business as usual. Now that Nick has released the free accelerator and an inexpensive ($0.50 per shot) encoder it might change but I don't know if it's too late. -Original Message- From: Dennis Moore [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 10:58 AM To: Andrey Hristov; [EMAIL PROTECTED] Subject: Re: [PHP] Re: Protect PHP coding Everyone understands that Zend has to eat, but so do most of us small developers. I have no problem with them charging for their products. IMO they would make more money if the pricing for the encoder would be less. This is a fundamental feature that most of us need. I would offer a Pro version of the Zend Studio and bundle the encoder with it for abou $500. This would enable Zend to capture a significant market share among PHP developers withoug breaking the bank. Just a thought... - Original Message - From: Andrey Hristov [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, August 03, 2002 8:16 AM Subject: Re: [PHP] Re: Protect PHP coding So... Is this equivalent to Zend Encoder? Not exactly, but in some aspects it is/will be better like the ability to generate executable standalone PHP programs that you can distribute independently. There is also the question of the price that for Zend Encoder is ridiculously expensive. The people for Zend have to eat to live. People, if there is no Zend there is no core for PHP. This is the same as with MySQL. MySQL is free under GPL but has no subselects because the companies that has commercial licenses didn't wanted that - Monty has to eat and he codes other features. IMO Zend must exist and this is only possible by selling its products. If the company we work for has the money to buy Zend Accelerator licenses why not do that instead of using other Open Source accelerators. I just want the people from Zend to continue their tremendous work and we will have PHP5 and PHP6 and so on otherwise start learning ASP or JSP. My 2 cents. Regards, Andrey -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
You'll never hear anything from the core php group since they are a tight click so it's business as usual. That's probably the most uninformed statement I have seen posted to this list in a very long time. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] RegEx (back referencing)
If you're trying to get scriptLots of javascript/script to look like font color=maroonLots of javascript/font then this will be a start $string = eregi_replace('(/?)(scr[^]*)', '\\1font color=maroon',$string); This will produce - font color=maroonLots of javascript/font color=maroon - not perfect, but a start. Danny. - Original Message - From: Phil Ewington [EMAIL PROTECTED] To: Danny Shepherd [EMAIL PROTECTED] Sent: Saturday, August 03, 2002 5:52 PM Subject: RE: [PHP] RegEx (back referencing) \\1 outputs nothing at all wrapped in font tags and closing tags \ wrapped in font tags :o( -Original Message- From: Danny Shepherd [mailto:[EMAIL PROTECTED]] Sent: 03 August 2002 17:47 To: [EMAIL PROTECTED]; PHP General Subject: Re: [PHP] RegEx (back referencing) try \\1 - Original Message - From: Phil Ewington [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Saturday, August 03, 2002 5:03 PM Subject: [PHP] RegEx (back referencing) Hi, I am am writing a function to color code and indent JavaScript source using regular expressions and cannot seem to get back referencing working. The pattern match is successful but the output is a single unrecognised character (a square). $string = eregi_replace((/?)(scr[^]*), «font color=maroon»\1«/font», $string); This results in opening and closing script/script tags being replaced with a square being wrapped in font tags. I have this working in Cold Fusion but cannot seem to convert my scripts to PHP. Can anyone help? TIA Phil Ewington. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] RegEx (back referencing)
What's strange is that doing an ord($string) returns 171, which is a '1/2' char. So why does PHP convert the pattern match?? -Original Message- From: Phil Ewington [mailto:[EMAIL PROTECTED]] Sent: 03 August 2002 17:04 To: PHP General Subject: [PHP] RegEx (back referencing) Hi, I am am writing a function to color code and indent JavaScript source using regular expressions and cannot seem to get back referencing working. The pattern match is successful but the output is a single unrecognised character (a square). $string = eregi_replace((/?)(scr[^]*), «font color=maroon»\1«/font», $string); This results in opening and closing script/script tags being replaced with a square being wrapped in font tags. I have this working in Cold Fusion but cannot seem to convert my scripts to PHP. Can anyone help? TIA Phil Ewington. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
php-general Digest 3 Aug 2002 17:16:33 -0000 Issue 1503
php-general Digest 3 Aug 2002 17:16:33 - Issue 1503 Topics (messages 110933 through 110972): Re: My SQL speed. 110933 by: Manuel Lemos 110934 by: Maxim Maletsky 110941 by: Ilia A. Re: Need Help with register_globals OFF 110935 by: Monty 110937 by: Justin French 110939 by: Monty Re: string questions 110936 by: Musone Verdana 110951 by: Danny Shepherd Re: variables 110938 by: Jason Wong Re: isset($var) !empty($var) same time! 110940 by: lallous 110943 by: Musone Verdana 110945 by: lallous 110946 by: Musone Verdana Re: Protect PHP coding 110942 by: lallous 110948 by: Manuel Lemos 110950 by: Andrey Hristov 110953 by: Manuel Lemos 110957 by: Dennis Moore 110969 by: Acer 110970 by: Rasmus Lerdorf Re: PHP Hosting 110944 by: Liam MacKenzie Include php code as variable 110947 by: Alawi 110949 by: Danny Shepherd 110963 by: CC Zona virtual hosting using php as apache module 110952 by: Ryan Re: ODBC 110954 by: John Lim alternative to phpadsnew? 110955 by: Andy 110958 by: Maxim Maletsky 110959 by: Andy what is equivalent to Response.End ? 110956 by: Ing. Rajesh Kumar 110960 by: Danny Shepherd 110961 by: Lars Olsson Install 110962 by: Nick Niehoff 110966 by: EdwardSPL.ita.org.mo 110967 by: Bob Lockie PHP and multiple page .tiffs 110964 by: Joseph Szobody RegEx (back referencing) 110965 by: Phil Ewington 110968 by: Danny Shepherd 110971 by: Danny Shepherd 110972 by: Phil Ewington Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] -- ---BeginMessage--- Hello, On 08/03/2002 01:54 AM, Jason Stechschulte wrote: On Sat, Aug 03, 2002 at 01:49:10AM -0300, Manuel Lemos wrote: Google has 1 billion pages and qurys in a few milliseconds... Real search engines do not use SQL databases. What do search engines use? Is there something out there that explains how they work? They usually use read only DBM like databases that do not have the overhead or parsing SQL or doing joins to fetch the data. -- Regards, Manuel Lemos ---End Message--- ---BeginMessage--- Lord Loh. writes: How on earth does US Social Security dept. maintain so many records ? Google has 1 billion pages and qurys in a few milliseconds... Weel, I work as a consultant on development of a similar system for Italian Government. (instead of Social Security numbers it handles all territoric matters and related payments, ownershipd to it... etc ...). BTW: software is interfaced via PHP. In this database, we have over a few billions of records in some few thousands databases hosted on some few hundreds servers physically located in some few dozens of regions of Italy. We use Oracle for it. And, neigher Oracle does magic here. The system is deeply thought and organized in all its details. Nothing is left for a case and everything is very well monitored and backed up. (not mentioning the synchronization methods). In my experience, mySQL has always failed performance-wise (when not crashed complitely) while trying to keep on a database consisting of 1.000.000+ records. For large DBs I would reccomend you PostgreSQL as it has, in my own opinion (and not to start a new thread here) a better ralational mechanism, which is crucial (as Manuel mentioned) to design the right logic within your application. TIP: look for repeating data in your DB, and try to compress it somehow. Try to see if you can split and reuse the records. Add more supporting tables and so on Maxim Maletsky PHP Beginner (www.phpbeginner.com) ---End Message--- ---BeginMessage--- On August 3, 2002 12:54 am, Jason Stechschulte wrote: On Sat, Aug 03, 2002 at 01:49:10AM -0300, Manuel Lemos wrote: Google has 1 billion pages and qurys in a few milliseconds... Real search engines do not use SQL databases. What do search engines use? Is there something out there that explains how they work? Generally search egines use various hash algorithms to store their data, such as B-trees, Hash Tables, etc... Even that, is not enough when dealing with an extremely large dataset, in which case expensive hardware is used to provide the necessary IO capacity to allow for fast look ups. If you are trully interested in how search engines do this, there are plenty of articles describing Google's setup in terms of hardware. As far as fetching data from large MySQL databases it is not impossible or slow as some people claim. I have a 4 million record database in MySQL that is routinely accessed and most
RE: [PHP] Re: Protect PHP coding
I made that statement because this subject has been brought up several times and nothing has been said from the php gods. I mean out of this whole thread, your only comment is That's probably the most uninformed statement I have seen posted to this list in a very long time. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 1:04 PM To: Acer Cc: Dennis Moore; Andrey Hristov; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding You'll never hear anything from the core php group since they are a tight click so it's business as usual. That's probably the most uninformed statement I have seen posted to this list in a very long time. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] RegEx (back referencing)
Danny, It still doesn't work, could this be a problem in 4.0.4pl1 ?? -Original Message- From: Danny Shepherd [mailto:[EMAIL PROTECTED]] Sent: 03 August 2002 18:11 To: [EMAIL PROTECTED]; PHP-General Subject: Re: [PHP] RegEx (back referencing) If you're trying to get scriptLots of javascript/script to look like font color=maroonLots of javascript/font then this will be a start $string = eregi_replace('(/?)(scr[^]*)', '\\1font color=maroon',$string); This will produce - font color=maroonLots of javascript/font color=maroon - not perfect, but a start. Danny. - Original Message - From: Phil Ewington [EMAIL PROTECTED] To: Danny Shepherd [EMAIL PROTECTED] Sent: Saturday, August 03, 2002 5:52 PM Subject: RE: [PHP] RegEx (back referencing) \\1 outputs nothing at all wrapped in font tags and closing tags \ wrapped in font tags :o( -Original Message- From: Danny Shepherd [mailto:[EMAIL PROTECTED]] Sent: 03 August 2002 17:47 To: [EMAIL PROTECTED]; PHP General Subject: Re: [PHP] RegEx (back referencing) try \\1 - Original Message - From: Phil Ewington [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Saturday, August 03, 2002 5:03 PM Subject: [PHP] RegEx (back referencing) Hi, I am am writing a function to color code and indent JavaScript source using regular expressions and cannot seem to get back referencing working. The pattern match is successful but the output is a single unrecognised character (a square). $string = eregi_replace((/?)(scr[^]*), «font color=maroon»\1«/font», $string); This results in opening and closing script/script tags being replaced with a square being wrapped in font tags. I have this working in Cold Fusion but cannot seem to convert my scripts to PHP. Can anyone help? TIA Phil Ewington. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] RegEx (back referencing)
What does the input string contain? What does the output look like? It might be a problem with php4.0.4 (I'm using 4.2.2) - why such an old version? Danny. - Original Message - From: Phil Ewington [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Saturday, August 03, 2002 6:23 PM Subject: RE: [PHP] RegEx (back referencing) Danny, It still doesn't work, could this be a problem in 4.0.4pl1 ?? -Original Message- From: Danny Shepherd [mailto:[EMAIL PROTECTED]] Sent: 03 August 2002 18:11 To: [EMAIL PROTECTED]; PHP-General Subject: Re: [PHP] RegEx (back referencing) If you're trying to get scriptLots of javascript/script to look like font color=maroonLots of javascript/font then this will be a start $string = eregi_replace('(/?)(scr[^]*)', '\\1font color=maroon',$string); This will produce - font color=maroonLots of javascript/font color=maroon - not perfect, but a start. Danny. - Original Message - From: Phil Ewington [EMAIL PROTECTED] To: Danny Shepherd [EMAIL PROTECTED] Sent: Saturday, August 03, 2002 5:52 PM Subject: RE: [PHP] RegEx (back referencing) \\1 outputs nothing at all wrapped in font tags and closing tags \ wrapped in font tags :o( -Original Message- From: Danny Shepherd [mailto:[EMAIL PROTECTED]] Sent: 03 August 2002 17:47 To: [EMAIL PROTECTED]; PHP General Subject: Re: [PHP] RegEx (back referencing) try \\1 - Original Message - From: Phil Ewington [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Saturday, August 03, 2002 5:03 PM Subject: [PHP] RegEx (back referencing) Hi, I am am writing a function to color code and indent JavaScript source using regular expressions and cannot seem to get back referencing working. The pattern match is successful but the output is a single unrecognised character (a square). $string = eregi_replace((/?)(scr[^]*), «font color=maroon»\1«/font», $string); This results in opening and closing script/script tags being replaced with a square being wrapped in font tags. I have this working in Cold Fusion but cannot seem to convert my scripts to PHP. Can anyone help? TIA Phil Ewington. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
On Sat, 3 Aug 2002, Acer wrote: You'll never hear anything from the core php group since they are a tight click so it's business as usual. You're kidding, right? When was the last time you saw one the creator of ASP on a mailing list personally answering code questions? For what it's worth, I just left a 50,000 employee company that would not let me use PHP in production until I showed them the Zend suite of products. When I asked for the money to buy their IDE and it arrived I was allowed to move my PHP code to production. Same deal as Sun now charging for Star Office, in corporate eyes they now see a company making money from a product which will give the company the ability to enhance the product and most important provide support. So, while we all may not be able to afford some of the tools that Zend is creating they continue to have a dedication to the open source community. I view it as the better Zend does, the more developers they can hire and the better all of the products will be including their contributions to PHP. -Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
Don't get me wrong rasmus, I don't have any problems with you. It's just fishy when some guy in the UK was able to put together a php accelerator for free and a php encoder for $0.50 a pop while zend is charging several thousands. You have to wonder how much work zend is actually putting into their products to justify the price. Plus, these guys are the ones building php so something is not right. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 1:04 PM To: Acer Cc: Dennis Moore; Andrey Hristov; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding You'll never hear anything from the core php group since they are a tight click so it's business as usual. That's probably the most uninformed statement I have seen posted to this list in a very long time. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] encoders
Can someone point me to some articles on PHP encoding? It would seem to me that making an interpreted language impossible to read an impossible task. Hard to read would be possible. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Regular Expressions (PCRE library)
Hello! It´s driving me nuts, am in the middle of reading Mastering Regular Expressions (O'Reilly), and because i like to learn whilst doing, well, you can picture the rest. Anybody please tell me why the following is not working $test = Hello, end why is not workin, END.; //before echo $test . br; //Finds beginning of a line, followed by e or E, and replaces it with A. At least it should do it, but it doesn't ? $tes = preg_replace(/^[eE]/, A, $test); //after echo $tes; Now i know damn well that this is a real simple example, and thus failing here already makes me feel quite frustrated. Any help or explanations as to what is wrong in the above example along with a little explanation would be greatly appreciated! Thanks a lot in advance for your time reading. Best regards from Vienna, Jürgen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
There are nearly 600 people with cvs commit access to cvs.php.net. Saying that Zend are the ones building PHP is a gross injustice to the majority of the people working on PHP. I have absolutely no relationship with Zend and I have built big chunks of PHP as have countless others with nothing to gain from Zend commercializing anything. Commercial interest in the PHP market is simple fact that comes from PHP's overwhelming success. It is a sign of the project's maturity and there is absolutely nothing wrong with it. And if I had to choose between commercial interests also contributing to PHP itself vs. not contributing, I would much prefer them to contribute things. There are plenty of companies selling into the PHP space without contributing anything back to PHP. So, faulting Zend for having both commercial products and also contributing to PHP itself makes very little sense to me. Finally, you are arguing about commercial software pricing not matching the effort that goes into making it? C'mon, if all commercial software was priced simply to recoup development costs, then Windows should cost about 2 cents and Oracle about a dime. The bottom line is that there is no conspiracy here. The PHP Group is far from a tightknit group that agrees on everything. In fact we disagree on just about everything you can imagine and we are certainly not a group of people who sit around with nothing to do except help Zend make money. You will find if you poke around a little bit, several members, including myself, have helped projects that make free alternatives to various commercial products from Zend and other companies. -Rasmus On Sat, 3 Aug 2002, Acer wrote: Don't get me wrong rasmus, I don't have any problems with you. It's just fishy when some guy in the UK was able to put together a php accelerator for free and a php encoder for $0.50 a pop while zend is charging several thousands. You have to wonder how much work zend is actually putting into their products to justify the price. Plus, these guys are the ones building php so something is not right. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 1:04 PM To: Acer Cc: Dennis Moore; Andrey Hristov; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding You'll never hear anything from the core php group since they are a tight click so it's business as usual. That's probably the most uninformed statement I have seen posted to this list in a very long time. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
Because it is a silly thread and I shouldn't be replying at all. Others in the group either have more sense or have given up on answering php-general questions. My view on encoders is that they are unnecessary and rather evil. I would never ever purchase a php-based application that did not come with the php source code. If you want to restrict your code somehow, do it through a license. People who choose to violate that license are the same people who will hack your encoded scripts anyway. And this way the honest customers will have the benefit of the code to customize, learn from, build on top of. Closed source stuff stifles innovation and I personally refuse to work on a PHP encoder for this reason. Imagine if I had never released the source for PHP? We would not be having this discussion today. I know plenty of people disagree with this view, but there you have it. -Rasmus On Sat, 3 Aug 2002, Acer wrote: I made that statement because this subject has been brought up several times and nothing has been said from the php gods. I mean out of this whole thread, your only comment is That's probably the most uninformed statement I have seen posted to this list in a very long time. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 1:04 PM To: Acer Cc: Dennis Moore; Andrey Hristov; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding You'll never hear anything from the core php group since they are a tight click so it's business as usual. That's probably the most uninformed statement I have seen posted to this list in a very long time. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Regular Expressions (PCRE library)
On Sunday 04 August 2002 01:44, Jürgen wrote: Anybody please tell me why the following is not working $test = Hello, end why is not workin, END.; //before echo $test . br; //Finds beginning of a line, followed by e or E, and replaces it with A. At least it should do it, but it doesn't ? $tes = preg_replace(/^[eE]/, A, $test); This should work. However if you're using $test as defined above it does not start with 'e' or 'E' so what output did you expect?? -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * /* Bershere's Formula for Failure: There are only two kinds of people who fail: those who listen to nobody... and those who listen to everybody. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Include problems
I have PHP4 on both a windows IIS server and a windows apache server. The include function only works in the same directory of the file I wish to access. ex. www.include.com/default.php all files in same directory (i guess the root)? ?php include 'test.inc' ? everything works fine. Here's where I have the problem. Now I want to store all my includes in one directory www.include.com/inc ?php include 'inc/test.inc' ? that doesn't work Warning: Failed opening 'test.inc' for inclusion (include_path='') Can anyone help me with this??? Thanks scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Include problems
try using the absolute path to the file e.g. include(C:/windows/webserver/httproot/inc/test.inc); Scott [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have PHP4 on both a windows IIS server and a windows apache server. The include function only works in the same directory of the file I wish to access. ex. www.include.com/default.php all files in same directory (i guess the root)? ?php include 'test.inc' ? everything works fine. Here's where I have the problem. Now I want to store all my includes in one directory www.include.com/inc ?php include 'inc/test.inc' ? that doesn't work Warning: Failed opening 'test.inc' for inclusion (include_path='') Can anyone help me with this??? Thanks scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Include problems
include 'inc/test.inc' will work fine if you add your root directory to your include_path (in the c:\winnt\php.ini file). Daniel Kushner [EMAIL PROTECTED] Need hosting? http://www.TheHostingCompany.us/ -Original Message- From: Scott [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 03, 2002 3:11 PM To: [EMAIL PROTECTED] Subject: [PHP] Include problems I have PHP4 on both a windows IIS server and a windows apache server. The include function only works in the same directory of the file I wish to access. ex. www.include.com/default.php all files in same directory (i guess the root)? ?php include 'test.inc' ? everything works fine. Here's where I have the problem. Now I want to store all my includes in one directory www.include.com/inc ?php include 'inc/test.inc' ? that doesn't work Warning: Failed opening 'test.inc' for inclusion (include_path='') Can anyone help me with this??? Thanks scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] starting Apache
I finally got php 4.2.2 installed with Apache 2.0.39 on RedHat 7.2. However when I restart the httpd service, I get the following error: Starting httpd: Syntax error on line 230 of /www/conf/httpd.conf: Cannot load /www/modules/libphp4.so into server: /www/modules/libphp4.so: undefined symbol: ts_resource_ex Can Anyone Help? Nick __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] User Authentication Problem
Hi, I need to authenticate users on an included page on my website, but the problem is, I cant get it to work. view it included at http://members.lycos.co.uk/ajohnh/ (Source at http://members.lycos.co.uk/ajohnh/source/index.txt) the actual file: http://members.lycos.co.uk/ajohnh/templates/twoShea/head.php (source at http://members.lycos.co.uk/ajohnh/source/head.txt) the location of the script that sets the cookie (I hard-coded the user and password combo for user ramonezrule into it): http://members.lycos.co.uk/ajohnh/templates/twoShea/setcookie.php (source at: http://members.lycos.co.uk/ajohnh/source/setcookie.txt) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
Well said, Rasmus. - Maxim Maletsky -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 03, 2002 8:06 PM To: Acer Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding Because it is a silly thread and I shouldn't be replying at all. Others in the group either have more sense or have given up on answering php-general questions. My view on encoders is that they are unnecessary and rather evil. I would never ever purchase a php-based application that did not come with the php source code. If you want to restrict your code somehow, do it through a license. People who choose to violate that license are the same people who will hack your encoded scripts anyway. And this way the honest customers will have the benefit of the code to customize, learn from, build on top of. Closed source stuff stifles innovation and I personally refuse to work on a PHP encoder for this reason. Imagine if I had never released the source for PHP? We would not be having this discussion today. I know plenty of people disagree with this view, but there you have it. -Rasmus On Sat, 3 Aug 2002, Acer wrote: I made that statement because this subject has been brought up several times and nothing has been said from the php gods. I mean out of this whole thread, your only comment is That's probably the most uninformed statement I have seen posted to this list in a very long time. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 1:04 PM To: Acer Cc: Dennis Moore; Andrey Hristov; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding You'll never hear anything from the core php group since they are a tight click so it's business as usual. That's probably the most uninformed statement I have seen posted to this list in a very long time. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Regular Expressions (PCRE library)
Well, i know it should work, but it does not work. Even if i Change the first letter into e or E it does not work. This is so frustrating, this is prolly the most easiest regular expression i could start with and yet i fail and nobody seems to know why it aint working neither This should work. However if you're using $test as defined above it does not start with 'e' or 'E' so what output did you expect?? -- Jason Wong - Gremlins Associates - www.gremlins.com.hk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] RegEx (back referencing)
Ok, a very slightly modified version of your first attempt should work then $fcontent = eregi_replace((/?)(scr[^]*), «font color=maroon»\\0«/font», $fcontent); Note the \\0 instead of \\1 HTH Danny. - Original Message - From: Phil Ewington [EMAIL PROTECTED] To: Danny Shepherd [EMAIL PROTECTED] Sent: Saturday, August 03, 2002 8:54 PM Subject: RE: [PHP] RegEx (back referencing) Danny, OK, the input string is the contents of a file, the idea is to output color coded and indented code in HTML. So searching for script and replace with font color=maroonscript/font, so the script tag shows on a page. I am slowly converting a ColdFusion script which currently color codes CFML, HTML, JS PHP code. // get file and pass into string $filename = /path_to_file/newsfeed.js; $fcontent = implode(, file($filename)); // convert new lines, tabs and multiple spaces $fcontent = eregi_replace(chr(10), «br», $fcontent); $fcontent = eregi_replace(chr(9), nbsp;nbsp;nbsp;nbsp;, $fcontent); $fcontent = eregi_replace( {2,2}, nbsp;nbsp;, $fcontent); // color code script $fcontent = eregi_replace((/?)(scr[^]*), «font color=maroon»\\1«/font», $fcontent); // allow html tags in strings to print $fcontent = eregi_replace([^('|\)]br[^('|\)], «br», $fcontent); // allow script tags to display $fcontent = eregi_replace(, lt;, $fcontent); $fcontent = eregi_replace(, gt;, $fcontent); $fcontent = eregi_replace(«, , $fcontent); $fcontent = eregi_replace(», , $fcontent); // get filename from path $filename = explode(/, $filename); $filename = $filename[count($filename) - 1]; // print formatted content print \n div div style=\font-family:verdana; font-size:x-small; color:#FF; background-color:#00; padding:5px;\$filename/div div style=\font-family:courier new, mono; font-size:x-small; background-color:#EE; padding:10px; border:1px #00 solid;\$fcontent/div /div; ? The output looks as follows (so far)... http://www.n-igma.net/regex.php Got the indenting sorted, now needs to be color coded. I am using an old version as I know very little about *nix and compiling the binaries for PHP on a RAQ3 was a headache, well for a Windows user any way ;o) I have not wanted to upgrade yet as I have a number of sites running on the box and haven't had the balls to in case I screw it up again! Phil. -Original Message- From: Danny Shepherd [mailto:[EMAIL PROTECTED]] Sent: 03 August 2002 18:26 To: [EMAIL PROTECTED]; PHP General Subject: Re: [PHP] RegEx (back referencing) What does the input string contain? What does the output look like? It might be a problem with php4.0.4 (I'm using 4.2.2) - why such an old version? Danny. - Original Message - From: Phil Ewington [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Saturday, August 03, 2002 6:23 PM Subject: RE: [PHP] RegEx (back referencing) Danny, It still doesn't work, could this be a problem in 4.0.4pl1 ?? -Original Message- From: Danny Shepherd [mailto:[EMAIL PROTECTED]] Sent: 03 August 2002 18:11 To: [EMAIL PROTECTED]; PHP-General Subject: Re: [PHP] RegEx (back referencing) If you're trying to get scriptLots of javascript/script to look like font color=maroonLots of javascript/font then this will be a start $string = eregi_replace('(/?)(scr[^]*)', '\\1font color=maroon',$string); This will produce - font color=maroonLots of javascript/font color=maroon - not perfect, but a start. Danny. - Original Message - From: Phil Ewington [EMAIL PROTECTED] To: Danny Shepherd [EMAIL PROTECTED] Sent: Saturday, August 03, 2002 5:52 PM Subject: RE: [PHP] RegEx (back referencing) \\1 outputs nothing at all wrapped in font tags and closing tags \ wrapped in font tags :o( -Original Message- From: Danny Shepherd [mailto:[EMAIL PROTECTED]] Sent: 03 August 2002 17:47 To: [EMAIL PROTECTED]; PHP General Subject: Re: [PHP] RegEx (back referencing) try \\1 - Original Message - From: Phil Ewington [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Saturday, August 03, 2002 5:03 PM Subject: [PHP] RegEx (back referencing) Hi, I am am writing a function to color code and indent JavaScript source using regular expressions and cannot seem to get back referencing working. The pattern match is successful but the output is a single unrecognised character (a square). $string = eregi_replace((/?)(scr[^]*), «font color=maroon»\1«/font», $string); This results in opening and closing script/script tags being replaced with a square being wrapped in font tags. I have this working in Cold
[PHP] Re: starting Apache
I also received an error regarding libphp4.so when I tried to compile php 4.2.2 with apache 2.0.39 on Mandrake 8.1. Have not resolved it, even after asking several days ago on this site. Nobody responded. Have double checked my ./configure and everything looks good, it is when I execute the make command that it bombs out. Has somebody done this successfully? Yes, I've set the configure to enable modules. Kirk Nick Niehoff wrote I finally got php 4.2.2 installed with Apache 2.0.39 on RedHat 7.2. However when I restart the httpd service, I get the following error: Starting httpd: Syntax error on line 230 of /www/conf/httpd.conf: Cannot load /www/modules/libphp4.so into server: /www/modules/libphp4.so: undefined symbol: ts_resource_ex Can Anyone Help? Nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Regular Expressions (PCRE library)
On Sunday 04 August 2002 03:47, Jürgen wrote: Well, i know it should work, but it does not work. Even if i Change the first letter into e or E it does not work. This is so frustrating, this is prolly the most easiest regular expression i could start with and yet i fail and nobody seems to know why it aint working neither This should work. However if you're using $test as defined above it does not start with 'e' or 'E' so what output did you expect?? So you're saying this: echo preg_replace(/^[eE]/, A, Eek!); Does not result in Aek! ? -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * /* The problem with graduate students, in general, is that they have to sleep every few days. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
My view on encoders is that they are unnecessary and rather evil. I would never ever purchase a php-based application that did not come with the php source code. If you want to restrict your code somehow, do it through a license. People who choose to violate that license are the same people who will hack your encoded scripts anyway. And this way the honest customers will have the benefit of the code to customize, learn from, build on top of. Closed source stuff stifles innovation and I personally refuse to work on a PHP encoder for this reason. Imagine if I had never released the source for PHP? We would not be having this discussion today. Very well said. I applaud all the devlopers who work on open source software. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: starting Apache
On Sunday 04 August 2002 04:02, Kirk Babb wrote: I also received an error regarding libphp4.so when I tried to compile php 4.2.2 with apache 2.0.39 on Mandrake 8.1. Have not resolved it, even after asking several days ago on this site. Nobody responded. Have double checked my ./configure and everything looks good, it is when I execute the make command that it bombs out. Has somebody done this successfully? Yes, I've set the configure to enable modules. Well the php-install list is probably the best place to ask for help with installation problems. -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * /* Another such victory over the Romans, and we are undone. -- Pyrrhus */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: starting Apache
Version 2 of Apache does not support PHP yet. Go back to version 1 and ask the list if you still have problems. I also received an error regarding libphp4.so when I tried to compile php 4.2.2 with apache 2.0.39 on Mandrake 8.1. Have not resolved it, even after asking several days ago on this site. Nobody responded. Have double checked my ./configure and everything looks good, it is when I execute the make command that it bombs out. Has somebody done this successfully? Yes, I've set the configure to enable modules. Kirk Nick Niehoff wrote I finally got php 4.2.2 installed with Apache 2.0.39 on RedHat 7.2. However when I restart the httpd service, I get the following error: Starting httpd: Syntax error on line 230 of /www/conf/httpd.conf: Cannot load /www/modules/libphp4.so into server: /www/modules/libphp4.so: undefined symbol: ts_resource_ex Can Anyone Help? Nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Protect PHP coding
On Sunday 04 August 2002 04:38, Bob Lockie wrote: My view on encoders is that they are unnecessary and rather evil. I would never ever purchase a php-based application that did not come with the php source code. If you want to restrict your code somehow, do it through a license. People who choose to violate that license are the same people who will hack your encoded scripts anyway. And this way the honest customers will have the benefit of the code to customize, learn from, build on top of. Closed source stuff stifles innovation and I personally refuse to work on a PHP encoder for this reason. Imagine if I had never released the source for PHP? We would not be having this discussion today. Very well said. I applaud all the devlopers who work on open source software. Isn't it a touch ironic (or hypocritical) when people want a open source product to produce a closed source product? It's almost as bad as MS 'embracing' an open source product into their closed source rubbish. -- Jason Wong - Gremlins Associates - www.gremlins.com.hk /* God requireth not a uniformity of religion. - Roger Williams */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Include problems
Does this mean i have to do this to each site??? Daniel Kushner [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... include 'inc/test.inc' will work fine if you add your root directory to your include_path (in the c:\winnt\php.ini file). Daniel Kushner [EMAIL PROTECTED] Need hosting? http://www.TheHostingCompany.us/ -Original Message- From: Scott [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 03, 2002 3:11 PM To: [EMAIL PROTECTED] Subject: [PHP] Include problems I have PHP4 on both a windows IIS server and a windows apache server. The include function only works in the same directory of the file I wish to access. ex. www.include.com/default.php all files in same directory (i guess the root)? ?php include 'test.inc' ? everything works fine. Here's where I have the problem. Now I want to store all my includes in one directory www.include.com/inc ?php include 'inc/test.inc' ? that doesn't work Warning: Failed opening 'test.inc' for inclusion (include_path='') Can anyone help me with this??? Thanks scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: User Authentication Problem
You might get some help if you post only the code relevant to the problem with a clear explanation of the exact problem. Otherwise, I doubt anyone will bother looking through all that code you posted links to. From: [EMAIL PROTECTED] (Tony Harrison) Newsgroups: php.general Date: Sat, 3 Aug 2002 20:31:54 +0100 To: [EMAIL PROTECTED] Subject: User Authentication Problem Hi, I need to authenticate users on an included page on my website, but the problem is, I cant get it to work. view it included at http://members.lycos.co.uk/ajohnh/ (Source at http://members.lycos.co.uk/ajohnh/source/index.txt) the actual file: http://members.lycos.co.uk/ajohnh/templates/twoShea/head.php (source at http://members.lycos.co.uk/ajohnh/source/head.txt) the location of the script that sets the cookie (I hard-coded the user and password combo for user ramonezrule into it): http://members.lycos.co.uk/ajohnh/templates/twoShea/setcookie.php (source at: http://members.lycos.co.uk/ajohnh/source/setcookie.txt) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Regular Expressions (PCRE library)
No im not saying that, im merely saying that in my given example even if i turn the Hello into Ello it does not replace it, besides : ^ = assert start of subject (or line, in multiline mode) * I took this directly from the PHP manual, so i assumed that the default mode would be the first one, however, i tried the following and it looks like it was the latter after all $test = ello, end this is now the End.; $test = preg_replace('# *^e#i', 'A', $test); Will result into : Allo, end this is now the End. So, i guess you were right after all :) Thanks for sticking with me though! Best regards from Vienna, Jürgen So you're saying this: echo preg_replace(/^[eE]/, A, Eek!); Does not result in Aek! ? -- Jason Wong -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Need Help with register_globals OFF
Well, I just upgraded a number of PHP scripts to function with register_globals turned off, and now better understand what's required to work with variables more securely. I wanted to share that the extract() command turned out to be a big help. Using it meant I didn't have to put $_POST[' '] around every variable passed by a form. Instead, I put one or both of these lines of code at the beginning of scripts that use forms or receive vars passed via the URL: extract($_POST); extract($_GET); extract() creates local variables using the 'key' and 'value' from the $_POST or $_GET arrays. I even discovered it works with multidimensional arrays that may be passed by forms. In that case, if I have an array named formvar that collects all data from the form (i.e., $formvar['name'], $formvar['address'], etc.), then I use extract this way: extract($_POST['formvar']); This will create local variables named $name and $address that contain the values passed from the form. Here's where you can find more about this function: http://www.php.net/manual/en/function.extract.php One thing to remember is that if you put extract() in a custom function (which I did initially), it won't really work because the variables are created only within the scope of the function, so, as soon as it returns to the script, the vars it created are released. Monty -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
Scott wrote: You're kidding, right? When was the last time you saw one the creator of ASP on a mailing list personally answering code questions? Call me a cynic but to maintain your status as php god you have to contribute to the list so you can sign a book deal. Scott wrote: For what it's worth, I just left a 50,000 employee company that would not let me use PHP in production until I showed them the Zend suite of products. When I asked for the money to buy their IDE and it arrived I was allowed to move my PHP code to production. So zend charges a huge amount of money so that your boss can feel good about making the right decision. That's great but how's that working? Is php becoming a contender? Like I said before do a search for php developers, you won't find any demand for it. Jsp is newer then php and they have a lot more jobs available so something isn't working. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Protect PHP coding
So, go write JSP for someone then and stop bugging us. - Original Message - From: Acer [EMAIL PROTECTED] To: Scott [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, August 03, 2002 10:48 PM Subject: RE: [PHP] Re: Protect PHP coding Scott wrote: You're kidding, right? When was the last time you saw one the creator of ASP on a mailing list personally answering code questions? Call me a cynic but to maintain your status as php god you have to contribute to the list so you can sign a book deal. Scott wrote: For what it's worth, I just left a 50,000 employee company that would not let me use PHP in production until I showed them the Zend suite of products. When I asked for the money to buy their IDE and it arrived I was allowed to move my PHP code to production. So zend charges a huge amount of money so that your boss can feel good about making the right decision. That's great but how's that working? Is php becoming a contender? Like I said before do a search for php developers, you won't find any demand for it. Jsp is newer then php and they have a lot more jobs available so something isn't working. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
Okay great let me change my opinion to php is being built by 600 people who do a lot of infighting. I feel much better. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 1:50 PM To: Acer Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding There are nearly 600 people with cvs commit access to cvs.php.net. Saying that Zend are the ones building PHP is a gross injustice to the majority of the people working on PHP. I have absolutely no relationship with Zend and I have built big chunks of PHP as have countless others with nothing to gain from Zend commercializing anything. Commercial interest in the PHP market is simple fact that comes from PHP's overwhelming success. It is a sign of the project's maturity and there is absolutely nothing wrong with it. And if I had to choose between commercial interests also contributing to PHP itself vs. not contributing, I would much prefer them to contribute things. There are plenty of companies selling into the PHP space without contributing anything back to PHP. So, faulting Zend for having both commercial products and also contributing to PHP itself makes very little sense to me. Finally, you are arguing about commercial software pricing not matching the effort that goes into making it? C'mon, if all commercial software was priced simply to recoup development costs, then Windows should cost about 2 cents and Oracle about a dime. The bottom line is that there is no conspiracy here. The PHP Group is far from a tightknit group that agrees on everything. In fact we disagree on just about everything you can imagine and we are certainly not a group of people who sit around with nothing to do except help Zend make money. You will find if you poke around a little bit, several members, including myself, have helped projects that make free alternatives to various commercial products from Zend and other companies. -Rasmus On Sat, 3 Aug 2002, Acer wrote: Don't get me wrong rasmus, I don't have any problems with you. It's just fishy when some guy in the UK was able to put together a php accelerator for free and a php encoder for $0.50 a pop while zend is charging several thousands. You have to wonder how much work zend is actually putting into their products to justify the price. Plus, these guys are the ones building php so something is not right. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 1:04 PM To: Acer Cc: Dennis Moore; Andrey Hristov; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding You'll never hear anything from the core php group since they are a tight click so it's business as usual. That's probably the most uninformed statement I have seen posted to this list in a very long time. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
Okay so you support zend but hate encoders. Doesn't zend make an encoder? To me an encoder is used to sell your product. It doesn't mean people still won't release their code to add to the public knowledge. If you didn't release your code rasmus then those 600 people won't have made php what it is now so you can't have it both ways. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 2:06 PM To: Acer Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding Because it is a silly thread and I shouldn't be replying at all. Others in the group either have more sense or have given up on answering php-general questions. My view on encoders is that they are unnecessary and rather evil. I would never ever purchase a php-based application that did not come with the php source code. If you want to restrict your code somehow, do it through a license. People who choose to violate that license are the same people who will hack your encoded scripts anyway. And this way the honest customers will have the benefit of the code to customize, learn from, build on top of. Closed source stuff stifles innovation and I personally refuse to work on a PHP encoder for this reason. Imagine if I had never released the source for PHP? We would not be having this discussion today. I know plenty of people disagree with this view, but there you have it. -Rasmus On Sat, 3 Aug 2002, Acer wrote: I made that statement because this subject has been brought up several times and nothing has been said from the php gods. I mean out of this whole thread, your only comment is That's probably the most uninformed statement I have seen posted to this list in a very long time. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 1:04 PM To: Acer Cc: Dennis Moore; Andrey Hristov; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding You'll never hear anything from the core php group since they are a tight click so it's business as usual. That's probably the most uninformed statement I have seen posted to this list in a very long time. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
Sorry for bothering you, I didn't think I would hit a nerve. -Original Message- From: Danny Shepherd [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 5:59 PM Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Protect PHP coding So, go write JSP for someone then and stop bugging us. - Original Message - From: Acer [EMAIL PROTECTED] To: Scott [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, August 03, 2002 10:48 PM Subject: RE: [PHP] Re: Protect PHP coding Scott wrote: You're kidding, right? When was the last time you saw one the creator of ASP on a mailing list personally answering code questions? Call me a cynic but to maintain your status as php god you have to contribute to the list so you can sign a book deal. Scott wrote: For what it's worth, I just left a 50,000 employee company that would not let me use PHP in production until I showed them the Zend suite of products. When I asked for the money to buy their IDE and it arrived I was allowed to move my PHP code to production. So zend charges a huge amount of money so that your boss can feel good about making the right decision. That's great but how's that working? Is php becoming a contender? Like I said before do a search for php developers, you won't find any demand for it. Jsp is newer then php and they have a lot more jobs available so something isn't working. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] __functionName?
I know that a function name preceded by 2 underscores (__) has 'magical' properties when declared in a class. My question is, is it safe to declare a function with 2 underscores before its name outside of a class? For example, if this is my whole script. ?PHP function __hello () { echo 'Hello world'; } __hello; ? Is my function safe from having any wierd effects from the double underscore? Jim Dam [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] register_argc_argv
What does this parameter do in PHP.ini, and what would happen if I turned it off? From reading the PHP site, it appears this is only useful if you use PHP from the command line, is that right? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Include problems
does the require has something to be with include ? Cause instead of using include im always usin require Thanks, Flavio Bastos Amiel Scott [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Does this mean i have to do this to each site??? Daniel Kushner [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... include 'inc/test.inc' will work fine if you add your root directory to your include_path (in the c:\winnt\php.ini file). Daniel Kushner [EMAIL PROTECTED] Need hosting? http://www.TheHostingCompany.us/ -Original Message- From: Scott [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 03, 2002 3:11 PM To: [EMAIL PROTECTED] Subject: [PHP] Include problems I have PHP4 on both a windows IIS server and a windows apache server. The include function only works in the same directory of the file I wish to access. ex. www.include.com/default.php all files in same directory (i guess the root)? ?php include 'test.inc' ? everything works fine. Here's where I have the problem. Now I want to store all my includes in one directory www.include.com/inc ?php include 'inc/test.inc' ? that doesn't work Warning: Failed opening 'test.inc' for inclusion (include_path='') Can anyone help me with this??? Thanks scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] May i?
May i ask for help about a subejct on MySQL here? thanks, Flavio Bastos Amiel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
Call me a cynic but to maintain your status as php god you have to contribute to the list so you can sign a book deal. Cynic? Rather paranoid Scott wrote: For what it's worth, I just left a 50,000 employee company that would not let me use PHP in production until I showed them the Zend suite of products. When I asked for the money to buy their IDE and it arrived I was allowed to move my PHP code to production. So zend charges a huge amount of money so that your boss can feel good about making the right decision. It happens everywhere, and not only for PHP but for all Open Source. Very often this behavior is seem when desiding the Linux platforms over MS. And, that is what pulls decision makers choosing ASP and JSP - they are products, not projects. That's great but how's that working? Is php becoming a contender? Like I said before do a search for php developers, you won't find any demand for it. Jsp is newer then php and they have a lot more jobs available so something isn't working. Things ARE working, there is just a lot of conservatism within e-business. Sincerely, Maxim Maletsky PHP Beginner www.phpbeginner.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
Acer, what the fk are you mumbling about? (sorry for mine to you introduction) 600 people at PHP Dev Group (and I am one of them too) create and document PHP Programming Language for free, because they like it this way. You, get your boss's money, buy a Zend's encoder, make a script that, perhaps, has an equivalent freely available on sourseforge.net, encode it and stick a it price to then sell the cat in a lot to those paranoids who do not trust open source projects like your own boss does. The paranoids then make services we all here pay, and on our spare time - we keep developing the free code for you (always, because we like it this way). What are you trying to prove by being devil's lawyer here? We all know how e-business works, most of us are actually on managing positions if not job consultants. So, Acer, from now on - ask a php-general question or answer one. Deal? Sincerely, Maxim Maletsky PHP Beginner www.phpbeginner.com -Original Message- From: Acer [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 04, 2002 12:01 AM To: Rasmus Lerdorf Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding Okay so you support zend but hate encoders. Doesn't zend make an encoder? To me an encoder is used to sell your product. It doesn't mean people still won't release their code to add to the public knowledge. If you didn't release your code rasmus then those 600 people won't have made php what it is now so you can't have it both ways. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 2:06 PM To: Acer Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding Because it is a silly thread and I shouldn't be replying at all. Others in the group either have more sense or have given up on answering php-general questions. My view on encoders is that they are unnecessary and rather evil. I would never ever purchase a php-based application that did not come with the php source code. If you want to restrict your code somehow, do it through a license. People who choose to violate that license are the same people who will hack your encoded scripts anyway. And this way the honest customers will have the benefit of the code to customize, learn from, build on top of. Closed source stuff stifles innovation and I personally refuse to work on a PHP encoder for this reason. Imagine if I had never released the source for PHP? We would not be having this discussion today. I know plenty of people disagree with this view, but there you have it. -Rasmus On Sat, 3 Aug 2002, Acer wrote: I made that statement because this subject has been brought up several times and nothing has been said from the php gods. I mean out of this whole thread, your only comment is That's probably the most uninformed statement I have seen posted to this list in a very long time. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 1:04 PM To: Acer Cc: Dennis Moore; Andrey Hristov; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding You'll never hear anything from the core php group since they are a tight click so it's business as usual. That's probably the most uninformed statement I have seen posted to this list in a very long time. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Include problems
Include and require are identical, except for their failure behavior - require() halts permanently ending execution of the script. Sincerely, Maxim Maletsky PHP Beginner www.phpbeginner.com -Original Message- From: ::: Flavio Bastos Amiel:: [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 12:53 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Include problems does the require has something to be with include ? Cause instead of using include im always usin require Thanks, Flavio Bastos Amiel Scott [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Does this mean i have to do this to each site??? Daniel Kushner [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... include 'inc/test.inc' will work fine if you add your root directory to your include_path (in the c:\winnt\php.ini file). Daniel Kushner [EMAIL PROTECTED] Need hosting? http://www.TheHostingCompany.us/ -Original Message- From: Scott [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 03, 2002 3:11 PM To: [EMAIL PROTECTED] Subject: [PHP] Include problems I have PHP4 on both a windows IIS server and a windows apache server. The include function only works in the same directory of the file I wish to access. ex. www.include.com/default.php all files in same directory (i guess the root)? ?php include 'test.inc' ? everything works fine. Here's where I have the problem. Now I want to store all my includes in one directory www.include.com/inc ?php include 'inc/test.inc' ? that doesn't work Warning: Failed opening 'test.inc' for inclusion (include_path='') Can anyone help me with this??? Thanks scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Include problems
Thanks Maxim, it is good to know! :) Flavio Bastos Amiel Maxim Maletsky [EMAIL PROTECTED] wrote in message 000401c23b48$55266960$1113fe17@dominanta">news:000401c23b48$55266960$1113fe17@dominanta... Include and require are identical, except for their failure behavior - require() halts permanently ending execution of the script. Sincerely, Maxim Maletsky PHP Beginner www.phpbeginner.com -Original Message- From: ::: Flavio Bastos Amiel:: [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 12:53 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Include problems does the require has something to be with include ? Cause instead of using include im always usin require Thanks, Flavio Bastos Amiel Scott [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Does this mean i have to do this to each site??? Daniel Kushner [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... include 'inc/test.inc' will work fine if you add your root directory to your include_path (in the c:\winnt\php.ini file). Daniel Kushner [EMAIL PROTECTED] Need hosting? http://www.TheHostingCompany.us/ -Original Message- From: Scott [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 03, 2002 3:11 PM To: [EMAIL PROTECTED] Subject: [PHP] Include problems I have PHP4 on both a windows IIS server and a windows apache server. The include function only works in the same directory of the file I wish to access. ex. www.include.com/default.php all files in same directory (i guess the root)? ?php include 'test.inc' ? everything works fine. Here's where I have the problem. Now I want to store all my includes in one directory www.include.com/inc ?php include 'inc/test.inc' ? that doesn't work Warning: Failed opening 'test.inc' for inclusion (include_path='') Can anyone help me with this??? Thanks scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Safe Mode seems to turn on and off randomly
Hi, I was discussing with a friend at a webhost I use and they have been experience a wierd problem recently with their php safe mode, I went to help and after spending a while in the bug database I couldn't find anything to explain it. Basically every time you view a phpinfo page it will randomly change the local setting for safe mode from on or off, where the global setting is allways on... We also found out that if you run a php script 1000 times echoing the state of safemode it is constant for out the execution of the script, but it might change the next time we re-fresh the page. The servers which are affected are using Plesk which is a control panel thing which basically bundles freeBSD, apache, php, mysql together with a PHP front end for users and admins...The current version of the software is as follows: PHP 4.1.0 Apache 1.3.22 FreeBSD 4.1-RELEASE (The builds would be newer but this is what the lastest Plesk provides) I was wondering if anyone could have a explaination for this bug, if you want to see it for yourself check out my http://www.lusernet.34sp.com/phpInfo.php page. Since I'm not a admin of this webhost, and I'm only really doing this because I'm curious as well I can't give any more server specific details then what is publicly available on the phpInfo page since I don't know them :) Anyway thanks for any reply Andrew
[PHP] Re: May i?
ask. -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com ::: Flavio Bastos Amiel:: [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... May i ask for help about a subejct on MySQL here? thanks, Flavio Bastos Amiel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Decode email
Hi Anyone know a good email decoder (function or class) that can split the any email to subject, from, to , body and attachments ? Thank You ___ http://www.SaudiABM.com ___ About Islam : http://home2.swipnet.se/~w-20479/Audio.htm http://sultan.org ___ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Php manual
Where can I download the php manual with the user notes (in html format) Thank You ___ http://www.SaudiABM.com ___ About Islam : http://home2.swipnet.se/~w-20479/Audio.htm http://sultan.org ___ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: May i?
let's see if i can do it... i got a news site. everything was going OKsometimes i made few testing and then i delete the content from the db... the problem is next: the item id is an auto_increment element .. so the id's wasn't going allrightbecause they where not true... sometimes they make jumps like id #25 and the id #30 (because of the testing i've done and then delete) i tried to delete that cell (id) and then i recreate it. thinking the id was going to count it all over and make the item id TRUE.but it wasn't like that, the new id was counting since the last id then if the last id was 100, the new id was counting from 100 to 200 do i explain myself?... does anyone have an answer to this problem (PLEASE Dont tell me i have to do i manually!! ) thanks, Flavio Bastos Amiel George Nicolae [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... ask. -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com ::: Flavio Bastos Amiel:: [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... May i ask for help about a subejct on MySQL here? thanks, Flavio Bastos Amiel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Decode email
Try looking for it on www.phpclasses.org - it is pretty rich for such content. Sincerely, Maxim Maletsky PHP Beginner www.phpbeginner.com -Original Message- From: info @ saudiabm [mailto:[EMAIL PROTECTED]] On Behalf Of support- [EMAIL PROTECTED] Sent: Sunday, August 04, 2002 2:06 AM To: [EMAIL PROTECTED] Subject: [PHP] Decode email Hi Anyone know a good email decoder (function or class) that can split the any email to subject, from, to , body and attachments ? Thank You ___ http://www.SaudiABM.com ___ About Islam : http://home2.swipnet.se/~w-20479/Audio.htm http://sultan.org ___ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: May i?
Why do you need it anyway? auto_increment is a mySQL functionality to (listen this carefully) KEEP UNICITY WITHIN A TABLE. This is what they are needed for. I agree - it would look prettier having them even sequential, but that is behind the real point and it is not a problem. You should make your application independent from id value - id should only serve you as a key to relate the data within application/database. Sincerely, Maxim Maletsky PHP Beginner www.phpbeginner.com -Original Message- From: ::: Flavio Bastos Amiel:: [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 2:28 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: May i? let's see if i can do it... i got a news site. everything was going OKsometimes i made few testing and then i delete the content from the db... the problem is next: the item id is an auto_increment element .. so the id's wasn't going allrightbecause they where not true... sometimes they make jumps like id #25 and the id #30 (because of the testing i've done and then delete) i tried to delete that cell (id) and then i recreate it. thinking the id was going to count it all over and make the item id TRUE.but it wasn't like that, the new id was counting since the last id then if the last id was 100, the new id was counting from 100 to 200 do i explain myself?... does anyone have an answer to this problem (PLEASE Dont tell me i have to do i manually!! ) thanks, Flavio Bastos Amiel George Nicolae [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... ask. -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com ::: Flavio Bastos Amiel:: [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... May i ask for help about a subejct on MySQL here? thanks, Flavio Bastos Amiel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: May i?
On Tue, Sep 03, 2002 at 08:27:37PM -0400, ::: Flavio Bastos Amiel:: wrote: i tried to delete that cell (id) and then i recreate it. thinking the id was going to count it all over and make the item id TRUE.but it wasn't like that, the new id was counting since the last id then if the last id was 100, the new id was counting from 100 to 200 do i explain myself?... does anyone have an answer to this problem (PLEASE Dont tell me i have to do i manually!! ) You can use a version of mysql prior to 3.23, which is the version that this behavior was introduced. Many people, myself included, believe the ability to use numbers that were used previously is a bug, so in 3.23, once a number is used in an auto incrementing column it cannot be used again. At least mysql won't auto generate it again. -- Jason Stechschulte [EMAIL PROTECTED] http://www.ypisco.com -- To teach is to learn. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: May i?
well... yes, then maybe i made a mistake there was data related to the id . then i delete that row and the data that was related to the comments are gone away, because the row id has changedso i would have to put then manually again Flavio Bastos Amiel Maxim Maletsky [EMAIL PROTECTED] wrote in message 000c01c23b50$050fcfe0$1113fe17@dominanta">news:000c01c23b50$050fcfe0$1113fe17@dominanta... Why do you need it anyway? auto_increment is a mySQL functionality to (listen this carefully) KEEP UNICITY WITHIN A TABLE. This is what they are needed for. I agree - it would look prettier having them even sequential, but that is behind the real point and it is not a problem. You should make your application independent from id value - id should only serve you as a key to relate the data within application/database. Sincerely, Maxim Maletsky PHP Beginner www.phpbeginner.com -Original Message- From: ::: Flavio Bastos Amiel:: [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 2:28 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: May i? let's see if i can do it... i got a news site. everything was going OKsometimes i made few testing and then i delete the content from the db... the problem is next: the item id is an auto_increment element .. so the id's wasn't going allrightbecause they where not true... sometimes they make jumps like id #25 and the id #30 (because of the testing i've done and then delete) i tried to delete that cell (id) and then i recreate it. thinking the id was going to count it all over and make the item id TRUE.but it wasn't like that, the new id was counting since the last id then if the last id was 100, the new id was counting from 100 to 200 do i explain myself?... does anyone have an answer to this problem (PLEASE Dont tell me i have to do i manually!! ) thanks, Flavio Bastos Amiel George Nicolae [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... ask. -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com ::: Flavio Bastos Amiel:: [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... May i ask for help about a subejct on MySQL here? thanks, Flavio Bastos Amiel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Protect PHP coding
on 03/08/02 11:57 PM, Manuel Lemos ([EMAIL PROTECTED]) wrote: The people for Zend have to eat to live. And don't we all? That is the main problem. If we need to pay USD $3,000 to be able to compile our PHP programs, doesn't that make not viable for most of us to sell our PHP programs as closed source? How much money do you make a week writing PHP scripts? Just remember, Zend gave you PHP, for free, to use in almost any commercial way you wish. My clients cant afford Zend, but when the right client comes along, it'll be my recommendation without hesitation. Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Protect PHP coding
on 04/08/02 3:30 AM, Acer ([EMAIL PROTECTED]) wrote: Don't get me wrong rasmus, I don't have any problems with you. It's just fishy when some guy in the UK was able to put together a php accelerator for free and a php encoder for $0.50 a pop while zend is charging several thousands. You have to wonder how much work zend is actually putting into their products to justify the price. Plus, these guys are the ones building php so something is not right. Zend is a commercial company, and has a right to charge for a product. My guess is that the developers of the Zend engine (PHP) would also make the best developers of any other product (like an accelerator or encoder) that is associated with PHP. If someone is charging so little for the product (it is Beta, so I wouldn't use it anyway), then there is a good *chance* that it's a far less superior product. Let me ask you Acer, how much money do you make a week from developing PHP web applications with the free PHP scripting language? The $2000 doesn't seem like much in comparison, does it. Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
'==' is not an associative operator. Read on: http://www.php.net/manual/en/language.operators.php Sincerely, Maxim Maletsky PHP Beginner www.phpbeginner.com -Original Message- From: Acer [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 04, 2002 3:38 AM To: Maxim Maletsky; 'Rasmus Lerdorf' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding Okay fine whatever. Let's just continue sticking our heads in the sand and pretend php developers isn't last on the list of jobs available compared to asp, jsp and cf developers. That topic isn't important so back to normal and I'll ask a php question. What's the difference between = and ==? I'm too lazy to read the manual. -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 7:42 PM To: 'Acer'; 'Rasmus Lerdorf' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding Acer, what the fk are you mumbling about? (sorry for mine to you introduction) 600 people at PHP Dev Group (and I am one of them too) create and document PHP Programming Language for free, because they like it this way. You, get your boss's money, buy a Zend's encoder, make a script that, perhaps, has an equivalent freely available on sourseforge.net, encode it and stick a it price to then sell the cat in a lot to those paranoids who do not trust open source projects like your own boss does. The paranoids then make services we all here pay, and on our spare time - we keep developing the free code for you (always, because we like it this way). What are you trying to prove by being devil's lawyer here? We all know how e-business works, most of us are actually on managing positions if not job consultants. So, Acer, from now on - ask a php-general question or answer one. Deal? Sincerely, Maxim Maletsky PHP Beginner www.phpbeginner.com -Original Message- From: Acer [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 04, 2002 12:01 AM To: Rasmus Lerdorf Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding Okay so you support zend but hate encoders. Doesn't zend make an encoder? To me an encoder is used to sell your product. It doesn't mean people still won't release their code to add to the public knowledge. If you didn't release your code rasmus then those 600 people won't have made php what it is now so you can't have it both ways. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 2:06 PM To: Acer Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding Because it is a silly thread and I shouldn't be replying at all. Others in the group either have more sense or have given up on answering php-general questions. My view on encoders is that they are unnecessary and rather evil. I would never ever purchase a php-based application that did not come with the php source code. If you want to restrict your code somehow, do it through a license. People who choose to violate that license are the same people who will hack your encoded scripts anyway. And this way the honest customers will have the benefit of the code to customize, learn from, build on top of. Closed source stuff stifles innovation and I personally refuse to work on a PHP encoder for this reason. Imagine if I had never released the source for PHP? We would not be having this discussion today. I know plenty of people disagree with this view, but there you have it. -Rasmus On Sat, 3 Aug 2002, Acer wrote: I made that statement because this subject has been brought up several times and nothing has been said from the php gods. I mean out of this whole thread, your only comment is That's probably the most uninformed statement I have seen posted to this list in a very long time. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 1:04 PM To: Acer Cc: Dennis Moore; Andrey Hristov; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding You'll never hear anything from the core php group since they are a tight click so it's business as usual. That's probably the most uninformed statement I have seen posted to this list in a very long time. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Session problem with https
I've followed the threads on sessions, and discovered, to my horror, that I was passing the session id through cookies. Attempting to repair this 'problem' has been fun (with 200+ files). Somehow, the session variables are not passing through once they encounter an https page. I'm using the following for passing the session id: form action=desired.php??=SID? method=post ?php header(location: desired.php?.sid); ? These work for ordinary http, but for https, it gives array(). Each page starts with ?php session_start(); ob_start(): ?. I have set globals=off, session.use_trans_sid=1 (so I shouldn't need to use ?=SID? above, but I don't know what to use instead??), and session.use_cookies=0 in my php.ini. In only one https page, when it loads gives me PHPSESSIONID anen3n1nn..., but still does not let me access the variables that should be within that session. I'm totally at a loss what is happening here. Can anyone shed some light on how to retrieve the session variables for an https page? Any help or where to look (beyond the php.net pages where I learned about sessions), would be greatly appreciated. Tia, Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Protect PHP coding
on 04/08/02 8:01 AM, Acer ([EMAIL PROTECTED]) wrote: Sorry for bothering you, I didn't think I would hit a nerve. Didn't think you'd hit a nerve? You're complaining profusely about the price charged for a commercial product, and bagging the crap out of the developers, contributors and people who made PHP what it is. Commercial products are a case of supply and demand. Zend are offering a certain suite of products for a certain price. If you wish to obtain that product, you pay that price. If you don't feel the product is worth the asking price, search for an alternative. If you can find an alternative product which suits your needs (like a free/cheaper encoder, a different language like JSP or ASP, or whatever), then by all means go and buy that one instead, and leave this list in peace. I found a suit the other day which was a perfect fit, and looked great. problem was it was $1000. So rather than complaining to the sales assistant, I looked around and found a similar suit for about half the price, and settled on that, even though there are some quality differences. Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] parse_str () problems. using on the command line args ( argv[1]) - problem with php-4.2.2 ??
Hello All I am trying to use parse_str in my script , passing a variable. I have old code, working with php 4.1.2 working with the following script : [root@zion kickstart]# cat make-kickstart.php #!/usr/local/bin/php -q ? // parse any arguments parse_str ($argv[1]) ; print NAME: $name \n; ? for some reason tho , under 4.2.2 it is not parsing the argument/s [root@zion kickstart]# ./make-kickstart.php name=lxmode NAME: Does any one know if anything changed in 4.2.2 , I swear it works under 4.1.2 or older. Thanks for any advice or info in advance !! Cheers Neil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Protect PHP coding
1. You complain about Zend charging for a product when someone else has created an equivalent open source product. 2. You support ColdFusion and ASP when someone else has created an equivalent open source product. The point is that you need better logic in your arguments before you will receive thoughtful answers. Your questions seem more like adolescent attacks, and your arguments have no merit. Thus, the responses you have received are similar to responses you will receive anywhere when your purpose appears to only be to pick a fight. If you ask intelligent questions or make intelligent arguments, people will assume you are an intelligent person and deserving of a thoughtful answer. As for PHP in the marketplace, I would argue that it is the most popular Web scripting language in the world with ColdFusion and JSP being close contenders and ASP being successful only because of the Microsoft believers (who are switching to PHP and others more because of the poor quality of IIS than the poor quality and non-portability of ASP). I make a very nice living programming in PHP, and most of the job offers I receive are for PHP, even though I have extensive experience in ColdFusion and other Web scripting languages (even ASP). But, you know what? No one cares. The people who contribute to PHP do so because they enjoy it. People like Rasmus enjoy it so much that they put up with adolescent crap on this list from time to time and even provide undeserving responses to useless drivel. You're not going to alter anyone's idea of PHP with baseless attacks. It's the same approach as politicians who try to attack their opponents; you just end up looking like a fool, and no one believes you anyway. People who like it will use it. People who don't won't. Now can we end the spam? Chris Acer wrote: Okay fine whatever. Let's just continue sticking our heads in the sand and pretend php developers isn't last on the list of jobs available compared to asp, jsp and cf developers. That topic isn't important so back to normal and I'll ask a php question. What's the difference between = and ==? I'm too lazy to read the manual. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
okay you say zend gave me php and rasmus says 600 people gave me php. you guys need to get your story right. -Original Message- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 9:44 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Re: Protect PHP coding on 03/08/02 11:57 PM, Manuel Lemos ([EMAIL PROTECTED]) wrote: The people for Zend have to eat to live. And don't we all? That is the main problem. If we need to pay USD $3,000 to be able to compile our PHP programs, doesn't that make not viable for most of us to sell our PHP programs as closed source? How much money do you make a week writing PHP scripts? Just remember, Zend gave you PHP, for free, to use in almost any commercial way you wish. My clients cant afford Zend, but when the right client comes along, it'll be my recommendation without hesitation. Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
obviously if it's in beta then it's not as mature as zend's encoder. but if you think over time, it will get better and match zend so where does that leave php? zend would have a competing product that costs less so who would pay the several thousands of dollars for zend? zend will fold up shop and bye bye zend. -Original Message- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 9:50 PM To: Acer; Rasmus Lerdorf Cc: Dennis Moore; Andrey Hristov; [EMAIL PROTECTED] Subject: Re: [PHP] Re: Protect PHP coding on 04/08/02 3:30 AM, Acer ([EMAIL PROTECTED]) wrote: Don't get me wrong rasmus, I don't have any problems with you. It's just fishy when some guy in the UK was able to put together a php accelerator for free and a php encoder for $0.50 a pop while zend is charging several thousands. You have to wonder how much work zend is actually putting into their products to justify the price. Plus, these guys are the ones building php so something is not right. Zend is a commercial company, and has a right to charge for a product. My guess is that the developers of the Zend engine (PHP) would also make the best developers of any other product (like an accelerator or encoder) that is associated with PHP. If someone is charging so little for the product (it is Beta, so I wouldn't use it anyway), then there is a good *chance* that it's a far less superior product. Let me ask you Acer, how much money do you make a week from developing PHP web applications with the free PHP scripting language? The $2000 doesn't seem like much in comparison, does it. Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
you guys are the ones in denial and can't stand that someone is disagreeing with you. -Original Message- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 10:03 PM To: Acer; Danny Shepherd Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Protect PHP coding on 04/08/02 8:01 AM, Acer ([EMAIL PROTECTED]) wrote: Sorry for bothering you, I didn't think I would hit a nerve. Didn't think you'd hit a nerve? You're complaining profusely about the price charged for a commercial product, and bagging the crap out of the developers, contributors and people who made PHP what it is. Commercial products are a case of supply and demand. Zend are offering a certain suite of products for a certain price. If you wish to obtain that product, you pay that price. If you don't feel the product is worth the asking price, search for an alternative. If you can find an alternative product which suits your needs (like a free/cheaper encoder, a different language like JSP or ASP, or whatever), then by all means go and buy that one instead, and leave this list in peace. I found a suit the other day which was a perfect fit, and looked great. problem was it was $1000. So rather than complaining to the sales assistant, I looked around and found a similar suit for about half the price, and settled on that, even though there are some quality differences. Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
Acer, Give it up. We are tired of you. Sincerely, Maxim Maletsky PHP Beginner www.phpbeginner.com -Original Message- From: Acer [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 04, 2002 5:40 AM To: Justin French; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding okay you say zend gave me php and rasmus says 600 people gave me php. you guys need to get your story right. -Original Message- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 9:44 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Re: Protect PHP coding on 03/08/02 11:57 PM, Manuel Lemos ([EMAIL PROTECTED]) wrote: The people for Zend have to eat to live. And don't we all? That is the main problem. If we need to pay USD $3,000 to be able to compile our PHP programs, doesn't that make not viable for most of us to sell our PHP programs as closed source? How much money do you make a week writing PHP scripts? Just remember, Zend gave you PHP, for free, to use in almost any commercial way you wish. My clients cant afford Zend, but when the right client comes along, it'll be my recommendation without hesitation. Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
i actually pointed this out awhile ago that there will be a competing product for the encoder and accelerator so i didn't see a point in zend continuing to destroy php's chances. i am trying to discuss this normally but i guess you forgot that someone told me to bug off or the other guy that told me to f***k off. i guess you could define popular in different ways but how many people actually know what php is and what are the odds are getting someone to pay you to do php. those are my measures. -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 11:18 PM To: Acer Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Protect PHP coding 1. You complain about Zend charging for a product when someone else has created an equivalent open source product. 2. You support ColdFusion and ASP when someone else has created an equivalent open source product. The point is that you need better logic in your arguments before you will receive thoughtful answers. Your questions seem more like adolescent attacks, and your arguments have no merit. Thus, the responses you have received are similar to responses you will receive anywhere when your purpose appears to only be to pick a fight. If you ask intelligent questions or make intelligent arguments, people will assume you are an intelligent person and deserving of a thoughtful answer. As for PHP in the marketplace, I would argue that it is the most popular Web scripting language in the world with ColdFusion and JSP being close contenders and ASP being successful only because of the Microsoft believers (who are switching to PHP and others more because of the poor quality of IIS than the poor quality and non-portability of ASP). I make a very nice living programming in PHP, and most of the job offers I receive are for PHP, even though I have extensive experience in ColdFusion and other Web scripting languages (even ASP). But, you know what? No one cares. The people who contribute to PHP do so because they enjoy it. People like Rasmus enjoy it so much that they put up with adolescent crap on this list from time to time and even provide undeserving responses to useless drivel. You're not going to alter anyone's idea of PHP with baseless attacks. It's the same approach as politicians who try to attack their opponents; you just end up looking like a fool, and no one believes you anyway. People who like it will use it. People who don't won't. Now can we end the spam? Chris Acer wrote: Okay fine whatever. Let's just continue sticking our heads in the sand and pretend php developers isn't last on the list of jobs available compared to asp, jsp and cf developers. That topic isn't important so back to normal and I'll ask a php question. What's the difference between = and ==? I'm too lazy to read the manual. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
if you can't debate the issues then get out. -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: August 4, 2002 12:00 AM To: 'Acer'; 'Justin French'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding Acer, Give it up. We are tired of you. Sincerely, Maxim Maletsky PHP Beginner www.phpbeginner.com -Original Message- From: Acer [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 04, 2002 5:40 AM To: Justin French; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding okay you say zend gave me php and rasmus says 600 people gave me php. you guys need to get your story right. -Original Message- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 9:44 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Re: Protect PHP coding on 03/08/02 11:57 PM, Manuel Lemos ([EMAIL PROTECTED]) wrote: The people for Zend have to eat to live. And don't we all? That is the main problem. If we need to pay USD $3,000 to be able to compile our PHP programs, doesn't that make not viable for most of us to sell our PHP programs as closed source? How much money do you make a week writing PHP scripts? Just remember, Zend gave you PHP, for free, to use in almost any commercial way you wish. My clients cant afford Zend, but when the right client comes along, it'll be my recommendation without hesitation. Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
Acer, I can, we all can, but this is OFF-TOPIC. You are insisting on your ideas on this mailing list. We DO disagree with you, yet, we PREFER to drop this thread off THIS list. Please start looking for a right place and right people and tell them what you think about Zend, PHP, ASP and JSP. This mailing list discusses general php problems. Zend's pricing is not our problem. Sincerely, Maxim Maletsky PHP Beginner www.phpbeginner.com -Original Message- From: Acer [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 04, 2002 5:57 AM To: [EMAIL PROTECTED]; 'Justin French'; [EMAIL PROTECTED]; php- [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding if you can't debate the issues then get out. -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: August 4, 2002 12:00 AM To: 'Acer'; 'Justin French'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding Acer, Give it up. We are tired of you. Sincerely, Maxim Maletsky PHP Beginner www.phpbeginner.com -Original Message- From: Acer [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 04, 2002 5:40 AM To: Justin French; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding okay you say zend gave me php and rasmus says 600 people gave me php. you guys need to get your story right. -Original Message- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 9:44 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Re: Protect PHP coding on 03/08/02 11:57 PM, Manuel Lemos ([EMAIL PROTECTED]) wrote: The people for Zend have to eat to live. And don't we all? That is the main problem. If we need to pay USD $3,000 to be able to compile our PHP programs, doesn't that make not viable for most of us to sell our PHP programs as closed source? How much money do you make a week writing PHP scripts? Just remember, Zend gave you PHP, for free, to use in almost any commercial way you wish. My clients cant afford Zend, but when the right client comes along, it'll be my recommendation without hesitation. Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Protect PHP coding
i did drop it and then a whole bunch of you late comers piled in again so why don't you give it up. BTW did i mention the core php group are a click? i'm sure all of them are busily emailing each other saying oh what a jerk, we are doing a great job, don't listen to that guy, you guys are the best! keep up the good work! -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: August 4, 2002 12:22 AM To: 'Acer'; 'Justin French'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding Acer, I can, we all can, but this is OFF-TOPIC. You are insisting on your ideas on this mailing list. We DO disagree with you, yet, we PREFER to drop this thread off THIS list. Please start looking for a right place and right people and tell them what you think about Zend, PHP, ASP and JSP. This mailing list discusses general php problems. Zend's pricing is not our problem. Sincerely, Maxim Maletsky PHP Beginner www.phpbeginner.com -Original Message- From: Acer [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 04, 2002 5:57 AM To: [EMAIL PROTECTED]; 'Justin French'; [EMAIL PROTECTED]; php- [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding if you can't debate the issues then get out. -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: August 4, 2002 12:00 AM To: 'Acer'; 'Justin French'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding Acer, Give it up. We are tired of you. Sincerely, Maxim Maletsky PHP Beginner www.phpbeginner.com -Original Message- From: Acer [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 04, 2002 5:40 AM To: Justin French; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding okay you say zend gave me php and rasmus says 600 people gave me php. you guys need to get your story right. -Original Message- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: August 3, 2002 9:44 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Re: Protect PHP coding on 03/08/02 11:57 PM, Manuel Lemos ([EMAIL PROTECTED]) wrote: The people for Zend have to eat to live. And don't we all? That is the main problem. If we need to pay USD $3,000 to be able to compile our PHP programs, doesn't that make not viable for most of us to sell our PHP programs as closed source? How much money do you make a week writing PHP scripts? Just remember, Zend gave you PHP, for free, to use in almost any commercial way you wish. My clients cant afford Zend, but when the right client comes along, it'll be my recommendation without hesitation. Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php