hi again,
i was actually looking for modules that split the
following into name/value pairs. the following is a
typical request header from a web
browser(eg.IE/netscape).
more details on what i'm doing:
i'm doing a simple proxy server. the web browser sends
the request, the server uses sysread()
try
popusers <[EMAIL PROTECTED]> wrote:
>Try "history.back()"
>
>On Thu, 25 Apr 2002, David vd Geer Inhuur tbv IPlib wrote:
>
>>
>> Hi there,
>>
>> I am writing a CGI-script (using Perl of course! :).
>>
>> Ones the submit button is hit I check if some specific var's are set.
>> If not I give
Try "history.back()"
On Thu, 25 Apr 2002, David vd Geer Inhuur tbv IPlib wrote:
>
> Hi there,
>
> I am writing a CGI-script (using Perl of course! :).
>
> Ones the submit button is hit I check if some specific var's are set.
> If not I give them some output and a back button
> {
> This works on
Doh!
i can't believe I missed it...
Change the type to button... It will work then... type=submit causes
browsers to run the form action. If you change it to type=button... it
will work like hitting the back button on the browser.
Sorry,
-Mike
-Original Message-
From: David vd Geer
If you just wat a 'back' button, you ca just use a 'button' element instead
of a submit element:
If you actually do want to submit a form *and* return to previous page in
the history, you just need to use javascript to do the submit also:
The trick is you need to do the 'history.back()' after
Thanks
Both Bob and Scot are right !!
You can only use it in an , not in a submit.
I will create my own "Back" button as an immage now :)
Regs David
>
> I have always just used the history.back action
> ( e.g., )
> as part of a hyperlink to return to the previous page,
> not as a su
I have always just used the history.back action
( e.g., )
as part of a hyperlink to return to the previous page,
not as a submit action of the form. This seems to work
fine in IE, Netscape, and Opera. When you use a submit
button, you are either posting data or getting data,
that's why it exis
> -Original Message-
> From: David vd Geer Inhuur tbv IPlib
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 25, 2002 12:32 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: RE: history.back() does not work in IE
>
> ..
> Here is what I did in the script :
Hi,
Looked good, but wasn't effective unfortunetly :(
Here is what I did in the script :
$submit = "";
# As I used it frequently
Here is where I use it :
#---
sub check_input {
if (!($icname)) {
print "You have to choose an IC-name, else I cannot create a new IC
for yo
On Thursday, April 25, 2002, at 08:17 , David vd Geer Inhuur tbv IPlib
wrote:
> I am writing a CGI-script (using Perl of course! :).
is there anything else worth doing it in???
> Ones the submit button is hit I check if some specific var's are set.
> If not I give them some output and a back
Hi there,
I am writing a CGI-script (using Perl of course! :).
Ones the submit button is hit I check if some specific var's are set.
If not I give them some output and a back button
{
Sorry for my previous post,
my answer is below
On Thursday 25 April 2002 15:41, Boris Zentner wrote:
| Hi,
|
| Am Donnerstag, 25. April 2002 15:20 hast Du geschrieben:
| > exact, that's it.
| > but i've got the solution to that problem (i forgot to put the trailing
| > 's' in my post, but i used
Hi,
Am Donnerstag, 25. April 2002 15:20 hast Du geschrieben:
> exact, that's it.
> but i've got the solution to that problem (i forgot to put the trailing 's'
> in my post, but i used it and it did not work)
> the solution is:
> perl -p0i -e 's/sub html_base.*//s' *.cgi
>
and it happily removes
On Thursday 25 April 2002 15:10, you wrote:
| I'm not quite sure what you're trying to do with this... but from what
| you've provided, the regular expression you wrote will only remove text
| matching "sub html_base" on a single line -- and not even the
| newline at the end. The '-pi' swi
I'm not quite sure what you're trying to do with this... but from what
you've provided, the regular expression you wrote will only remove text
matching "sub html_base" on a single line -- and not even the
newline at the end. The '-pi' switches will grab a single line at a time
from the cur
Hello all,
I've the following problem:
I need to erase about 150 lines (always the same lines) at the end of a serie
of files.
What I have done in the shell is:
#perl -pi -e "s/sub html_base[\s\S]*//" *cgi
But this command only erase one line at once.
And I want to erase all the lines in one ti
16 matches
Mail list logo