[PHP-WIN] Re: configuraton of mail server with PHP/Apache

2002-10-29 Thread Prachait Saxena
Hello check out sendmail -t is there in phpinfo it ur using on *uix and same as for windows Please write which os ur using and the mail server? Apache have no problem Prachait Dorothy Vankoughnett <[EMAIL PROTECTED]> wrote in message news:001001c27efa$d11c1ec0$6402f60a@;vansr01... > HI > > not s

Re: [PHP-WIN] configuraton of mail server with PHP/Apache

2002-10-29 Thread Stephen Edmonds
Can you also write the error message? It could be you need to turn on your Mail Server's email redirection - the feature that allows it to send email on to another system EG: My local email server gives me an address of [EMAIL PROTECTED] Trying to send mail to it using php always works, as it is a

Re: [PHP-WIN] Random Numbers Script

2002-10-29 Thread Stephen Edmonds
Generating random numbers is quite easy in php. I suggest using rand( ). Simply put your upper limits and lower limits in, then it randomly chooses a number inbetween. EG: rand( 1, 9 ) generates a random number between 1 and 9. If you want to be able to control the length, then use rand however ma

[PHP-WIN] Re:How to prevent error email from being sent?

2002-10-29 Thread neil smith
Only 20 emails a day ? When I was working on new builds, we regularly got hundreds of 'template missing' messages a day - I just filtered em into a mailbox and deleted when I haad fixed the problem :-) Bloody lightweights - LOL PS - With reference to your problem - why do the email addresses be

[PHP-WIN] Faxing from php

2002-10-29 Thread Radovan Radic
Hi Is there any solution for sending fax through php? I need to generate document ,get fax number from database and send the document to the fax number. There is an example on http://codeproject.com/isapi/aspfax.asp in ASP, but it dodnt work for me, although i cant say i know much about faxing sof

[PHP-WIN] PHP IIS 5.0 Include files and baldness

2002-10-29 Thread Craig Blanzy
I'm ripping my hair out, mainly because my customer is really getting antsy for this to work. He has a credit app online running on our NT server under IIS 5.0 It calls and include file (missing.inc) when it finds an empty field once the form is submitted. The missing.inc is suppose to say so

[PHP-WIN] 404 documents

2002-10-29 Thread DaMouse
I there a way to have the .php page pickup the url that was typed in e.g. usertype= www.mydomain.com/wRongurl $_SERVER[FILE_NOT_FOUND] = www.domain.com/wRongurl echo "The lost page was: $_SERVER[FILE_NOT_FOUND]";

php-windows Digest 29 Oct 2002 22:13:57 -0000 Issue 1413

2002-10-29 Thread php-windows-digest-help
php-windows Digest 29 Oct 2002 22:13:57 - Issue 1413 Topics (messages 16606 through 16613): Random Numbers Script 16606 by: Raheel Hussain 16609 by: Stephen Edmonds Re: configuraton of mail server with PHP/Apache 16607 by: Prachait Saxena 16608 by: Stephen Ed

Re: [PHP-WIN] 404 documents

2002-10-29 Thread Jim Hunter
Use: $HTTP_HOST it will give you the typed in URL. Jim Hunter ---Original Message--- From: DaMouse Date: Tuesday, October 29, 2002 02:16:53 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] 404 documents I there a way to have the .php page pickup the url that was typed

Re: [PHP-WIN] PHP IIS 5.0 Include files and baldness

2002-10-29 Thread Cam Dunstan
Craig, Do you really need an include file?? Why not a simple IF statement in the same script that treats the form? if(isset($missing) == false){ echo "Please go back to the form and fill out the $missing field. Thank you "; } else { // process the form data normally } otherwise, if missing.i

[PHP-WIN] php sessions

2002-10-29 Thread Mark Anderson
Hi! I'm running an apache server 1.3.24 and php 4.2.1 as a module on win2000 professional. i just cant read the cookies from the clients nor can the session_start, session_register and other functions of this library. does anyone have a solution? thanks in advance mark Sent by Medscape Mail

Re: [PHP-WIN] 404 documents

2002-10-29 Thread Dash McElroy
>From Rasmus' tips and tricks presentation at PHPcon: (www.lerdorf.com/tips.pdf) Apache's ErrorDocument directive can come in handy. For example, this line in your Apache configuration file: ErrorDocument 404 /error.php Can be used to redirect all 404 errors to a PHP script. The following serv