• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

help with silly perl joke

meow

Rebutted, enshrined
NLC
Could one of you Perl savvy tell me what to write to make a Perl script that performs this simple action?
The only thing it would do is transport the user to a html page when a form is submitted. No fields to check, no nothing.

It's for a silly prank. I want every one to get the same page whatever they enter but need a perl script to be called so it looks right. Guess a single line will do it?

Thanks
 
hmm, not sure what u mean, perhaps this:

Code:
print "Location: http://yahoo.com\n\n";

- melz

"If you can do it tomorrow, why do it today?"
>> web journal -- http://panic.ky/ <<
 
Yes, that's it.
As you understand I don't know a word of Perl. I tried to see what command was used to send people to a thank you page in a form script. I found the line, tried it and it didn't work. Yours do. Only it's the same line!
Isn't that typical when you don't know something? Maybe I had an extra space or whatever. :eek:
Anyway - thanks!
 
this wouldn't be so you could send them blindly to a referral i.d., now would it?
 
Maybe I had an extra space or whatever

"'s are very important as is \n

I was thinking just putting the html page as your action in the form should do what you want - I haven't tried it as I'm on my crappy slow machine at the mo :)
 
Works fine. They will try to sign up for hours! :D

And no fret Keith - I haven't earned a dime on ads in my life. In fact I never put one up. So there! :p
 
Originally posted by meow
I haven't earned a dime on ads in my life. In fact I never put one up. So there! :p

Good on you!:cool: I hate intrusive ads they should all be banned
 
Back
Top