HighDots Forums  

Re: PHP email form wont work

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Re: PHP email form wont work in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gary White
 
Posts: n/a

Default Re: PHP email form wont work - 02-01-2005 , 09:13 AM






Steve Thompson wrote:

Quote:
I have been trying to get a php email form to work on my site, I have tried
loads of scripts and I can't get even the simplest to work on the Linux
server. Am I missing something, it is driving me crazy, If anyone could give
me a pointer, I would be most grateful. here is the script.

What problem, exactly, are you having with the script you posted?


Gary


Reply With Quote
  #2  
Old   
Steve Thompson
 
Posts: n/a

Default Re: PHP email form wont work - 02-01-2005 , 09:31 AM






Thanks for replying
I just doesnt send anything, no errors, nothing, Do I need to CHMOD
something special?
I also tried the smart mailer extention (v1.1) , but that too was the same.

"Gary White" <reply (AT) newsgroup (DOT) please> wrote

Quote:
Steve Thompson wrote:

I have been trying to get a php email form to work on my site, I have
tried
loads of scripts and I can't get even the simplest to work on the Linux
server. Am I missing something, it is driving me crazy, If anyone could
give
me a pointer, I would be most grateful. here is the script.


What problem, exactly, are you having with the script you posted?


Gary



Reply With Quote
  #3  
Old   
Gary White
 
Posts: n/a

Default Re: PHP email form wont work - 02-01-2005 , 12:54 PM



Steve Thompson wrote:

Quote:
Cheers Gary, maybe getteing somewhere here, I tried your test and I got
Failed to send message.
I am hosted with Web Fusion, one of the largest in Europe, do you think they
might have diabled something.

It's entirely possible. Your best bet at this point is to ask them.


Gary


Reply With Quote
  #4  
Old   
Alan
 
Posts: n/a

Default Re: PHP email form wont work - 02-01-2005 , 07:05 PM



have you looked at a phpinfo() page?
maybe seeing what's enabled/disabled?

<?php
***phpinfo();
?>

save and upload as something.php then look at the page in browser.


Quote:
Could anybody sugest anything else I could do please?


Reply With Quote
  #5  
Old   
Steve Thompson
 
Posts: n/a

Default Re: PHP email form wont work - 02-01-2005 , 08:53 PM



Thanks Alan
I cant see anything obvious, but I may be missing something, im no expert.
There is this load of bumpf in the configure command!!!!

Command './configure' 'i386-redhat-linux' '--prefix=/usr'
'--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include'
'--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc'
'--disable-force-cgi-redirect' '--disable-debug' '--enable-pic'
'--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db3'
'--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin'
'--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd'
'--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext'
'--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr'
'--with-mm' '--with-openssl' '--with-png' '--with-pspell'
'--with-regex=system' '--with-xml' '--with-expat-dir=/usr' '--with-zlib'
'--with-layout=GNU' '--enable-bcmath' '--enable-debugger' '--enable-exif'
'--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode'
'--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
'--enable-discard-path' '--enable-track-vars' '--enable-trans-sid'
'--enable-yp' '--enable-wddx' '--without-oci8' '--with-imap=shared'
'--with-imap-ssl' '--with-kerberos=/usr/kerberos' '--with-ldap=shared'
'--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr'
'--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixODBC=shared'
'--enable-memory-limit' '--enable-bcmath' '--enable-shmop'
'--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio'
'--enable-mbstring' '--enable-mbstr-enc-trans'
'--disable-force-cgi-redirect'



and this
sendmail_from
me (AT) localhost (DOT) com me (AT) localhost (DOT) com
sendmail_path
/usr/sbin/exim_nproc -t -i /usr/sbin/exim_nproc -t -i
short_open_tag
On On
SMTP
localhost localhost



Steve ;(


"Alan" <dont_mail_me_period (AT) macromedia (DOT) com> wrote

Quote:
have you looked at a phpinfo() page?
maybe seeing what's enabled/disabled?

?php
phpinfo();
?

save and upload as something.php then look at the page in browser.


Could anybody sugest anything else I could do please?




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.