[PHP] Upload

2002-04-24 Thread Gabriele Biondo
Hi, guys! Does anyone know how to write a php script to upload a file from my browser? Moreover; how could i avoid security errors? Thanx in advance Gabriele -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] confusing problem w/sessions

2001-08-20 Thread Gabriele Biondo
> start your session before sending any html output to browser Okay. This solves the problem w/the warnings > check that register_globals is on It is actually on > if not use $HTTP_SESSION_VARS("a") instead to reference your session var > assign a value after having initialiazed your var not

[PHP] confusing problem w/sessions

2001-08-20 Thread Gabriele Biondo
Dear sirs; i have a simple snippet of code : i am trying to understand how do session work. Accessing at this document directly from the server (it is a SuSE 7.2 PE - running PHP 4.0.4 and apache 1.3.9) i find out the following problem: Warning: cannot send session cookie - headers already sen

Re: [PHP] Need for dox...

2001-07-30 Thread Gabriele Biondo
Thanx again, buddies. The pages you listed were really useful... ... is there a better search engine than the experience of other people that faced the problem before??? Later, friends! - Original Message - From: "B. van Ouwerkerk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Mond

Re: [PHP] Need for dox...

2001-07-30 Thread Gabriele Biondo
Thanks buddies... I didn't know the http://www.phpbuilder.com/ site!!! many, many thanks. Gabriele -- 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

[PHP] Need for dox...

2001-07-30 Thread Gabriele Biondo
Hi... i would like to have more infos about the sessions in PHP. Where could i found them??? Thanks in advance Gabriele

[PHP] R: [PHP] Shopping with variables

2001-05-16 Thread Gabriele Biondo
> Thanks Gabriele :) Whilst waiting for your e-mail I figured out another > way...Thought I would show you it just in case you ever find the > need to use > this alternative: > >($dvd ? "DVD: $dvd ":''). > ($video ? "Video: $video ":''). > ($cd ? "CD's: $cd ":''). > "

[PHP] R: [PHP] Shopping with variables

2001-05-16 Thread Gabriele Biondo
> ?php print(" You have asked to purchase $dvd $video $cd 's - > Thank you") >? > > This prints out, "You have bought 16 - Thank you" for example, see the > problem? How do I get it to print the variable name not just it's value? Try with replacing your print with the following one: print("

[PHP] R: [PHP] Little question

2001-05-09 Thread Gabriele Biondo
> this : > > if ... $myOra="" ... > > should be more like : > > if ... $myOra == "" ... > > essentially you're setting $myOra as blank everytime which evaluates to > true, then it ends up printing the blank, which is not good. regarding > typos, this is a common one and since it reveals no

[PHP] R: [PHP] Little question

2001-05-09 Thread Gabriele Biondo
Already added, nothing changed at all... > -Messaggio originale- > Da: Jason Murray [mailto:[EMAIL PROTECTED]] > Inviato: mercoledì 9 maggio 2001 9.56 > A: 'Gabriele Biondo' > Oggetto: RE: [PHP] Little question > > > > > This needs to have a ?&

[PHP] Little question

2001-05-09 Thread Gabriele Biondo
n: PHP Version: 4.0.4pl1 MySQL API version: 3.23.22-beta Server API: httpd on a RHLinux 7.1 Thanks in advance Gabriele Biondo -- 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 adminis