installing php admin in dreamweaver?

Reply

Join Date: Aug 2006
Posts: 57
Reputation: bazmanblue is an unknown quantity at this point 
Solved Threads: 0
bazmanblue bazmanblue is offline Offline
Junior Poster in Training

installing php admin in dreamweaver?

 
0
  #1
Oct 9th, 2006
hello has anyone installed and uploaded phpadmin through dreamweaver. can anyone explain to me how? im a bit stuck
To get 1000 links to free ad sites visit
http://www.freeaddsgalore.me.uk
For FREE:!:
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 57
Reputation: bazmanblue is an unknown quantity at this point 
Solved Threads: 0
bazmanblue bazmanblue is offline Offline
Junior Poster in Training

Re: installing php admin in dreamweaver?

 
0
  #2
Oct 9th, 2006
it is this part that i am confused about

"
Now you must configure your installation. There are two methods that can be
used. Traditionally, users have hand-edited a copy of config.inc.php, but
now a wizard-style setup script is provided for those who prefer a
graphical installation. Creating a config.inc.php is still a quick way to
get started and needed for some advanced features.
+ To manually create the file, simply use your text editor to create the
file config.inc.php (you can copy config.sample.inc.php to get minimal
configuration file) in the main (top-level) phpMyAdmin directory (the
one that contains index.php). phpMyAdmin first loads libraries/
config.default.php and then overrides those values with anything found
in config.inc.php. If the default value is okay for a particular
setting, there is no need to include it in config.inc.php. You'll need
a few directives to get going, a simple configuration may look like
this:
<?php
$cfg['blowfish_secret'] = 'ba17c1ec07d65003'; // use here a value of your choice
$i=0;
$i++;
$cfg['Servers'][$i]['auth_type'] = 'cookie';
?>
Or, if you prefer to not be prompted every time you log in:
<?php
$i=0;
$i++;
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'cbb74bc'; // use here your password
?>"
To get 1000 links to free ad sites visit
http://www.freeaddsgalore.me.uk
For FREE:!:
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 133
Reputation: sn4rf3r is an unknown quantity at this point 
Solved Threads: 2
sn4rf3r's Avatar
sn4rf3r sn4rf3r is offline Offline
Junior Poster

Re: installing php admin in dreamweaver?

 
0
  #3
Oct 9th, 2006
What are you confused about?

you need to have mysql up and running on a machine lets say its localhost and you have username john with a password of password.

[php]
//url for this machine
$cfg['PmaAbsoluteUri'] = 'localhost';
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'john'; // MySQL user
$cfg['Servers'][$i]['password'] = 'password'

[/php]

After that every thing should be fine, you might need to edit a vhost file or put the entire phpmyadmin into your webroot (security risk) in order for it all to work fine.

As for using dreamweaver, you should be able to do the same thing with a real ftp client, with much less hassle. Its up to you.
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 57
Reputation: bazmanblue is an unknown quantity at this point 
Solved Threads: 0
bazmanblue bazmanblue is offline Offline
Junior Poster in Training

Re: installing php admin in dreamweaver?

 
0
  #4
Oct 9th, 2006
haha everything really. i could do it without myphpadmin but ive been told it makes life alot easier. ive uploaded all the files to my server via dreamweaver. now i have to create a file called config.inc.php but not sure what they mean by editing it
i have mysql on my host ftp
id prefer to be prompted for my password every time i log in so do i just create a file with
<?php
$cfg['blowfish_secret'] = 'ba17c1ec07d65003'; // use here a value of your choice
$i=0;
$i++;
$cfg['Servers'][$i]['auth_type'] = 'cookie';
?>
and name it config.inc.php and upload it with the rest of the files installed in the directory?
To get 1000 links to free ad sites visit
http://www.freeaddsgalore.me.uk
For FREE:!:
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 57
Reputation: bazmanblue is an unknown quantity at this point 
Solved Threads: 0
bazmanblue bazmanblue is offline Offline
Junior Poster in Training

Re: installing php admin in dreamweaver?

 
0
  #5
Oct 9th, 2006
well ive tried that code but that comes up with a blank page. still its not an error so must be getting close. please help
To get 1000 links to free ad sites visit
http://www.freeaddsgalore.me.uk
For FREE:!:
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 133
Reputation: sn4rf3r is an unknown quantity at this point 
Solved Threads: 2
sn4rf3r's Avatar
sn4rf3r sn4rf3r is offline Offline
Junior Poster

Re: installing php admin in dreamweaver?

 
0
  #6
Oct 9th, 2006
there should be a config.inc.php in the directory, edit that. By edit I mean open it up in dreamweaver and change the values to whatever they need to be for your set up. all you need to do is select cookie type, set the username, password, and url.

Dont worry about the blowfish hash.
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 57
Reputation: bazmanblue is an unknown quantity at this point 
Solved Threads: 0
bazmanblue bazmanblue is offline Offline
Junior Poster in Training

Re: installing php admin in dreamweaver?

 
0
  #7
Oct 9th, 2006
[HTML]<?php
/* $Id: config.sample.inc.php,v 2.1.2.2 2006/08/28 08:14:14 nijel Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:
/**
* phpMyAdmin sample configuration, you can use it as base for
* manual configuration. For easier setup you can use scripts/setup.php
*
* All directives are explained in Documentation.html and on phpMyAdmin
* wiki <http://wiki.cihar.com>.
*/
/*
* This is needed for cookie based authentication to encrypt password in
* cookie
*/
$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
/*
* Servers configuration
*/
$i = 0;
/*
* First server
*/
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysql';
/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'pmausr';
$cfg['Servers'][$i]['controlpass'] = 'pmapass';
/* Advanced phpMyAdmin features */
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
/*
* End of servers configuration
*/
/*
* Directories for saving/loading files from server
*/
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
?>
[/HTML]

this is the file. how do i know what cookie type to select
thanks for your help so far
To get 1000 links to free ad sites visit
http://www.freeaddsgalore.me.uk
For FREE:!:
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 133
Reputation: sn4rf3r is an unknown quantity at this point 
Solved Threads: 2
sn4rf3r's Avatar
sn4rf3r sn4rf3r is offline Offline
Junior Poster

Re: installing php admin in dreamweaver?

 
0
  #8
Oct 10th, 2006
you did select the cookie in the auth type variable.

Turn on all errors if you are still getting a blank page. Also make sure that you have set up a vhost and/or your httpd.conf correctly IE DocumentRoot, ServerName, etc
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 57
Reputation: bazmanblue is an unknown quantity at this point 
Solved Threads: 0
bazmanblue bazmanblue is offline Offline
Junior Poster in Training

Re: installing php admin in dreamweaver?

 
0
  #9
Oct 10th, 2006
i have no errors or warnings found and have it uploading to my webhost
to i type in
www.freeaddsgalore.me.uk/config.inc.php
to get to my php admin
this is the page that comes up blank
this is well confusing i cant wait to master it
To get 1000 links to free ad sites visit
http://www.freeaddsgalore.me.uk
For FREE:!:
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 133
Reputation: sn4rf3r is an unknown quantity at this point 
Solved Threads: 2
sn4rf3r's Avatar
sn4rf3r sn4rf3r is offline Offline
Junior Poster

Re: installing php admin in dreamweaver?

 
0
  #10
Oct 10th, 2006
yeah, youre never going to get any content on that page, does it echo anything oout? no its a config file, try index.php
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the MySQL Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC