[PHP] interesting problem / NETSCAPE-related

2002-02-28 Thread Vlad Kulchitski
Hi guys, I hope someone out there can help me I just ran into an interesting issue Basically, I am working on a php-powered template which works in two different languages (English and Ukrainian): http://wwwkulchitskicom/btl/templatephp?lang=eng When you go to this address (!in Netscape),

[PHP] session/cookies

2002-02-28 Thread Vlad Kulchitski
Hi again, I am doing a simple example of cookies and my server seems to get frozen Basically, what I do is: file01php: ? session_start(); seession_register(sess_var); sess_var = Hello; ? file02php ? echo $sess_var; session_unregister(sess_var); ? What ends up happening when I go to the

RE: [PHP] trouble with telnet.

2002-03-01 Thread Vlad Kulchitski
Actually there's a nice bash command: $ which mysql that is supposed to show you the folder where binary is I mean my understanding is if there's 'mysql' binary that means mysql is installed alternatively you can do this also: $ find / mysql*// what this one will do is it will start

[PHP] Mysql

2002-03-05 Thread Vlad Kulchitski
Hi, I am trying to connect to the database like this: $db=mysql_pconnect(localhost, clark, clark) while in mysql do the following: grant all on * to clark identified by 'clark'; And I cannot connect to the DB unless I use root in my php Actually it seems to connect under 'clark' but will

RE: [PHP] last update

2002-03-05 Thread Vlad Kulchitski
I have the problem, Something happened to my server setup and all of a sudden I am getting warning messages I haven't gotten before When I run the following piece of code: if (!isset($lang)) { $lang=eng; } I get the following warning: Warning: Use of undefined constant eng - assumed 'eng'

[PHP] Netscape vs. IE/Mozilla

2002-03-08 Thread Vlad Kulchitski
Hi guys, I know it's a wrong place to ask about this, but I am sure someone here faced the same problem. I am trying to get the site to look consistent in Netscape Navigator and it's giving me hard times. Either tables or/and cell background doesn't show up or spacing between two tables is

RE: [PHP] Netscape Vs. IE

2002-03-11 Thread Vlad Kulchitski
Hi, Someone replied to my post about browsers incompatibilities but I lost the message, can someone remind me how to set up the background image: td style='background: white' I mean I need another command that will tell to load image as a bg. I am trying to use background-image:file.gif, but

[PHP] session OR variables

2002-03-11 Thread Vlad Kulchitski
Hi, I have a question. I am working on a submit form that will ask you for confirmation of info. I.e. I need to move values submitted via form through 2 different pages. One of the ways to do it is via session_start(). Another way to do is it via storing variables in a QUERY_STRING and that's

[PHP] File Upload

2002-03-11 Thread Vlad Kulchitski
Hi, Can anyone help with file upload? I am uploading file through the form And on the page where I get the variables from the form I say: if(!userfile) echo ERROR; $filelocation=/tmp; copy($userfile, $filelocation) The message I get in my browser is: Warning: Unable to open

[PHP] textarea/textarea

2002-03-14 Thread Vlad Kulchitski
Hi, I have the following probably very simple problem. Basically what I need to do is to collect info from the user via 4 steps... like a set of input type(s) throughout STEP 1 of 4 ... STEP 4 of 4... etc... submitted to db on STEP 5. The only problem I have is I need to display textarea on

[PHP] Opera broswer file upload

2002-03-14 Thread Vlad Kulchitski
Also another question, my fileupload works everywhere (IE, Netscape) but Opera. Does Opera support it at all? My fileupload is very simple. It checks is the file is JPEG/GIF/BMP and then saves it, if not, gives an error message. Vlad -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] If...Else question

2002-03-14 Thread Vlad Kulchitski
Of course it's legal, absolutely. You have to make sure though that you don't use double quotes in php portion, and if you do, you have to escape them for instance: echo font color=\red\; if you paste the code that's causing the problem, we can take a look. Vlad -Original Message-

RE: [PHP] Opera broswer file upload

2002-03-14 Thread Vlad Kulchitski
2002 Ò. 10:58 To: [EMAIL PROTECTED] Subject: Re: [PHP] Opera broswer file upload On Thursday 14 March 2002 23:57, Vlad Kulchitski wrote: Also another question, my fileupload works everywhere (IE, Netscape) but Opera. Does Opera support it at all? My fileupload is very simple. It checks

[PHP] Opera broswer file upload / MY CODE

2002-03-14 Thread Vlad Kulchitski
- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: 14 ÂÅÒÅÚÎÑ 2002 Ò. 10:58 To: [EMAIL PROTECTED] Subject: Re: [PHP] Opera broswer file upload On Thursday 14 March 2002 23:57, Vlad Kulchitski wrote: Also another question, my fileupload works everywhere (IE, Netscape) but Opera. Does Opera support

[PHP] YET another question re: magic quotes

2002-03-14 Thread Vlad Kulchitski
If I have magic quotes on, will stripslashes() / addslashes() work? Doesn't seem to work for me... -Original Message- From: Vlad Kulchitski Sent: 14 ÂÅÒÅÚÎÑ 2002 Ò. 11:10 To: [EMAIL PROTECTED] Subject: [PHP] Opera broswer file upload / MY CODE This is the code I am using

[PHP] eregi()

2002-03-19 Thread Vlad Kulchitski
Hi, Can any1 send a small script of how to valiade a username using eregi(). I want username to consist only a-zA-Z1-0, _, and - I can't get it to work correctly Vlad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] HTMLnetscape issue

2002-03-20 Thread Vlad Kulchitski
Hi, Sorry for repeating myself, but am lost and still can't find a solution to the following problem, I need to specify a background image for td like the code below: tr td background=images/bottomcell_bg.gif/td /tr This code works EVERYWHERE (in all browsers) but Netscape Navigator

RE: [PHP] HTMLnetscape issue

2002-03-20 Thread Vlad Kulchitski
STILL DOESN'T WORK :( -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 20 ÂÅÒÅÚÎÑ 2002 Ò. 13:29 To: [EMAIL PROTECTED] Subject: Re: [PHP] HTMLnetscape issue At 20.03.2002 13:11, you wrote: Hi, Sorry for repeating myself, but am lost and still can't find a

RE: [PHP] HTMLnetscape issue

2002-03-20 Thread Vlad Kulchitski
The problem is it doesn't show the picture background, even if I type text in that cell... -Original Message- From: Nathan Cassano [mailto:[EMAIL PROTECTED]] Sent: 20 ÂÅÒÅÚÎÑ 2002 Ò. 14:43 To: [EMAIL PROTECTED]; Vlad Kulchitski Subject: RE: [PHP] HTMLnetscape issue Yes here

RE: [PHP] HTMLnetscape issue

2002-03-20 Thread Vlad Kulchitski
I agree, but there are sites like heavy GRAPHICS sites that look fine everywhere you know what I am saying... the only solution I see is to add more cells, like even 1 pix cells and 100 pix wide if I want a line of graphic etc... that is the only solution I see -Original Message-

[PHP] I won NETSCAPE BATTLE!!!

2002-03-20 Thread Vlad Kulchitski
Hi everyone! I am so happy tonight because it worked! All I had to do is to convert the image to JPEG and it worked! I think it would be useful to know it in the future. Have a good one, Vlad Kulchitski.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Displaying data from db

2002-03-22 Thread Vlad Kulchitski
Hi, I have several questions. First what would be the best solution to take the records from the database and display like 10 results per page? Another question, the same records from the database, but say I want to sort them by name. Like I have a menu: a,b,c,d,e,f,g,h.. etc. And if

[PHP] forms and inputs

2002-03-24 Thread Vlad Kulchitski
Hi, Can anyone suggest anything regarding the following problem. Basically, I ask the user to type a few sentences, in input type=text name=name and on the next page I show everything s/he typed asking Are you sure you want to submit this... Once clicked YES all data is being taken to the

RE: [PHP] forms and inputs

2002-03-24 Thread Vlad Kulchitski
?lang=engpage=talkroom_submit If anyone knows how to overcome the problem, please help. Thanks, Vlad -Original Message- From: S [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 24, 2002 2:34 PM To: Vlad Kulchitski; [EMAIL PROTECTED] Subject: RE: [PHP] forms and inputs Your input tag should

[PHP]

2002-03-26 Thread Vlad Kulchitski
Hi can anyone help me, I am getting this error when I try to start session: Warning: Cannot send session cookie - headers already sent by (output started at /var/www/kulchitski/btl/btl.php:2) in /var/www/kulchitski/btl/_talkroom_edit.php on line 39 I didn't start session before, in fact I never

RE: [PHP]

2002-03-26 Thread Vlad Kulchitski
with the script that tries to create a session. Anyway, this certainly makes it clearer - thank you guys. Vlad -Original Message- From: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: 26 ÂÅÒÅÚÎÑ 2002 Ò. 20:41 To: Vlad Kulchitski Cc: [EMAIL PROTECTED] Subject: Re: [PHP] On Tue, 26 Mar 2002, Vlad

[PHP] password protected pages with cookies

2002-03-28 Thread Vlad Kulchitski
Hi, I have a very general question about my php project. Basically, it's about secure pages for administering site. The way I do it is authorizing users against their credentials in the mysql database. Then if authentication passed successfully, I register a session with a specific name and

RE: [PHP] Hi to you anti-spammers HAHA

2002-04-01 Thread Vlad Kulchitski
Phpinfo(); works all the time, unless you went ahead and reprogrammed php yourself :) Hello to AFRIKA from SOVIETS! CCCP rules! -Original Message- From: vins [mailto:[EMAIL PROTECTED]] Sent: 1 êâ³òíÿ 2002 ð. 15:43 To: [EMAIL PROTECTED] Subject: [PHP] Hi to you anti-spammers HAHA

RE: [PHP] register session

2002-04-03 Thread Vlad Kulchitski
Kris, Idi na phpbeginner.com tam est 'tutorials' dlya tebya. Vlad -Original Message- From: Kris Vose Sent: 3 êâ³òíÿ 2002 ð. 12:42 To: [EMAIL PROTECTED] Subject: [PHP] register session I am trying to register a session after verification of username and password. It looks like this: