Author |
Message |
Topic: Array Problem - disappearing entries |
canam101
Replies: 2
Views: 8053
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
No, it submitted ok this time. |
Topic: Trying to run a simple python script |
canam101
Replies: 4
Views: 9945
|
|
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
|
|
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 ... |
|