Creation d'un mini reseau social
Résolu/Fermé
bell_01
Messages postés
5
Statut
Membre
-
irin1 Messages postés 40 Statut Membre -
irin1 Messages postés 40 Statut Membre -
Bonjour,
comment ca va , je suis bell de tunisie etudiant en IsetMahdia en 3 eme anneés multimedia dvlp web . aime avoir comment crée un meni reseau social dans mon projet PFE , des tutorial(video, pdf ...)
e Merci bien
comment ca va , je suis bell de tunisie etudiant en IsetMahdia en 3 eme anneés multimedia dvlp web . aime avoir comment crée un meni reseau social dans mon projet PFE , des tutorial(video, pdf ...)
e Merci bien
4 réponses
-
-
-
Je vous conseil de vous tourner du coté du CMS Wordpress en vous appuyant sur le plugin social Buddypress qui est prévu pour créer ce genre de sites internet.
Cordialement,
Vincent -
Salut les amis
je veux votre aide; j'ai essayé de faire un mini reseau social mais voici l'erreur que j'ai:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\wamp\www\rs\index.php:1) in C:\wamp\www\rs\functions\connect.php on line 2
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\wamp\www\rs\index.php:1) in C:\wamp\www\rs\functions\connect.php on line 2
Warning: include(functions/.func.php) [function.include]: failed to open stream: No such file or directory in C:\wamp\www\rs\index.php on line 8
Warning: include() [function.include]: Failed opening 'functions/.func.php' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\rs\index.php on line 8
Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\rs\index.php:1) in C:\wamp\www\rs\index.php on line 21
Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\rs\index.php:1) in C:\wamp\www\rs\index.php on line 26
Warning: include() [function.include]: Failed opening '' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\rs\index.php on line 37
voici le code pour ma page connection.php :
<?php
session_start();
//connexion é la base des données
mysql_connect('localhost','root','') or die(error);
mysql_select_db('rs') or die('Bdd introuvable');
mysql_query('SET NAMES utf8');
?>
Pour l'index.php :
<?php
include('functions/connect.php');
$page=htmlentities($_GET['page']);
include('functions/'.$page.'.func.php');
$pages=scandir('pages');
if(!empty($page)&& in_array($_GET['page'].".php",$pages))
{
$content='pages/'.$_GET['page'].".php";
}else{
header("Location:index.php?page=login");
}
if(!isset($_SESSION['pseudo']) && $page !='membre' && $page!= 'update' && $page != 'update_avatar')
{
header("Location:index.php?page=membre");
}
?>
<!DOCTYPE html>
<html>
<head>
<link rel='stylesheet' href='css/style.css'>
</head>
<body>
<div id='content'>
<?php
include($content);
?>
</div>
</body>
</html>
merci pour votre aide