to connect to the
server) must own the directory
The worst case is when your user and the web server user are not in the same
group. In that case, you will need to grant write access to all users.
This introduces potential security risks - any user can also remove or
rename files in that di
estion, you either want to use a SELECT query with an
ORDER BY clause or you want to output the result within HTML table tags.
Simon Ritchie
Download my introduction to PHP for $25:
http://merrowinternet.com/downloads?source=ml
--
PHP General Mailing List (http://www.php.net/)
To unsubs
ript name
as long as it appears at the end of the string. The second argument is the
replacement string (nothing), the third is the string to search.
I cover regular expression pattern matching in my introduction to PHP (see
below).
However, the root directory is an Apache variable and these
is to write your open
function to check for this.
Simon Ritchie
Download my introduction to PHP for $25:
http://merrowinternet.com/downloads?source=ml
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
pache for each site, each running under a
different user, and they would need to run on separate ports, which is a
nuisance.
Simon Ritchie
Download my introduction to PHP for $25:
http://merrowinternet.com/downloads?source=ml
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ery top of your browser window, not in the
address line.
Simon Ritchie
Download my introduction to PHP for $25:
http://merrowinternet.com/downloads?source=ml
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
issue commands as
the user running it, the potential damage is limited to what that user can
do, which is not much.
Simon Ritchie
Download my introduction to PHP for $25:
http://merrowinternet.com/downloads?source=ml
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I am using PHP 4.1.1, Postgresql 7.2 and Perl 5.6.0 on Linux.
>
> I want to delete files in a directory,which were created 15 days back.
>
> I can not do it, with PHP filesystem and directory functions, as
> PHP runs as
> "nobody" user.
To delete a file the user running the web server needs to
Oh yes, I forgot about email, which was mentioned in another answer to this
FAQ.
Some providers give you an email address with your phone, for example
I believe that One2One (or whatever it's called today) give you
@one2one.com. Email sent to that address arrives at your phone
as an SMS. Somebo
Well, funnily enough, your question has much the same answer ...
If you have a mobile phone and your service provider offers a web gateway,
you can use it to send SMS messages. They will provide a script that you can
use. If you have an Orange phone, see the Orange web site. If it's a Voda,
see
of 17.5%.
For more details visit http://www.merrowinternet.com.
Simon Ritchie
Merrow Internet Services
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
64 form. The PHP
// manual entry for fsockopen(0 advises you to put CR chars at the
// end of each line as well as LFs.
//
// Copyright 2002 Simon Ritchie, Merrow Internet Services
// (www.merrowinternet.com)
$server = "intra.local.sys"
> However, have you considered that this guy was maybe offering
> to help in a free
> software project?
Call me cynical, but I think the clue was in his use of the phrase "Any on
can hire me". I interpreted that to mean "can anyone hire me?" rather than
"I would like to make my enforced period o
For what they are worth, here are some notes that I took. I don't think
they answer the actual question you asked, but they may be useful.
Extensions to PHP are written in C. (I haven't seen a statement to that
effect anywhere in the documentation, but I mave missed something.)
Assume that you
The PHP system is built using GNU tools, which are described on the GNU web
site www.gnu.org. The documentation on extending PHP on the zend web site
is not terribly clear and I suspect that does not match the current system.
However, it does refer you to the gnu web site for information about th
> I'm trying to compile php 4.1.1 and when it gets to the
> --with-apxs option it errors out with the following:
>
> Sorry, I was not able to successfully run APXS. Possible reasons:
>
> 1. Perl is not installed;
.
.
.
Some systems (eg Red Hat Linux) come with a version of the apxs tool, but
no
Your question is not very clear, not to me anyway.
Are you trying to write some PHP code that remembers a user name and
password over several requests? If so, I can answer that.
According to me, it's hard. The problem is that PHP (in fact Apache itself)
doesn't remember any information between
> How can I send msg to PHP ?=20
> what I need and what I must read ??
Try http://www.sms-wap.com
Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [
18 matches
Mail list logo