The ProgrammersTalk Community
Forum Register Search Today's Posts Mark Forums Read
Register

Go Back   The ProgrammersTalk Community > Web Programming > PHP


Welcome to the The ProgrammersTalk Community forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Reply
 
LinkBack Thread Tools    Display Modes   
  #21 (permalink)  
Old 08-24-2008, 01:41 AM
disbrowpr disbrowpr is offline
Novice
Join Date: Aug 2008
Location: Rolla, Mo
Posts: 14
iTrader: (0)
disbrowpr is on a distinguished road
Ok Awesome,

I dont have to use a flash button. Do you still have the HTTP that you fiddled with? If so is it possible that I can get a copy of it, to go ahead and go from there? If so, thanks and awesome!

Cheers,
Micah

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
  #22 (permalink)  
Old 09-04-2008, 04:01 PM
disbrowpr disbrowpr is offline
Novice
Join Date: Aug 2008
Location: Rolla, Mo
Posts: 14
iTrader: (0)
disbrowpr is on a distinguished road
Ok so I changed the button from a flash button to a normal button. This is what it tells me "
Method Not Allowed

The requested method POST is not allowed for the URL /apply.htm."

so, any ideas?

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
  #23 (permalink)  
Old 09-05-2008, 08:32 PM
TeraTask's Avatar
TeraTask TeraTask is offline
PT Admin
Awards Showcase
Quality Tutorial Quality Tutorial Quality Tutorial 
Total Awards: 3
Join Date: Jun 2007
Location: Reno, NV
Posts: 442
iTrader: (0)
TeraTask is a splendid one to beholdTeraTask is a splendid one to beholdTeraTask is a splendid one to beholdTeraTask is a splendid one to beholdTeraTask is a splendid one to beholdTeraTask is a splendid one to behold
Not sure about that one. That's a server configuration thing. Ask your host.

__________________
Jeremy Miller
Content Farmer - Optimized Automated Blog Posting

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
  #24 (permalink)  
Old 09-11-2008, 08:29 PM
disbrowpr disbrowpr is offline
Novice
Join Date: Aug 2008
Location: Rolla, Mo
Posts: 14
iTrader: (0)
disbrowpr is on a distinguished road
Icon6

Ok, So I gave up on that, and found a Dynamic XML Flash. The site is up @ www.disbrowpr.org . When you click on contact there is some boxes at the bottom where you fill out and click submit. I got all the buttons working correctly and everything! =D but here is the issue! I dont get the mail in my mailbox. here is the 2 codes I am using to make this work.



This one is called Contact.asp
Code:
<%
    for i=1 to 7
         message=Request("message")
    next
         message=message + Request("message")    
        smtpServer = "disbrowm.startlogic.com"
        smtpPort = 587
        

        name = Request("Your_Name:")
        Set myMail = CreateObject("CDO.Message") 
        myMail.Subject = "from " & name
        myMail.From = Request("Your_E-Mail:")
        myMail.To = Request("*taken out*")
        myMail.HTMLBody = "<html><head><title>Contact Info</title></head><body><br>" & message & "</body></html>"
        myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
        myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = smtpServer
        myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = smtpPort
        myMail.Configuration.Fields.Update 
        myMail.Send
    
%>
And this one is called Contact.php
PHP Code:
<?php
Error_Reporting
(E_ALL & ~E_NOTICE);

 while (
$request current($_REQUEST)) {
     if (
key($_REQUEST)!='recipient') {
        
$pre_array=split ("&777&",  $request);
        
        
$post_vars[key($_REQUEST)][0]=preg_replace ("/<[^>]*>/"""$pre_array[0]);
        
$post_vars[key($_REQUEST)][1]=preg_replace ("/<[^>]*>/"""$pre_array[1]);
    }
    
next($_REQUEST);
}



reset($post_vars);


$subject="From ".$post_vars['your_name'][0] ;
$headers"From: ".$post_vars['your_email'][0] ."\n";
 
$headers.='Content-type: text/html; charset=iso-8859-1';
 
$message='';
  while (
$mess current($post_vars)) {
      if ((
key($post_vars)!="i") && (key($post_vars)!="your_email") && (key($post_vars)!="your_name")) {

         
$message.="<strong>".$mess[1]."</strong>&nbsp;&nbsp;&nbsp;".$mess[0]."<br>";
    }
    
next($post_vars);
 }

mail($_REQUEST['recipient'], $subject,  "
<html>
<head>
 <title>Contact letter</title>
</head>
<body>
<br>
  "
.$message."
</body>
</html>" 
$headers);
echo (
"Your information was submitted sucsessfully. We will review it and get back to you soon. -- DPR Case Management");

?>
<script>
    resizeTo(600, 600);
</script>
Now everything seems to be fine in the .php. But I think its the .asp file. I have everything correct in there, but I dont know if its my host or who or what it is. I think I got my e-mail in the right spot. Its marked *taken out*. If you can help that would be great! Thanks!

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 02:23 PM. Powered by vBulletin
Copyright © 2000 - 2007, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO © 2007 ProgrammersTalk Sedo - Buy and Sell Domain Names and Websites project info: programmerstalk.net Statistics for project programmerstalk.net etracker® web controlling instead of log file analysis


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50