Go Back   CodingForums.com > :: Server side development > Perl/ CGI

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-30-2002, 10:50 AM   PM User | #1
cortic
New Coder

 
Join Date: Aug 2002
Location: UK
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
cortic is an unknown quantity at this point
Location: problem

Ok, I'm just learning perl, so this is probably going to be a stupid question, wrote a script that, get a post request or get request,

If post, it opens and writes to two files, then print "Location : http://www.domain.com/dir/inside.htm?mem||||mem||||$thg{'eml'}||||$thg{'nme'}\n\n";

If get, it opens and reads from two files, then prints the same as above.

I have MS personal web server running on my comp and it runs fine on that, but when I upload it to the remote server the location : doesn't work, it writes to the files and reads from them fine, just doesn't send me anywhere after that.

What it does is print, in the browser '<html><body></body></html>' (I would think that would be hidden, but it shows it plane as day as text in NS)

The print "location : ..." is the first thing my script sends out, (no text headers) infact it's the only thing my script should send out.

Any suggestions would be very welcome.
__________________
corrie track
cortic is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:20 PM.


Advertisement
Log in to turn off these ads.