Re: [PHP] downloading text files stored in database?

2002-02-25 Thread Ivan Balazs
In the download_file.php put a header() function which redirects the browser to the file, like header(Location: test.dat). After that it should show the dialog screen. Balazs On Mon, 25 Feb 2002, Lee P Reilly wrote: Hi, I wonder if someone can point me in the direction of an example and /

Re: [PHP] newbie - help with field variables in forms

2002-01-08 Thread Ivan Balazs
Hi! A very simple way to do this is by checking the variables of the form (the names of fields) if they are isset() or not. To be more specific you can even check, if any of them is empty(). In special cases like the email address, i suggest using regexp to check if it is a valid email address.

Re: [PHP] mail problem...

2001-07-04 Thread Ivan Balazs
Hi! It seems to be a php-specific problem. Check your php config file (in php4 it is php.ini). There you should find a line related to the smtp server. Fill it with its correct content. Balazs On Wed, 4 Jul 2001, php wrote: hai... I have install php and i want to create email direct

Re: [PHP] Php Files on Browser

2001-06-24 Thread Ivan Balazs
Hi! Check your server settings! If you're using Apache then there are several things that need to be calibrated, such as the mime-type settings, the scriptAlias part and application-specific settings. And don't forget to tell the server the dir name you're keeping the files in. You may try to