Re: [PHP] combine 2 integer

2002-09-09 Thread mhe
I'm not shure what you mean, but is it something like this... $var1 = $var1 + $var2; regards Martin Hjort Eriksen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] formatting a filename

2002-09-05 Thread mhe
Here is a function that is used in the My_eGallery modules for PHP nuke. function find_nom_dif($nom) { $nom=stripslashes($nom); $nom=str_replace("'","",$nom); $nom=str_replace("\"","",$nom); $nom=str_replace("\"","",$nom); $nom=str_replace("&","",$n

Re: [PHP] Upload

2002-09-02 Thread mhe
Thank you very much, actually I had already changes that setting, but did not restart apache. Under windows, if I remember correctly, I did not have to worry about apache if I changed something in php.ini, but aperently I there is a connection under linux. Why the difference? /mhe Citat Juan

[PHP] Upload

2002-09-02 Thread mhe
I have a form where i upload files. When I was using windows there was no problem, now I have switched to Linux, and I cannot upload anymore. The form simply does not pass any of the variables on. If i remove enctype="multipart/form-data" from the form tag, then the variables are passed. Doe

Re: [PHP] Newbie "Parse" error

2002-09-02 Thread mhe
You have forgotten a ?> before your HTML starts. / Martin Citat Chase Knott <[EMAIL PROTECTED]>: > Maybe you can help me with YOUR eyes again... Now I am getting this > error... > > Parse error: parse error, unexpected '<' in send_contact_form.php on > line 18 > > This will be around the "