473,405 Members | 2,176 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

How to pass variable in .pl file

I don't have knowledge on perl.... I have completed the same in php and works, now want to do the same in .cgi

I am trying to pass the variable "q" in the example below


Expand|Select|Wrap|Line Numbers
  1. /cgi-bin/search/search.pl?p=1&lang=en&include=&exclude=&penalty=0&mode=all&q=dell
  2.  
in code


Expand|Select|Wrap|Line Numbers
  1. <iframe height="600" width="160" frameborder="0" marginheight="0" marginwidth="0" src="http://ah.pricegrabber.com/export_feeds.php?pid=ahhfbbd&document_type=html&topcat_id=all&category=topcat:all&banner_size=160x600&form_keyword=<==== Here is where the variable will get declared" =====>>&banner_bgcolor=ffffff&show_images=1&iframe=1" scrolling="No" ></iframe>
  2.  
The same I was able to do in php by <?php echo $_GET["q"]; ?>

Please suggest.
Jul 29 '07 #1
3 1213
KevinADC
4,059 Expert 2GB
you do it the same way that you were told on the other forum where you have this same question posted.
Jul 29 '07 #2
KevinADC
4,059 Expert 2GB
this question has been resolved on the other forum.
Jul 29 '07 #3
miller
1,089 Expert 1GB
Discussed and resolved on Tek-Tips

Deleting to preserve SEO.

- M
Jul 29 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Cory | last post by:
I'm using ASP to run a batch file. I need to know how to pass a variable to this .bat file. Is this possible? I'm using the following code but need to know how to pass ASP variable. set...
4
by: Sharon | last post by:
Hi! After transforming XML to CSV format I open an HTA to save the CSV to the client. All goes well, the function looks like this: function buttonExportClick() { var xslt = new...
23
by: John | last post by:
Last year, I remember finding a web page describing how to pass the name of a file to another web page, and have that web page load that image file. Now, I can't find my record of that (it was...
9
by: Frank Rizzo | last post by:
I've got a number of user controls on the web page. How can I pass some data to it? I don't see where the user control is instantiated in the page code-behind page. Thanks.
1
by: drec | last post by:
I need to pass a variable from script1.php to script2.php. The problem is that these scripts use frames and therefore I am able to pass the variable through the URL. It also does not use forms to...
28
by: Bill | last post by:
Hello All, I am trying to pass a struct to a function. How would that best be accomplished? Thanks, Bill
6
by: lisp9000 | last post by:
I've read that C allows two ways to pass information between functions: o Pass by Value o Pass by Reference I was talking to some C programmers and they told me there is no such thing as...
3
by: leonardodiserpierodavinci | last post by:
Hi. Sorry for what is perhaps a neophyte question: is it possible to pass a variable to a PHP script from inside another PHP piece of code? For instance, the file test.php (which of course...
12
by: Bryan Parkoff | last post by:
I write my large project in C++ source code. My C++ source code contains approximate four thousand small functions. Most of them are inline. I define variables and functions in the global scope....
12
by: raylopez99 | last post by:
Keywords: scope resolution, passing classes between parent and child forms, parameter constructor method, normal constructor, default constructor, forward reference, sharing classes between forms....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.