| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #26 (permalink) | ||||
| Senior Member Join Date: Dec 2004
Posts: 1,304
![]() ![]() ![]() ![]() ![]() |
????: NamePros.com http://www.namepros.com/programming/164770-guestbook-integration.html I have to step out for a little bit, but will post back when I get back in
__________________ You got no time for the messenger, got no regard for the thing that you don't understand, you got no fear of the underdog, that's why you will not survive! | ||||
| |
| | #28 (permalink) | ||||
| Senior Member Join Date: Dec 2004
Posts: 1,304
![]() ![]() ![]() ![]() ![]() |
Okay, here is the work around for the array issue. First open your form file and make these changes: Change this: Code: <form method="post" enctype="multipart/form-data" action="your-file-here"> <p> <input type="hidden" name="require" value="name,textfield,textarea"> <input type="hidden" name="env_report" value="REMOTE_HOST,HTTP_USER_AGENT"> </p> ????: NamePros.com http://www.namepros.com/showthread.php?t=164770 Code: <form method="get" enctype="multipart/form-data" action="gb.php">
<p>
</p> replace the entire thing with this and save: PHP Code: If you want to change these let me know.
__________________ You got no time for the messenger, got no regard for the thing that you don't understand, you got no fear of the underdog, that's why you will not survive! | ||||
| |
| | THREAD STARTER #29 (permalink) |
| Account Suspended Join Date: Apr 2005
Posts: 167
![]() | Hmm. It doesn't seem to be working correctly. www.cherreysexhaust.com/guestbook.htm I don't think I changed the form code correctly. This is what it was before I made the changes. <form method="post" width=195 enctype="multipart/form-data" action="guestbook.php"> <input type="hidden" name="env_report" value="REMOTE_HOST,HTTP_USER_AGENT"> <input type="hidden" name="require" value="name,textfield,textarea"> <TABLE WIDTH=136 BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0> <tr> <td> <div align="center"><font face="Verdana" size="2" color="#333333"> <strong style="font-weight: 400">Name</strong></font></div><div align="center"> <input name="name" type=text size="20"> </div></td> </tr> <tr> <td> <div align="center"><font color="#333333" face="Verdana" size="2"> <strong style="font-weight: 400">Email</strong></font></div><div align="center"> <input name="email" type=text size="20"> </div></td> </tr> <tr> <td> <div align="center"><strong style="font-weight: 400"> <font color="#333333" face="Verdana" size="2">Title</font></strong></div><div align="center"> <input name="textfield" type="text" size="20"> </div></td> </tr> <tr> <td> <div align="center"><strong style="font-weight: 400"> <font color="#333333" face="Verdana" size="2">Message</font><font face="Verdana"> </font></strong></div><div align="center"> ????: NamePros.com http://www.namepros.com/showthread.php?t=164770 <textarea name="textarea" cols="20" rows="5"></textarea> </div></td> </tr> <tr> <td><div align="right"> <input type="submit"> </div></td> </tr> </table> </form> I changed the "method=" "enctype=" and "action=" to what you said and it worked out to what you see on online now (link to guestbook at top). PS. I also changed (action="gb.php") to (action=guestbook.php) Was I right in doing this?
Last edited by zack; 02-07-2006 at 11:07 AM.
|
| |
| | #30 (permalink) |
| Senior Member Join Date: Dec 2004
Posts: 1,304
![]() ![]() ![]() ![]() ![]() | Yeah, changing that gb to guestbook was good. ????: NamePros.com http://www.namepros.com/showthread.php?t=164770 You need to open the form html page, and highlight the first part that I posted in my last post, and then copy the part I said to change it to, and past it over, It needs to be exactly like that. See yours still looks like this: Code: <form method="post" width=195 enctype="multipart/form-data" action="guestbook.php"> <input type="hidden" name="env_report" value="REMOTE_HOST,HTTP_USER_AGENT"> <input type="hidden" name="require" value="name,textfield,textarea"> Code: <form method="GET" width=195 enctype="multipart/form-data" action="guestbook.php">
__________________ You got no time for the messenger, got no regard for the thing that you don't understand, you got no fear of the underdog, that's why you will not survive! |
| |
| | THREAD STARTER #31 (permalink) |
| Account Suspended Join Date: Apr 2005
Posts: 167
![]() | Hmm. Should it be working now? I did exactly what you said with the post above. It posted my info - but alkwardly and with a bit of code The link... www.cherreysexhaust.com/guestbook.htm |
| |
| | #32 (permalink) |
| Senior Member Join Date: Dec 2004
Posts: 1,304
![]() ![]() ![]() ![]() ![]() | Open up your .txt file and delete all that mumbo jumbo, lol Then post to me the two files so I can compare them.
__________________ You got no time for the messenger, got no regard for the thing that you don't understand, you got no fear of the underdog, that's why you will not survive! |
| |
| | #34 (permalink) |
| Senior Member Join Date: Dec 2004
Posts: 1,304
![]() ![]() ![]() ![]() ![]() | hmm, everything looks correct. It works on all my servers like this. so, try this. Change the .txt file to an .html file, and change the permission to 777. I think the differance is I have phpsuEXEC on all my servers, and I think you do not on yours. *note: you will have to change in the .php file, the .txt to .html aswell
__________________ You got no time for the messenger, got no regard for the thing that you don't understand, you got no fear of the underdog, that's why you will not survive! |
| |
| | #36 (permalink) | ||||
| Senior Member Join Date: Dec 2004
Posts: 1,304
![]() ![]() ![]() ![]() ![]() |
![]() ????: NamePros.com http://www.namepros.com/showthread.php?t=164770 here is one more thing, go into FP (if thats what you use) and click on the outside frame of the Iframe, and once its selected, right click it and select properties, and set the border to '0' that way the black box is not around the frame.
__________________ You got no time for the messenger, got no regard for the thing that you don't understand, you got no fear of the underdog, that's why you will not survive! | ||||
| |
| | #38 (permalink) |
| Senior Member Join Date: Dec 2004
Posts: 1,304
![]() ![]() ![]() ![]() ![]() | No problem, and will do. If you ever need or want to change anything on it, just let me know aswell
__________________ You got no time for the messenger, got no regard for the thing that you don't understand, you got no fear of the underdog, that's why you will not survive! |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Free Customizable Guestbook Script | nicedomain4sale | Free Resources | 0 | 05-15-2005 04:56 AM |
| Chapter 23 Web Marketing Integration | WebForging | Webmaster Tutorials | 0 | 03-20-2005 09:00 PM |
| Interested in a Guestbook Host PHP Script | geekpipe | Scripts For Sale | 2 | 09-19-2004 10:21 AM |
| Guestbook form??? | majinfaisal | Web Design Discussion | 7 | 08-14-2004 01:10 AM |