[PHP] function to add %20 in place of blank spaces
I'm trying to remember what is the function to replace blank spaces with %20. Can anyone remind me of that? Thanks, C.F.
Re: [PHP] Forcing a dynamic created text file to be saved
OK I know that. What I want to do is to have the save dialog displayed as if it was a HTTP file download procedure. If you click on a ZIP file say test.zip the save dialog will be displayed. I want to do the same but not with a phisical file. Instead I want to do it with the content of the page (text). - Original Message - From: "Brad S. Jackson" <[EMAIL PROTECTED]> To: "Nando2" <[EMAIL PROTECTED]> Sent: Tuesday, April 10, 2001 7:00 PM Subject: Re: [PHP] Forcing a dynamic created text file to be saved Whether the save dialog is displayed is determined by the registry settings for the user's browser. You cannot control that by what you send. "Nando2" <[EMAIL PROTECTED]> wrote: Hello all! I have a PHP4 script that produces a text file and I would like that when the user access this script the text content of it was forced to be saved meaning that when the user selects it he/she will have the save dialog form to save the text file with the filename specified in the header function. So far I have managed to create the text file dynamicaly but still I have to click the browser's save button to save the file with the determined filename. I wanted it to be forced. Does anyone know how to do it ? Here's the code : Thanks, Carlos Fernando Scheidecker Antunes -- 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] Forcing a dynamic created text file to be saved
Hello all! I have a PHP4 script that produces a text file and I would like that when the user access this script the text content of it was forced to be saved meaning that when the user selects it he/she will have the save dialog form to save the text file with the filename specified in the header function. So far I have managed to create the text file dynamicaly but still I have to click the browser's save button to save the file with the determined filename. I wanted it to be forced. Does anyone know how to do it ? Here's the code : Thanks, Carlos Fernando Scheidecker Antunes
[PHP] Saving a page/text file from a query
Hello all, I need to display a page on text format that will be the result of a query. This page will not be saved on my server harddrive but it has to allow the user to save it to their HD. The problem is that the page has to be saved on the customer HD automaticaly (He/She should not click on the browser's save option) and it also has to be saved on a fixed file name like text.txt or schedule.csv. Does anyone know how to implement that? Thank you very much, Carlos Fernando Scheidecker Antunes.
[PHP] dynamic checkboxes
Hello All, I'm trying to build a way to transfer my orders to a HTML page instead of using GUI that I've designed. In order to do that I need to display all the orders of the day and have checkboxes on each so that the user can select only the orders that we will process. The number of checkboxes on this form will depend on the number of orders of that day. So the form and the number of its variables will be dynamic as well. Each checkbox has to have the name property that can be matched to the customercode+ordernumber. After the form is submited I need to scan all the variables that were checked so that it can be included on the next query. Has anyone tried that or did that before? Is there any URL or PHP code that can be used to learn that? Thank you very much, Carlos Fernando.
[PHP] is PHP sftp ready?
Hello everybody, I already am familiar with PHP's ftp capabilities. My question though is if anyone has ever used or know wether PHP is compatible or not with sftp (OpenSSH secure FTP). If so, can I use the same libraries or is there any PHP extention that I must download in order to enable it. Thank you, Carlos Fernando Scheidecker Antunes. -- 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] is PHP sftp ready?
Hello everybody, I already am familiar with PHP's ftp capabilities. My question though is if anyone has ever used or know wether PHP is compatible or not with sftp (OpenSSH secure FTP). If so, can I use the same libraries or is there any PHP extention that I must download in order to enable it. Thank you, Carlos Fernando Scheidecker Antunes.