Instalacion de scripts php mysql (Ayuda)
Baje un script de bloghosting , pero necesita mysql , yo realmente nunca abia trabajado con mysql , ya que requerria pocos scripts y siempre usaba con base de datos de texto.
Pero ahora necesito que me digan por favor como intalo esto.
MySQL Hostname: sql4.phpnet.us
MySQL Username (FTP/SQL): tepocateradio
MySQL Password (FTP/SQL): nadas
<?
$db = mysql_connect("localhost", "tepocateradio", "nadas") or die("Could not connect.");
if(!$db)
die("no db");
if(!mysql_select_db("pn_630961_blog",$db))
die("No database selected.");
if(!get_magic_quotes_gpc())
{
y ya lo instale asi y tampoco , diganme que hacer
y osea
esto que
modify admin/connect.php and put your mysql username, password, and database name where indicated
Go into phpMyAdmin and dump everything thats in installsql.txt into your mysql database, this is the structure for the bloghost. To do this, click the sql tab in phpMyAdmin and paste the contents of installsql.txt in the box
open admin/var.php in notepad and edit the $youremail and $path variables.
Chmod the images folder to 777
Ok, now upload everything except installsql.txt
Go to admin/register.php and register yourself an administrator name and then delete admin/register.php and admin/reguser.php
??????? gracias agradesco su ayuda.
|