php-general Digest 20 Nov 2010 20:54:40 -0000 Issue 7046 Topics (messages 309577 through 309589):
How to protect the source code. 309577 by: Hans à hlin 309578 by: Daniel Molina Wegener 309579 by: Jay Blanchard 309580 by: Bastien Koert 309581 by: Tamara Temple 309582 by: Daniel P. Brown 309583 by: Nathan Nobbe 309587 by: Hans à hlin My project requires creating office documents on PHP. Any recommendations on what to use? 309584 by: chetan ahuja 309588 by: Dan How good is IIS for hosting PHP? Can I get stuff like mod_rewrite rules, op-code caching, etc.? 309585 by: lavanya pandita 309586 by: Aman Singh MySQL Query Help 309589 by: Ben Miller Administrivia: To subscribe to the digest, e-mail: php-general-digest-subscr...@lists.php.net To unsubscribe from the digest, e-mail: php-general-digest-unsubscr...@lists.php.net To post to the list, e-mail: php-gene...@lists.php.net ----------------------------------------------------------------------
--- Begin Message ---Hi Does any one know if there is any way for me to protect my source code without the requirement of a extension being installed on the server? i.e encryption, obfusicator, script library, compile the code. Any idea is appreciated. Thanks / Hans ********************************************** Hans Åhlin Tel: +46761488019 icq: 275232967 http://www.kronan-net.com/ irc://irc.freenode.net:6667 - TheCoin **********************************************
--- End Message ---
--- Begin Message ---On Friday 19 November 2010, Hans Åhlin <ahlin.h...@kronan-net.com> wrote: > Hi Hello, > Does any one know if there is any way for me to protect my source code > without the requirement of a extension being installed on the server? > i.e encryption, obfusicator, script library, compile the code. You can use some proprietary tools like Zend Accelerator and ionCube: http://en.wikipedia.org/wiki/List_of_PHP_accelerators Also, Zend Optimizer is good tool. Those encoders do not require extension instalation on the server, once you /encode/ the source code, the encoder itself provides of third party libraries, where the only requirement is to have dl() enabled. > > Any idea is appreciated. > > Thanks / Hans > > > ********************************************** > Hans Åhlin > Tel: +46761488019 > icq: 275232967 > http://www.kronan-net.com/ > irc://irc.freenode.net:6667 - TheCoin > ********************************************** Best regards, -- Daniel Molina Wegener <dmw [at] coder [dot] cl> System Programmer & Web Developer Phone: +56 (2) 979-0277 | Blog: http://coder.cl/signature.asc
Description: This is a digitally signed message part.
--- End Message ---
--- Begin Message ---[snip]compile the code.[/snip] http://www.phpcompiler.org/
--- End Message ---
--- Begin Message ---On Fri, Nov 19, 2010 at 4:39 PM, Hans Åhlin <ahlin.h...@kronan-net.com> wrote: > Hi > Does any one know if there is any way for me to protect my source code > without the requirement of a extension being installed on the server? > i.e encryption, obfusicator, script library, compile the code. > > Any idea is appreciated. > > Thanks / Hans > > > ********************************************** > Hans Åhlin > Tel: +46761488019 > icq: 275232967 > http://www.kronan-net.com/ > irc://irc.freenode.net:6667 - TheCoin > ********************************************** > zend guard or phpencoder or ioncube GIYF -- Bastien Cat, the other other white meat
--- End Message ---
--- Begin Message ---On Nov 19, 2010, at 3:39 PM, Hans Åhlin wrote:Does any one know if there is any way for me to protect my source code without the requirement of a extension being installed on the server? i.e encryption, obfusicator, script library, compile the code.Perhaps it's just me, but I'm completely missing the point of this. How is someone going to get your code off of a server?
--- End Message ---
--- Begin Message ---On Fri, Nov 19, 2010 at 17:07, Tamara Temple <tamouse.li...@gmail.com> wrote: > > Perhaps it's just me, but I'm completely missing the point of this. How is > someone going to get your code off of a server? It's more likely that he's interested in learning how to protect code he will be distributing or otherwise delivering to a third party than worried about it being discovered on or taken from his server. That said, the OP may benefit from Hip-Hop by Facebook, which converts PHP code into optimized C++, which can then be compiled into an optimized binary. -- </Daniel P. Brown> Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/
--- End Message ---
--- Begin Message ---On Fri, Nov 19, 2010 at 3:07 PM, Tamara Temple <tamouse.li...@gmail.com>wrote: > > On Nov 19, 2010, at 3:39 PM, Hans Åhlin wrote: > > Does any one know if there is any way for me to protect my source code >> without the requirement of a extension being installed on the server? >> i.e encryption, obfusicator, script library, compile the code. >> > > Perhaps it's just me, but I'm completely missing the point of this. How is > someone going to get your code off of a server? most likely op intends to distribute code to others which they do not want to be recognizable yet still be runnable. one way to cope with this as mentioned before on this list is to provide a thin api client in non-obfusticated form for an api which houses most of the proprietary logic on a remote server. most (all?) of the proposed solutions require installations of non-standard extensions or runtime environments on the server for clients and that typically is not realistic. -nathan
--- End Message ---
--- Begin Message ---2010/11/19 Daniel P. Brown <daniel.br...@parasane.net> > > On Fri, Nov 19, 2010 at 17:07, Tamara Temple <tamouse.li...@gmail.com> wrote: > > > > Perhaps it's just me, but I'm completely missing the point of this. How is > > someone going to get your code off of a server? > > It's more likely that he's interested in learning how to protect > code he will be distributing or otherwise delivering to a third party > than worried about it being discovered on or taken from his server. > > That said, the OP may benefit from Hip-Hop by Facebook, which > converts PHP code into optimized C++, which can then be compiled into > an optimized binary. > > -- > </Daniel P. Brown> > Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting > (866-) 725-4321 > http://www.parasane.net/ It's mainly to protect the code from leaking when I or a client are using a shared-host. Then the other reason is so i can distribute the work for approval and then the code when I get paid.
--- End Message ---
--- Begin Message ---My project requires creating office documents on PHP. Any recommendations on what to use?
--- End Message ---
--- Begin Message ---On Nov 20, 2010, at 1:10 AM, chetan ahuja <chetanahuj...@gmail.com> wrote: > My project requires creating office documents on PHP. Any recommendations on > what to use? When you say office documents do you mean you have to create them using Microsoft office? Or just need to replicate current paper documents? If you need to replicate current paper documents into an electronic version that can automatically be filled in by using PHP, I would recommend FPDF.
--- End Message ---
--- Begin Message ---How good is IIS for hosting PHP? Can I get stuff like mod_rewrite rules, op-code caching, etc.?
--- End Message ---
--- Begin Message ---Check out http://learn.iis.net/page.aspx/773/how-to-install-the-microsoft-web-platform-for-php ?WT.mc_id=soc-c-in-loc--cfp/ Also mod_rewrite is possible: http://learn.iis.net/page.aspx/470/importing-apache-modrewrite-rules?WT.mc_id=soc-c-in-loc--cfp. Ditto for caching: http://www.iis.net/download/wincacheforphp On Sat, Nov 20, 2010 at 11:45 AM, lavanya pandita <lavanyapand...@gmail.com>wrote: > How good is IIS for hosting PHP? Can I get stuff like mod_rewrite rules, > op-code caching, etc.? >
--- End Message ---
--- Begin Message ---Hi, I'm building a website for a client in which I need to compare their products, side-by-side, but only include criteria for which all selected products have a value for that criteria. In my database (MySQL), I have a tables named "products","criteria" and "criteria_values" If I have something like $selected_product = array("1"=>"Product 1","2"=>"Product 2"...) // All products selected for comparison by the user I need to get only rows from "criteria" where there is a row in "criteria_values" matching "criteria.criteria_id" for each $selected_product - in other words, if any of the $selected_product does not have a row in "criteria_values" that matches "criteria.criteria_id", that criteria would not be returned. I hope that makes sense. I've played around with a few join queries, but none have given the desired results. Best I've been able to come up with so far is to query "criteria" for each DISTINCT(criteria_id) and then run through each $selected_product to make sure each has a criteria_value with a matching criteria_id, eliminating any criteria where the number of criteria_values < count($selected_product), but this seems pretty inefficient. Thanks in advance for any help. Ben Miller
--- End Message ---