[PHP] a DOT or a BLANK SPACE

2001-06-20 Thread Jaime Torres
Hi. We HAVE TO use names like Num. or Home Address in for our input tags in the forms. That is: When I receive the info in my PHP file, after the form has been posted, the variable name I get is: 'Num '. So, the dots are being replaced for a blank space. I can't take for granted that any blank

RE: [PHP] include() in a file incuded()

2001-05-20 Thread Jaime Torres
Thanks for your answer George. But I still have a problem. What if I need to get another variables values from the main.php file? Do I need to pass them with the URL? Something like: mailto:[EMAIL PROTECTED]] Enviado el: domingo 20 de mayo de 2001 13:22 Para: Jaime Torres; [PHP] General List

[PHP] include() in a file incuded()

2001-05-20 Thread Jaime Torres
Hi! I've been blocked by this tiny problem... I have a main.php file: http://myserver.com/info.html";; if ($frames) { include ("frameset.php"); } ?> The frameset.php looks like (omitting almost all the HTML): In the onlineview.php file I need to use the $open URL defined befor

[PHP] Sending mail from a Unix

2001-05-11 Thread Jaime Torres
I'm running a couple of web scripts in a Unix system with Apache. I need to send an email message with some info but I have to do it using a SMTP running in another server on my network. How can I do this? I've tried setting the SMTP parameter in the php.ini file, but it'd only work if I'm runnin

RE: [PHP] Getting a binary file from URL

2001-04-22 Thread Jaime Torres
x Mb. Thanks, Jaime -Mensaje original----- De: Jaime Torres [mailto:[EMAIL PROTECTED]] Enviado el: domingo 22 de abril de 2001 12:07 Para: [EMAIL PROTECTED] Asunto: [PHP] Getting a binary file from URL Hi, I'm trying to get a binary file from an URL and then save it to a local disk. I&#x

[PHP] Getting a binary file from URL

2001-04-22 Thread Jaime Torres
Hi, I'm trying to get a binary file from an URL and then save it to a local disk. I'm trying this: $fd = fopen ($filename, "rb"); $contents = fread ($fd, filesize ($filename)); fclose ($fd); $fp = fopen ($tempfile, "wb"); fwrite ($fp,$contents); fclose ($fp); If I use $filename="local_file" th