Re: PHP and Oracle

2003-03-24 Thread Daniel Hopkirk
This isn't really a good place for this questions Stephen as it really has nothing to do with Perl. I suggest you try a dedicated PHP list, or stick with the AIX one that you also posted to. Regards, Daniel Hopkirk http://hawkesbay.pm.org ICQ#:39905948 - Original Message - From: "Stephen

RE: Premature end of script headers

2003-03-24 Thread Dennis G. Wicks
Greetings; That will not cause the problem using Apache and IE 6.0 It might in other combinations, but generally spaces are not significant if other punctuation is doing the job. Check the error logs for file not found which is generally a permissions problem. Also, for a valid path-to-perl in t

Re: Premature end of script headers

2003-03-24 Thread Ovid
Hi Kim, I hope you don't take any of this personally. It's certainly not meant that way. --- Kim Forbes <[EMAIL PROTECTED]> wrote: > #!/usr/bin/perl-w There should be a space after the -w. > print "Content-type:text/html\n\n"; There should be a space after the colon. This is one of the reas

PHP and Oracle

2003-03-24 Thread Stephen Spalding
Anyone have experience installing PHP4 on AIX for use with Oracle? I've just recently received a request to put it on an AIX 4.3.3 server, and I'm thinking about going to the Linux toolbox page to download a smit installable version of PHP. However, I'm concerned about if it will be able to connect

RE: Premature end of script headers

2003-03-24 Thread Scot Robnett
Yes, but it's not correct, there's your premature end of script header right there. You have: print "Content-type:text/html\n\n"; It should be: print "Content-type: text/html\n\n"; - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -- To unsubscribe, e-mail: [

RE: Premature end of script headers

2003-03-24 Thread Scot Robnett
Kim, It appears to be the header issue I mentioned before. Before print

Re: Premature end of script headers

2003-03-24 Thread Kim Forbes
Scott, Thanks for the reply, but I did have the print "Content-type: text/html/n/n" line in my code. Thanks again Kim - Original Message - From: "Scot Robnett" <[EMAIL PROTECTED]> To: "Kim Forbes" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, March 24, 2003 10:50 AM Subject: RE: P

Re: Premature end of script headers

2003-03-24 Thread Kim Forbes
Sure, Here is the code. When I tried it out at home, I uploaded it to Tripod (The free web-creation site.) I must add that I tested everything, but the mail portion of the program (Tripod requires a special Tripod Mail module that I felt was too much work for what I was trying to do. I may be wron

Re: Premature end of script headers

2003-03-24 Thread Ovid
--- Kim Forbes <[EMAIL PROTECTED]> wrote: > Hello, > > I created my first Perl script from book and internet sources. I tried it out at > home and it > worked fine. I then uploaded it to work's Apache server, changed the permissions, > and put it in > the cgi-bin folder. Now I get a "Premature

RE: Premature end of script headers

2003-03-24 Thread Scot Robnett
Kim, If you're trying to get the results to print in a browswer, you have to send the content type to the browser in the headers. Did you do either of these things prior to whatever routine prints your results? use CGI; $query = new CGI; print $query->header; or print "Content-type: tex

Premature end of script headers

2003-03-24 Thread Kim Forbes
Hello, I created my first Perl script from book and internet sources. I tried it out at home and it worked fine. I then uploaded it to work's Apache server, changed the permissions, and put it in the cgi-bin folder. Now I get a "Premature end of script headers" message. Can anyone tell me mo