Post back


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Post back
# 1  
Old 05-12-2011
Post back

i have a test.cgi and test.pl

what i do is in test.cgi, i have a form that post data to the test.pl which get the param from test.cgi. but after that, i wanted it to automatically post back or return back to the test.cgi script.
after i post to test.pl, what is the method to forward back to presentation script, test.cgi?

can anyone guide me and advice me?
thanks

test.cgi
print "Content-type: text/html\n\n";print "<html><head>";print "<title>Test</title>";print "</head><body>";print "<form name=\"input\" action=\"test.pl\" method=\"post\">";print qq|Test Name: <input type="Text" name="testName">|;print qq|<input type="submit" value="Add"><br><hr>\n|;

test.pl
Code:
use CGI qw(:standard);

my $list = param("testerName");

print "$list\n"

# 2  
Old 05-17-2011
Simplest is to combine them, and detect a post.
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. What is on Your Mind?

I'm back

Hi all, I used to post here years ago, and was a moderator, my old username: zazzybob. Anyway, after a few years away focusing on my career, I'm back and keener than ever to get involved in the unix.com community again. I'm looking forward to getting back into the swing of things, helping... (11 Replies)
Discussion started by: tokiwinter
11 Replies

2. Post Here to Contact Site Administrators and Moderators

Help with deleting post, apologies about the earlier post.

Apologies about the earlier post, i didnt realise, could i delete that post? I apologise again, SynGc (1 Reply)
Discussion started by: SynGc
1 Replies

3. IP Networking

Back-to-Back Connection using HBAs

Hi every body, Is it possible to connect two servers Back-to-Back (Point-to-Point) using HBA adapters & using Fiber. Note it is direct connection & there is no switches between the servers. I'm concern about using HBA adapters, it is possible or not. Thanks in advance. :) (3 Replies)
Discussion started by: aldowsary
3 Replies

4. AIX

back to back printing in UNIX

Hi , Can you suggest me how to back to back printing in UNIX? Is there any way? Kindly advise. Regards Vijaya Amirtha Raj (3 Replies)
Discussion started by: amirthraj_12
3 Replies

5. HP-UX

Help about back up

Hi this is Ramana.sv new to this group, please help me about my question, i am using HP-UX11.11i with oracle 10G this server is in india and i have another server in US with same HP-UX with oracle10G, what i want is i want to rename the local database in local HP server and copy the database from... (0 Replies)
Discussion started by: mcseramana
0 Replies
Login or Register to Ask a Question