php-general Digest 26 Dec 2005 23:00:36 -0000 Issue 3872

Topics (messages 227874 through 227878):

PHP/MYSQL Connection trouble (charset)
        227874 by: Christian Ista
        227875 by: Christian Ista

Re: Can the URL be controlled for more user-friendly readability? [SOLVED]
        227876 by: Dave M G

Re: [PHP-DB] Re: Inserting a php file into a mysql database
        227877 by: John Meyer

Re: any https / php gotchas ???
        227878 by: Curt Zirzow

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
Hello,


I Have MySQL 4.1.14 and 5.0.15 installed on my Windows XP Pro SP2.

There are installed in D:\Tools\MySQL\MySQL Server 4.1.14 and MySQL Server
5.0.15 for the version 5. They work on port 3306 and 3307.

When I try a DB connection, I receive this error:

File 'c:\mysql\share\charsets\?.conf' not found (Errcode: 2) Character set
'#33' is not a compiled character set and is not specified in the
'c:\mysql\share\charsets\Index' file Resource id #5

I tried several solution from this :
http://dev.mysql.com/doc/refman/4.1/en/problems-with-character-sets.html

but no result.

Could you help me ?

Thanks,

Christian,


___________________________________
Christian Ista
http://www.cista.be

--- End Message ---
--- Begin Message ---
> From: Christian Ista [mailto:[EMAIL PROTECTED] File 
> 'c:\mysql\share\charsets\?.conf' not found (Errcode: 2) Character set 
> '#33' is not a compiled character set and is not specified in the 
> 'c:\mysql\share\charsets\Index' file Resource id #5

I answer to myself.

In fact I reinstall MySQL 4.x in the same directory with latin as default
charset and that's work now :)

Christian,
 

--- End Message ---
--- Begin Message ---
        Thank you for the suggestions. Altering the rules of the Apache server
seems to suggest the potential to have the effect I am after. I know
nothing about configuring Apache, but I will try to learn.
        If my discovery process brings me back to PHP issues, then I will
return here with more questions.
        I appreciate you taking the time to offer advice.

--
Dave M G

--- End Message ---
--- Begin Message ---
On Monday 26 December 2005 8:26 am, El Bekko wrote:
>
> Use file_get_contents() I'd say... but you'll have the problem the file
> executes :S

Which is why I told him just to treat the php file like a text file (which is 
what it really is) and use fopen to grab the file, read its contents into a 
string, and insert that into the database.
-- 
Dr. Joseph Dolan: Isn't there a children's book about an elephant named Babar? 
Fletch: I don't know. I don't have any. 
Dr. Joseph Dolan: No children? 
Fletch: No, elephant books.

--- End Message ---
--- Begin Message ---
On Mon, Dec 26, 2005 at 07:42:48AM +0000, Dave Carrera wrote:
> Hi List,
> 
> Are there any https / php gotchas to take into consideration for an app 
> i am writing that will run within a https environment ???

I'm not sure what kind of 'gotchas' your are worried about, but
well php doesn't really care wether you are using http or https.

There is one thing to note: if you are trying to detect in php
wether or not the request was from https or not, the result of what
is in $_SERVER['HTTPS'], depends on the webserver, the possible
values:

  if accessed via https:
    on, On, ON
    
  if accessed via http:
    !isset(), Off, OFF


Curt.
-- 
cat .signature: No such file or directory

--- End Message ---

Reply via email to