RE: [PHP] writting into a text file

2001-09-22 Thread Nikola Veber
Hi ! I was wondering if it is possible to replace standard radio and submit buttons with images. In case of radio buttons that should look like swap image(the image that presents the selected item is swaped) for the selected item, and smth like link image for submit buttons... I think that

[PHP] php and java problem

2001-09-30 Thread Nikola Veber
Hi ! I was able to determine the user's screen resolution, but I'd like to let php know that(the next page loaded should be in the right resolution, I'd like to pass a value to php, but I don't know how). Thanx Nikola -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] php and java problem

2001-10-01 Thread Nikola Veber
Hi ! I was able to determine the user's screen resolution, but I'd like to let php know that(the next page loaded should be in the right resolution, I'd like to pass a value to php, but I don't know how). Thanx Nikola -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] chmod trouble

2001-10-03 Thread Nikola Veber
Hi ! What chmod value gives the read-only premission to the file ? (777 is the read-write) Thanks Nikola -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

[PHP] file reading and textarea problem

2001-10-03 Thread Nikola Veber
Hi ! I'm having a problem with the following : I have a log file on my site, that records date, time and the user's system. Each entry is placed in a new line. Now, I can only read the first line with fgets($filename, 4096). Is there another function, or the 4096 number should be changed in

[PHP] random numbers help

2001-10-05 Thread Nikola Veber
Hi ! I'm having troubles with the random numbers. When I create a number witm mt_rand() I always get the same number on my local server. I need this stuff to ranomly display some text, and I'd like to have another value of the random number each time the page is refreshed. Thanks Nikola

[PHP] mail problem (reading mail from a pop3 server)

2001-10-05 Thread Nikola Veber
Hi ! I would like to add an option for reading e-mail from the pop3 server to my site. Is this possible at all ? Thanks Nikola -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP] table troubles

2001-10-30 Thread Nikola Veber
Hi ! I'm making a web site which allows user to add his own news, or other data to the page via the form. The user inputs the data into the textarea and the data is placed into a table. The problem is that all the text is placed into a single line ! Is there a html catch to prevent this, or

[PHP] table troubles

2001-10-30 Thread Nikola Veber
Hi ! I'm making a web site which allows user to add his own news, or other data to the page via the form. The user inputs the data into the textarea and the data is placed into a table. The problem is that all the text is placed into a single line ! Is there a html catch to prevent this, or

[PHP] upload problems

2001-11-23 Thread Nikola Veber
Hi ! You asked for the code ... Here you go : html body form action=?global $PHP_SELF; echo $PHP_SELF? method=POST ENCTYPE=multipart/form-data table tr tdSelect File:/td td:/td tdinput type=file name=userfile/td /tr tr tdnbsp;/td tdnbsp;/td

[PHP] file upload troubles

2001-11-23 Thread Nikola Veber
Hi ! I'm having terrible troubles with the file upload program I need. I have read a couple of tutorials and studied the examples in the manual, but it won't work. Every tutorial I read worked with variables $usrefile, $userfile_name etc. When I copy the same example code , I get the error

[PHP] begginer needs help

2001-08-30 Thread Nikola Veber
I have been doing some amateur web-design by now, but I decided to learn something like php. I was wondering if there is a way to test php code without a server(on local computer). Thanx in advance Nikola Veber -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP] help !

2001-08-31 Thread Nikola Veber
to place the code. I am using opera 5.12 as my default browser, and Macromedia Dreamweaver as the html editor. Maybe there is an option in Dreamweaver , but I couldn't find it in it's documentation Please help ! Nikola Veber -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

[PHP] help again

2001-08-31 Thread Nikola Veber
I am having big troubles here. I wrote this code just as it said in the manual, and it prints {$beer}'s taste is great;? html head titlePHP Test/title /head body ?php $beer = 'Heineken'; echo h1{$beer}'s taste is great/h1; ? /body /html and if I don't put string into h1 it prints nothing !

Re: [PHP] help again

2001-08-31 Thread Nikola Veber
/title /head body ?php $beer = 'Heineken'; echo h1$beer's taste is great/h1; ? /body /html Andrey Hristov IcyGEN Corporation http://www.icygen.com BALANCED SOLUTIONS - Original Message - From: Nikola Veber [EMAIL PROTECTED] To: php forum [EMAIL PROTECTED] Sent: Friday, August 31, 2001 7:38

[PHP] xitami problems

2001-08-31 Thread Nikola Veber
I know I'm stepping on your nerv, but I can't process any pages, although xitami is properly installed, and has php direction in filters option. I am using opera 5.12 as my browser, and even when I read files trough the local server, I can't process the code... I tried reinstalling PHP with

[PHP] literature help

2001-09-02 Thread Nikola Veber
Hi I wish to learn php, but I was wondering if there is a better resource( something like a guide) besides the php manual on php.net ? Thanx Nikola -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] newby: forms problem

2001-09-04 Thread Nikola Veber
hi In order to process a form, do I need a cgi script and if not, how am I suposed to do that (how to pass a field value into a $variable, or there is another method)? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] book help

2001-09-05 Thread Nikola Veber
I am a begginer in php and I have bought the Sterling Huges' php developer's cookbook since it was the only book I could find. Is it a good choise ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] book help

2001-09-06 Thread Nikola Veber
Hi ! As I wrote earlier, I am a begginer in php and I don't have much experience in other programming languages. I have bought the PHP developer's cookbook and , just as I was told, I have read on-line tutorials for beginners(I read as many as I could find), but I still find this book rather

[PHP] code troble

2001-09-07 Thread Nikola Veber
Hi I'm having trobles with this code. Can you take a look at it? Parse error: parse error in C:/XITAMI/webpages/index.php on line 34 is the error msg. thanx html head titleExample 2.01/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body ?php if (emty(provera))

[PHP] beginner code help

2001-09-07 Thread Nikola Veber
Hi ! Can anyone tell me why this line returns the parse error if (strstr($name, firstname) or strstr($ime, lastname)){ } With this line I'd like to determine if string $name , which contains both first and last name, has earlier defined first and last name, with no difference of the

[PHP] dates problem

2001-09-08 Thread Nikola Veber
the only way to do this is to make the time stamp for the interval between now and the specific date. thanx Nikola Veber -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators

[PHP] newby : MySql

2001-09-09 Thread Nikola Veber
(xitami local webserver)? Thanx Nikola Veber -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] big problems , help !!!

2001-09-14 Thread Nikola Veber
I am working on a web-site which has a bunch of layers and a java script which controls their appearance. That means that I have the whole site in one html. The problem appeared when I tried to put php code inside a DIV tag. In that case only that layer was visible. I don't know weather php and

Re: [PHP] big problems , help !!!

2001-09-14 Thread Nikola Veber
I found the only difference between your script and mine in table tag, but even when I changed it, the problem remained. I am using DW, but I'm not a java programmer, and scripts are generated by extensions for dw. That's why I don't have a clue what's happening. Another thing ... I have

[PHP] html formating trouble

2001-09-14 Thread Nikola Veber
I'm having trouble with formating the html output. I have the black background, and in function function javni(){ echo font color=#FFovo je javna strana /font ; } I get the parse error in the last function line. If I remove the font tag, it works ok, but the text is black as well. body

[PHP] redirect to php problem

2001-09-15 Thread Nikola Veber
Hi ! I'm having a problem with following : I'd like to activate a php file as a home page, but without pointing directly to it(http://www.smth.com/file.php). I'd like to know if it is possible to call it from a html file(index.htm for exp. ) Thanks Nikola -- PHP General Mailing List

[PHP] meta redirect explanation

2001-09-16 Thread Nikola Veber
.. META http-equiv=refresh content=0;url=file.php Gavin Nikola Veber [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

[PHP] radio button help

2001-09-16 Thread Nikola Veber
Hi ! I know that this may be not the right place for this question, bu anyway: The radiobutton tag looks like this: input type=radio name=radiobutton value=radiobutton How am I suposed to handle multiple buttons(what should I change, name or the value?) My point here is: Does the buttons

Re: [PHP] dynamic menu possible?

2001-09-17 Thread Nikola Veber
Whell, you could use that php script for getting file names and put links toward those files in a layer, which can be controled with java. If you are not a java expert, you can do it with macromedia dreamweaver + extensions. I don't know java, but I made a layer based site at

[PHP] form handling problem

2001-09-17 Thread Nikola Veber
Hi ! I have a form form target = ?php echo $PHP_SELF ?; METHOD = get Is there a way to open PHP_SELF in the same window, not in the new one ? Thanks Nikola -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] include question

2001-09-18 Thread Nikola Veber
Hi ! I'm using include() function to print html code nested in a function in the included file when a link is selected. I was wondering if the whole php file that is included gets loaded, or the server just sends the code from desired finction? Can I put more than one function full of html