Re: [PHP] Need help Wth PHP

2011-10-10 Thread Jeffrin Jose
there is a file called wp-config.h  in wordpress files mostly located 
in the source parent there you can see the database name , username
and password. that file also may contain the site url. This way you may
be able to identify the database from the original site. 

If you do not have wordpress in your new server you may be able
to install it using cpanel application..


 
software engineer
department of computer science
Rajagiri school of engineering and technology.



From: Rod Lindgren r...@okinawa-te.info
To: 'Lester Caine' les...@lsces.co.uk; php-general@lists.php.net
Sent: Monday, 10 October 2011 1:37 PM
Subject: RE: [PHP] Need help Wth PHP

I was able to install Wordpress, but how do I identify the database from the
original site? Do I need to change some settings in it somewhere with the
authorizations from the new install on the new server? Right now, if you go
to the website, a generic page created by the install comes up. I seem to
have lost the original page. 

Thanks,
Rod

-Original Message-
From: Lester Caine [mailto:les...@lsces.co.uk] 
Sent: Sunday, October 09, 2011 11:31 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Need help Wth PHP

Rod Lindgren wrote:
 Thanks for the link. I am now wondering if Wordpress is available on my
 server.
If it's not, you can add it yourself in much the same way you uploaded the 
'profile' for the wordpress site ... http://wordpress.org/download/
Essentially it is just another PHP application, but you do need the database

that goes with the original site.

-- 
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





Re: [PHP] Figuring out file-encoding

2011-02-28 Thread Jeffrin Jose
On Mon, Feb 28, 2011 at 06:20:30PM +0100, Asmann, Roland wrote:
 I need to read several files from the HD, but they are saved in 
 different encodings. Can I somehow figure out which encoding I should 
 use when reading the file?

i think detect the file encoding and decode it.
as for detection try using mb_detect_encoding function.
http://php.net/manual/en/function.mb-detect-encoding.php
it works with (PHP 4 = 4.0.6, PHP 5)

/Jeffrin.

-- 
software engineer.
department of computer science
rajagiri school of engineering and technology.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php