Re: [PHP] lists, email, 1 each
What about sending the one-recipient message to a php script that would forward the message to as many addresses as you specify? Not very elegant but a fast fix. Jud Sent from my iPad Jud at bizville.com Phone 703-303-4271 On Jan 15, 2011, at 10:58 AM, kbai...@howlermonkey.net wrote: > ok, my site uses the Cpanel. Cpanel does NOT like creating forwarding aliases > with multiple TO address'. I want to make a bone butt simple list using a php > script, and this must accept a file with 2 email address' in it. Any advice? > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Best editor?
I recommend Coda for Mac (about $100) as editor. And MAMP as a web server for testing PHP files locally. Jud Sent from my iPad Jud at bizville.com Phone 703-303-4271 On Aug 3, 2011, at 9:26 AM, Steve Staples wrote: > On Wed, 2011-08-03 at 09:22 -0400, Matty Sarro wrote: >> Hey everyone, >> I am a super newbie just beginning to learn PHP. Awhile ago, I had >> used aptana for dabbling with php and was amazed to find out that it >> had a built in php interpreter so I could do some minor testing >> without having to upload everything to a web server, or have a web >> server locally. Flash forward to now, and it looks like that >> functionality doesn't exist anymore (at least not by default). >> >> So, I'm curious what editors are out there? Are there any out there >> which will let me test PHP files without having to upload everything >> every time I edit it? Any help would be greatly appreciated. Thanks! >> -Matty >> > > I personally use Komodo IDE, but there are lots out there. There is the > Eclipse with PHP, or there was the way I learned, NotePad (then switched > to EditPlus+) > > Steve > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: testing
Regardless, I am the beneficiary of someone's good work all these years and I, for one, appreciate it. Jud On 8/5/11 4:45 AM, David Robley wrote: Daniel Brown wrote: On Thu, Aug 4, 2011 at 10:39, Jim Giner wrote: Mailing list, newsgroup, either one - something's changed in the last week or so to interrupt the smooth (or semi-smooth) functioning of it. The only messages I'm seeing currently are the ones in this single topic. Why is that??? Actually, we haven't changed anything at all. It's always been temperamental, but it's always just been a small additional offering. As Ash said, this is a mailing list, not a newsgroup. The fact that we offer a newsgroup interface at all is by all means eligible for discontinuation, since only about six people use it in any given year. /me wonders who the other five are :-) Cheers -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Sniping on the List
Isn't Eastern time zone minus 5 not plus 5 hours of GMT? Jud Sent from my iPad Jud at bizville.com Phone 703-303-4271 On Nov 21, 2011, at 11:34 PM, Tedd Sperling wrote: > Why is that? By what you said, shouldn't the reports be offset (+5 hours) by > the local timezone differences? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP book recommendations>
I second O'Reilly's PHP Cookbook. Another recommendation is Larry Ullman's books, especially HP Advanced for the World Wide Web. I try to triangulate, using several books that come at the code differently. Jud. Judson Vaughn [EMAIL PROTECTED] | [EMAIL PROTECTED] Seiter Vaughn Communications 12455 Plowman Court Herndon, VA 20170 703.450.9740 svc Matthew Weier O'Phinney wrote: * Daniel Purdy <[EMAIL PROTECTED]>: [snip] I'm looking for an easy to read PHP book that will help me learn a solid foundation in PHP. I'm already familiar with the language but want to make sure I'm coding in the most efficient manner. What's a few of the better books out there? [/snip] [snip jblanchard:] I personally like the O'Reilly books on PHP, especially the PHP Cookbook [/snip] My personal favorites are the ones with the bright red covers published by wrox (they are usually just titled the language, so in this case PHP). I have found they provide excellent quick reference and also are great for sitting down and reading through to get a better grasp of the language. HTH! I cannot disagree more. I have a copy of "Professional PHP Programming" from circa 2000. It has a ton of real-world examples... that are completely insecure and display really bad programming habits. Additionally, the function listings at the back are not indexed, so if you don't know, for instance, that the function 'split' is a regular expression function, you'll never find it. The HTML reference was complete fluff (shouldn't have even been in the book). I honestly haven't found an introductory PHP book I could recommend -- I'd look for a good book on programming and/or programming practices for the web, and then figure out how to translate that into PHP (using php.net as a reference). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Catalog or cart
Ryan, Don't build your own. There are so many good things out there for free. It seems like you just need a simple cart that accommodates easy database entry. Like XCart, or OSCommerce, or the one others mention on this list. Jud. Judson Vaughn [EMAIL PROTECTED] | [EMAIL PROTECTED] Seiter Vaughn Communications 12455 Plowman Court Herndon, VA 20170 703.450.9740 svc Ryan A wrote: Hey all, I have a client who has a computer store, now he wants to put all his stuff in one site. He does not want to do any selling from his site, but just list all his items. After looking via google and the the usual script sites, agora cart looks pretty good and easy to maintain, other choices X-Cart,oscommerce,phpcatalog I dont really want to build this from scratch as I am sure a lot of very very good solutions are already out there and i would rather use the time instead to either tweak the software to his particular needs/requests for example: he wants a few lines and a picture(optional) of his product (eg: a HP printer) and when clicked on it should pop up a window with that products details. or cleaning up his design, digital snaps etc I've never really worked on a site like this before so I would appreciate any recommendations you have towards a cart or catalog system thats has worked really well for you, or you heard is good or you helped develop etc I would like a cart/catalog that is open source (does not have to be free..but not expensive) so i can play with the code if need be. The reason i was leaning towards a cart is, if he ever decides to sell online, i dont want to build a whole extra piece of software to go with the catalog. Thanks in advance, Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Open source portal systems???
I recommend Mambo or Geeklog. They aren't overdone and pretty easy to implement. Best of all, they are free. Jud. Judson Vaughn [EMAIL PROTECTED] | [EMAIL PROTECTED] Seiter Vaughn Communications 12455 Plowman Court Herndon, VA 20170 703.450.9740 svc Kostyantyn Shakhov wrote: I've got an order for the media portal. Thus, I'm looking for an open source portal systems. First that comes to my mind is PHP-Nuke, but I heared that it requires a powerful server and i'll have just a middle-level one. So, could someone knows another PHP-based open source portal systems? Thank you in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] software catalog
X-Cart has a very nice feature for delivering "intangibles". But it is around $285. Jud. Judson Vaughn [EMAIL PROTECTED] | [EMAIL PROTECTED] Seiter Vaughn Communications 12455 Plowman Court Herndon, VA 20170 703.450.9740 svc Richard Lynch wrote: Hey! Anybody know of a "software catalog" (or cart preferably) that is free? A site i am working for sells software, now they want to have a cart feature so people can put the packages in a cart and get discounts etc if they purchase more than 1 product...they are using 2checkout for processing. I checked the usual places and google of "php software cart" but got back garbled results, most of that carts are for tangible products :-( This might have "sells intangibles" as a feature check point: http://l-i-e.com/compare/index.htm?date=1970-01-01 Or you can add it and check back after some people "vote" Disclaimer: I hacked this up after the umpteen flame war about PHP Shopping Carts on this list in, oh, call it 2000 or so... God only knows which of those solutions is way out of date or whatever. Caveat Emptor. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Why PHP4?
Kudos to Richard. If its fixed, don't break it. Jud. == Per Jessen wrote: Richard Heyes wrote: I'm interested - why are people still using PHP4? It's been over 4 years (I think) - plenty of time to upgrade to five. Migration issues for instance - we have quite a bit of code that uses sablotron - in PHP5 that's been changed to libxslt, which requires extensive code-changes. Also, something about setlocale() got regressed (and never fixed) in 4.3.10 or thereabouts, which means we have at least one app that's running on 4.3.8. Finally - why migrate? What's the rush? Lots of people are still running back-level software - e.g. apache, mysql, php, gcc, linux, you name it. *In our shop, migrating working PHP code has one of the lowest priorities*. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] redirecting to a success page
Group, I have a create_login.php page, which works (it inserts data into the database), but I need for the script once executed to redirect to a success.php page. It doesn't do this and I can't figure out how to do it. I've included a portion of the script below. This was created by Dreamweaver MX and modified by me. The original script, created by Dreamweaver, gives an error that says header has already been sent. I tried different options to no avail. I realize this script is now seriously hosed but thought I would include it anyway since others may be using Dreamweaver. Anybody know a simple fix for this? I have a feeling that it's right in front of me but I'm just not getting it. Jud. Judson Vaughn [EMAIL PROTECTED] | [EMAIL PROTECTED] Seiter Vaughn Communications 12455 Plowman Court Herndon, VA 20170 703.450.9740 svc === $editFormAction = $HTTP_SERVER_VARS['PHP_SELF']; if (isset($HTTP_SERVER_VARS['QUERY_STRING'])) { $editFormAction .= "?" . $HTTP_SERVER_VARS['QUERY_STRING']; } if ((isset($HTTP_POST_VARS["MM_insert"])) && ($HTTP_POST_VARS["MM_insert"] == "form1")) { $insertSQL = sprintf("INSERT INTO xcart_customers (login, usertype, membership, password, firstname, lastname, email, pending_membership) VALUES ( %s ,%s, %s, %s, %s, %s, %s, %s)", GetSQLValueString($HTTP_POST_VARS['login'], "text"), GetSQLValueString($HTTP_POST_VARS['usertype'], "text"), GetSQLValueString($HTTP_POST_VARS['membership'], "text"), GetSQLValueString($HTTP_POST_VARS['password'], "text"), GetSQLValueString($HTTP_POST_VARS['firstname'], "text"), GetSQLValueString($HTTP_POST_VARS['lastname'], "text"), GetSQLValueString($HTTP_POST_VARS['email'], "text"), GetSQLValueString($HTTP_POST_VARS['pending_membership'], "text")); mysql_select_db($database_courses1, $courses1); $Result1 = mysql_query($insertSQL, $courses1) or die(mysql_error()); $insertGoTo = "success.php"; === -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] do this OR that
Group, I have a function that grades a quiz. I want to show a page if the student scores 80% or above. Currently, the script reads: $total = ($mygrade/$quiz->grade) ; if ($total > .80) { That means that if you score 80% precisely, you don't get the follow-up script. I believe I should re-write it like this: $total = ($mygrade/$quiz->grade) ; if ($total > .80 | .80) { Is that right? Thanks in advance for your help. Jud. -- Judson Vaughn [EMAIL PROTECTED] | [EMAIL PROTECTED] Seiter Vaughn Communications 12455 Plowman Court Herndon, VA 20170 703.450.9740 svc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php