-
Posts
43 -
Joined
-
Last visited
Everything posted by MRwisdom12
-
lynkali, I did some tests on some of my php pages and my script worked without the error. I am reading the Beginning PHP 4 book by wrox and they have a script like that in there as well. Page 52 if you have the book. Here is the code I used and is from the book: ><?php header("cache-control: no-cache, must-revaildate"); header("pragma: no-cache"); header("expires: mon, 26 jul 1997 05:00:00 GMT"); ?> I also tried to put the code below a PHP script that was already on the page and it gave me the same error you are receiving. So you should probably put the cache code as the very first php tag on the page. I do not use include files yet so you may want to test its position with the include statements if you use them. Scott
-
Is there a way to change the from name? When I send the email it comes into my email address from Nobody@tch.com
-
AHHH!!!!! Dude. Thanks so much for the help. That worked. I guess I was looking at the code so long that I was "seeing" the $ infront of the variable when it wasn't there. Maybe I should get a book on paying attention to detail..
-
I looked at that book, but I put it back for the beginners PHP 4 book by Wrox. Will go to morrow and check it out again. Does it explain sending email in forms and connecting to Databases?
-
Thanks for the link. I was looking at it and I think I need to supply the default location in the mail function, but how do I do that? ><html> <?PHP $mail_to = "plainj1@bellsouth.net"; $mail_subject = "Hi There"; $mail_body = "We'll have a time PHPing"; $mail_body .= "7 pm friday night"; if(mail(mail_to, $mail_subject, $mail_body)) echo "Successfully send the email \"$mail_subject\" to $mail_to."; else echo "Failed to send the email \"$mail_subject\"." ?> </html> As you can tell this is just a test script to see if I can get it to work. My thinking was to get this working first before I tackled the forms. Basically all it does is send an email when it is run. Thanks for your help MatMan Scott
-
Here is my dilema. I am new to PHP but trying like crazy to learn it. I use Dreamweaver to make my webpages so it does alot of the php for me. This is very nice, in that I can use this to help me understand PHP. The problem I am having is that I cannot successfully setup a form using php to send the info via email. I have tried to use the two CGI emailers from the CPanel to no avail. I liked the one (cant remember the name) that allows you to setup the format and then it sends the info in a neat TXT file. But after hours of changing parameters I gave up. I have been reading books and trying to make a PHP form email using my 2 PHP books but I cant seem to get it to work. Is it possible to use the mail() with TCH? I think so since I saw the path to the sendmail server in the CPanel. Also I have read the you must set the location of the mail server in the PHP.ini file in-order for this to work using Linux. Is this setup on the TCH servers? In the past I used Frontpage (oh I hate to say that, since I have been trying out the MFZ (MS Free Zone)) extensions as the form handlers but Dreamweaver does not have these, or atleast I dont know about them. If anyone could help me out with this I would greatly appreciate it. I am so new at PHP it seems I stumble at each step in the process until I finally get it to work. Thanks for your help Scott.
-
I notice alot of people are using formmail. Can you edit the format that you receive the information? I am trying to get cgiemail working because of the template you can use, but I haven't gotten it to work yet
-
I have a question about the web protect. If protect a folder and a web page calls a file from that folder, should it prompt the user for a login and pass? I am thinking of using this a "login" for a website that I have until I can learn how to do it with PHP and MYSQL?
-
I am a reseller and I need to submit a helpdesk ticket but when I try and log in I get a message saying I have the wrong login and password. I am trying to use the main accounts login and pass, is this not correct?
-
I like the Ronald Mcdonald House charity, although I have a friend whos 2 year old daught had to have surgery on her foot at the shriners hospital and I learned about how Shriners really helps the kids and I always donate money to them. They do SOO much for kids.. I know of a family that has to leave their daughter at the hospital for weeks at a time by herslef because they live 4 hours away. Shriners pays for her family to come visit her and also for her to stay there in the hospital. Here is a link if people want more information. http://www.shrinershq.org/
-
I got my name on the list. Our hearts and prayers go out to your nations finest as they protect our way of life. God Bless our soldiers and the good ole US of A. P.S. 12,717,679 people have signed to date
-
This is a great question. I am having the same problem but I a so new to this, I wasn't what to even ask. Coming from a MS background I have a lot to learn about linux and php. MFZ - Microsoft Free Zone!! TCH Rocks
-
I have switched from FP to Dreamweaver MX. Does anyone know if Dreamweaver can create formmail? That was so easy with frontpage and its wizards. I like dreamweaver much better, but the formmail is killing me. I would classify myself as an advanced beginner, and I spend SOOOOO much time researching and playing with new methods, I hardly get any web design done.
-
HG, I have seen them in a software form and I am pretty sure it was called Turbo as well, and it didn;t work for me. My buddy and I tried to get it to work for weeks to no avail. (the software version) It would be great if this worked.
-
Sully as what I can see, formail has limited formatting, were as cgiemail has a very nice formated template email. Infact you create the template email, and the form fields fill in the template you created and then it is forwarded to the email address, well that is if it is working Mine isn't working yet.
-
Rickvz. I saw that your in Greenville SC.. Me too.. What a small world we live in.
-
I have been trying to setup cagiemail aswell. I have read over the documentation 100 times and I still have some questions. 1. Where do I uploadmy template text file? Is it in the cgi-bin directory? 2. what is the action url? I tried everything and nothing is working. I keep getting a 500 error. Here is the link to my site http://www.cbhr.com/volform.htm. I dont mean to mislead this post from your question K, I just thought this might be a good place to post my question as well.
-
Contest Entry - Heebeha.com
MRwisdom12 replied to heebeha's topic in Contest! And a DVD-R/W Drive to the winner?
HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAH HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAH HAHAHAHAHAHAHAHAHAHAHAHAHAHA I am going to submit an entry and I hope I win, but this is the best one I have seen so far. All true computer geeks MUST have a room like this. This is awesome. LOL I think kweilbacher is right. One our bombs did hit your bro's room. HAHAHA
