background preloader

FPDF

FPDF

http://www.fpdf.org/

JpGraph, Como guardar la gráfica en un archivo tipo PNG (imagen) PHP Hola saludos a todos, antes de empezar quiero aclarar que en esta entrada solo vamos a ver algunas lineas que nos ayudarán a que la gráfica que hemos creado se almacene en alguna ruta con formato PNG para poderla visualizar posteriormente o cargarla posterirmente más fácil. Así que, si lo que deseas querido lector es saber como crear la gráfica te recomiendo que visites las otras entradas del blog. Ahora por que queremos guardarla como imagen, ¿Que no ya es una imagen? hasta ahorita se podría decir que no, por que como lo hemos estado manejando, la ruta que le damos al objeto <img> es la del archivo php en donde generamos la gráfica, cada que queremos ver la gráfica se desarrolla todo el proceso, y si tienes varias gráficas que serán estáticas pues lo mejor es correr un solo proceso generar la imagen y solo cargar la imagen o tambien te puede servir en el caso de que quieras dar la opción de descargar la gráfica. El código completo quedaría de la siguiente manera. <?

Easy PHP Blackhole Trap with WHOIS Lookup for Bad Bots One of my favorite security measures here at Perishable Press is the site’s virtual Blackhole trap for bad bots. The concept is simple: include a hidden link to a robots.txt-forbidden directory somewhere on your pages. Bots that ignore or disobey your robots rules will crawl the link and fall into the trap, which then performs a WHOIS Lookup and records the event in the blackhole data file. Once added to the blacklist data file, bad bots immediately are denied access to your site. PEAR - PHP Extension and Application Repository Librería cURL en PHP Introducción: Conociendo la librería cURL ¡Hola a todos! despues de un mes de bastante trabajo y poco tiempo libre para escribir, vuelvo a la carga con un nuevo tutorial en PHP. Quien no conozca la librería cURL, igual se ha preguntado muchas veces cómo hacen los sitios web para mostrar contenido de otras páginas en la suya. Por ejemplo, se preguntará cómo funciona la famosa aplicación que revisa los links escritos en el texto de una web y muestra una previsualización en miniatura. O sin ir más lejos, puede que alguna de estas preguntas pasen por su cabeza alguna vez: ¿cómo imprimes en una web el contenido RSS de un dominio ajeno?

PHP for Beginners: Building Your First Simple CMS The Magic of PHP + MySQL It’s safe to say that nearly every website that’s up-to-date these days is using some form of content management system (CMS). While there are a ton of great free options that provide us with a CMS to power a website (WordPress, Drupal, etc.), it doesn’t hurt to peek under the hood and get a feel for how these systems work. To get our feet wet as back-end developers, we’ll be creating a simple PHP class that will: Create a databaseConnect to a databaseDisplay a form with two fieldsSave the form data in the databaseDisplay the saved data from the database Download Files

GitHub - glpi-project/glpi: GLPi stands for Gestionnaire Libre de Parc Informatique is a Free Asset and IT Management Software package, that provides ITIL Service Desk features, licenses tracking and software auditing. SimpleExcel.php by faisalman Dependencies Installation If you're using Composer to manage libraries, include this package in your composer.json Create daemons in PHP Everyone knows PHP can be used to create websites. But it can also be used to create desktop applications and commandline tools. And now with a class called System_Daemon, you can even create daemons using nothing but PHP.

JpGraph - Most powerful PHP-driven charts Gallery Line Plots Line plots can be easily adapted to almost any needs, it is possible to adjust colors, transparency levels, line weight, line type (solid, dotted, dashed etc), backgrounds, scale, axis positions and formatting. Filled Line Plots PHPBuilder.com, the best resource for PHP tutorials, templates, PHP manuals, content management systems, scripts, classes and more. I wish I had known these 10 tips the day I started working with PHP. Instead of learning them through painstaking process, I could have been on my way to becoming a PHP programmer even sooner! This article is presented in two parts and is intended for folks who are new to PHP. Tip 1: MySQL Connection Class The majority of web applications I've worked with over the past year have used some variation of this connection class:

PluginR See also r.tiki.org This Wiki Plugin provides an interface to run R scripts through web pages. PluginR allows basic and direct usage, writing the script between the PluginR tags (see below), but it also allows advanced usage, where Pretty Trackers can be used to make web interfaces to modify the parameters that you want to allow the user to modify before producing the text or graphic output from your scripts. OBJECT ORIENTED PHP TUTORIAL FOR BEGINNERS Preamble The hardest thing to learn (and teach btw,) in object oriented PHP is the basics. But once you understand them, the rest will come much, much easier. But don’t be discouraged! You just found the easiest to understand tutorial out there on OOP and PHP. It may sound like a boastful claim, I know, but that’s what the nerd zeitgeist is saying.

Improve website load time by 500% with 3 lines of code Major New Update - PHP SPEEDY: latest version available here There are 4 relatively easy ways by which you can speed up the time it takes a browser to download a page: Make fewer HTTP requestsAdd a far-future expires headerGzip your page's componentsMinify your JavaScript, CSS and HTML Following on from my post on joining CSS and JavaScript files, I have written a PHP script which will automatically do all of the above. Ten PHP Best Practices Tips that will get you a job Posted by blake on Jun 4, 2008 in Code, Performance, PHP | 167 comments The last couple of weeks have been quite the experience for me. I was part of a big layoff at my former company, which was interesting. I've never been in that position before, and it's hard not to take it personally. I started watching the job boards, and a nice-looking full-time PHP position caught my eye, so I sent out a resume and landed an interview. Before the face-to-face portion, I chatted with the owner and head programmer on a conference call, and they ended up sending me a technical assessment quiz.

Related:  Programmation