473,500 Members | 1,898 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

read a .cgi file

hsn
237 New Member
hello everyone.
i am trying to read a .cgi fiile. but, it is not working with me. let me explain.
i have a belkin router, and i am studying it, when i enter the password in runs a passwordproccess.cgi i am trying to read that file so i can understand the system and write a program which will help the user to be able to configure the system much easier.

regards
hsn
Aug 28 '08 #1
9 6722
KevinADC
4,059 Recognized Expert Specialist
Saying "its not working" is like calling your automobile mechanic on the phone and telling him "My car is not working, whats wrong with it?". He will tell you to bring your car into the shop.
Aug 28 '08 #2
hsn
237 New Member
Saying "its not working" is like calling your automobile mechanic on the phone and telling him "My car is not working, whats wrong with it?". He will tell you to bring your car into the shop.
i am not what is wrong with it i am asking how to read it so i don't have to bring my car.

regards
hsn
Aug 28 '08 #3
nithinpes
410 Recognized Expert Contributor
i am not what is wrong with it i am asking how to read it so i don't have to bring my car.

regards
hsn
Let us know what you have tried so far. Post your code so that someone may analyze it and let you know what is wrong.
Aug 28 '08 #4
KevinADC
4,059 Recognized Expert Specialist
i am not what is wrong with it i am asking how to read it so i don't have to bring my car.

regards
hsn
I do not know what you mean by "how to read it". I appreciate this might all be very new to you, and maybe English is not your first language, but I assume you are smart enough to know that nobody can help you unless you provide more information. Your code and any error messsages it produces when you run it would be a good starting point (bring your car into the shop).
Aug 28 '08 #5
KevinADC
4,059 Recognized Expert Specialist
After looking over some of your past posting history, I decided I no longer want to help you. You ask questions and other people take the time to respond and you never reply back. I prefer to not help people that do that. That is my own policy and not the policy of this website.

Best regards,
Kevin
Aug 28 '08 #6
hsn
237 New Member
After looking over some of your past posting history, I decided I no longer want to help you. You ask questions and other people take the time to respond and you never reply back. I prefer to not help people that do that. That is my own policy and not the policy of this website.

Best regards,
Kevin
thanks for clearing this issue with me
sometimes i do forget to reply but it is only cause the presure which i am in. i even try sometime when i am free to post replies and questions to learn and for sure to get above 1000 replies

regards
hsn
Aug 28 '08 #7
hsn
237 New Member
hey guys.
what i ment by read the .gci file, is simply open it as you open a word document (double click on the document's icon). that is what i want. i don't know the basic rules of perl , i don't know anything about it. that is why i came here i just wanted to know if i can read it as i read a word document. because there is a router which i have executes a cgi file to complete a certain function. i wanted to know what is that cgi is doing. what i know that is for sure that cgi uses a post command to send the data to the router i just wanted to know what does that command includes.
thanks
hsn
Aug 28 '08 #8
FLEB
30 New Member
When you access the address, your router is running the code and giving you the results. From the browser-side, this is the only access you will usually have. You need to find some way of pulling files off of the router, such as FTP or TFTP, in order to view them in their unprocessed state.

This is an unusual way of using the router, and it may not be possible to do it. The specific way of getting the raw files depends on the specific type of router you are trying to use. You could possibly find more information or specific help on router "hacking" messageboards or groups.
Aug 28 '08 #9
numberwhun
3,509 Recognized Expert Moderator Specialist
hey guys.
what i ment by read the .gci file, is simply open it as you open a word document (double click on the document's icon). that is what i want. i don't know the basic rules of perl , i don't know anything about it. that is why i came here i just wanted to know if i can read it as i read a word document. because there is a router which i have executes a cgi file to complete a certain function. i wanted to know what is that cgi is doing. what i know that is for sure that cgi uses a post command to send the data to the router i just wanted to know what does that command includes.
thanks
hsn
If you can see the file, then why not just open it up with your favorite text editor (vim on Unix or Wordpad on Window$)?
Aug 29 '08 #10

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

Similar topics

10
5298
by: Yang Li Ke | last post by:
Hi guys! I have some datas that I must check everytime a visitor comes to my site What is better to do: 1- Read data from a file or 2- Read data from a mysql db Thank you
10
2257
by: ZafT | last post by:
Thanks in advance for any tips that might get me going in the right direction. I am working on a simple exercise for school that is supposed to use read to read a file (about 10 MB). I am...
1
6719
by: cnu | last post by:
My program generates a log file for every event that happens in the program. So, I open the file and keep it open till the end. This is how I open the file for writing: <CODE> public...
4
2707
by: ESPN Lover | last post by:
Below is two snippets of code from MSDN showing how to read a file. Is one way preferred over the other and why? Thanks. using System; using System.IO; class Test { public static void...
8
23881
by: a | last post by:
I have a struct to write to a file struct _structA{ long x; int y; float z; } struct _structA A; //file open write(fd,A,sizeof(_structA)); //file close
5
3281
by: lovecreatesbea... | last post by:
The condition at line 31 is added to check if the program finished to read the whole file. Is it needed and correct? Thank you. #include <fstream> #include <iostream> #include <string> using...
0
5747
by: lovecarole | last post by:
hi, i am the student who should write a program about reading wav file and do the DFT. actually i don't know how to read data of the wav song and save it into the array... if i want to read...
6
32842
by: Thomas Kowalski | last post by:
Hi, currently I am reading a huge (about 10-100 MB) text-file line by line using fstreams and getline. I wonder whether there is a faster way to read a file line by line (with std::string line)....
9
7361
by: flebber | last post by:
I was working at creating a simple program that would read the content of a playlist file( in this case *.k3b") and write it out . the compressed "*.k3b" file has two file and the one I was trying...
2
5437
by: Kevin Ar18 | last post by:
I posted this on the forum, but nobody seems to know the solution: http://python-forum.org/py/viewtopic.php?t=5230 I have a zip file that is several GB in size, and one of the files inside of it...
0
7136
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
7018
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
7182
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
7232
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...
0
7397
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5490
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,...
1
4923
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...
0
3106
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
316
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.