[PHP] Question about PHP-CGI, mysqld and sudden spiking average load readings on Linux Virtual Dedicated Server running CentOS 6.3
I have noticed when doing a top via SSH on my GoDaddy virtual dedicated server that every time a user logs in in the COMMAND column I see the PHP-CGI process start to run, followed by mysqld. Often when these two processes run I start to see a spike in average load, and sometimes this spike spins out of control to the point that when trying to log on to my Moodle 2.3.2 LMS I get an 500 Internal Server Error from Apache. Now, what I'd like to know given the fact that I have only 2GBytes of RAM and am sharing a processor with other users :-( is if there is any way to make sure my PHP 5.3.3 is properly configured. I am given, for example, a choice between CGI, fastCGI and Apache in my Plesk panel, and I am not quite sure how to optimize things for my environment. I went to the Moodle.org site to try and see what's the right setting, but it's not clear if the persons writing there have a different setup or not. Unfortunately, it's impossible to get specs on my VDS's processor from the fine folks at GoDaddy, and perhaps there is just a simple processor power issue going on here, but I only have 30 students and only a handful going in simultaneously. And at times my average load can move from .08 to 1.5+ and all the way up to 2+ within the space of a few seconds. I should point out that at one point it was discovered by GoDaddy technicial people that a user was running a rogue process that overtaxing resources. But perhaps I also need to tweak my installation despite this incident. Any help here would be appreciated.
[PHP] Question about PHP FPM and shared memory
Hello list, I am trying to start PHP FPM with 2600 worker pools with ondemand processmanager. Each for one domain. The problem is now, that the php-fpm quits with: ERROR: pid 10937, fpm_shm_alloc(), line 28: unable to allocate 1040 bytes in shared memory: Cannot allocate memory: Cannot allocate memory (12) The server is 32bit :( and has 12GB of ram. I have tried to raise the SHMMAX and SHMALL settings via sysctl, but the problem isn't gone. Do you have any hints ? Thx and greetings, Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about PHP FPM and shared memory
On 11/23/2011 08:25 PM, Daniel Betz wrote: Hello list, I am trying to start PHP FPM with 2600 worker pools with ondemand processmanager. Each for one domain. The problem is now, that the php-fpm quits with: ERROR: pid 10937, fpm_shm_alloc(), line 28: unable to allocate 1040 bytes in shared memory: Cannot allocate memory: Cannot allocate memory (12) The server is 32bit :( and has 12GB of ram. I have tried to raise the SHMMAX and SHMALL settings via sysctl, but the problem isn't gone. Do you have any hints ? Thx and greetings, Daniel How much did you set it and were those changes applied? -- Nilesh Govindarajan http://nileshgr.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question on PHP 6 and static calls to instance methods.
On 5/3/08, Adam Richardson [EMAIL PROTECTED] wrote: I have a quick question on what's coming in PHP 6. I've incorporated use of the ability to call instance methods through static calls, allowing for me to mimic multiple inheritance without having to make edits to classes that are already working because of the behavior of '$this' when instance methods are called statically. As stated on in the basics section on classes and objects: $this is a reference to the calling object (usually the object to which the method belongs, but can be another object, if the method is called statically from the context of a secondary object). I've made great use of that functionality in my framework. However, It sounds like this is going to cause a fatal error in PHP6. Is this in fact true? And, if the behavior is going to change, can somebody explain what the impetus for this change was? this is an interesting feature; i was not previously aware of it. its something akin to javascripts concept of the execution context and the apply(), call() methods. i think it would be better if the class that used the $this keyword whereby it was made to refer to the instance of the caller, have access to the protected members of the other class. i think this would be reasonable because the client has to invoke the method on the class that intends to use the $this keyword in the context of its caller; essentially sanctioning access to protected members. i think the feature would be quite awesome if that were the case and i can imagine instances where i would use it. -nathan
[PHP] Question on PHP 6 and static calls to instance methods.
I have a quick question on what's coming in PHP 6. I've incorporated use of the ability to call instance methods through static calls, allowing for me to mimic multiple inheritance without having to make edits to classes that are already working because of the behavior of '$this' when instance methods are called statically. As stated on in the basics section on classes and objects: $this is a reference to the calling object (usually the object to which the method belongs, but can be another object, if the method is called statically from the context of a secondary object). I've made great use of that functionality in my framework. However, It sounds like this is going to cause a fatal error in PHP6. Is this in fact true? And, if the behavior is going to change, can somebody explain what the impetus for this change was? Thank you very much for your time, Adam Adam Richardson Envision Internet Consulting, LLC Phone: (517)623-0485 Services and insight for building effective, user-oriented websites.
[PHP] Question on PHP 6 and static calls to instance methods.
I've incorporated use of the ability to call instance methods through static calls, allowing for me to mimic multiple inheritance without having to make edits to classes that are already working because of the behavior of '$this' when instance methods are called statically. As stated on in the basics section on classes and objects: $this is a reference to the calling object (usually the object to which the method belongs, but can be another object, if the method is called statically from the context of a secondary object). I've made great use of that functionality in my framework. However, It sounds like this is going to cause a fatal error in PHP6. Is this in fact true? And, if the behavior is going to change, can somebody explain what the impetus for this change was? Thank you very much for your time, Adam Adam Richardson Envision Internet Consulting, LLC Phone: (517)623-0485 Services and insight for building effective, user-oriented websites.
Re: [PHP] Question on PHP 6 and static calls to instance methods.
You would have better luck posing this question to the internals list: [EMAIL PROTECTED] Cheers, Rob. On Sat, 2008-05-03 at 17:32 -0400, Adam Richardson wrote: I've incorporated use of the ability to call instance methods through static calls, allowing for me to mimic multiple inheritance without having to make edits to classes that are already working because of the behavior of '$this' when instance methods are called statically. As stated on in the basics section on classes and objects: $this is a reference to the calling object (usually the object to which the method belongs, but can be another object, if the method is called statically from the context of a secondary object). I've made great use of that functionality in my framework. However, It sounds like this is going to cause a fatal error in PHP6. Is this in fact true? And, if the behavior is going to change, can somebody explain what the impetus for this change was? Thank you very much for your time, Adam Adam Richardson Envision Internet Consulting, LLC Phone: (517)623-0485 Services and insight for building effective, user-oriented websites. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Question About PHP Includes
Hi, I help maintain a Movable Type install for a non-profit organization. Things have worked well with the site but the other day the home page went blank and the rest of the pages lost all of their formatting. I've done some debugging and it seems that some include statements are no longer working. Here is the code: ?php ini_set(open_basedir,ini_get(include_path).:/some/absolute/path/to/httpdocs); ini_set(include_path,ini_get(include_path).:/some/absolute/path/to/httpdocs/Includes); $title = 'Some Non-Profit'; @include('header.inc'); $rawevents= implode(\n, file('//some/absolute/path/to/httpdocs/Includes/home_include-events')); $events = stripmtpara($rawevents); ? !-- * MAIN CONTENT SECTION ** -- ?php @include('homeheader.inc'); ? This code has worked forever so I'm not sure what's up. Based on my debugging I've found that: 1. The lines starting with $rawevents and $events, when commented out, allow the page to be rendered, but without the header information. 2. If I change the absolute paths in the ini_set statements to be relative paths I get my header information. I'm stumped...any ideas? I'm running PHP 5.2.5. Thanks! Jon -- View this message in context: http://www.nabble.com/Question-About-PHP-Includes-tp16467560p16467560.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question About PHP Includes
On Thu, Apr 3, 2008 at 11:22 AM, jwynacht [EMAIL PROTECTED] wrote: Hi, I help maintain a Movable Type install for a non-profit organization. Things have worked well with the site but the other day the home page went blank and the rest of the pages lost all of their formatting. I've done some debugging and it seems that some include statements are no longer working. Here is the code: ?php ini_set(open_basedir,ini_get(include_path).:/some/absolute/path/to/httpdocs); ini_set(include_path,ini_get(include_path).:/some/absolute/path/to/httpdocs/Includes); $title = 'Some Non-Profit'; @include('header.inc'); [snip!] Have you tried removing error buffering on the include() statement? Just remove the @ and see if there's any errors output on the screen or to the log. -- /Daniel P. Brown Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo., and shared hosting starting @ $2.50/mo. Just ask! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question About PHP Includes
On Thu, Apr 3, 2008 at 11:42 AM, Jon Wynacht [EMAIL PROTECTED] wrote: Hi Dan, I just tried that and didn't see any errors on the screen or in my log file. I'm really quite stumped and am wondering if my ISP made some changes on their end? Thanks, Jon Please keep all replies on-list, Jon, so others may benefit when searching the web and the archives. If you're on a shared host, that is most likely the reason it's happening: your host likely made a change without informing you. Since you can get everything to work with relative paths, but not absolute paths, it sounds like your account has been chroot'd. If you can't use relative paths for some reason, try speaking with your host to have the chroot (jail) removed for that account. -- /Daniel P. Brown Ask me about: Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo., and shared hosting starting @ $2.50/mo. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question About PHP Includes
Whoopssorry abut the reply ;-( Thanks for the advice...I'll start making the changes in the path. Cheers, Jon On Apr 3, 2008, at 8:56 AM, Daniel Brown wrote: On Thu, Apr 3, 2008 at 11:42 AM, Jon Wynacht [EMAIL PROTECTED] wrote: Hi Dan, I just tried that and didn't see any errors on the screen or in my log file. I'm really quite stumped and am wondering if my ISP made some changes on their end? Thanks, Jon Please keep all replies on-list, Jon, so others may benefit when searching the web and the archives. If you're on a shared host, that is most likely the reason it's happening: your host likely made a change without informing you. Since you can get everything to work with relative paths, but not absolute paths, it sounds like your account has been chroot'd. If you can't use relative paths for some reason, try speaking with your host to have the chroot (jail) removed for that account. -- /Daniel P. Brown Ask me about: Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo., and shared hosting starting @ $2.50/mo. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] question about php with sql database
Sudhakar wrote: instead of using mysql database which is conventionally used as database with php, if sql server database is used with php are there any major differences to keep in mind. In syntax or what? Yes there are differences between the two as far as sql syntax goes. 1. are the connection statements ex = $conn = mysql_connect($hostname, $user, $dbpassword); etc does these remain the same or are they different. Of course they are different. Why would mysql_connect (note the MYSQL part of that) connect to anything but a mysql database? 2. unlike in mysql with phpmyadmin which is browser based to access databases and tables how to access sql server for the same functionality I think mssql has something like phpmyadmin built into the server itself. 3. can anyone provide a link about a manual for using sql database with php http://php.net/mssql -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] question about php with sql database
On Mar 18, 2008, at 1008PM, Sudhakar wrote: 1. are the connection statements ex = $conn = mysql_connect($hostname, $user, $dbpassword); etc does these remain the same or are they different. http://php.net/mssql 2. unlike in mysql with phpmyadmin which is browser based to access databases and tables how to access sql server for the same functionality http://www.mylittleadmin.com/en/welcome.aspx 3. can anyone provide a link about a manual for using sql database with php http://php.net/mssql -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] question about php with sql database
Again, another question better-asked on the PHP-DB list, so it's being CC'd there. Responses in-line On Wed, Mar 19, 2008 at 1:08 AM, Sudhakar [EMAIL PROTECTED] wrote: instead of using mysql database which is conventionally used as database with php, if sql server database is used with php are there any major differences to keep in mind. There are going to be some SQL syntax differences, yes. Despite the name Standard Query Language, it's not really standard by anything but the most basic of queries. 1. are the connection statements ex = $conn = mysql_connect($hostname, $user, $dbpassword); etc does these remain the same or are they different. No, that's for MySQL, hence the name of the function, mysql_connect(). You'll want to use mssql_connect() and the mssql_() family of functions. RTFM: http://php.net/mssql If you're on a *NIX-like box, you'll also need to build and install FreeTDS. 2. unlike in mysql with phpmyadmin which is browser based to access databases and tables how to access sql server for the same functionality STFW before asking here: http://www.google.com/search?q=phpmyadmin+sql+server 3. can anyone provide a link about a manual for using sql database with php Again, STFW and RTFM. http://www.google.com/search?q=php+sql+server http://php.net/mysql http://php.net/mssql Also, keep in mind that you'll have to rewrite all parts of your code that currently utilize MySQL to convert it to MSSQL/SQL Server. -- /Daniel P. Brown Forensic Services, Senior Unix Engineer 1+ (570-) 362-0283 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] question about php with sql database
instead of using mysql database which is conventionally used as database with php, if sql server database is used with php are there any major differences to keep in mind. 1. are the connection statements ex = $conn = mysql_connect($hostname, $user, $dbpassword); etc does these remain the same or are they different. 2. unlike in mysql with phpmyadmin which is browser based to access databases and tables how to access sql server for the same functionality 3. can anyone provide a link about a manual for using sql database with php thanks.
Re: [PHP] Question about PHP Licence and it's future!
On Sat, February 23, 2008 10:50 pm, Tamer Higazi wrote: I have asked myself a question. After I saw, that SAP will no more release future Versions of their open source Database MaxDB under the GPL License, I have asked myself either if this could happen with PHP. No. For starters, all the core developers are very committed to PHP being Open Source. Secondly, Zend has gone on record saying that the Zend Engine will always be Open Source. I know, cuz I said so when I worked there. :-) Who owns PHP? Is it Zend Technologies or the PHP Group itself? Who is the PHP Group and what makes the PHP Group? Who owns any GPL for FOSS-licensed software? The community. Who guaranties that future Versions of PHP stays open source and are being released under the Terms of the General Public Licenses? The community. There are MORE than enough users who would fork it in an instant if anybody was foolish enough to try and close it. Can future Versions from one day to the other no more being released under the GPL, only under a closed source license? Let us say, PHP would be distributed for several architectures only in binary forms and the PECL modules stay open source. Not gonna happen. -- Some people have a gift link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about PHP Licence and it's future!
On Tue, Feb 26, 2008 at 7:34 PM, Andrés Robinet [EMAIL PROTECTED] wrote: Yeah, FUTBOL, FUTBOL, FUTBOL! Look what's the first team according to FIFA http://www.fifa.com/worldfootball/ranking/lastranking/gender=m/fullranking.html He he he (now, I'll get tons of emails from Brazilians on this list) Or some US soccer freaks. In 26th place, that means we're in the 48th percentile. Imagine getting that on an IQ test instead of a score, you'd get a picture of a rock next to a zucchini with an arrow pointing to a picture of yourself, and the words these items make a set. -- /Dan Daniel P. Brown Senior Unix Geek ? while(1) { $me = $mind--; sleep(86400); } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Question about PHP Licence and it's future!
At 12:53 PM -0500 2/25/08, Andrés Robinet wrote: *gringos* started calling me Rob long ago. It's shorter, it's easier to pronounce and it's a short form for my last name (Robinet). Gringos? That brings up another subject, why is it that Caucasians don't have any offensive slang words? We are called by all sorts of slang (i.e., cracker, white-bread, hunkie, and so on), but we don't have something equivalent to the n-word/ No reply is needed -- just a comment. Thanks for pointing out the *who* instead of *that* :), since I didn't realized it until now. That's alright, many English writers get that wrong. You see, when the object is not a person, then the use of that is proper. However, if you are referring to a person, then who is proper. I see a similar thing with people using then when they mean than, but that may be a Brit thing -- like driving on the wrong side of the street or eating with their fork in the wrong hand -- you know one of those cultural things that went haywire. :-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Question about PHP Licence and it's future!
On Tue, 2008-02-26 at 12:30 -0500, tedd wrote: At 12:53 PM -0500 2/25/08, Andrés Robinet wrote: *gringos* started calling me Rob long ago. It's shorter, it's easier to pronounce and it's a short form for my last name (Robinet). Gringos? That brings up another subject, why is it that Caucasians don't have any offensive slang words? We are called by all sorts of slang (i.e., cracker, white-bread, hunkie, and so on), but we don't have something equivalent to the n-word/ No reply is needed -- just a comment. Whitey and redneck come to mind. Paleface maybe once upon a time :) Shrug. I know in other languages there are can be slang words that defer to Caucasians. I just can't remember any of them. Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about PHP Licence and it's future!
On 2/26/08, Robert Cummings [EMAIL PROTECTED] wrote: On Tue, 2008-02-26 at 12:30 -0500, tedd wrote: At 12:53 PM -0500 2/25/08, Andrés Robinet wrote: *gringos* started calling me Rob long ago. It's shorter, it's easier to pronounce and it's a short form for my last name (Robinet). Gringos? That brings up another subject, why is it that Caucasians don't have any offensive slang words? We are called by all sorts of slang (i.e., cracker, white-bread, hunkie, and so on), but we don't have something equivalent to the n-word/ No reply is needed -- just a comment. Whitey and redneck come to mind. Paleface maybe once upon a time :) Shrug. I know in other languages there are can be slang words that defer to Caucasians. I just can't remember any of them. Cheers, Rob. -- My black friends here at work tell me that 'cracker' is indeed the equivalent of the n-word. In fact, they tell me that they were warned by their parents not to use it and punished severely if they did. I'm talking about colleagues in their late 30's early 40's, so it may be a generational artifact. -- -David. When the power of love overcomes the love of power, the world will know peace. -Jimi Hendrix -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about PHP Licence and it's future!
On Tue, Feb 26, 2008 at 12:30 PM, tedd [EMAIL PROTECTED] wrote: At 12:53 PM -0500 2/25/08, Andrés Robinet wrote: *gringos* started calling me Rob long ago. It's shorter, it's easier to pronounce and it's a short form for my last name (Robinet). Gringos? That brings up another subject, why is it that Caucasians don't have any offensive slang words? We are called by all sorts of slang (i.e., cracker, white-bread, hunkie, and so on), but we don't have something equivalent to the n-word/ No reply is needed -- just a comment. Too bad, you get a reply anyway. That's EXACTLY the same thing I keep saying! In fact, Gringo is probably the most offensive, and even that doesn't phase me. Not only are none of the terms for whites offensive, none of them are funny words. I'll admit, I like the sound of some racial slurs and derogatory terms; NOT because of the hateful epithet and intonation, but because the word itself is funny. And I'm a firm believer that a word only carries as much power as you allow it. Of course, there's still a time and place for everything, and while I wouldn't ever scream NR at a black man, I can't help but laugh when I hear the word. -- /Dan Daniel P. Brown Senior Unix Geek ? while(1) { $me = $mind--; sleep(86400); } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about PHP Licence and it's future!
At 12:26 PM -0600 2/26/08, David Giragosian wrote: My black friends here at work tell me that 'cracker' is indeed the equivalent of the n-word. In fact, they tell me that they were warned by their parents not to use it and punished severely if they did. I'm talking about colleagues in their late 30's early 40's, so it may be a generational artifact. Now you tell me! All this time I thought they were asking for parrot food. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about PHP Licence and it's future!
tedd wrote: At 12:53 PM -0500 2/25/08, Andrés Robinet wrote: *gringos* started calling me Rob long ago. It's shorter, it's easier to pronounce and it's a short form for my last name (Robinet). Gringos? That brings up another subject, why is it that Caucasians don't have any offensive slang words? We are called by all sorts of slang (i.e., cracker, white-bread, hunkie, and so on), but we don't have something equivalent to the n-word/ No reply is needed -- just a comment. Thanks for pointing out the *who* instead of *that* :), since I didn't realized it until now. That's alright, many English writers get that wrong. You see, when the object is not a person, then the use of that is proper. However, if you are referring to a person, then who is proper. I see a similar thing with people using then when they mean than, but that may be a Brit thing -- like driving on the wrong side of the street or eating with their fork in the wrong hand -- you know one of those cultural things that went haywire. :-) Cheers, tedd They (anyone non-white) call us howlies in Hawaii I believe and it's not meant as a compliment. Regardless, most whites don't take any of these that negatively because we don't view ourselves as the oppressed and don't view the others as oppressors shouting offensive slang at us. Cinco de Mayo is big here in Texas and I held a Gringo de Mayo party last year on the 5th of May. It was a big hit! -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about PHP Licence and it's future!
At 2:44 PM -0600 2/26/08, Shawn McKenzie wrote: They (anyone non-white) call us howlies in Hawaii I believe and it's not meant as a compliment. Regardless, most whites don't take any of these that negatively because we don't view ourselves as the oppressed and don't view the others as oppressors shouting offensive slang at us. Well, that depends. Trying being born in the Ozarks. While Amos Andy was taken off the air for being stereotypical,our race can't get Hillbilly Bread off the shelves, Snuffy Smith out of cartoons, nor the Beverly Hillbillies off TV -- we're stereotyped as being incestuous, ignorant, barefoot, and our only attribute is that we can shoot straight. :-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about PHP Licence and it's future!
our only attribute is that we can shoot straight. :-) Cheers, tedd And jump really high... oh wait... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about PHP Licence and it's future!
On 2/26/08, Shawn McKenzie [EMAIL PROTECTED] wrote: They (anyone non-white) call us howlies in Hawaii I believe and it's not meant as a compliment. Regardless, most whites don't take any of these that negatively because we don't view ourselves as the oppressed and don't view the others as oppressors shouting offensive slang at us. It seems to me that we have many in U.S. society who still very much want to be thought of as being oppressed. Take this Black History Month business for example, I don't recall ever having anyone reminding me to celebrate American Indian Heritage Month. Or is it because I don't live near a casino? Seems a bit unfair, especially since I was never personally an oppressor of Native Americans or Blacks. But I still have to hear about certain celebrations, every year, for an entire month. I say drop all the silly heritage-related theme months completely and simply celebrate humanity not having blown itself up in the past year. I don't need a reason to drink but that'd be one I could use all the same. And for the all important record, my Mexican friend Lalo says gringo isn't nearly as potent an insult as it was back in the 70's when he actually used it towards Texans who didn't know or care that he was also a native Texan by birth. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Question about PHP Licence and it's future!
-Original Message- From: Shawn McKenzie [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 26, 2008 3:44 PM To: php-general@lists.php.net Subject: Re: [PHP] Question about PHP Licence and it's future! tedd wrote: At 12:53 PM -0500 2/25/08, Andrés Robinet wrote: *gringos* started calling me Rob long ago. It's shorter, it's easier to pronounce and it's a short form for my last name (Robinet). Gringos? That brings up another subject, why is it that Caucasians don't have any offensive slang words? We are called by all sorts of slang (i.e., cracker, white-bread, hunkie, and so on), but we don't have something equivalent to the n-word/ No reply is needed -- just a comment. Thanks for pointing out the *who* instead of *that* :), since I didn't realized it until now. That's alright, many English writers get that wrong. You see, when the object is not a person, then the use of that is proper. However, if you are referring to a person, then who is proper. I see a similar thing with people using then when they mean than, but that may be a Brit thing -- like driving on the wrong side of the street or eating with their fork in the wrong hand -- you know one of those cultural things that went haywire. :-) Cheers, tedd They (anyone non-white) call us howlies in Hawaii I believe and it's not meant as a compliment. Regardless, most whites don't take any of these that negatively because we don't view ourselves as the oppressed and don't view the others as oppressors shouting offensive slang at us. Cinco de Mayo is big here in Texas and I held a Gringo de Mayo party last year on the 5th of May. It was a big hit! -Shawn Well, I don't know why some people gives so much importance to words. But I think it's related to what someone said once (don't know who): The raw description of evil scandalizes people much more than the perpetration of it I have some friends who are called *gringo* and some others who are called *niger*. What's more, here in Argentina, many times we call ourselves *niger* (The Spanish word is *negro*) as you would say *buddy* (like *hey niger, let's play soccer tomorrow*), independently of skin color or social status. We also use the same word (*niger*) in a slighting way, referring to ignorant people or people with bad habits (among other things). But we rarely use *gringo* in a slighting way. More often than not we call *gringa* to a hot blonde woman. Now, in Mexico, a *gringo* would mean an US citizen most of the time, and it would be used in a pejorative way most of the time as well. I think you'd all benefit of reading http://en.wikipedia.org/wiki/Gringo: In South America, the word is not pejorative. In some countries it may be used to refer to any foreigner who does not speak Spanish, but in other countries it is used just or especially to refer to U.S. citizens; it may also be used to describe a blond or brunette white native person with soft facial features and light colored eyes. For instance, it is a popular nickname Now, why I said *gringos*? In my case gringos meant both US citizens and Caucasian people (specifically German people), and I didn't mean it in any pejorative way. My company's president (who started calling me Rob in the first place) is a native German, now living in Florida for several years. Same for her husband, and same for many business partners or clients or friends of her. And I have a very nice relationship with them, and they all call me Rob. If I wrote an email signing it *Regards, Andrés*, they wouldn't know who I am (lol). However, I must admit that I used the term *gringo* in the Mexican sense at least once in my life, but just for the fun of it (back in 2002 when I entered English chat rooms to perfection my English and learn a bit of the slang... I was such a dumbass, lol). IMHO, more important than words is the mouth that pronounces them and the ears that hear them, my father-in-law calls me *Mr Magoo* because of my glasses, and I call him *Viejo violeta* (something similar to *pervert*) and we get along very well (despite I've stolen her beloved daughter :D). Regards, Rob(inet) Andrés Robinet | Lead Developer | BESTPLACE CORPORATION 5100 Bayview Drive 206, Royal Lauderdale Landings, Fort Lauderdale, FL 33308 | TEL 954-607-4207 | FAX 954-337-2695 | Email: [EMAIL PROTECTED] | MSN Chat: [EMAIL PROTECTED] | SKYPE: bestplace | Web: bestplace.biz | Web: seo-diy.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Question about PHP Licence and it's future!
At 5:10 PM -0500 2/26/08, Andrés Robinet wrote: let's play soccer tomorrow Oh No, that's not the way you guys say it. You say it like: Let's play OOC tomorrow. So we can make a GOOALLL!!! :-) tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about PHP Licence and it's future!
On Tue, Feb 26, 2008 at 6:01 PM, tedd [EMAIL PROTECTED] wrote: At 5:10 PM -0500 2/26/08, Andrés Robinet wrote: let's play soccer tomorrow Oh No, that's not the way you guys say it. You say it like: Let's play OOC tomorrow. I believe the word is futbol. -- /Dan Daniel P. Brown Senior Unix Geek ? while(1) { $me = $mind--; sleep(86400); } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Question about PHP Licence and it's future!
-Original Message- From: Daniel Brown [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 26, 2008 6:22 PM To: tedd Cc: php-general@lists.php.net Subject: Re: [PHP] Question about PHP Licence and it's future! On Tue, Feb 26, 2008 at 6:01 PM, tedd [EMAIL PROTECTED] wrote: At 5:10 PM -0500 2/26/08, Andrés Robinet wrote: let's play soccer tomorrow Oh No, that's not the way you guys say it. You say it like: Let's play OOC tomorrow. I believe the word is futbol. -- /Dan Daniel P. Brown Senior Unix Geek ? while(1) { $me = $mind--; sleep(86400); } ? Yeah, FUTBOL, FUTBOL, FUTBOL! Look what's the first team according to FIFA http://www.fifa.com/worldfootball/ranking/lastranking/gender=m/fullranking.html He he he (now, I'll get tons of emails from Brazilians on this list) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Question about PHP Licence and it's future!
-Original Message- From: tedd [mailto:[EMAIL PROTECTED] Sent: Sunday, February 24, 2008 9:09 AM To: php-general@lists.php.net Subject: RE: [PHP] Question about PHP Licence and it's future! Rob (Other Rob that is actually called Andrés) Yeah, that confused me too. Especially when I saw you arguing with yourself. Also, the phrase: Rob (Other Rob that is actually called Andrés) would read better as: Rob (Other Rob who is actually called Andrés) Why don't you use the name Andrés ? That's much better than Rob anyway. ;-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com *gringos* started calling me Rob long ago. It's shorter, it's easier to pronounce and it's a short form for my last name (Robinet). So I just adopted it for simplicity. However it turns out to be a mess sometimes since they've called me *Robert*, *Robbie* and whatever you can imagine that starts with Rob (lol). Humility aside, Andrés is the best name ever! :). But my opinion might be just a bit biased (*bias* is such a fashion these days :)) Also, It's likely that you will find spelling and grammar issues all over in my writing, since I'm a Spanish speaker by birth and I still live in Argentina. Thanks for pointing out the *who* instead of *that* :), since I didn't realized it until now. Cheers, Rob(inet) Andrés Robinet | Lead Developer | BESTPLACE CORPORATION 5100 Bayview Drive 206, Royal Lauderdale Landings, Fort Lauderdale, FL 33308 | TEL 954-607-4207 | FAX 954-337-2695 | Email: [EMAIL PROTECTED] | MSN Chat: [EMAIL PROTECTED] | SKYPE: bestplace | Web: bestplace.biz | Web: seo-diy.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about PHP Licence and it's future!
On Sat, Feb 23, 2008 at 11:50 PM, Tamer Higazi [EMAIL PROTECTED] wrote: Hi! Hi!!! I have asked myself a question. And what answer did you get? After I saw, that SAP will no more release future Versions of their open source Database MaxDB under the GPL License, I have asked myself either if this could happen with PHP. The quick answer would be: no, nay, never. Who owns PHP? Is it Zend Technologies or the PHP Group itself? Who is the PHP Group and what makes the PHP Group? The beauty of open source: we all own it. Through permission granted by the PHP license, you can do almost anything you want with the PHP source. Including what's called forking: which, like a fork in the road, means to take the project in a slightly different direction. Who guaranties that future Versions of PHP stays open source and are being released under the Terms of the General Public Licenses? PHP was never GPL'd code. Check the license there are some pretty big differences. To answer your question, though, we all, as a community, ensure that PHP remains open source, in one form or another. Can future Versions from one day to the other no more being released under the GPL, only under a closed source license? Let us say, PHP would be distributed for several architectures only in binary forms and the PECL modules stay open source. Once again, it's not GPL, but I know what you're inferring. There's nothing to stop Zend or anyone else in the world from offering a closed source PHP, but you can bet your boxers (preferably clean and unworn) that it won't receive the same accolades or acceptance by the masses as the free and open source option. It may be better-accepted by high-spending commercial interests, but it won't exist on such a high majority of servers worldwide as it does now. These questions are for me very importand according to an commercial product which will be planed, designed, written and sold commercially. We are pendling between Ruby, Python and PHP5. Only the point written is unclear. For all intents and purposes, I implore you: fear not; for PHP is, was, and ever shall be! The project isn't going anywhere any time in the foreseeable future, Tamer. PHP as an open source language is indefinite. And on another note, if you're worried about a version you already have installed becoming commercialized, don't. It's virtually impossible. -- /Dan Daniel P. Brown Senior Unix Geek ? while(1) { $me = $mind--; sleep(86400); } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Question about PHP Licence and it's future!
-Original Message- From: Daniel Brown [mailto:[EMAIL PROTECTED] Sent: Monday, February 25, 2008 1:24 PM To: Andrés Robinet Cc: tedd; php-general@lists.php.net Subject: Re: [PHP] Question about PHP Licence and it's future! On Mon, Feb 25, 2008 at 1:23 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Mon, Feb 25, 2008 at 12:53 PM, Andrés Robinet [EMAIL PROTECTED] wrote: Thanks for pointing out the *who* instead of *that* :), since I didn't realized it until now. That's realize, Andrés. ;-P Oh, and by the way Thank you for subscribing to [EMAIL PROTECTED] Heh. -- /Dan Daniel P. Brown Senior Unix Geek ? while(1) { $me = $mind--; sleep(86400); } ? Oh dear, I think I can't help it! I'll need a good lawyer in order to avoid life imprisonment! But... in order to have a fair court on this trial, only people capable of quickly repeating tres tristes tigres comen trigo en un trigal in Spanish should be part of the jury. :) Regards, Rob(inet) Andrés Robinet | Lead Developer | BESTPLACE CORPORATION 5100 Bayview Drive 206, Royal Lauderdale Landings, Fort Lauderdale, FL 33308 | TEL 954-607-4207 | FAX 954-337-2695 | Email: [EMAIL PROTECTED] | MSN Chat: [EMAIL PROTECTED] | SKYPE: bestplace | Web: bestplace.biz | Web: seo-diy.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about PHP Licence and it's future!
On Feb 25, 2008, at 1:24 PM, Daniel Brown wrote: On Mon, Feb 25, 2008 at 1:23 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Mon, Feb 25, 2008 at 12:53 PM, Andrés Robinet [EMAIL PROTECTED] wrote: Thanks for pointing out the *who* instead of *that* :), since I didn't realized it until now. That's realize, Andrés. ;-P Oh, and by the way Thank you for subscribing to [EMAIL PROTECTED] Does that mean we can also subscribe to [EMAIL PROTECTED] ? I've always like the idea of being an outlaw... But the closet I ever came to that was a speeding ticket when I was 16! :P -- Jason Pruim Raoset Inc. Technology Manager MQC Specialist 3251 132nd ave Holland, MI, 49424-9337 www.raoset.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about PHP Licence and it's future!
On Mon, Feb 25, 2008 at 1:23 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Mon, Feb 25, 2008 at 12:53 PM, Andrés Robinet [EMAIL PROTECTED] wrote: Thanks for pointing out the *who* instead of *that* :), since I didn't realized it until now. That's realize, Andrés. ;-P Oh, and by the way Thank you for subscribing to [EMAIL PROTECTED] Heh. -- /Dan Daniel P. Brown Senior Unix Geek ? while(1) { $me = $mind--; sleep(86400); } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about PHP Licence and it's future!
On Mon, Feb 25, 2008 at 12:53 PM, Andrés Robinet [EMAIL PROTECTED] wrote: Thanks for pointing out the *who* instead of *that* :), since I didn't realized it until now. That's realize, Andrés. ;-P Rob, Robber, Robot, Robin-Laid-An-Egg -- /Dan Daniel P. Brown Senior Unix Geek ? while(1) { $me = $mind--; sleep(86400); } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about PHP Licence and it's future!
On Mon, 2008-02-25 at 13:24 -0500, Daniel Brown wrote: On Mon, Feb 25, 2008 at 1:23 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Mon, Feb 25, 2008 at 12:53 PM, Andrés Robinet [EMAIL PROTECTED] wrote: Thanks for pointing out the *who* instead of *that* :), since I didn't realized it until now. That's realize, Andrés. ;-P Oh, and by the way Thank you for subscribing to [EMAIL PROTECTED] *scuttles away to subscribe* -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about PHP Licence and it's future!
On Mon, Feb 25, 2008 at 1:45 PM, Jason Pruim [EMAIL PROTECTED] wrote: Does that mean we can also subscribe to [EMAIL PROTECTED] ? I've always like the idea of being an outlaw... But the closet I ever came to that was a speeding ticket when I was 16! :P Don't worry, J. With everything that's wrong with that message, you're already a Grammar Fugitive in our eyes. ;-P -- /Dan Daniel P. Brown Senior Unix Geek ? while(1) { $me = $mind--; sleep(86400); } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about PHP Licence and it's future!
On Mon, Feb 25, 2008 at 1:44 PM, Andrés Robinet [EMAIL PROTECTED] wrote: Oh dear, I think I can't help it! I'll need a good lawyer in order to avoid life imprisonment! But... in order to have a fair court on this trial, only people capable of quickly repeating tres tristes tigres comen trigo en un trigal in Spanish should be part of the jury. :) Conjeturo que es una buena cosa que entonces hablo español. Por lo menos un poco. ;-P -- /Dan Daniel P. Brown Senior Unix Geek ? while(1) { $me = $mind--; sleep(86400); } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about PHP Licence and it's future!
On Feb 25, 2008, at 1:59 PM, Daniel Brown wrote: On Mon, Feb 25, 2008 at 1:45 PM, Jason Pruim [EMAIL PROTECTED] wrote: Does that mean we can also subscribe to [EMAIL PROTECTED] ? I've always like the idea of being an outlaw... But the closet I ever came to that was a speeding ticket when I was 16! :P Don't worry, J. With everything that's wrong with that message, you're already a Grammar Fugitive in our eyes. ;-P Think that's bad... You should see my source code! $var= Sup_CAL- la_FRg=listic_x_b_al_a_doshes($VeRyImPoRtAnT_VaRiAbLe_NaMe_HeRe) :) -- Jason Pruim Raoset Inc. Technology Manager MQC Specialist 3251 132nd ave Holland, MI, 49424-9337 www.raoset.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about PHP Licence and it's future!
On Mon, Feb 25, 2008 at 3:51 PM, Tamer Higazi [EMAIL PROTECTED] wrote: Hey Daniel! Hey, Tamer! Thanks for your feedback. My pleasure. However, please keep all replies on-list as the discussion continues, because this also helps people who are attempting to find the information on the web locate it in the archives. Yes, meanwhile I figuered out (how lazy I am) that PHP is published through it's own license. Yes, sir. And don't worry I'm lazy as well. Just ask Pierre Joye on the Internals list (re: Gmail quoting)! ;-P Well, then you made me secure with your words. I was thinking allmost to switch to Python (which is really a great language) I think in future I make my comparisons between PHP5 and Python and make a performance test. Would hardly interist me. But shitt Python is really great. Python is a good language. I like it a lot for command line programming, but it's not as prolific and well-accepted as PHP is when considering a web language. But I am that hardcoded PHP, that I am not able to easy switch to any other language. Specially, that PHP in Version 5 gives me that OOP Aspects and full freedom I want. Yes, PHP5 went from being a crap-tastic piece of frustration when it was a release candidate to being one of the absolute best web-usable languages and versions (discounting CGI access, for those of you lawyers out there!) to exist to date, in my opinion. There's tremendous extensibility with very little overhead, and virtually zero financial layout. But take your fingers away from Ruby. How can somebody come to the ultimatively stupid idea to create for every small thing an object. No joke like VB.NET. I can't see the sense in having to define something in three lines (Ruby) when I can just use a built-in construct to do the same in one line (PHP). God thanks that I am able to write static methods, attributes in PHP5. SPL in PHP5 is great. Boah Yeah. In English, we'd say boo-yaa! ;-P Hope it stay open source for alll and ever all times. With your help and that of others continuing the spirit of the project, it will. Just make sure that, after you've taken enough from the PHP community (and the open source community as a whole) to get yourself going, you give back to help others learn as well. That's how the heart beats in open source. with kind regards from Cairo And a great big HELLO, WORLD! to Egypt from Scranton, Pennsylvania (United States). :-D -- /Dan Daniel P. Brown Senior Unix Geek ? while(1) { $me = $mind--; sleep(86400); } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Question about PHP Licence and it's future!
-Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Sunday, February 24, 2008 2:40 AM To: Tamer Higazi Cc: php-general@lists.php.net Subject: Re: [PHP] Question about PHP Licence and it's future! On Sun, 2008-02-24 at 06:50 +0200, Tamer Higazi wrote: Hi! I have asked myself a question. After I saw, that SAP will no more release future Versions of their open source Database MaxDB under the GPL License, I have asked myself either if this could happen with PHP. Who owns PHP? Is it Zend Technologies or the PHP Group itself? Who is the PHP Group and what makes the PHP Group? Who guaranties that future Versions of PHP stays open source and are being released under the Terms of the General Public Licenses? Can future Versions from one day to the other no more being released under the GPL, only under a closed source license? Let us say, PHP would be distributed for several architectures only in binary forms and the PECL modules stay open source. These questions are for me very importand according to an commercial product which will be planed, designed, written and sold commercially. We are pendling between Ruby, Python and PHP5. Only the point written is unclear. It doesn't matter. The PHP code as it is has been released under the PHP License. This means if the future versions were ever released under another license that was exclusionary, then there is still the opportunity to fork code released under the PHP license. Heck you can fork the PHP project now if you felt you could get the ball rolling with enough momentum for acceptance. If beleive the hardened PHP project is considered a fork despite the fact it generally keeps full compatibility while adding security enhancements. Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' Rob, Are you sure you can fork the *current* PHP version??? The hardened PHP project still complains with the PHP license I think. I don't think the current PHP version can be forked, you can fork PHP 3, but not PHP 5 for example. Maybe I'm totally wrong, but it doesn't matter, I don't think PHP will change its license in a substantial way, it wouldn't be profitable to anybody on the long run (including Zend) and everyone would start switching to, say, RoR. Just my uninformed and honest opinion. Regards, Rob (Other Rob that is actually called Andrés) Andrés Robinet | Lead Developer | BESTPLACE CORPORATION 5100 Bayview Drive 206, Royal Lauderdale Landings, Fort Lauderdale, FL 33308 | TEL 954-607-4207 | FAX 954-337-2695 | Email: [EMAIL PROTECTED] | MSN Chat: [EMAIL PROTECTED] | SKYPE: bestplace | Web: bestplace.biz | Web: seo-diy.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Question about PHP Licence and it's future!
-Original Message- From: Andrés Robinet [mailto:[EMAIL PROTECTED] Sent: Sunday, February 24, 2008 3:41 AM To: 'Robert Cummings'; 'Tamer Higazi' Cc: php-general@lists.php.net Subject: RE: [PHP] Question about PHP Licence and it's future! -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Sunday, February 24, 2008 2:40 AM To: Tamer Higazi Cc: php-general@lists.php.net Subject: Re: [PHP] Question about PHP Licence and it's future! On Sun, 2008-02-24 at 06:50 +0200, Tamer Higazi wrote: Hi! I have asked myself a question. After I saw, that SAP will no more release future Versions of their open source Database MaxDB under the GPL License, I have asked myself either if this could happen with PHP. Who owns PHP? Is it Zend Technologies or the PHP Group itself? Who is the PHP Group and what makes the PHP Group? Who guaranties that future Versions of PHP stays open source and are being released under the Terms of the General Public Licenses? Can future Versions from one day to the other no more being released under the GPL, only under a closed source license? Let us say, PHP would be distributed for several architectures only in binary forms and the PECL modules stay open source. These questions are for me very importand according to an commercial product which will be planed, designed, written and sold commercially. We are pendling between Ruby, Python and PHP5. Only the point written is unclear. It doesn't matter. The PHP code as it is has been released under the PHP License. This means if the future versions were ever released under another license that was exclusionary, then there is still the opportunity to fork code released under the PHP license. Heck you can fork the PHP project now if you felt you could get the ball rolling with enough momentum for acceptance. If beleive the hardened PHP project is considered a fork despite the fact it generally keeps full compatibility while adding security enhancements. Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' Rob, Are you sure you can fork the *current* PHP version??? The hardened PHP project still complains with the PHP license I think. I don't think the current PHP I meant *complies* not *complains* sorry (lol, I really need that cup of coffee now) Regards, Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Question about PHP Licence and it's future!
On Sun, 2008-02-24 at 03:49 -0500, Andrés Robinet wrote: -Original Message- From: Andrés Robinet [mailto:[EMAIL PROTECTED] Sent: Sunday, February 24, 2008 3:41 AM To: 'Robert Cummings'; 'Tamer Higazi' Cc: php-general@lists.php.net Subject: RE: [PHP] Question about PHP Licence and it's future! -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Sunday, February 24, 2008 2:40 AM To: Tamer Higazi Cc: php-general@lists.php.net Subject: Re: [PHP] Question about PHP Licence and it's future! On Sun, 2008-02-24 at 06:50 +0200, Tamer Higazi wrote: Hi! I have asked myself a question. After I saw, that SAP will no more release future Versions of their open source Database MaxDB under the GPL License, I have asked myself either if this could happen with PHP. Who owns PHP? Is it Zend Technologies or the PHP Group itself? Who is the PHP Group and what makes the PHP Group? Who guaranties that future Versions of PHP stays open source and are being released under the Terms of the General Public Licenses? Can future Versions from one day to the other no more being released under the GPL, only under a closed source license? Let us say, PHP would be distributed for several architectures only in binary forms and the PECL modules stay open source. These questions are for me very importand according to an commercial product which will be planed, designed, written and sold commercially. We are pendling between Ruby, Python and PHP5. Only the point written is unclear. It doesn't matter. The PHP code as it is has been released under the PHP License. This means if the future versions were ever released under another license that was exclusionary, then there is still the opportunity to fork code released under the PHP license. Heck you can fork the PHP project now if you felt you could get the ball rolling with enough momentum for acceptance. If beleive the hardened PHP project is considered a fork despite the fact it generally keeps full compatibility while adding security enhancements. Rob, Are you sure you can fork the *current* PHP version??? The hardened PHP project still complains with the PHP license I think. I don't think the current PHP I meant *complies* not *complains* sorry (lol, I really need that cup of coffee now) Yes you can fork it. The hardened PHP project complains that they're not allowed to use PHP in the name hence they use Suhosin. They mostly complain because they asked for permission and were denied and yet looking around you see things like PHPBB and other stuff including PHP in the name. The difference however is that PHPBB uses PHP as it's language but does not actually modify or distribute the PHP source itself. Specifically permission to fork is granted by this phrase: Redistribution and use in source and binary forms, with or without modification, is permitted provided that the following conditions are met: And then there's a bunch of things you must adhere to which are fairly run of the mill. Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Question about PHP Licence and it's future!
Rob (Other Rob that is actually called Andrés) Yeah, that confused me too. Especially when I saw you arguing with yourself. Also, the phrase: Rob (Other Rob that is actually called Andrés) would read better as: Rob (Other Rob who is actually called Andrés) Why don't you use the name Andrés ? That's much better than Rob anyway. ;-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Question about PHP Licence and it's future!
Hi! I have asked myself a question. After I saw, that SAP will no more release future Versions of their open source Database MaxDB under the GPL License, I have asked myself either if this could happen with PHP. Who owns PHP? Is it Zend Technologies or the PHP Group itself? Who is the PHP Group and what makes the PHP Group? Who guaranties that future Versions of PHP stays open source and are being released under the Terms of the General Public Licenses? Can future Versions from one day to the other no more being released under the GPL, only under a closed source license? Let us say, PHP would be distributed for several architectures only in binary forms and the PECL modules stay open source. These questions are for me very importand according to an commercial product which will be planed, designed, written and sold commercially. We are pendling between Ruby, Python and PHP5. Only the point written is unclear. for any answer Thank you very much Tamer Higazi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about PHP Licence and it's future!
On Sun, 2008-02-24 at 06:50 +0200, Tamer Higazi wrote: Hi! I have asked myself a question. After I saw, that SAP will no more release future Versions of their open source Database MaxDB under the GPL License, I have asked myself either if this could happen with PHP. Who owns PHP? Is it Zend Technologies or the PHP Group itself? Who is the PHP Group and what makes the PHP Group? Who guaranties that future Versions of PHP stays open source and are being released under the Terms of the General Public Licenses? Can future Versions from one day to the other no more being released under the GPL, only under a closed source license? Let us say, PHP would be distributed for several architectures only in binary forms and the PECL modules stay open source. These questions are for me very importand according to an commercial product which will be planed, designed, written and sold commercially. We are pendling between Ruby, Python and PHP5. Only the point written is unclear. It doesn't matter. The PHP code as it is has been released under the PHP License. This means if the future versions were ever released under another license that was exclusionary, then there is still the opportunity to fork code released under the PHP license. Heck you can fork the PHP project now if you felt you could get the ball rolling with enough momentum for acceptance. If beleive the hardened PHP project is considered a fork despite the fact it generally keeps full compatibility while adding security enhancements. Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Question about PHP Licence and it's future!
-Original Message- From: Tamer Higazi [mailto:[EMAIL PROTECTED] Sent: Saturday, February 23, 2008 11:50 PM To: php-general@lists.php.net Subject: [PHP] Question about PHP Licence and it's future! Hi! I have asked myself a question. After I saw, that SAP will no more release future Versions of their open source Database MaxDB under the GPL License, I have asked myself either if this could happen with PHP. Who owns PHP? Is it Zend Technologies or the PHP Group itself? Who is the PHP Group and what makes the PHP Group? Who guaranties that future Versions of PHP stays open source and are being released under the Terms of the General Public Licenses? Can future Versions from one day to the other no more being released under the GPL, only under a closed source license? Let us say, PHP would be distributed for several architectures only in binary forms and the PECL modules stay open source. These questions are for me very importand according to an commercial product which will be planed, designed, written and sold commercially. We are pendling between Ruby, Python and PHP5. Only the point written is unclear. for any answer Thank you very much Tamer Higazi First off, PHP is not GPL-ed. Check this http://www.php.net/license/ Now, if all you plan to do is to *write PHP code you can sell*, I'd say you rest assured. Nothing like MaxDB issue will ever happen to PHP (though things like this could happen for PECL extensions who depend on third-party libraries I think). So, unless you are planning to distribute the Zend Scripting Engine ALONE as part of a commercial product (say you want to use PHP to script against a desktop application, like VBA works for MS Word), you are also safe about Zend. Keep in mind also, that the worst problem with closed source software is lack of support if the company goes out of business. I believe that will never happen to PHP. It can happen to some extensions, but only those that rely on third-party functionality (say, the mysql extension), so the problem is not PHP itself (and you'll have the same problem for every other language). As this is not an authoritative answer, you'd better off sending an email to [EMAIL PROTECTED] explaining what you are planning to do and your concerns on the future of PHP. Regards, Rob Andrés Robinet | Lead Developer | BESTPLACE CORPORATION 5100 Bayview Drive 206, Royal Lauderdale Landings, Fort Lauderdale, FL 33308 | TEL 954-607-4207 | FAX 954-337-2695 | Email: [EMAIL PROTECTED] | MSN Chat: [EMAIL PROTECTED] | SKYPE: bestplace | Web: bestplace.biz | Web: seo-diy.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Question for PHP Arrays
Hi, I'm making a PHP Installer that is customizable by using plugins, I haven't used PHP for a while and which I have forgotten some things about PHP *eek*.. Anyway, I want to know how to add things to an array. Like this: $foobar = array() $foobar['rar']['miaw'] Would that output come out (for the array) as: array( 'rar' = 'miaw' ) Please correct me if wrong. Also I need to ask one more question, would this work: $foobar = array() function addToArray($int, $value) { $foobar[$int][$value] } And with a function call addToArray(1, meow) output as the array looking like: array( '1' = 'meow' ) -- Thanks, dphiance (Saul Rennison)
Re: [PHP] Question for PHP Arrays
On 27 Apr 2006, at 20:51, Saul Rennison wrote: Anyway, I want to know how to add things to an array. Like this: $foobar = array() $foobar['rar']['miaw'] Would that output come out (for the array) as: array( 'rar' = 'miaw' ) No, it would create a multi-dimensional array that contains nothing. You want: $foobar['rar'] = 'miaw'; Please correct me if wrong. Also I need to ask one more question, would this work: $foobar = array() function addToArray($int, $value) { $foobar[$int][$value] } And with a function call addToArray(1, meow) output as the array looking like: array( '1' = 'meow' ) No (because of the mistake commented on above). However another issue at play here is scope. $foobar the array will not be visible to the function addToArray unless you make it global. Cheers, Rich -- http://www.corephp.co.uk Zend Certified Engineer PHP Development Services -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question for PHP Arrays
Saul Rennison wrote: Hi, I'm making a PHP Installer that is customizable by using plugins, I haven't used PHP for a while and which I have forgotten some things about PHP *eek*.. $hiddenKnowledge = unforgetPHP(); Anyway, I want to know how to add things to an array. Like this: $foobar = array() $foobar['rar']['miaw'] Would that output come out (for the array) as: array( 'rar' = 'miaw' ) Please correct me if wrong. Also I need to ask one more question, would this work: $foobar = array() function addToArray($int, $value) { $foobar[$int][$value] } And with a function call addToArray(1, meow) output as the array looking like: I think you have been eating too much Ruby (or something like that) because that function won't return or output anything. you need to always specify a value to return. just out of interest; what is stopping you from cut/pasting those 3-4 lines into a file and running it? (it would take less time than it did for you to write your post and the answer you get back from the php binary/module would have been alot less sarcastic than mine) array( '1' = 'meow' ) -- Thanks, dphiance (Saul Rennison) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Locking in PHP (Question for PHP Gurus)
Hi All, I am using PHP on Apache/Linux with mod_php4. I need to implement a lazy cache for some resource which should be updated say every 1 hour in a way that the first person who arrives after an hour will be updating the cache. As you can imagine, I need to implement a write lock in this case, the idea is: 1. Retrieve the cached data from database (it is cached because generating it is expensive) 2: If (now() - cache update date) 1 hour, try to get a lock on some resource 3.a: If lock is acquired, regenerate the cache, update it in the db, unlock the resource, return 3.b: If lock can not be acquired, just display the version retrieved from cache in step 1 and return This will be slightly different in case of mysql (i.e. lock is blocking in mysql), but I guess you get the idea. In this case, there are two types of locks I can use it looks like: i) File locking: You can try to lock a file in non-blocking mode ii) Use mysql lock/unlock table to manage the locking mechanism, i.e. create some dummy file. I would prefer File Locking since it support non-blocking locks and would definitely be faster than mysql, but I see 2 problems with this: 1. What happens if the php code that locked this file (probably the PHP thread in Apache, if mod4php supports threading) throws an error or dies! Will it be automatically unlocked? Or since I am using mod_php4 and the thread is somehow alive, the lock will be there for a long time? 2. The following warning from php manual: On some operating systems flock() is implemented at the process level. When using a multithreaded server API like ISAPI you may not be able to rely on flock() to protect files against other PHP scripts running in parallel threads of the same server instance! What do you guys recommend? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Locking in PHP (Question for PHP Gurus)
Cabbar Duzayak wrote: Hi All, I am using PHP on Apache/Linux with mod_php4. I need to implement a lazy cache for some resource which should be updated say every 1 hour in a way that the first person who arrives after an hour will be updating the cache. As you can imagine, I need to implement a write lock in this case, the idea is: Why? As long as you do an atomic replace of the cache data, you shouldn't have any problems. You may have 2 requests both trying to create the new cache entry, but that is much cleaner than having to deal with locking. Do a tempnam() to get a temp file to write to and then do a rename() if this is a filesystem thing. Basically avoid locking at all costs in a web app. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Locking in PHP (Question for PHP Gurus)
I would use a cronjob to make the entry rather than a user, why let the poor guy wait for you to create the content You may have 2 requests both trying to create the new cache entry, but that is much cleaner than having to deal with locking. Do a tempnam() to get a temp file to write to and then do a rename() if this is a filesystem thing. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Locking in PHP (Question for PHP Gurus)
Lars B. Jensen wrote: I would use a cronjob to make the entry rather than a user, why let the poor guy wait for you to create the content You may have 2 requests both trying to create the new cache entry, but that is much cleaner than having to deal with locking. Do a tempnam() to get a temp file to write to and then do a rename() if this is a filesystem thing. Right, if he has access to create cron jobs, that is of course by far the superior approach. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Locking in PHP (Question for PHP Gurus)
Hello, on 04/06/2005 10:56 PM Cabbar Duzayak said the following: I am using PHP on Apache/Linux with mod_php4. I need to implement a lazy cache for some resource which should be updated say every 1 hour in a way that the first person who arrives after an hour will be updating the cache. As you can imagine, I need to implement a write lock in this case, the idea is: 1. Retrieve the cached data from database (it is cached because generating it is expensive) 2: If (now() - cache update date) 1 hour, try to get a lock on some resource 3.a: If lock is acquired, regenerate the cache, update it in the db, unlock the resource, return 3.b: If lock can not be acquired, just display the version retrieved from cache in step 1 and return This will be slightly different in case of mysql (i.e. lock is blocking in mysql), but I guess you get the idea. In this case, there are two types of locks I can use it looks like: i) File locking: You can try to lock a file in non-blocking mode ii) Use mysql lock/unlock table to manage the locking mechanism, i.e. create some dummy file. I use this all the time with PHP under Apache 1.x for caching all sorts of data coming from the database: content, user profiles, sessions, everything. It works wonders. The speedup is enormous because accessing a file on disk is much faster than executing a SQL query even when the database server caches queries. flock() is not slow at all. That is a myth. You just should pay attention that you must do everything the same way. There can only be one process locking the file exclusively for writing but there can be many processes accessing the file in shared mode. As long as you are not updating a file literally on every second, the flock contention time is neglectable. To simplify generic file caching using flock to prevent that concurrent accesses corrupt a cache file being updated, I use this class store arbitrary data in cache files. It assures that the cache files are updated only when there is one process trying write them. This very same site on which the class is available uses the class to cache everything for several years. Currently it is holding more than 80,000 cache files that occupy over 400 MB. The good thing about caching practically everything is that you can avoid even establishing database connections once the cache files are upto date. This makes your site handle access surges much better, as the excess of Web server processes that are created does not lead to new database connections. http://www.phpclasses.org/filecache To do what you want, just set the expiry time of your cache files to 3600 seconds. The class also supports preemptive cache invalidations, meaning, it can safely invalidate a cache file in order to force that it needs to be regenerated next time it is accessed. Maybe you do not need this, but I use that feature all the time to force the cache for a page or something else to be redone after the site updates the database information from which the cached data was taken. For instance, you are caching the content for an article page. If that article is updated, you invalidate the cache, so next time the article page is accessed the cached content is always refreshed. I would prefer File Locking since it support non-blocking locks and would definitely be faster than mysql, but I see 2 problems with this: 1. What happens if the php code that locked this file (probably the PHP thread in Apache, if mod4php supports threading) throws an error or dies! Will it be automatically unlocked? Or since I am using mod_php4 and the thread is somehow alive, the lock will be there for a long time? AFAIK, PHP implicitly closes opened files on exit and so any outstanding file locks are released. 2. The following warning from php manual: On some operating systems flock() is implemented at the process level. When using a multithreaded server API like ISAPI you may not be able to rely on flock() to protect files against other PHP scripts running in parallel threads of the same server instance! This warning is mute because most people is not running PHP with multi-thread mode servers (read MS IIS or Apache 2). The problem is that several PHP extensions are not reentrant and so they can't run reliably in concurrent threads. So, since you are most likely using PHP in non-multithreaded server (Apache 1.x or something else using PHP CGI executable) never mind what the manual says about flock(). -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about php forwarding to javascript
On Sun, 15 Feb 2004 07:52:11 +0100 (CET), you wrote: Could be missing the point here because your question is quite vague. However... I am using a web page that uses the following php code to display the contents of a dynamically update webpage: ?php include(http://.../source.xls); ? Is it possible to forward the contents of the code to a javascript? eg if the file source.xls contains the text help me is it possible to send that text to a javascript? I am quite stuck here so any help would be greatly appreciated. source.xls just contains a bit of text, right? And you want that to end up in a Javascript variable? First, I'd use file_get_contents() or file() to get the contents of source.xls into a PHP array. $source = file_get_contents ('http://.../source.xls'); Next, you have to remember that Javascript is just text, the same as HTML. So you can embed $source into a Javascript block in the same way as you would embed it into HTML. script language=Javascript function doAlert () { var source = ? echo ($source) ?; alert (source); } /script a href='javascript:doAlert()'Click Me/a Apologies for any mistakes in the Javascript, but I'm sure you get the idea. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Question about php forwarding to javascript
Thanks! It works like a charm! /peter On Sun, 15 Feb 2004 07:52:11 +0100 (CET), you wrote: Could be missing the point here because your question is quite vague. However... I am using a web page that uses the following php code to display the contents of a dynamically update webpage: ?php include(http://.../source.xls); ? Is it possible to forward the contents of the code to a javascript? eg if the file source.xls contains the text help me is it possible to send that text to a javascript? I am quite stuck here so any help would be greatly appreciated. source.xls just contains a bit of text, right? And you want that to end up in a Javascript variable? First, I'd use file_get_contents() or file() to get the contents of source.xls into a PHP array. $source = file_get_contents ('http://.../source.xls'); Next, you have to remember that Javascript is just text, the same as HTML. So you can embed $source into a Javascript block in the same way as you would embed it into HTML. script language=Javascript function doAlert () { var source = ? echo ($source) ?; alert (source); } /script a href='javascript:doAlert()'Click Me/a Apologies for any mistakes in the Javascript, but I'm sure you get the idea. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Question about php forwarding to javascript
Hi! I am using a web page that uses the following php code to display the contents of a dynamically update webpage: ?php include(http://.../source.xls); ? Is it possible to forward the contents of the code to a javascript? eg if the file source.xls contains the text help me is it possible to send that text to a javascript? I am quite stuck here so any help would be greatly appreciated. regards Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] question: installing PHP with mysql isn't working?
Hi, Trying to install PHP with the ability to interact with MySQL. In my configuration, I've included the option: --with-mysql=shared,/usr There are no compile errors. Any idea why PHP is not recognizing any MySQL functions? Thanks, Don --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.465 / Virus Database: 263 - Release Date: 3/25/2003 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Question on PHP
Hi, I would like put this question directly to Rasmus creator of this wonderful server side scripting language. Is there a possibility with the future release of PHP to add extension in a easier manner. For every feature client wants there is a recompile involved. Wouldn't this be much easier if we just compile the appropriate library and just point the directory through php.ini. In that way most of the hosting provider would have update to date version. I also like features of gefionsoftware's LiteWebServer wherein they provide an admin screen and it allows us to update to the latest version without pain. Here I am talking about both upgrading to latest version as well as adding extensions. Have a great day. Karthikeyan B -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Question abt php installation
Hi, I have succesfully installed php with Apache and Mysql under FreeBSD; everything is working great...but after installing it I realized that I need some more extensions installed as well, such as GD and so on. Now, the question is: What should I do to add the new extensions to the existing installation without having to reinstall everything again? Will I keep the old settings if I only add the new extension??? Thanks for anybody's help.
[PHP] question concerning php parsing
if i have functions.php with 10 functions in it and include the file in my main php file and call 1 of the 10 functions in my program does the whole functions.php have to be parsed or does it just include the function that is needed. I am just curious as I plan to use the phpa on my scripts and if I don't need all those functions to be in memory just the function that i call. Hope i did not confuse anybody. Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] question concerning php parsing
On Tue, Aug 13, 2002 at 09:22:47AM -0400, Randy Johnson wrote: if i have functions.php with 10 functions in it and include the file in my main php file and call 1 of the 10 functions in my program does the whole functions.php have to be parsed or does it just include the function that is needed. The entire included file is parsed into memory. --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
[PHP] Question about PHP
Hi, I am not sure if it is a right email address to ask question, if it is not plz disregard this email :) if it is this is my Q: I am reading a book about php, in its security section, it says it is more secure, as well as more efficient when installing PHP, to install PHP as a SAPI module for your Web server that to run it via the CGI interface do you know how can I do that? what is SAPI? Thank you for your time _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Question about PHP
It's the first option in the installation instructions. Follow the part about installing PHP as an Apache module and you'll be set. -Original Message- I am reading a book about php, in its security section, it says it is more secure, as well as more efficient when installing PHP, to install PHP as a SAPI module for your Web server that to run it via the CGI interface do you know how can I do that? what is SAPI? This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message. Thank you very much. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Question and PHP DOMXML and Apache
Have the new DOM XML functions been included in the latest version of PHP (4.2) when I try to use one of the new functions, such as domxml_open_file() I get an error message saying I am calling and undefined function. Has anyone successfully used these new functions with PHP 4.2? My second question is about apache. How do I do a clean shutdown of apache? When I shut I down through the console, the next time I start it up I am told something about an unclean shutdown... Thanks.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Question about Php/Mysql. Unsure if it's enabled.
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 08 January 2002 07:15 Ok, basically I only configured php with apxs However, I noticed the mysql was supported (It said so on php info page) How is that possible? MySQL support is built in to PHP. Does this mean it really supports it? or am I just not understanding something? It really supports it -- but, of course, that's of no use to you if you don't have a MySQL server running! It even says zend server is in use, yet I never installed zend. The version of php is 4.0.5 on apache webserver on linux The Zend scripting language engine is a major part of PHP, so of course you will see that that is installed. Cheers! Mike - Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Question about Php/Mysql. Unsure if it's enabled.
Hello, my subject is a bit confusing, I bet. I need a bit more speace to explain this situation. Ok, basically I only configured php with apxs However, I noticed the mysql was supported (It said so on php info page) How is that possible? I never tested a mysql script yet on this server (linux) yet, I just had to ask if this is normal and how this is possible. Or if I am misinterpreting the output. The file actually prints: mysql MySQL Support enabled Active Persistent Links 0 Active Links0 Client API version 3.23.32 MYSQL_INCLUDE MYSQL_LFLAGS MYSQL_LIBS Does this mean it really supports it? or am I just not understanding something? It even says zend server is in use, yet I never installed zend. The version of php is 4.0.5 on apache webserver on linux How is this possible? Just curious Thanks
[PHP] Question about PHP and images
I wanted to call a PHP-Skript through a img-Tag and PHP sends a image back. How can I do that? Schrotty.* I'm German, so please be patient with my English. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] question about PHP manual and ImageCopyMerge() function
For the ImageCopyMerge() function in the PHP manual (http://php.net/manual/en/function.imagecopymerge.php) it states at the top that (PHP 4 = 4.0.1) is required in order to use it. However, farther down the page, it says Note: This function was added in PHP 4.0.6 Am I mis-reading something? Can anyone tell me which is the correct version of PHP in which this function was added? Thanks. --kurt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] question about php sessions
Hi =) Is it possible to track a user session across multiple domains? We have several related web sites and want to enable a user to login through one site and end up logged in to them all. I tested and it didn't work and I'm guessing it's a limitation of cookies. As in, a cookie created under one domain isn't available to another. Is this right or is there a way to accomplish what I'm talking about? Thanks =) -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] question about PHP use
Hi, I've been looking at using PHP but am unsure if it will do what I want. What first attracted me to PHP is the claim that I can embed PHP code within my html file and have it build dynamic content. Perhaps someone on the list can confirm that ic can do as follows: I have a web page that contains various graphics and text. At the bottom of the page, I have a table of one row by two columns. Using PHP and MySQL (I already know that PHP can access MySQL databases), I want to read data from a table and dynamically grow my table (add several rows, each with two columns). So I am guessing that I will be inserting PHP code and HTML code intertwined? IS PHP my ticket for accomplishing the above? Thanks, Don -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] question about PHP use
Yeppers, it'll do that for you. Cal http://www.calevans.com -Original Message- From: Don [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 07, 2001 4:09 PM To: php list Subject: [PHP] question about PHP use Hi, I've been looking at using PHP but am unsure if it will do what I want. What first attracted me to PHP is the claim that I can embed PHP code within my html file and have it build dynamic content. Perhaps someone on the list can confirm that ic can do as follows: I have a web page that contains various graphics and text. At the bottom of the page, I have a table of one row by two columns. Using PHP and MySQL (I already know that PHP can access MySQL databases), I want to read data from a table and dynamically grow my table (add several rows, each with two columns). So I am guessing that I will be inserting PHP code and HTML code intertwined? IS PHP my ticket for accomplishing the above? Thanks, Don -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] question about PHP use
yes, that is what PHP does best (displaying dynamic content from a database). - Original Message - From: Don [EMAIL PROTECTED] To: php list [EMAIL PROTECTED] Sent: Wednesday, February 07, 2001 2:08 PM Subject: [PHP] question about PHP use Hi, I've been looking at using PHP but am unsure if it will do what I want. What first attracted me to PHP is the claim that I can embed PHP code within my html file and have it build dynamic content. Perhaps someone on the list can confirm that ic can do as follows: I have a web page that contains various graphics and text. At the bottom of the page, I have a table of one row by two columns. Using PHP and MySQL (I already know that PHP can access MySQL databases), I want to read data from a table and dynamically grow my table (add several rows, each with two columns). So I am guessing that I will be inserting PHP code and HTML code intertwined? IS PHP my ticket for accomplishing the above? Thanks, Don -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] question about PHP use
Don wrote: I have a web page that contains various graphics and text. At the bottom of the page, I have a table of one row by two columns. Using PHP and MySQL (I already know that PHP can access MySQL databases), I want to read data from a table and dynamically grow my table (add several rows, each with two columns). So I am guessing that I will be inserting PHP code and HTML code intertwined? IS PHP my ticket for accomplishing the above? It is one possible solution to your problem, yes. ASP, JSP and ColdFusion can do this as well, but being a PHP-lover I would recommend PHP. Hell, I know _why_ I love PHP... Wagner -- Three may keep a secret, if two of them are dead. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]