Search found 9 matches
Aprelium Forum Index
Author Message
  Topic: Array Problem - disappearing entries
canam101

Replies: 2
Views: 8053

PostForum: PHP   Posted: Mon Jan 22, 2007 12:34 am   Subject: Array Problem - disappearing entries
Thanks very much. Your changed script worked like a charm.


$fp = popen("/usr/bin/tail $filename", 'r'); //the tail command, are you using linux?
//Where is $limit declared?

Yes, lin ...
  Topic: Array Problem - disappearing entries
canam101

Replies: 2
Views: 8053

PostForum: PHP   Posted: Sun Jan 21, 2007 10:25 pm   Subject: Array Problem - disappearing entries
I'm hoping this is an obvious beginner's error.

I'm reading in a flat file with three records in it. For each read, I add the record to the array. The keys are 1,2,3.

On the first read the first ...
  Topic: Problem with escape characters
canam101

Replies: 7
Views: 18555

PostForum: PHP   Posted: Fri Jan 19, 2007 4:11 pm   Subject: Problem with escape characters
Thank you gentlemen. That phpinfo utility is quite the thing, and showed me that the ini file is in /etc/php5/cgi/php.ini.

I changed it as I was advised to and it fixed the problem.

I swear I co ...
  Topic: Problem with escape characters
canam101

Replies: 7
Views: 18555

PostForum: PHP   Posted: Fri Jan 19, 2007 1:51 am   Subject: Re: Problem with escape characters
canam101,

You must set magic_quotes_gpc to no (or false) in your php.ini. More information is available in http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc .

Thanks for the quick r ...
  Topic: Problem with escape characters
canam101

Replies: 7
Views: 18555

PostForum: PHP   Posted: Fri Jan 19, 2007 12:54 am   Subject: Problem with escape characters
I am running a small html form that calls a php module.

The php module writes out the information entered on the html form, but every time someone enters an apostorphe, what gets written out by the ...
  Topic: Trying to run a simple python script
canam101

Replies: 4
Views: 9945

PostForum: General Questions   Posted: Tue Jan 16, 2007 6:13 pm   Subject: Trying to run a simple python script
I finally got something to run and thought I would pass along what
I have for other newcomers.

What I wanted to do was enter a couple of fields on a web page and
have them taken in as arguments b ...
  Topic: Trying to run a simple python script
canam101

Replies: 4
Views: 9945

PostForum: General Questions   Posted: Tue Jan 16, 2007 3:01 pm   Subject: Trying to run a simple python script
No, it submitted ok this time.
  Topic: Trying to run a simple python script
canam101

Replies: 4
Views: 9945

PostForum: General Questions   Posted: Tue Jan 16, 2007 3:00 pm   Subject: Re: Trying to run a simple python script
canam101,

Is Python declared as a scripting language?
Does the .py file have the exectuable bit (x)? If so remove that bit using a command such as:

chmod -x *.py

Thanks. I did that but got t ...
  Topic: Trying to run a simple python script
canam101

Replies: 4
Views: 9945

PostForum: General Questions   Posted: Mon Jan 15, 2007 9:17 pm   Subject: Trying to run a simple python script
I have been running abyss for some time as a simple server and
would now like to let people fill out a form which would capture
variables and then run a perl (or python) script.

Looking at the he ...
 
Page 1 of 1
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB phpBB Group