[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 ms

[PHP] upload problems

2001-11-23 Thread Nikola Veber
Hi ! You asked for the code ... Here you go : Select File: :     Thanks Nikola -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

[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 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 I'll have

[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 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 I'll have

[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 a

[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] 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] 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, e-mail

[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, e-mai

[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, e-mail

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 esc

[PHP] Re: include question

2001-09-18 Thread Nikola Veber
I'm afraid you have not understood me completely: My only concern on this topic is: Will the user be forced to wait for the whole included php file to load, or the server will just take the desired function from that file? My goal here is to call different fragments of html code depending on u

[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 cod

[PHP] form handling problem

2001-09-17 Thread Nikola Veber
Hi ! I have a form 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 PROTECTED] To contact the list administrators, e-mail

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 http://www.okspar

[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: How am I suposed to handle multiple buttons(what should I change, name or the value?) My point here is: Does the buttons with the same name return defined values for one varia

[PHP] meta redirect explanation

2001-09-16 Thread Nikola Veber
Hi ! Thanks for the quick answer. It works, but I was curious what does the number before the adress mean. Thanks Nikola 9/16/01 4:08:08 AM, "Gavin" <[EMAIL PROTECTED]> wrote: >Yes, this HTML line will redirect the browser to the php page.. > > > >Gavin >

[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 (http

[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 "ovo je javna strana " ; } I get the parse error in the last function line. If I remove the tag, it works ok, but the text is black as well. is the first html body line. Wha

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 notic

[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

[PHP] mysql help

2001-09-09 Thread Nikola Veber
Hi ! Is there a way for creating a table inside an exciting database from php ? Thanx 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, e-mail: [EMAIL PROTE

[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] dates problem

2001-09-07 Thread Nikola Veber
k 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 administr

[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 order

[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 Example 2.01 "; echo "Iznos na Vasem racunu je $vrednost dolara"; } ?> -- PHP General Mailing List (http://www.php.net/

[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] 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 PROTECTE

[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, e-mai

[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] 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] 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... Help ! Nikola -- PHP Gen

Re: [PHP] help again

2001-08-31 Thread Nikola Veber
;[EMAIL PROTECTED]> wrote: > > >PHP Test > > >$beer = 'Heineken'; >echo "$beer's taste is great"; >?> > > > >Andrey Hristov >IcyGEN Corporation >http://www.icygen.com >BALANCED SOLUTIONS > > >- Original Messag

[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";?> PHP Test "{$beer}'s taste is great"; ?> and if I don't put string into it prints nothing ! I'm kind of confused right now ... (win98, opera 5.12, php installed

[PHP] help !

2001-08-31 Thread Nikola Veber
w where 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

[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