Jon Farmer wrote:
I am getting a the follwing error:
Warning: fopen(/home/jon/pgpfiles/sgsdgsdg,w) - Permission denied in
/home/ethiorg/public_html/test.php on line 2
the directory /home/jon/pgpfiles has mode 777 and is owned by nobody and
group is nobody. Apache runs under user nobody.
Arve Bersvendsen wrote:
As a small, personal, enjoy-myself-project I'd like to run a
perpetual-running socket server. Problem is; I also want it to be
self-modifying so I can insert, remove and change functions as the
server is running.
The problem is; under normal circumstances, PHP
Ken Kinder wrote:
The $this-children attribute should be an array of (references to) objects.
I think somehow in the foreach ($this-children as $child) the objects are
being copied, as $child-validate(); seems not to effect the original objects.
Someone just said you can use
$a = $b
Louie Miranda wrote:
Hi, can php execute system commands
like df, and then print it to html ?
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
Stefan Rusterholz wrote:
Im not sure if function-backtrace is the correct word for what I need, so I'll
If I have for example
What you are looking for is a stacktrace, ie the stack of called
functions. Dunno if php has any support for it, but it is normally
used when debugging
Imar De Vries wrote:
Imar De Vries wrote:
- Including remote files *is* possible. The php manual does not mention this
does not work, and when I add the variable to the call (include
/calculate_drivers?serie_id=3.php) the code is processed perfectly. The
thing is, I can not pass the
Scott Houseman wrote:
While we are on topic, what are the key differences between include()
Unlike include(), require() will always read in the target file,
even if the line it's on never executes. If you want to conditionally
include a file, use include(). The
variables, but as part of the Content of the HTTP request. Here is a sample:
[EMAIL PROTECTED] wrote:
I need to allow a client, named: A, to give their clients access to a remote page
on A's server. This is the problem:
1. I need to record who has accessed this page on A's server
grep stuff /var/log/httpd/access.log
2. password protect this page
Jason G. wrote:
Hello General and Dev list,
Considering the fact that it is good practice to use htmlspecialchars()
anytime you are outputting non-html content to the browser...
After typing the 16 characters in the htmlspecialchars() function
thousands of times...
I was wondering
Jason Murray wrote:
: Don't know why it's got everyone else stumped.
: \n is the new line character. Make sure you use it in and
: not in ''.
Unfortunately, that doesn't work either, it changes the \n that
appeared at the end of the new line to a single black block. It
I am having some problems with the 'pack' function. Some values just
doesnt come out right. For instance, 0xa0 turns into x81a0.
Here is some code I used for testing. It packs the value, prints it.
Then unpacks the value and prints it
# This is wrong, but note that unpack gives the
linux RH 7.2
I have created a small php extension. The extension works as expected
when I compile it using
$ ./configure --with-foo make # foo is the extension
It gets compiled into the php binary. All is well, but I would like to
compile my extension as a loadable modules
List Peters wrote:
?php include file depending on url?
In the include file I have all the code i need.
My problem is that for one page in the site I need to display a image in the
navigation bar that is referenced from a database. The database
Jon Yates wrote:
People, hope you can help. The below IF statement is getting a PARSE error.
Can anyone spot why?
if (($this-checkReferralCB($this-benefitRef, $this-benefitNo,
(!$this-checkLocation($this-post, W)) (!empty($this-childDOB)))
Robert Rothe wrote:
Thanks. So the next() and prev() functions just traverse an array
some type of linked list? This is what precludes direct access to
Yup, there is an internal position pointer in every array which are
used by most array_ functions.
Evan Nemerson wrote:
I need to generate every possible combination of the the values in an array.
For example, if...
$array = Array(A, B, C);
I really have no idea where to begin. The best lead I can think of is that
there are going to be n! elements in the output array, where n is the
Josh Edwards wrote:
This is a basic question but I'm a basic fellow. If I have an array
$timespread = array(12am-01am=0);
Using $time which is a number, I want to add 1 to the value of
$timespread[$time] without changing the key
Jared Boelens wrote:
This is the one my company uses:
I found it very easy to modify, and it fully supports attachments as well as
the related RFCs.
I had problem with it, since it required imap stuff and whatnot.
Anyway, I ended up using squirrelmail and we
David Orn Johannsson wrote:
I'm having a problem with StrToLower function in php
I'm trying to convert characters like THORN; and acute letters from
uppercase to lowercase, but it dosen't work.
this is what the manual says: Note that 'alphabetic' is determined by
the current locale.
Mail list logo