CGI Form help!
*long drawn out saaaaaaiii* yeah, yeah, yeah... I should be moving forward and finish off the NTN site design (I hope to get somewhere on that this Saturday, I hope!!)
But this little thorn in my side will not let me rest. On the Enterprise server site, I found this nifty little "freeware" cgi script for an order form. Unofrtuantely, since I'm still kinda rusty with Perl, I can't figure out what teh problem is. Everything else seems to be working, but the SMTP/email host for Neil's server looks to be giving me problems. Soo... I wanna check, is it just that I gotta get the email host situation squared away with Neil.. or is there something else in the CGI script that I'm missing. Here's the form, and I can sent yah the script for anyone who can help me! http://www.entservers.com/apply.html |
No, I don't think the problem is with the script, it has something to do with SMTP. I ran into the same problem when installing Ikonboard on Neil's server.
|
Yeah... that's what I thought.
What had to be done to correct that? Or is it something that Neil has to situate. |
Well, since it wasn't necessary for the Ikonboard to have the ability to send email, I just disabled the email functions on the board. I think Neil would have to have something on the server configured or installed to get SMTP working.
|
And that, we are looking into now!
|
Okay.. gotta new question, on the Newspro script (actually, this is for Krang)...
I have it working in it's general set up, but now I am running into problems having the "news.txt" code insertion to come up. I assume it's another lovely SSI problem again, because I get "HTTP Error 403 - Forbidden Internet Explorer" error... when the file is named Index.shtml. But when I had the page as Index.htm, it did not even show. Also tried changing the "plug in"code to go to an absolute file path, still nothing. I have noticed the index page will not come up if it's not saved exactly like "Index.htm", however. Any other ideas? |
I would have suggested using DirectoryIndex to point to Index.shtml if the server was running Apache, but since you can't use .htaccess files on IIS, try naming the file Default.asp and including news.txt like this:
Code:
<!--#include file="news.txt"--> |
Yeah, i had tried moving the news,txt file to the same area that the Index.htm page was, and had the plug in accordingly, but still nothing much.
But for the Default.asp... is that what i should try to rename the Index.htm file then? |
Yep, just make sure to edit the default document first. If you have access to pcAnywhere, you can use the instructions here.
|
All times are GMT -6. The time now is 12:00 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.