796 shaares
58 results
tagged
Php
So you’ve learned the basics – HTML and CSS – and are now ready to dig into building your own dynamic websites. Congratulations for getting this far; now it’s time for the fun part! In this course, I’ll teach you, from scratch, how to use PHP; we’ll also, naturally, have to learn a bit of MySQL in the process!
Si vous souhaitez utiliser l'API de Twitter, sous quelque forme, vous aurez à enregistrer une demande auprès de leur service développeur. Pas d'inquiétude, la réponse est immédiate!
Méthode très pratique que j’utilise sur tous mes sites « statiques » où j’ai besoin d’afficher un code php sans utiliser l’URL rewriting. En effet, Apache permet en une ligne d’écrire du PHP (comprendre du <? code ?> interprété par le serveur) dans n’importe quel fichier .html !
These both functions are used to check the existence of the file. But there is a minor difference between these functions.
Let’s see what’s the difference.
Let’s see what’s the difference.
For the functions like is_file(), file_exists(), etc PHP caches the result of this function for each file for faster performance if function called again.
But in some cases you want to clear this cached information, for the task like getting the information of the same file multiple times in same page.
But in some cases you want to clear this cached information, for the task like getting the information of the same file multiple times in same page.
I’d like to kick off this post with a thanks to the folks behind the PHP extension for MongoDB, who have done a fantastic job of matching the functionality of the Mongo shell client. This is important when you start to see how similarly the two function, and you might find that you can tweak your logic using the shell and quickly implement the same logic from within PHP.
Style switchers have become a popular feature on websites these days. CSS style sheets allow a Web Designer to change the look and feel of a website with little effort. Some sites use “Day” and “Night” type of style switchers that automatically change the site theme based on the time of day.
This tutorial shows you how to create a time based CSS style sheet switcher using PHP that lets you change multiple style sheets at once at specific times of the day. There’s also a little bit of jQuery UI thrown in just for fun!
This tutorial shows you how to create a time based CSS style sheet switcher using PHP that lets you change multiple style sheets at once at specific times of the day. There’s also a little bit of jQuery UI thrown in just for fun!
We've covered PHP's PDO API a couple of times here on Nettuts+, but, generally, those articles focused more on the theory, and less on the application. This article will fix that!
To put it plainly, if you're still using PHP's old mysql API to connect to your databases, read on!
To put it plainly, if you're still using PHP's old mysql API to connect to your databases, read on!
Saying the phrase "user agent" or "user agent string" is tantamount to saying a swear word. Developers used to use the user agent to detect if a browser had a given feature, instead of, you know, checking to see if the feature actually existed via object or property detection. Those days are behind us though, but one of the web's dirty secrets is that the user agent still has many uses.
Rants about PHP are everywhere, and they even come from smart guys. When Jeff Atwood wrote yet another rant about PHP, it made me think about the good parts of PHP.
Xoops Engine is the next generation of XOOPS, designed as an application development engine for web and mobile. It is released under New BSD License and aims at building a sustainable ecosystem to benefit all contributors and user in technology and business.
Xoops Engine is actively developed by most active and talented XOOPS core developers led by Taiwen Jiang (a.k.a. phppp), who was Project Lead and Core Dev Lead for XOOPS from 2007 to 2011, core developer from 2005 to 2007.
Xoops Engine development is fully encouraged by support from XOOPS founder Ono Kazumi: "I hope that you keep on going with the development of XE, since there is no bright future ahead with X2."
Xoops Engine is actively developed by most active and talented XOOPS core developers led by Taiwen Jiang (a.k.a. phppp), who was Project Lead and Core Dev Lead for XOOPS from 2007 to 2011, core developer from 2005 to 2007.
Xoops Engine development is fully encouraged by support from XOOPS founder Ono Kazumi: "I hope that you keep on going with the development of XE, since there is no bright future ahead with X2."
The Uniform Server is a WAMP package that allows you to run a server on any MS Windows OS based computer. It is small and mobile to download or move around and can also be used or setup as a production/live server. Developers also use The Uniform Server to test their applications made with either PHP, MySQL, Perl, or the Apache HTTPd Server.
DropFox-Redirect est un simple (mais diablement efficace) redirecteur d'adresses web permettant de masquer une url, tout en détournant le referer. Son point fort? Il peut être hébergé partout, même sur votre espace de stockage Dropbox! Le referer peut poser des problèmes d'atteinte à la vie privée, puisque les webmasters peut connaître les pages que ses visiteurs ont consultées avant d'accéder aux siennes. Ce projet est donc un anti-référant type http://anonym.to, sans pub, base de données, ni scripts de statistiques. Minifié, le redirecteur ne pèse que 1.07 ko!
Unfortunately, CSS seems to get somewhat overlooked in this area while many developers (for good reason) focus largely on JavaScript performance and other areas.
In this post, I’ll deal with this often overlooked area by introducing you to the concept of object oriented CSS and how it can help improve both the performance and maintainability of your Web pages.
In this post, I’ll deal with this often overlooked area by introducing you to the concept of object oriented CSS and how it can help improve both the performance and maintainability of your Web pages.
For any web application uploading an image is comman task. But what is the comman way to manage the uploaded files?
Generally what we do is place the uploaded file on specific folder and store the name of the image or some times path to image in VARCHAR field of the database table.
But this article is to cover the concept to store the image in mysql database. Later on we will discuss how to show the stored image from database to the web page.
Generally what we do is place the uploaded file on specific folder and store the name of the image or some times path to image in VARCHAR field of the database table.
But this article is to cover the concept to store the image in mysql database. Later on we will discuss how to show the stored image from database to the web page.
Up to PHP 5.3 we do not have any proper/core function which checks the status of the session.
Here status means, We have called the session_start() function but we wants to make sure that really session is started or not. So this status check function is not available upto PHP 5.3.
So up to PHP 5.3 if we want to check the status of the Session then we have to use below code.
Here status means, We have called the session_start() function but we wants to make sure that really session is started or not. So this status check function is not available upto PHP 5.3.
So up to PHP 5.3 if we want to check the status of the Session then we have to use below code.
Constants play an important role for writing different PHP scripts. I believe, it is very good and professional approach to design any PHP script in a way that can easily be configured on different environments like Linux or Windows – and it can easily be achieved by defining useful constants in “config.php” or any other file depending on the script nature.
HybridAuth enable developers to easily build social applications to engage websites vistors and customers on a social level by implementing social signin, social sharing, users profiles, friends list, activities stream, status updates and more.
HybridAuth goal is to act as an abstract api between your application and various social apis and identities providers such as Facebook, Twitter, MySpace and Google.
HybridAuth goal is to act as an abstract api between your application and various social apis and identities providers such as Facebook, Twitter, MySpace and Google.