|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Placeing Perl output in the same page
A daft question probably, I want to write an application which takes input and then provides output to the same HTML Page
However when I use the code print "Content-type: text/html\n\n"; it open a new window and any subsequent code appears in the new window Any ideas ?? |
|
#2
|
||||
|
||||
|
Sounds like you have an HTML problem in your source page? Is the target set to something like "_blank"? This would open the new document in a new window. If target is set, either remove it or set the parameter to "_self".
__________________
Robert. |
|
#3
|
||||
|
||||
|
see the content type u r specifying has nothing to do watsoever with the browser opening new window.
i think the way ur script is called is important, it the link is like this, <a href="yourscript.pl" target="_blank">Click</a> then ur script will open in new window coz target is specified to oepn a blank window, so check how ur script is getting called, hope it helps, jd
__________________
_____________________________ d.k.jariwala (JD) ~ simple thought, simple act ~ I blog @ http://jdk.phpkid.org |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > Placeing Perl output in the same page |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|