473,513 Members | 3,895 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to read parameter without using CGI

7 New Member
hi everybody

i m, a beginner in perl, i m using Apache 2, but its cannot use CGI in perl module, anybody have a another way to receive a parameter send by others program, i m really hope a solution from all of you,

hope can hear a good solution from all of U soon.
Mar 12 '07 #1
5 1258
KevinADC
4,059 Recognized Expert Specialist
Can you run perl scripts? If you can run perl you should be able to use the CGI module. Maybe your installation of Apache is not configured correctly.
Mar 12 '07 #2
kambinglaaaaaaa
7 New Member
all my application using perl, and its running without any problem, but only cannot run when use CGI, like this

package cmpCelcom::mGet;
use DBI;
use strict;
use IO::File;
use Apache::RequestRec (); # for $r->content_type
use Apache::RequestIO (); # for print
use CGI; <----- its not running when using this thing.
Mar 12 '07 #3
KevinADC
4,059 Recognized Expert Specialist
CGI has been a core module for a long time. What version of perl do you have installed?
Mar 12 '07 #4
kambinglaaaaaaa
7 New Member
i got this problem when i m upgared my Apache to Apache2. i thinks its not problem with my perl
Mar 12 '07 #5
KevinADC
4,059 Recognized Expert Specialist
You probably need to configure Apache to run cgi scripts.
Mar 12 '07 #6

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

Similar topics

14
11350
by: David Gausebeck | last post by:
The inability to denote data members as read-only in C++ is something which has annoyed me (slightly) for a while now. You can always get around it with accessor methods that return const references, but classes with huge lists of accessors often seem awkward/ugly. So I finally sat down and thought of a syntax I'd like to see as a fix. I...
1
6380
by: Brian | last post by:
I'm having intermittent trouble with a call to the Read method of the HttpWebResponse object. I get an ArumentOutOfRangeException claiming that deep down inside of the Read method, the count parameter of the BlockCopy method is showing up as a negative number. Don't know where the negative number is coming from since I've passed the value...
7
4879
by: SQLScott | last post by:
I have a Web Service in which I am trying to pass an XMLDocument as a parameter to one of the methods. I would like to use the XMLTextReader to read the XML but I am getting the following error: Value of type System.xml.xmldocument cannot be converted to System.IO.textreader. I would think this is possible to do. Code snippet is below:
12
622
by: Andy Sutorius | last post by:
Hi, I am getting the error "Invalid attempt to read when no data is present" when I run the following code. I have checked the sql and it is returning data. What am I missing? string sqlGetEmail = "SELECT content, subject FROM tblContent WHERE id = " + Convert.ToInt16(ddlChooseEmail.SelectedValue.ToString()); SqlCommand cmdGetEmail = new...
1
1593
by: Paloma García | last post by:
Dear all, I have created personalized configuration sections in my web project following the instructions described in this page http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconDeclaringCustomConfigurationSections.asp The problem is that I using the same code and I get the error "Object reference not set...
3
7101
by: OUSoonerTaz | last post by:
We are randomly getting this error message on our development and staging machines: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.; at System.Data.Common.UnsafeNativeMethods.OraMTSJoinTxn(OciEnlistContext pCtxt, IDtcTransaction pTrans) at...
3
3371
by: KWienhold | last post by:
I'm currently writing an application (using Visual Studio 2003 SP1 and C#) that stores files and additional information in a single compound file using IStorage/IStream. Since files in a compound file aren't really useful to a user, I use the IStream::Read function together with a StreamWriter to extract single files from my compound...
0
1153
by: mike | last post by:
hi, i'm sure (i hope!) there's a simple way of doing this, so even a url to example would be fine... i have a wsdl generated by .net i use this wsdl to implement a webservice in php i have a web method like action(XmlDocument doc) from a .net client i want to do something like soap.action(doc) on the php side i have something like
3
2055
by: Mike Kent | last post by:
To followup on this: Terry: Yes, I did in fact miss the 'buffer' parameter to open. Setting the buffer parameter to 0 did in fact fix the test code that I gave above, but oddly, did not fix my actual production code; it continues to get the data as first read, rather than what is currently on the disk. I'm still investigating why. Carl:...
0
7269
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7559
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7123
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5100
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4756
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3248
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3237
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1611
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
811
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.