[PHP] Re: *Umlauts/UTF-8

2003-04-03 Thread Alexey Lysenkov
Sorry for disturbing. That was fault - the txt file was not properly encoded. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] *Umlauts/UTF-8

2003-04-03 Thread Alexey Lysenkov
I have the junk showing up in my browser (Moz 1.3 / IE5.5 on Win2K) Strangely enough it happens only on one page - another page, containing even more text, shows all umlauts alright. I don't knwo where the problem is. :-/ Txt file self?... Alex Marek Kilimajer wrote: Where do you get the ?'s an

[PHP] Re: *Umlauts/UTF-8

2003-04-03 Thread Alexey Lysenkov
Please, anybody? I'm really stuck with this. Please, help, if you know the solution. -Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] *Umlauts/UTF-8

2003-04-02 Thread Alexey Lysenkov
Hello, I am having a problem with umlauts in utf-8 encoded txt file, which is being read by my script. Instead of umlauts I get ? or squares or anything else, but not those umlauts. What is the problem, can anybody help, please? Thanks. ps. I've chosen utf-8, because I have to have Western Eu

Re: [PHP] *Premature end of script headers

2002-12-19 Thread Alexey Lysenkov
I've found it! It's session thing. Why? It stops at session_start, and moreover, I overslept this morning. Two minutes ago it had to be ready, shit!.. I'm sorry. At the other machine it runs as .exe not as mod, the guy said, version 4.0.5. I can use only $HTTP_SESSION_VARS array, but I don't know

Re: [PHP] *Premature end of script headers

2002-12-18 Thread Alexey Lysenkov
Guys? The support guy says that my php-script brings his php interpreter to crash. I am astonished (wow-what a powerful man I am :) ) - no, but really, it doesn't crash MY server? He also said, it happens just right after the file is being asked for, that is, as I suspect, somewhere in the first li

Re: [PHP] *OK, more eval for today

2002-12-18 Thread Alexey Lysenkov
It worked for validation! :) Hooray. Now, I guess, I have to set the same logic for the whole other bumch of questions God.. Most probably will post here today later again. Cheers, John! -Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

Re: [PHP] *OK, more eval for today

2002-12-18 Thread Alexey Lysenkov
am trying -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] *OK, more eval for today

2002-12-18 Thread Alexey Lysenkov
- A monthly magazine for PHP Professionals. Get your copy > today. http://www.phparch.com/ > > > -Original Message- > > From: Alexey Lysenkov [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, December 18, 2002 2:08 PM > > To: [EMAIL PROTECTED] > > Subject: [

[PHP] *OK, more eval for today

2002-12-18 Thread Alexey Lysenkov
I know, it's eval = evil, but I don't see any other way I can check for 120 variables submitted via post, without making a temp variable, assigning a value of the posted Var and checking for it (and deciding on the further run of the script). Anyways, I took a classical eval thing and am doing f

Re: [PHP] *Premature end of script headers

2002-12-18 Thread Alexey Lysenkov
wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Calm down. Does it do that same error if you have something simple like: On a page all by itself? On Wed, 2002-12-18 at 13:12, Alexey Lysenkov wrote: What does THAT mean? My script cannot execute on this goddamn serv

[PHP] *Premature end of script headers

2002-12-18 Thread Alexey Lysenkov
What does THAT mean? My script cannot execute on this goddamn server, running goddamn safe-damn-mode! A line in the error.log: [Wed Dec 18 14:18:55 2002] [error] [client 217.***.*.***] Premature end of script headers: e:/~~~/~~~/apache/php/php.exe Regards, Alex What should I tell the support guy

Re: [PHP] Re: *Cannot connect to db

2002-12-18 Thread Alexey Lysenkov
; to appear as > > // $dbname = "marketingcompany"; > // $hostname="localhost"; > > i had the same problem you are having and for some reason which i still > don't understand, the solution i proposed above worked. i don't think > this is the corre

[PHP] Re: *Cannot connect to db

2002-12-18 Thread Alexey Lysenkov
Warning: MySQL Connection Failed: Access denied for user: 'tmc@localhost' (Using password: YES) in e:\~~~\~~~\apache\website\~~~\testdb.php on line 8 The guy at the support says, that everybody else can connect no problems, sent me the code, which I copy-pasted and I still have this error. :((

[PHP] *Cannot connect to db

2002-12-18 Thread Alexey Lysenkov
mySQL; php running in safe mode; compared to the other code on the same server. here is mine - I don't get any connection. What could be wrong? Also, what does this @ sign mean before the mysql_connect? function dbopen(){ $tablename = "balzerdez02"; $dbname = "marketingcompany"; $hostname=

[PHP] *arrays/evaluating - ! urgent !

2002-12-17 Thread Alexey Lysenkov
Hello, another newbie here. Here is a loop: for($f=0;$f\n"); echo("$frage5[$f]\n"); for($h=0;$h\n"); $tempQar = "array_values(\$arq_5_".$hh.")"; eval("\$tempQar=\"$tempQar\";"); for($v=0;$v<7;$v++){ if((int)$tempQar[$f] == $v){ $sel = "selected"; }els