About
Community
Bad Ideas
Drugs
Ego
Erotica
Fringe
Society
Technology
register | bbs | search | rss | faq | about
meet up | add to del.icio.us | digg it
Go Back   Community > Technology > Technophiliacs & Technophiles
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Technophiliacs & Technophiles The Technophiliacs forum is for discussing any and all forms of tech and other types of social backwardness. Including discussions of strange home-brewed hardware technology. Where to get good tools. How to make fiberglass molds. Computer hardware and software technolgy, including operating systems, applications, networking, hardware, CPU's, disk drives, and other geeky things. Viruses and Artificial Life discussions. How to write HTML. End user tools discussions and support issues. Gating the Internet with other nets.

Reply
 
Thread Tools Display Modes
 #1 
Old 2002-08-16, 13:56
Regular
 
temara morocco
Default Annoying PHP Problem!!!!!!!?????

i first learnt PHP about one year ago
and i used to program with it in a free web page if u wana know witch it's www.multimania.lycos.fr
they provide u with free domains php and mysql
well no prolem there i could use the most common php function
lately i installed easyphp includes by default php+appache web server+mysql dbms
all functions still works fine until i used the mail function
in fact i created a page with a form that passes variables to the mail function
but i get this when i submit my formWarning: Failed to Receive in
c:\program files\easyphp\www\mail2.php on line 2

the php code i use is note i don't use forms variables here i entrered just strings to test and still it didn't work)
<?
$ok=mail("me@localhost.com","hi","fffffffffffffffff","someone@domain.com");
if($ok=0) {
print("<TITLE>ok</TITLE>");
}
else
print("<TITLE>FAILED</TITLE>");
?>

well after further reading i discovered
that i must sepcify a smtp server
well i also tried programming PHP in unix
and there there is no problem since the php function mail executes the unix mail function
but since i installed easyphp in win2000
and after checking my outlook program
i discrovered that my smtp server adress is 10.100.16.1
and the same for pop3 adresse
according to various online tutorials
i must change manually the
easyphp.ini file and add
[mail function]
SMTP=10.100.1.16
well i did this and it's still not working
help plzzzzz
and thx in advance


 #2 
Old 2002-08-17, 01:58
Dr Know Dr Know is offline
Regular
 
Default Re: Annoying PHP Problem!!!!!!!?????

Whats with the triple posting?
 #3 
Old 2002-08-18, 15:27
Regular
 
temara morocco
Default Re: Annoying PHP Problem!!!!!!!?????

it's because of a connexion problem
!!!
 
To the best of our knowledge, the text on this page may be freely reproduced and distributed.
 

totse.com certificate signatures
 
 
About | Community | Bad Ideas | Drugs | Ego | Erotica | Fringe | Society | Technology
Hot Topics