Jump to content

A question about running CGI in apache


youhaodeyi

Recommended Posts

I use apache-2.2.9. This is my cgi code:

 

@file=`cat /usr/filelist`;

 

I want to get the content of the file /usr/filelist  and store them in @file variable. But every time I run this script only the first 3 lines of this file are stored into the variable @file. The rest of the filelist cannot be got. Does anyone know this problem?

Link to comment
https://forums.phpfreaks.com/topic/134148-a-question-about-running-cgi-in-apache/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.