learen more with autoformation

lundi 25 août 2014

php5.4 After the introduction to classes in the previous chapter, we're now ready to write our very own class. It will hold information about a generic user, for instance a user of your website. 

A class definition in PHP looks pretty much like a function declaration, but instead of using the function keyword, the class keyword is used. Let's start with a stub for our User class:
<?php
class User
{
    
}
?>
This is as simple as it gets, and as you can probably imagine, this class can do absolutely nothing at this point. We can still instantiate it though, which is done using the new keyword: 

$user = new User(); 

But since the class can't do anything yet, the $user object is just as useless. Let's remedy that by adding a couple of class variables and a method:
class User
{
    public $name;
    public $age;
    
    public function Describe()
    {
        return $this->name . " is " . $this->age . " years old";
    }
}
Okay, there are a couple of new concepts here. First of all, we declare two class variables, a name and an age. The variable name is prefixed by the access modifier "public", which basically means that the variable can be accessed from outside the class. We will have much more about access modifiers in one of the next chapters. 

Next, we define the Describe() function. As you can see, it looks just like a regular function declaration, but with a couple of exceptions. It has the public keyword in front of it, to specify the access modifier. Inside the function, we use the "$this" variable, to access the variables of the class it self. $this is a special variable in PHP, which is available within class functions and always refers to the object from which it is used. 

Now, let's try using our new class. The following code should go after the class has been declared or included:
$user = new User();
$user->name = "John Doe";
$user->age = 42;
echo $user->Describe();
The first thing you should notice is the use of the -> operator. We used it in the Describe() method as well, and it simply denotes that we wish to access something from the object used before the operator. $user->name is the same as saying "Give me the name variable on the $user object". After that, it's just like assigning a value to a normal variable, which we do twice, for the name and the age of the user object. In the last line, we call the Describe() method on the user object, which will return a string of information, which we then echo out. The result should look something like this: 


Congratulations, you have just defined and used your first class, but there is much more to classes than this. In the following chapters, we will have a look at all the possibilities of PHP classes.
On 04:33 by مشاهير العرب in , , , , , , ,    No comments
class-oopWhile classes and the entire concept of Object Oriented Programming (OOP) is the basis of lots of modern programming languages, PHP was built on the principles of functions instead. Basic support for classes was first introduced in version 4 of PHP but then re-written for version 5, for a more complete OOP support. Today, PHP is definitely usable for working with classes, and while the PHP library still mainly consists of functions, classes are now being added for various purposes. However, the main purpose is of course to write and use your own classes, which is what we will look into during the next chapters. 

Classes can be considered as a collection of methods, variables and constants. They often reflect a real-world thing, like a Car class or a Fruit class. You declare a class only once, but you can instantiate as many versions of it as can be contained in memory. An instance of a class is usually referred to as an object. 

If you're still a bit confused about what classes are and why you need them, don't worry. In the next chapter, we will write our very first class and use it. Hopefully that will give you a better idea of the entire concept.

samedi 23 août 2014

On 06:42 by مشاهير العرب in , , , , , , ,    No comments

What Is PHP?
PHP is an open-source, server-side, HTML-embedded Web-scripting language that is compati- ble with all the major Web servers (most notably Apache). PHP enables you to embed code fragments in normal HTML pages—code that is interpreted as your pages are served up to users. PHP also serves as a “glue” language, making it easy to connect your Web pages to server-side databases.
Why PHP ?
We devote nearly all of Chapter 1 to this question. The short answer is that it’s free, it’s open
source, it’s full featured, it’s cross-platform, it’s stable, it’s fast, it’s clearly designed, it’s easy
to learn, and it plays well with others.
What’s New in This Edition?
Although this book has a new title, it is in some sense a third edition. Previous versions were:
✦ PHP 4 Bible. Published in August 2000, covering PHP through version 4.0.
✦ PHP Bible, Second Edition. Published in September 2002, a significantly expanded ver-
sion of the first edition, current through PHP 4.2.
Our initial plan for this book was to simply reorganize the second edition and bring it up
to date with PHP5. We realized, however, that although the previous editions covered
PHP/MySQL interaction, we had left readers in the dark about how to create and administer
MySQL databases in the first place, and this led to many reader questions. As a result, we
decided to beef up the coverage of MySQL and change the title.
New PHP5 features
Although much of PHP4’s functionality survives unchanged in PHP5, there have been some
deep changes. Among the ones we cover are:
✦ Zend Engine 2 and the new object model, with support for private/protected members,
abstract classes, and interfaces

✦ PHP5’s completely reworked XML support, built around libmxl2

✦ Exceptions and exception handling

MySQL coverage
We now cover MySQL 4.0 installation, database design, and administration, including back-
ups, replication, and recovery. As with previous editions, we devote much of the book to
techniques for writing MySQL-backed PHP applications.
Other new material
In addition to MySQL- and PHP5-specific features, we’ve added:
✦ Improved coverage of databases other than MySQL (Oracle, PostgreSQL, and the PEAR
database interaction layer)

✦ The PEAR code repository

✦ A chapter on integrating PHP and Java

✦ Separate chapters on error-handling and debugging techniques

Finally, we reorganized the entire book, pushing more advanced topics toward the end, to
give beginners an easier ramp up.
Who wrote the book?
The first two editions were by Converse and Park, with a guest chapter by Dustin Mitchell
and tech editing by Richard Lynch. For this version, Clark Morgan took on much of the revi-
sion work, with help by Converse and Park as well as by David Wall and Chris Cornell, who
also contributed chapters and did technical editing.
Whom This Book Is For
This book is for anyone who wants to build Web sites that exhibit more complex behavior
than is possible with static HTML pages. Within that population, we had the following three
php_php5
particular audiences in mind:

✦ Web site designers who know HTML and want to move into creating dynamic Web sites
✦ Experienced programmers (in C, Java, Perl, and so on) without Web experience who
want to quickly get up to speed in server-side Web programming
✦ Web programmers who have used other server-side technologies (Active Server Pages,
Java Server Pages, or ColdFusion, for example) and want to upgrade or simply add
another tool to their kit. We assume that the reader is familiar with HTML and has a basic knowledge of the workings of the Web, but we do not assume any programming experience beyond that. To help save time for more experienced programmers, we include a number of notes and asides that com- pare PHP with other languages and indicate which chapters and sections may be safely skipped. Finally, see our appendixes, which offer specific advice for C programmers, ASP coders, and pure-HTML designers.

mercredi 20 août 2014

On 07:05 by مشاهير العرب   No comments
The Examples for Developers project aims to provide high-quality, well-documented API examples for a broad range of Drupal core functionality.

 The Examples project contains many modules which hopefully illustrate best practices for implementing various Drupal APIs. These modules can be enabled individually, and will typically add menu items to your site, which should guide you through their features. You can then look through the code to see what they are doing.

Developers can learn how to use a particular API quickly by experimenting with the examples, and adapt them for their own use.

Note also that these modules demonstrate internals for Drupal development in PHP (and some JavaScript). Not all Drupal users will need these examples. There are many contributed modules which will do the majority of what a Drupal site-builder could need. Be sure and explore other contributed modules to see if you can find one that meets your needs.
How To Use These Modules
As Modules
You can enable these modules just like any others. They all add menu items leading you to a page on your site that will tell you what they are doing.
API.Drupal.Org You can also browse the documentation generated from this project on api.drupal.org. This gives you the benefit of clickable links between the various functions and classes.

dimanche 17 août 2014

On 07:31 by مشاهير العرب   No comments

et quelles sont les spécifications techniques L'ordinateur est devenu l'un des dispositifs les plus couramment utilisés dans l'ère moderne, ne se limite plus à la sphère militaire, mais seulement devenu utilisé dans de nombreuses activités civiques personnelles. Il ne fait aucun doute que tout chercheur sur le sujet de l'invention du premier ordinateur va trouver un conflit entre ceux qui disent que Howard Aiken est l'inventeur du premier ordinateur et dit que Conrad Suzh Konrad Zuse est inventé les premiers ordinateurs mais sur l'ensemble de la Konrad Suzh allemand est le premier à poser une programmable par ordinateur dans 1941 inventé pour z3 Quel est le premier appareil négociables calculs Qaam Atutumetekih et correct et a été la fréquence de travail du processeur entre 5 Hz à 10 Hz d'une classe où j'utilise 22 bits dans l'Institut de recherche de l'Armée de l'Air allemande pour effectuer des analyses et des statistiques des ailes d'avion de trouble. Et sont programmés par 3 cartes perforées (le processus de saisie de données dans un ordinateur). Mais en 1944, put Howard Howard Hathaway Aiken qui est un mathématicien américain a inventé le Harvard Mark 1, qui pesait 35 tonnes et 800 fil câblé et peut exactement compte jusqu'à la vingt-troisième position après la virgule. Il était utilise également la machine à lire des cartes perforées à Hulrit et peut être contrôlé par une série d'instructions sur la bande de papier de poinçon, et que le processus de mise en place des opérations de l'appareil a été fait par l'utilisation des cartes perforées où l'appareil transmet les résultats dans d'autres documents .tava Harvard Mark 1 n'a pas non seulement une série de succès depuis lors Howard Ekin soustrayant le Harvard Mark 2 et Mark 3, qui était Bstkhaddm certains composants électroniques avec la mécanique soit Marc 4, tout Mkontadth électronique où il sera utilisé pour la première fois sur CD-ROM.
On 07:30 by مشاهير العرب   No comments
Conversion de thèmes Drupal 6.x en thèmes Drupal 7.x
52 modifications pour la création d'un thème sous Drupal 7 (suppressions aussi) ont été apportées.

Elles sont listées sur drupal.org : http://drupal.org/update/theme/6/7
La société Clever Age présente un bon résumé de des changements :
“- Les thèmes à base de design en tableau datant de Drupal 4 sont supprimés du coeur.
- Beaucoup d’éléments composant une page se retrouvent maintenant comme bloc ou région (le
message d’aide, le contenu d’une page : $content de page.tpl.php, le footer message, sont des blocs par
exemple).
- Une remise à niveau de tous les fichiers .tpl.php par défaut a été faite avec des noms de classes CSS
et des identifiants plus sémantiques, une meilleure cohérence, etc.(...)
- $content n’est plus une grande chaine de caractère contenant du xHTML.
$content est maintenant un tableau des composants de la page, qui garde en mémoire ce qui a déjà été affiché.
On peut ainsi via des fonctions hide(), et render() choisir ce que l’on veut afficher et où on veut l’afficher.
En plus de ça, les preprocess sont maintenant étendus aux fonctions theme() (et non plus qu’au fichier tpl.php).
Et, maintenant qu’il y a des champs partout, le support du RDFa est disponible.
- Au niveau du Javascript, passage de jQuery 1.2.6 à jQuery 1.4, et intégration de jQuery Forms 2.2, et
jQuery UI 1.7. La nouvelle fonction drupal_add_library() permet d’ajouter des fichiers javascript et css en rapport
les uns avec les autres, et un nouveau framework AJAX a été intégré dans le coeur. La fonction drupal_add_js()

a été améliorée, et l’API Javascript, souvent sous-exploitée, reste intacte."
Liste des changements :
● Les blocs ont de nouveaux ID CSS plus explicites
La plupart des ID CSS des blocs déclarés par le core Drupal ont été modifiés afin que le but du bloc soit
clairement indiqué.
● Les liens Primaires et Secondaires changent de nom
Dans Drupal 7, les menus Primary links et Secondary links changent et deviennent respectivement Main
menu ($main_menu) et Secondary menu ($secondary_menu).
Les thèmes qui utilisent ces options devront être actualisés avec les nouveaux noms de variables.
● Les liens de taxonomie non formatés (Unrendered) ne sont plus disponibles dans les fichiers
node.tpl.php, en tant que variable distincte.

Dans Drupal 7, tous les liens ont été déplacés dans l'objet $node.
Liste des changements :
● RDFa nécessite des modifications au début de page.tpl.php
Drupal 7 peut afficher du RDFa.
● La classe clear-block a été renommé en clearfix
La classe clear-block était un Drupalisme pour une fonctionnalité connue dans la communauté CSS sous
le nom de classe « clearfix ».
La class CSS .clear-block de D6 devient .clearfix, une nouvelle appellation bien connue des thèmeurs...
● Les "Box" disparaissent
Les templates de "box", utilisés dans D6 dans les commentaires et les résultats de recherche,
disparaissent.
Les résultats de recherches sont désormais mis en forme par la fonction : theme_search_results_listing()
et le formulaire de commentaires est mis en forme par la fonction : theme_comment_form_box() .

Infos : http://drupal.org/node/779002
Liste des changements :
● Une region pour l'affichage des textes d'aides
L'affichage des textes d'aides ne se fait plus dans D7 via la variable $help.
Une region est désormais implantée dans le core pour cela, il vous suffit de déclarer cette region dans
votre .info. A vous ensuite de placer cette region selon votre souhait dans le template de page :
Infos : http://drupal.org/node/448784
Le texte d'aide est maintenant encadré par les balises et classes <div> du fichier gabarit block.tpl.php, les
CSS utilisées pour styliser l'aide doivent donc être modifiées.
● Une région pour l'affichage de la "Mission"
L'affichage de la "Mission du site" doit désormais être propulsée via une région et la variable $mission de
D6 disparaît.
Dans D7, il est conseillé de créer une région nommée Highlighted et de l'utiliser pour afficher la mission
du site.
C'est donc à vous de créer tout ceci et de créer un bloc assigné à cette region. A vous donc de placer
cette region selon votre souhait dans le template de page :

Infos : http://drupal.org/node/779016
Liste des changements :
● Suppression du "Message de pied de page"
Le Message de pied de page, à configurer sur D6 dans admin/settings/site-information est supprimé.
Dans D7, il n'y a donc plus de variable $footer_message.
● Le contenu principal d'une page est propulsé par une region
Le contenu principal d'une page est désormais affiché par une region à part entière
Une fois ceci fait, rendez-vous sur la page de config des blocks admin/structure/block, et assignez le block Main page
content à la region Content :
Vous noterez que le block Main page content est le seul qui doit être obligatoirement assigné à une region.

Info/issue : http://drupal.org/node/428744
Liste des changements :
● La région Content est maintenant obligatoire, le contenu principal de la page devient un bloc
Dans Drupal 7, $content devient une région à part entière et est désormais obligatoire dans tous les
thèmes. Cette nouvelle caractéristique a été paramétrée pour que, lorsqu'on active des nouveaux thèmes,
Drupal sache où placer le contenu principal de la page par défaut.
● Deuxième cycle de fonctions de traitement de variables
Il y a maintenant deux jeux de fonctions de traitement de variables. les premières sont les
fonctions de pré-traitement existantes (voir traduction en français sur kolossaldrupal.org). Les secondes
sont des fonction de « traitement » exécutées après les pré-traitements. Les différents préfixes et suffixes
s'appliquent de la même façon à ce deuxième cycle. Cela s'avère utile lorsque certaines variables

demandent à être examinées sur deux cycles.
Liste des changements :
● La région Content est maintenant obligatoire, le contenu principal de la page devient un bloc
Dans Drupal 7, $content devient une région à part entière et est désormais obligatoire dans tous les
thèmes. Cette nouvelle caractéristique a été paramétrée pour que, lorsqu'on active des nouveaux thèmes,
Drupal sache où placer le contenu principal de la page par défaut.
● Deuxième cycle de fonctions de traitement de variables
Il y a maintenant deux jeux de fonctions de traitement de variables. les premières sont les
fonctions de pré-traitement existantes (voir traduction en français sur kolossaldrupal.org). Les secondes
sont des fonction de « traitement » exécutées après les pré-traitements. Les différents préfixes et suffixes
s'appliquent de la même façon à ce deuxième cycle. Cela s'avère utile lorsque certaines variables

demandent à être examinées sur deux cycles
Liste des changements :
● Une variable $classes pour les classes CSS dynamiques
Dans Drupal 7 on a maintenant une variable $classes disponible dans tous les templates et qui génère
différentes classes CSS produites par les modules core. On va pouvoir, via différents preprocess de notre choix,
"alimenter" cette variable avec des classes custom supplémentaires. On utilisera toujours la même procédure,
D7 se chargeant par la suite de "réorganiser" toutes les classes comme il faut :-).
Tous les gabarits peuvent maintenant fournir $classes à partir d'un gabarit pour mettre en forme des classes
dynamiques construites dans des fonctions de traitement de variables.
● Attributs HTML générés via une variable
Toutes les maquettes de mise en page (maquettes de mise en page = gabarits, = templates. NdK) peuvent
maintenant afficher $attributes, $title_attributes et $content_attributes depuis un gabarit pour mettre en forme
les attributs dynamiques construits dans les fonctions de traitement de variables.
Le module RDF et d'autres modules ajoutent des informations importantes à ces variables, il est donc essentiel

pour les thèmes que ces variables soient correctement transmises à tous les fichiers gabarits surchargés.
Liste des changements :
● Les fonctions de traitements de variable peuvent maintenant être utilisées dans tous les hooks de thème
Dans Drupal 7, les pré-traitements de hooks et les fonctions de traitement peuvent être utilisés pour tous
les hooks de thème, qu'ils soient « rendus » (rendered) par les gabarits ou les fonctions.
Par exemple, un thème peut faire en sorte que tous les liens de menus commençant par http: ou https:
(par opposition à ceux qui se rapportent à un lien interne de Drupal) s'ouvrent dans un nouvel onglet du
navigateur
● Toutes les fonctions de thèmes acceptent maintenant un seul argument, $variables
Dans Drupal 7, toutes les fonctions de thème prennent un seul argument, $variables, un tableau de

variables indicé par clés, et répertorient les clés étendues dans ce tableau dans hook-theme().
● Les noms de fonctions doivent correspondre au nom du thème
Infos : http://drupal.org/node/422116
Dans le fichier template.php, les noms de fonctions doivent maintenant utiliser le nom du thème adéquat. Vous ne
pourrez plus utiliser phptemplate_function. Cette modification a été effectuée dans le patch suivant :
Die, themeEngineName_ prefix, die!.
Pour actualiser votre thème, assurez-vous qu'il n'y ait pas, dans le fichier template.php ou dans d'autres fichiers du
thème, de fonction débutant par le nom du processeur de thème (phptemplate).
● Tous les fichiers CSS et Javascript doivent maintenant être mentionnés dans le fichier .info du thème
Dans Drupal 6, style.css et script.js étaient automatiquement inclus dans votre thème, même s'ils n'étaient pas
mentionnés dans le fichier .info du thème.
Dans Drupal 7, les thèmes doivent mentionner ces fichiers dans le fichier .info pour qu'ils soient ajoutés au thème. Vous
pouvez lire plus d'informations à ce sujet à la page
#351487: Remove default values for stylesheet and scripts includes from system module..
Si votre thème n'utilise pas ces fichiers, ou s'ils sont déjà mentionnés dans votre fichier .info, aucune modification n'est

nécessaire.
● $block->content renommé dans block.tpl.php
Voir cette discussion pour l'historique complet.
● « Granular rendering » dans les gabarits de node et user
(discussion) Les concepteurs de maquettes de mises en page peuvent maintenant afficher des nodes et
des profils comme ils l'entendent tout en conservant une compatibilité avec des modules nouveaux qui
ajouteraient des nouveaux contenus. Pour cela, les concepteurs de gabarits doivent utiliser 2 nouvelles
fonctions - render() et hide().
Quand un concepteur de thème veut afficher une partie du tableau $content, il doit le faire avec quelque
chose qui ressemble à print render($content['links']).
Si l'affichage des liens vient après l'affichage de tout le contenu de $content, il faudra appeler
hide($content['links']) avant d'appeler print render($content). Ensuite les liens peuvent être affichés plus

loin dans le gabarit avec print render($content['links']).

On 07:18 by مشاهير العرب   No comments
Installation d'un nouveau thème Il suffit de choisir un thème existant sur Drupal.org : http://drupal.org/project/themes . Pour installer le thème de votre choix sur votre site, suivre le chemin suivant : sites/all/themes/"mon theme" Les thèmes disponibles pour Drupal 7
Au 7/01/2011, 83 thèmes sont installables pour Drupal 7 mais beaucoup sont encore en
développement.
Voir la liste des thèmes ici :
http://drupal.org/project/themes?filters=drupal_core%3A103&solrsort=sis_project_release_usage%20desc
Les bons thèmes selon Laura Scott, co-fondatrice de la société PINGV, studio de design travaillant
avec Drupal :
- Adaptive Theme : en dév. - Basic : ok - Blueprint : en dév
- Framwork : drupal 6 - Fusion : en dév. - Genesis : en dév.
- Mobile : en dév. - NineSixty : en dév. - Stark : nouveau thème par défaut

- Studio : en dév. - Zen : en dév.
Une personnalisation facile du thème choisi
Avec Drupal 7, vous avez la possibilité de modifier l'apparence des thèmes installés facilement en
quelques clics (couleurs des liens, des arrière-plans, des textes et autres éléments du thème) grâce
au module Color installé dans le core.
✔ Jeux de couleurs personnalisable depuis la partie administration
Pour changer les paramètres de couleur d'un thème compatible, sélectionnez le lien Paramètres de
votre thème sur la Page d'administration des thèmes
Si vous ne voyez pas le sélecteur de couleur sur cette page, c'est que votre thème n'est pas
compatible avec le module Color. Les 4 thèmes installés par défaut permettent l'utilisation de Color.
Il est possible d'utiliser un jeux de couleurs déjà paramétré mais aussi de créer son propre jeux de
couleur depuis l'administration de Drupal 7.
✔Activer et désactiver l'affichage
Il est également possible d'activer ou de désactiver des éléments d'affichage par de simples clics :

ex : logos, nom du site, slogans etc.
Conclusion
Avec Drupal 7, il est possible d'obtenir un thème personnalisé en quelques clics depuis l'interface

d'administration sans toucher aux CSS
On 07:09 by مشاهير العرب   No comments
Set up a Domain and point it to the directory containing Drupal's files To set up and configure a domain name which points to this new directory, you will need to refer to your Internet Service Provider (ISP). This process can be accomplished in a variety of ways and the process is specific to the tools provided by your ISP. In general you want to: Register a Domain Name e.g. http://example.com. Configure your hosting account to use this domain name. Point the domain name to your new folder/directory, which contains the uncompressed Drupal files Note: These steps can take some time. Many ISPs provide an ‘Add Domain’ function, which allows you to simply specify the domain name to be used and the directory which it points to. It can take minutes or hours for this setup to go into effect. If you are registering a sub-domain, the portion of the name that is before the domain name, perhaps in place of the ‘www’ (e.g. http://internal.example.com), these tend to process almost immediately, but again it depends on your ISP. Create the configuration file and grant permissions In order to set up your new site, it is necessary to be able to modify the settings.php file via your browser. By default when you unarchive these files, only the default.settings.php file exists and the permissions are set to Read Only. You will need to copy the file, rename it to settings.php, and then temporarily change the permissions so that the server can Read and Write to this file when a user makes changes via a web browser. You then need to move up one level to the /sites directory and change the permission on the /default directory (folder), as this is the place where files created or uploaded via the web interface will be stored. Copy the file default.settings.php and rename it to settings.php Use your ISP’s file manager to navigate to the /sites/default directory Select the default.settings.php file (usually done by checking a box next to the file) Copy the file, naming the new copy ‘settings.php’ Change the permissions of the settings.php file. In your ISP’s file manager select the file ‘settings.php’ and click on permissions. Add the permissions for the file to be written by the web server (i.e. web users). If your system is asking you to use a numeric value to CHMOD the file you will want to use 666, this will set the file to be written by anyone. Save your changes. Please note: The installation script that runs when you first visit your site should change the permissions of the ‘settings.php’ file back to read-only when you are finished the initial configuration of your site; however, it is recommended that you check that the permissions for settings.php have been set back to Read Only once you are finished. Change the permissions of the /default directory. In your ISP’s file manager select the /default folder and click on permissions. Add the permissions for the folder to be written by the web server (i.e web users). Save your change. Create the Drupal database You must create a new, empty database for Drupal to use. You must also add a user who has full access to this newly created database. The way in which you create a database will likely depend on your ISP. One of the most popular tools used to administer databases is "phpMyAdmin". It is possible that you will have privileges to create new databases using this tool. However, it is more likely that your ISP provides access to phpMyAdmin so that you can work with content in your database. When you create a new site, the related database must be created using the ISP’s control panel. Option 1: Create a new Database using your ISP’s Control Panel In many cases your ISP will provide you with a database section in your account’s control panel. Here you will be able to create the database, adding a username and password to access the database. The approach and steps here will vary depending on your ISP, but generally you will be specifying: A name for the database to be created (usually a shorthand version of the site name) A username and A password The combination of these three things will be used by your website, and perhaps by you, to administer the new database. Please note: Some ISPs will host the databases on a separate server than the server which hosts your website. In this case, you may also need to specify which server the database is on. Your ISP will let you know if this is necessary. Option 2: Create a new Database using phpMyAdmin From your ISP’s control panel, open phpMyAdmin. In the Create new database field, type the name you want to use for your new Drupal database and then click Create. Click the Privileges tab. Click Add a new User. In the User name field, type the username that you want to add (this will be the username for site to access the database, not your own username). In the drop-down menu beside the Host field, select Local. In the Password and Re-type fields, type a password to use for the new user. In the “Database for user” section, select “Grant all privileges" on the database you just created. In the “Global privileges” section, leave all of the global privileges checkboxes unselected. Click Go. This should mark the end of the work that is necessary it in the ISP’s control. From here we are going to use a web browser to configure your new site. Read more about Creating the Drupal Database. Run the installation script To run the Drupal installation script: Using your web browser, navigate to the base URL of your new website, e.g. http://example.com. (If you have registered a new Domain name and it has has yet to go into effect, it is possible that you will still be able to access the website with a link provided by your ISP or even using a numeric IP address.) When you go to your new website, you should see the Drupal installation page. The installation wizard will guide you through the process of setting up your Drupal website. When you first visit your new website having completed the step above, if you receive an error similar to the following “Parse error: syntax error, unexpected '{' in .../includes/bootstrap.inc on line 679” it may be because you are attempting to install your new site on a server that is running an old version of PHP. Drupal 7 requires at least PHP 5.2.4. See the system requirements page for more information. On the Select an installation profile page, select Standard. Click Save and continue. On the Choose language page, select English. Click Save and continue. On the Database configuration page, select the type of database that you are using. Type the database name, database username and database password (the same ones you used to set up your database). Please note: If your database host is located on a different server, if your database server is listening to a non-standard port, or if more than one application will be sharing this database then you can configure Drupal options for this by clicking the Advanced options link. Click Save and continue. The Installing Drupal page is displayed. On the Configure site page, do the following: In the Site name field, type the name you want to give your site. In the Site email address field, type the email address that automated messages from your Drupal site will be sent from. In the site maintenance account section, type a username, email address and password to use for the maintenance account. In the server settings section, select a country from the list and then select a time zone. If desired, select Check for updates automatically and Receive email notifications (recommended to keep your site's security up to date). Click Save and continue.
You should see a newly installed Drupal homepage, as shown in the screenshot above. The administrator account is automatically logged in, and if you chose the "Standard" install, the black administration toolbar will be displayed across the top of the page. Installation is complete
On 06:59 by مشاهير العرب   No comments
Élu meilleur CMS du monde en 2007 et 2008, Drupal est probablement le Système de Gestion de Contenu plus puissant et robuste. Côté technique et administratif, Drupal combine le meilleur des langages open-source du web: XHTML/CSS, PHP/MySQL, Ajax et Javascript. Côté usabilité, depuis la version 7, il concilie simplicité d’utilisation et autonomie, à une robustesse, une qualité technique et une constante évolution. Avec une approche axée sur le développement, Drupal offre sans conteste plus de possibilités et permet d’obtenir un site Internet beaucoup plus modulable.

jeudi 14 août 2014

On 18:39 by مشاهير العرب   No comments

Ouvrent droit à pension d’invalidité les infirmités résultant de blessures reçues par suite d’évènements de guerre ou d’accidents éprouvés par le fait ou à l’occasion du service, les infirmités résultant de maladies contractées par le fait ou à l’occasion du service, les infirmités résultant de blessures reçues par suite d’accidents éprouvés entre le début et la fin d’une mission opérationnelle, y compris les opérations d’expertise ou d’essai, ou d’entraînement ou en escale, sauf faute de la victime détachable du service.
On 18:34 by مشاهير العرب   No comments

Peuvent prétendre aux soins médicaux gratuits et aux prestations d’appareillage, au titre des articles L.115 ou L.128 du CPMIVG, les titulaires d’une pension d’invalidité attribuée au titre du même code. ? Il s’agit : des anciens combattants, militaires et anciens militaires, y compris les étrangers, ayant servi dans l’armée française, des supplétifs de l’armée ayant effectué leur service durant les conflits mondiaux ou coloniaux (tirailleurs marocains, algériens, tunisiens..), des victimes civiles de la guerre ; les victimes d’actes de terrorisme (VAT), auxquelles la loi N° 90-86 du 23 janvier 1990 a conféré la qualité de victime civile de la guerre, peuvent également y prétendre, dès lors qu’elles ont opté pour cette législation. des anciens appelés, des militaires et réservistes en activité, dont le CPMIVG constitue le dispositif du droit à réparation et de la prise en charge des soins nécessités par leurs blessures, infirmités, accidents et maladies imputables à l’activité de service.

mardi 12 août 2014

On 07:31 by مشاهير العرب   No comments

Configurer Module Backup and Migrate Drupal Backup and Migrate est un module qui rend la sauvegarde de votre base de données Drupal ou encore la migration des données d’une installation Drupal à une autre vraiment facile. Les fichiers de s... Afficher la suitehttps://www.drupal.org/project/backup_migrate
On 07:28 by مشاهير العرب   No comments

et quelles sont les spécifications techniques L'ordinateur est devenu l'un des dispositifs les plus couramment utilisés dans l'ère moderne, ne se limite plus à la sphère militaire, mais seulement devenu utilisé dans de nombreuses activités civiques personnelles. Il ne fait aucun doute que tout chercheur sur le sujet de l'invention du premier ordinateur va trouver un conflit entre ceux qui disent que Howard Aiken est l'inventeur du premier ordinateur et dit que Conrad Suzh Konrad Zuse est inventé les premiers ordinateurs mais sur l'ensemble de la Konrad Suzh allemand est le premier à poser une programmable par ordinateur dans 1941 inventé pour z3 Quel est le premier appareil négociables calculs Qaam Atutumetekih et correct et a été la fréquence de travail du processeur entre 5 Hz à 10 Hz d'une classe où j'utilise 22 bits dans l'Institut de recherche de l'Armée de l'Air allemande pour effectuer des analyses et des statistiques des ailes d'avion de trouble. Et sont programmés par 3 cartes perforées (le processus de saisie de données dans un ordinateur). Mais en 1944, put Howard Howard Hathaway Aiken qui est un mathématicien américain a inventé le Harvard Mark 1, qui pesait 35 tonnes et 800 fil câblé et peut exactement compte jusqu'à la vingt-troisième position après la virgule. Il était utilise également la machine à lire des cartes perforées à Hulrit et peut être contrôlé par une série d'instructions sur la bande de papier de poinçon, et que le processus de mise en place des opérations de l'appareil a été fait par l'utilisation des cartes perforées où l'appareil transmet les résultats dans d'autres documents .tava Harvard Mark 1 n'a pas non seulement une série de succès depuis lors Howard Ekin soustrayant le Harvard Mark 2 et Mark 3, qui était Bstkhaddm certains composants électroniques avec la mécanique soit Marc 4, tout Mkontadth électronique où il sera utilisé pour la première fois sur CD-ROM.
On 07:05 by مشاهير العرب   No comments


Dans les années 1960, les premiers réseaux informatiques étaient de portée limitée (quelques dizaines de mètres avec par exemple l'HP-IB, l'HP-IL, etc.) et servaient à la communication entre micro-ordinateurs et des instruments de mesure ou des périphériques (imprimantes, table traçante, etc.). Les réseaux informatiques filaires entre sites distants apparaissent dans les années 1970: IBM et Digital Equipment Corporation créent les architectures SNA et DECnet, avec la digitalisation du réseau de téléphone d'AT&T (voir Réseau téléphonique commuté)2 et ses connexions dédiées à moyen débit. Ils sont précédés par le réseau Cyclades français, poussé par la CII et sa Distributed System Architecture, basés sur le Datagramme. Voici une liste non-exhaustive des protocoles réseaux qui existent à ce jour (par type de réseau): Réseau local Anneau à jeton (en Anglais Token Ring) ATM FDDI Ethernet Réseau étendu DAB Ethernet MPLS Relais de trames SONET/SDH

lundi 11 août 2014

On 06:22 by مشاهير العرب   No comments
Discount Health Care Cards-Consumer Driven Healthcare
What are discount health cards? Discount health cards provide one part of the solution to the nation's healthcare crisis by enabling consumers to purchase healthcare products and services at discounted retail rates. Discount health cards are not insurance and are not intended to replace insurance. In fact, many consumers choose a discount card to complement their health insurance program, filling in gaps such as prescription drug benefits or vision care.
Why Choose a Discount Health Card? Discount health cards are NOT insurance.
Discount health cards enable consumers to purchase healthcare products and services from providers at discounted prices, similar to the rates that healthcare providers charge wholesale customers such as preferred provider networks (PPOs) or large insurance plans.
Many consumers choose a discount card to complement their health insurance program, filling in gaps, such as prescription drug benefits, chiropractic care, dental or vision care.
Discount health cards have gained popularity because they provide consumers access to the healthcare they need without the limitations, exclusions and paperwork associated with insurance plans.
In addition, discount health programs typically include the cardholder's entire household.
How You Benefit with a Discount Health Card? Discount health programs, or discount benefits cards as they are sometimes called, were created to help bridge the gap for consumers burdened by the increasing cost of healthcare by providing opportunities to directly purchase healthcare services and products at discounted retail rates. Discount cards offer:
Access: Individuals and families without insurance can use discount programs to receive access to and substantial savings on health care services such as doctor visits, hospitalization, prescription drugs, eyeglasses and dental care that they might otherwise not afford.
Affordability: While insurance rates have increased at double-digit rates over the past 12 years, discount card providers have kept their rates virtually unchanged.
Savings: Those with limited insurance, the under-insured, and insured individuals with high deductibles can reduce out-of-pocket expenses and receive discounts for services not normally covered by insurance such as chiropractic care.
Choice: In some cases, consumers with discount health cards pay less for services such as dental and vision care than those covered by traditional insurance plans.
Convenience: Discount programs are accepted at some of the nation's largest healthcare retailers including national pharmacy and optical chains. While each program varies, many companies offer programs with providers that include:
* Pearle * LensCrafters * Medicine Shoppe
* Eckerd's * Safeway * Wal-Mart
* Sears * Target, and many more!
What types of services are typically included by discount health cards? Discount health cards include a wide range of services and products including dental services, prescription drugs, vision care, chiropractic procedures, hearing care, physician/hospital & ancillary services, nurse medical information lines, vitamins and emergency care for travelers. Choose a program that offers discounts on services that you need and that you will use.
Who should use discount health cards? The wide array of choices in the discount health card industry and the many discounts available make it possible for everyone to enjoy the benefits of discount health cards. Discount health cards are designed to provide benefits for a wide-range of consumers. For individuals and families without insurance, discount health cards offer substantial savings on healthcare services such as doctor visits and on everyday health related expenses including prescription drugs, eyeglasses and dental care that they might otherwise not afford.
For those with limited insurance, the under-insured, and insured individuals with high deductibles, discount health cards can reduce out-of-pocket expenses and offer discounts for services that may not be covered by insurance such as chiropractic care.
In some instances, discount health cards for ancillary health services and products such as vision, dental and chiropractic care offer services at overall out-of-pocket costs lower than insurance co-payments.
For these reasons, many of the country's Fortune 500 companies now offer discount health cards to their employees as part of their benefits packages.
How do consumers get discount health cards and how do the cards work? You can obtain discount health cards either through your employer, an association, union, or another entity with which you are connected or you can go directly through a reputable discount healthcare program.
Signing up for a card is easy. Complete an application and pay a nominal monthly fee. In some instances, your employer will pay the fee. To access care and receive savings, a cardholder must simply provide the card to a participating provider at the time health services are rendered and pay the discounted fee.
How do discount healthcare programs offer such benefits? Discount healthcare programs enable members to access similar rates that healthcare providers charge wholesale customers such as preferred provider networks (PPO) or large insurance plans. The difference is that instead of financing the medical expenses of members by charging high monthly rates, consumers agree to pay a discounted fee to the provider directly at the time of service.
What is the difference between discount health cards and health insurance? Discount health cards are not insurance. Card companies who indicate otherwise are not being truthful. Unlike health insurance, there is no sharing of risk by the consumer and the discount healthcare company.
Discount health cards afford consumers the opportunity to directly purchase health care services and products from providers at amounts discounted below their retail rates. Cardholders are required to pay the provider's discounted fees in full at the time healthcare services are rendered or as dictated by the provider's agreement. Consumers are free to make their own choices about which services to purchase and from whom to make those purchases.
Insurance plans, on the other hand, define specific benefits available to the consumer at rates determined by the plan purchaser. Insurance plans also pay health care providers on behalf of the consumer.
Do I still need insurance if I have a discount health card? That's a decision each consumer must make. Discount cards and insurance plans frequently provide complementary benefits. That is why many of the nation's leading companies offer their employees both insurance plans and discount cards. Each individual should evaluate his or her own health needs and the various benefits offered by each type of program.
Why has there been controversy surrounding some discount health card providers? Millions of consumers have embraced discount health cards because of their value and simplicity. This popularity has led a number of companies to enter the discount health card business. Unfortunately, not all of them are reputable. Some card providers charge steep up-front fees or promise dramatic savings they can't deliver, while others bombard consumers with misleading and confusing sale pitches.


Article Source: http://EzineArticles.com/424547
On 06:21 by مشاهير العرب   No comments
Florida health insurance companies are now feeling the effects of the increased price transparency that the Internet brings. Now longer is it a process of days or even weeks to obtain multiple health insurance quotes from top Florida health insurance companies. The simplest and most efficient way to obtain health insurance in Florida is simply to make the top health insurance companies in the state (Golden Rule/United Healthcare, Aetna, and Humana) compete for your business!
If you cringe at the thought of a ×United Healthcare agent, an Aetna agent, and a Humana agent all clustering around you amongst a swarm of other Florida health insurance agents and trying to push their company's policy upon you then read on; for health insurance shopping on the Internet has simplified everything. There are numerous Florida health insurance websites that offer Florida health insurance quotes but there are quite a few very important distinctions between the different types.
There are two main types of websites that offer Florida health insurance quotes to Florida health insurance shoppers: Marketing Organizations and Insurance Agencies.
Marketing Organizations do not sell insurance, are not regulated by any insurance department, and generally have no knowledge whatsoever concerning Florida health insurance. However, they can offer consumers a somewhat appealing service. How can they assist in purchasing health insurance?
They act as a middleman between Florida health insurance shoppers and Florida health insurance agents. When Mrs. Smith in Tampa, FL requests a health insurance quote then the marketing company sells her information as a lead to 5 or more Florida insurance agents.
Ignoring the privacy issues and the issue of the qualifications of the health insurance agents that will be purchasing your information there is the larger and more practical issue of do you really want to have 5+ insurance agents aggressively seeking your business?
Imagine that each health insurance agent is taught in their sales training to call you at least 5 times and email you at least 3 times before "giving up" on you as an insurance prospect: that means that you have received 25 phone calls and 15 emails from various insurance agents!
The second type of website that offers Florida health insurance quotes is the website that is run by an insurance agency (note that it is very important to find only an independent Florida insurance agency - meaning an agency that is not tied to working with only one health insurance company but can show you health insurance quotes from all of the top Florida health insurance companies. This is also why we will ignore the quasi third group of websites that offer Florida health insurance quotes: the health insurance carrier websites themselves. These can be a good service but very time consuming. There is a better way to shop for Florida health insurance. Read on-).
Most independent insurance agency websites offer a feature that will allow you to request Florida health insurance quotes. However, there is a much better way to shop for Florida health insurance! Rather than waiting for your request for health insurance quotes to be filled; look for a website that offers instant and LIVE Florida health insurance quotes from top Florida health insurance companies.
With instant LIVE Florida health insurance quotes you have the best of both worlds: you receive the benefits of competitive pricing by viewing the top Florida health insurance companies quotes side by side (the strong point of the marketing organization website model) as well as personal, expert help (the strong point of the insurance agency website model). Not to mention the added benefit of viewing the health insurance quotes from the different health insurance companies in the same format - enabling easy side by side comparisons of benefits. This allows for a true "apples to apples" comparison.
View up to 20 LIVE Florida health insurance quotes from top Florida health insurance companies like Aetna, Humana and Golden Rule/United Healthcare all in less than 20 seconds! View LIVE Florida health insurance quotes now and take advantage of the Internet's price transparency!
Get free health insurance quotes by comparing all of the top health insurance plans in your zip code - in less time than it takes to brush your teeth!
Comparison shop multiple insurance companies instantly and in real time by viewing free Florida health insurance quotes: Aetna, Humana, United Healthcare and more.


Article Source: http://EzineArticles.com/314589
On 06:20 by مشاهير العرب   No comments
Health and wellness products will mean very different things to different people.
Wellness can be defined as 'the pursuit of a healthy, balanced lifestyle.
For the benefit of this article, wellness products are being looked at in the context
of 'over the counter drugs, health supplements and health remedies.
While for some people, wellness products might be viewed as an aid to recovery
from illness, for others it might be a means of further enhancing some
aspect of their current health. The variety of and uses for such products
are as numerous as are the the definitions of wellness products or wellness
programs, depending of course upon who is promoting them at any given time.
Whatever your reasons for pursuing alternative care health or health and wellness
products, a common goal is to achieve optimised health and well-being.
There are powerful media images hailing the benefits and safety of many over the
counter drugs, supplements and health and wellness products, every where you turn
these days. They have equally strong claims of being the one and only miracle cure
or solution for one ailment or another. How accurate are these claims though, and
what are the real costs to you in monetary and health risk terms?
Immediately after reading this article, go take a look and do a quick add-up of the
total cost of all the health and wellness products you currently have in stock. I'm
sure the figure will surprise you just as much as learning about the very real and
harmful side effects which can be caused by some of these drugs or supplements
that are supposed to be contributing to your overall state of wellness.
You may also be surprised to know that many of the 'over the counter drugs you
buy on a regular basis, simply treat the symptoms and not the real health issue.
Needless to say, this approach of focusing on the symptom, side-steps
the crucial requirement of getting to the root cause of your condition or whatever
it is that ails you.
You're most likely to pursue a wellness product either because you are becoming
wary of the adverse effects of chemically produced drugs or because you're keen to
recover from ill-health and improve a specific health condition. In some instances it
might be that you just want to optimise your current state of good health.
While some health and wellness products can be an effective measure toward
improving your health, you should note that long-term use of certain over the counter
drugs and some supplements can cause you more harm than good, with the long-
term implications far outweighing any short-term benefits. You may well find that
you are paying far too high a price on the basis of a mere quick fix promise.
For thousands of years, people in lands far and wide have used natural homemade
remedies to manage their health conditions and wellness needs, without manufactured
health and wellness products, that can be detrimental to health. They have purely relied
upon attaining or maintaining health by plants or by other natural means.
It could be argued that with the emergence of chemical and pharmacological methods,
many forms of this natural means to health and wellness have declined. In fact, even
by today's standards, there are many so-called under-developed countries where
inhabitants' rely on nothing more than homemade health and wellness products,
gained via natural methods of plants or plant-based extracts.
While conventional medicine relies on scientifically backed research to substantiate
effectiveness and safety. In contrast, similar cannot be said about some alternative
medicines or health and wellness products. There is no such requirement but their
promotion as regard effectiveness are deemed sufficient in themselves as support
for therapeutic or wellness claims.
Herbal remedies in general are harmless, however, certain claims being made by
some health and wellness products promoters, (under the banner of being
'natural')) can insinuate their health and fitness products being the
exclusive answer to your health condition or wellness questions, thus putting you
at great risk. Secondly, how open are they being about what's really inside? You
should always consult your physician over any health concerns, as well as discussing
with him/her your intention or choice of alternative means for treatment with any
health and wellness product or remedy.
Multi-billion-dollar industries have long weald their power by way of
lobbying to gain exemption from FDA regulation. This has been exactly the
case, according to the Skeptical Inquirer, who, on commenting on
the 'dietary supplement industry back in 1994, states - "Since then, these
products have flooded the market, subject only to the scruples of their
manufacturers".
The above point is an important one to note in that, while health and wellness
products manufacturers may list ingredients and quantities being used in
specific health and wellness products, there has been no real pressure on them to
do so, or to do so accurately. Furthermore, neither has there been any
watchdog body to ensure they are penalised for this failing.
So, what are the alternatives open to you? Increasingly, more and more people
are turning to do-it-yourself health and wellness homemade herbal remedies.
The distinct difference being that in making your own health and wellness products,
you are in the driving seat. Not only do you have a full awareness of exactly
what the ingredients are and the true quantities, but with the appropriate level of
guidance from a reputable practitioner, you're more conversant with any health
implications, if any.
With the right know-how, you too can draw on the old-fashioned yet effective
sources to greatly improve your health. For instance, using naturally prepared
herbs, vitamins, minerals and nutritional supplements, essential oils and flower
essences to create real healing solutions that deal with particular health
conditions rather than just the symptoms.
It is in the interest of a health and wellness product manufacturers to promote their
products as being the only option open to you. They don't want you to know about
the abundant natural resources and health-giving potent attributes of herbs and home
remedies which have been used effectively for thousands of years. You see, these
remedies cannot be patented because you can make them yourself and at a
fraction of the cost.
Whether your goal is to overcome illness, drugs intolerance, allergies or just to
optimise your already good health, with a little know-how, you can start making
your own health and wellness products and remedies, using nothing more than the
readily available natural resources in your home and garden. Not only will you
save your hard earned cash, you also alleviate the risk of serious or harmful
additives and side effects.
Are you interested in learning more about how you can treat numerous common ailments without the harsh side effects, using nothing but natural herbs, vitamins
and nutrients you prepare yourself at home? For instance, did you know that
placing yogurt on your face help to bring water from the deeper layers
of your skin to the surface, moisturizing your skin for the rest of the day and hiding
wrinkles?
Here are just a few more of the many quick and effective remedies you can learn
to make:
1. Natural laxatives
2. Beauty recipes
3. Skin care and cleansing preparations such as acne treatment
3. Herbal shampoos as well as how to treat hair loss
5. Dermatitis
6. Menstrual Pain and PMS Symptoms


Article Source: http://EzineArticles.com/261873