Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing variables between pages
Message
General information
Forum:
Perl
Category:
CGI/HTTP - Internet Apps
Miscellaneous
Thread ID:
01435954
Message ID:
01437679
Views:
21
try
print ' <INPUT type=\"hidden\" value=\".$myuser.\" name=myuser size=\"100\" >';
>Hi
>
>I am trying to pass my variables values from page1.htm to page1.cgi and then to page2.cgi
>
>From page1.htm to page1.cgi there is no problem, because I do as below
>
>
>
>$myuser = $field{myuser} ;
>
>
>
>The problem happens when I try to pass it from page1.cgi to page2.cgi
>
>I tried to build a form in pag1.cgi using print command, as below
>
>
>print ' <INPUT type=hidden value='.$myuser.' name=myuser size="100" >'; 
>
>
>
>Supposing my user is jhon francisco , it breaks the string and only jhon is shown
>
>Is there a way to pass variables values from a page1.cgi to page2.cgi without having
>to build them as hidden files of a form?
>
>If not, is there a way from preventing them to break ?
>
>
>Moises
Jojo R. dela Cuesta, B.Sc.
eConsultant, Programmer
Dalplus Technologies
http://www.dalplus.com
Previous
Reply
Map
View

Click here to load this message in the networking platform