ZZEE PHPExe compiles PHP, HTML, Javascript and other web files into Windows GUI exes. You can rapidly develop Windows GUI applications by employing the familiar PHP web paradigm. You can use the same code for online and Windows applications with little or no modification.
http://www.zzee.com/phpexe/
Vezani blogovi:
No related posts
Was this article helful to you? If so, please click on the (+) [plus] sign below! It's Croatian digg ;-) Tnx!
Once you have your rough draft laid out in CSS, and you need to start adding style, Rounded Cornr can save you a lot of time. Rounded Cornr quickly and easily creates images and CSS code for different box styles in an easy to use interface. It also offers an option to code it using only one image for all four corners, saving a minimal amount of bandwidth.
Nedavno sam se nasao u situaciji da sam zbog ogromne navale (unmetered, ali ogranicen bw) morao naci hitno rjesenje, ili trpiti bujicu prigovora korisnika, ostrice tomahawka i voodoo kletve. Uglavnom, sadrzajno se radilo o fotkama, ali kad je pipa uska, a potraznaj velika -> sve steka. Srecom, trazeni materijal se mogao tocno odrediti i to je uvelike olaksalo rjesavanje problema.
Dakle, trebalo je neko brzo i handy rjesenje, bez previse kodiranja i drkanja -> i tu se sjetih S3!
U vrlo, vrlo kratkom vremenu (kojih 15tak minuta efektivno), uz malu pomoc kolege Kukija (rewrite rule), moze se:
- regati S3 account
- prilagoditi posluzivanje na serveru (redirect na S3 za trazenim sadrzajima pomocu .htaccesa) - ovo je jednostavan file requst rule za sve fileove u odredjenom direktoriju
RewriteEngine on
RewriteCond ^/%{REQUEST_FILENAME} !-f
RewriteRule ^(.+) http://bucket.s3.amazonaws.com/dir/$1
- pronaci optimalno rjesenje za upload sadrzaja na S3 i uploadati fileove na S3 (pomocu odlicnog S3fox plugina za Firefox, vrijeme uploada nije uracunato u onih 45 minuta ) et voila - trazeni materijal se posluzuje po relativno jeftinim tarifama.
30tak GB, koliko je taj peak pojeo - nesto sitno iznad 5$. Very nice!
Kako je peak trajao svega dan-dva i promet se vratio u normalu, ali S3 ostaje kao jocker u rukavu za sve prometno zahtjevne situacije. Ovaj put ga imam u vidu i pri planiranju i razvoju, a ne samo kao vatrogasnu mjeru.
Evo par handy sitnica za PHP za streamanje (korisno kod velikih datoteka) na S3 server.
http://www.ogleearth.com/2007/07/kmls_region_ama.html
http://neurofuzzy.net/index.php?s=s3 + http://www.neurofuzzy.net/2006/08/26/amazon-s3-php-class-update/
http://www.missiondata.com/blog/linux/49/s3-streaming-with-php/
http://cesarodas.com/2007/09/php-amazon-s3-stream-wrapper.html
http://www.phpclasses.org/browse/package/4144.html
Odlican primjer .htaccess-a koji bi trebao odbiti dobar dio napada se moze naci ovdje: My Webapplication Firewall Tutorial. Najbolja preporuka za ovaj vid zastite lezi u cinjenici da je pravila sastavila osoba kojoj je domena securitya web aplikacija dobro poznata.
ovakav ili slican .htaccess + ModSecurity + dobro definirana pravila na HW/SW firewallu (block all, allow only necessary na ogranicenim IP rangeovima) i server bi mogao biti poprilicno siguran…
Many people know from their own experience that it’s not easy to install an Apache web server and it gets harder if you want to add MySQL, PHP and Perl.
XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use - just download, extract and start.
Eh, eh… tako je to kad se idu instalirati zadnje verzije APC-a
Configuration: Apache2, PHP4.x + APC 3.0.18
Simptomi: Korisnik dobije Error403, u Apache error logu
“(24)Too many open files: /home/site/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable”
You may know about the MySQL Cluster, which is a complex architecture to achieve high availability and performance. One of the advantages of MySQL Cluster is that each node is a peer to the others, whereas in a normal replicating system you have a master and many slaves, and applications must be careful to write only to the master.
The main disadvantages of MySQL Cluster are (as of MySQL 5.0):
* The database is in memory only, thus requiring more resources than a normal MySQL database. (MySQL 5.1 introduces table spaces, with the capability of storing nonindexed data on disk.)
* Some normal features are not available, such as full-text searches, referential integrity, and transaction isolation levels higher than READ COMMITTED.
There are some cases where the MySQL Cluster is the perfect solution, but for the vast majority, replication is still the best choice.
Replication, too, has its problems, though:
* There is a fastidious distinction between master and slaves. Your applications must be replication-aware, so that they will write on the master and read from the slaves. It would be so nice to have a replication array where you could use all the nodes in the same way, and every node could be at the same time master and slave.
* There is the fail-over problem. When the master fails, it’s true that you have the slaves ready to replace it, but the process of detecting the failure and acting upon it requires the administrator’s intervention.
Fixing these two misfeatures is exactly the purpose of this article. Using features introduced in MySQL 5.0 and 5.1, it is possible to build a replication system where all nodes act as master and slave at the same time, with a built-in fail-over mechanism.
Bambalam PHP EXE Compiler/Embedder is a free command line tool to convert PHP applications to standalone Windows .exe applications. The exe files produced are totally standalone, no need for php dlls etc. The php code is encoded using the Turck MMCache Encode library so it’s a perfect solution if you want to distribute your application while protecting your source code. The converter is also suitable for producing .exe files for windowed PHP applications (created using for example the WinBinder library). It’s also good for making stand-alone PHP Socket servers/clients (using the php_sockets.dll extension).
It’s NOT really a compiler in the sense that it doesn’t produce native machine code from PHP sources, but it works!