[PHP] Re: $_SELF[PHP_SELF] not working anymore *** SOLVED!

2003-09-16 Thread Maria Garcia Suarez
again... Kisses for everybody, Maria --- Maria Garcia Suarez <[EMAIL PROTECTED]> wrote: > Hi there! > > I'm currently developing some pages where I use > $_SELF[PHP_SELF], always without any kind of problem > (until some days ago). > > Some days ago, as I said, I for

[PHP] Re: $_SELF[PHP_SELF] not working anymore

2003-09-16 Thread Maria Garcia Suarez
Hi there! First, thanks for your reply... --- Curt Zirzow <[EMAIL PROTECTED]> wrote: > * Thus wrote Maria Garcia Suarez > ([EMAIL PROTECTED]): > > > Try with $_SERVER["PHP_SELF"] > > Then I get: > > Parse error: parse error, unexpected > >

[PHP] RE: $_SELF[PHP_SELF] not working anymore

2003-09-16 Thread Maria Garcia Suarez
Hi there! --- Javier Tacon <[EMAIL PROTECTED]> wrote: > Try with $_SERVER["PHP_SELF"] Then I get: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in This is how I use it: $currentAddress="$_SERVER[HTTP_HOST]$_SERVER[PHP_SELF]";

[PHP] $_SELF[PHP_SELF] not working anymore

2003-09-16 Thread Maria Garcia Suarez
Hi there! I'm currently developing some pages where I use $_SELF[PHP_SELF], always without any kind of problem (until some days ago). Some days ago, as I said, I formated my hard disk, installed everything again and from that day on $_SELF[PHP_SELF] stopped working, same goes for $_SERVER[REQUEST

[PHP] Protecting files with PHP

2003-07-17 Thread Maria Garcia Suarez
Hi there! I'm developing an application to which you can upload files. Right now the destination folder of those files is at /public_html/files which makes them visible from the internet. I thought of putting that ./files/ folder outside the ./public_html/ folder and make those files be only acce

[PHP] mail() sending mails twice to the e-mails addresses at BCC

2003-07-15 Thread Maria Garcia Suarez
Hi there! As I explained yesterday I am developing a group of pages to let users send mails from them. For that I am using the mail() function. The problem I face is that the addresses I write at the BCC field receive mails twice (not the one at the To: field, just the ones at the BCC:). It only

Re: [PHP] fake .php extension

2003-07-15 Thread Maria Garcia Suarez
Hi there! --- Nabil <[EMAIL PROTECTED]> wrote: > How can confugure Apache to execute a real php files > but with fake extention > like .foo or .pl or even .html? I don't have any Apache around right now but you have to search inside httpd.conf for the "php" string, one of the entries is the one

Re: [PHP] Send mail using external server

2003-07-14 Thread Maria Garcia Suarez
Hi there! --- Juan Nin <[EMAIL PROTECTED]> wrote: > From: "Curt Zirzow" <[EMAIL PROTECTED]> > > You must send the rctp to's bfore you start > sending the data. To be > > a more stable smtp client there should be more > sanity checking before > > blindy doing this: > > > > if ($cc != "") { > > $C

Re: [PHP] Send mail using external server

2003-07-14 Thread Maria Garcia Suarez
Hi there! --- Curt Zirzow <[EMAIL PROTECTED]> wrote: > Juan Nin <[EMAIL PROTECTED]> wrote: > > From: "Maria Garcia Suarez" > <[EMAIL PROTECTED]> > > [...] > > > > but, IMHO, that script isn't well coded as you > > have alrea

Re: [PHP] Send mail using external server

2003-07-14 Thread Maria Garcia Suarez
Hola Juan! Thanks for your help Juan :-) A simple but must-be-asked question... --- Juan Nin <[EMAIL PROTECTED]> wrote: > From: "Maria Garcia Suarez" > <[EMAIL PROTECTED]> > > > The problem is that blind copies > > don't reach destination, mails

[PHP] Send mail using external server

2003-07-14 Thread Maria Garcia Suarez
Hi there! I'm developing a program that has a kind of mail client from where users can send mails and get a blind copy in their e-mail boxes. The program uses mail() in those servers having a SMTP installed in the very same server. I would like to let people send mails even if the server is not ab