value upload_tmp_dir /var/www/web2/phptmp/
-snap-
Hint: /var/www/web2 is the homedirectory of web2, he has all rights there.
Can anybody help me? What do I have to change?
Joachim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
everybody could do everything with the files. Well,
there is the open_basedir setting, put then, what's about other user doing
other things (not PHP)?
No way?
Joachim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the problem, that
every $virtualuser can access the files. You still have to hope that there
is now "bad" $virtualuser.
Anyway, thanks :-)!
Joachim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Curt Zirzow wrote:
> * Thus wrote Joachim ([EMAIL PROTECTED]):
>> > Yes that is a big security hole. There are some hosting solutions,
>> > I cant really help you there, but this concept I think should work
>> > would be:
>> > [...]
>> > user/group:
Sorry for top-posting, gotta configure my mail client better later.
Small error here:
}while( ($three == $one) && ($three == $two) );
Change to:
}while( ($three == $one) || ($three == $two) );
-Original Message-
From: Ray Hunter [mailto:[EMAIL PROTECTED]
Sent: den 27 oktober 2003 15:56
T
isort this array so it becomes sorted by type
first, and then by name. What are the arguments for the function in
this case?
Joachim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there any speed difference at all from the following two code
blocks (miniscule or not)? If so, which is faster?
$cfg["db"]["host"] = "";
$cfg["db"]["user"] = "";
$cfg["db"]["pass"] = "zzzz";
o
How do I set the php.ini setting open_basedir on a per-directory
basis? Ideally, I would like to set it using .htaccess files...
Joachim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
PHP seems to automatically be escaping quotes on my $_POST variables.
Am I talking rubbish, or is this some setting? It is annoying me
greatly.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This is the best method
echo substr(strrchr($string, $char), 1);
On 21 February 2003 at 00:13:02, Gregory Heinrichs wrote:
> little help please, looking for correct functions to use to search for the
> last occurrence of a character in a string and truncate everything in
> front of i
include()
include_once()
require()
require_once()
Look those functions up in the PHP docs.
On 23 February 2003 at 21:32:46, Rohin Gosling wrote:
> First up, I sent this same message a few hours ago, but I do not see it in
> the news group, and neither does it appear in my sent messag
For a list of common system variables, refer to:
http://cs-people.bu.edu/stevec/cs101/02s/php5_system.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That style is also the one I use. It works well, it is clean, and it is
straightforward.
Joachim
Richard Baskett wrote:
on 10/24/03 0:47, Nathan Taylor at [EMAIL PROTECTED] wrote:
I am a recent fan of the single-quotes. I used to use double only but when
some gurus told me the disadvantages
Jesus. How drunk were you when you concocted this mess?
Joachim
Tom Wollaston wrote:
I have been trying to write some code for a simple menu system. The idea was
that every item on a menu should be tied to anouther to give a menu
structure.
To do this I have tried to use the following code. Some
s = array();
$db->fetch($myquery, $news);
Where fetch($query, &$array) is the header. In the second case, the
fetch function would therefore write the rows directly to the array
which was passed as a reference rather than returning a copy. Am I right
in thinking that this is a better m
php.net says this as well: "First, when connecting, the
function would first try to find a (persistent) link that's already open
with the same host, username and password. If one is found, an
identifier for it will be returned instead of opening a new connection."
Joachim
Rich w
Or LAME for "Lame Ain't an MP3 Encoder"
Larry E . Ullman wrote:
Why PHP is a recursive acronym?, I know that before was called
Personal Home Page, I now is Hypertext PreProcessor, but why is
recursive?, I person told me that it could be wroten as Pre Hypertxt
Processor, thanks.
PHP stands for
Look into the DISTINCT keyword for MySQL.
Robb Kerr wrote:
It's not exactly a Php problem, but MySQL and Php seem to be so intertwined
and this newsgroup has been so unbelievably helpful that I thought I'd post
the question here.
I've got a query which returns a group of records. the field which
opinion.
Joachim
Dave Carrera wrote:
Hi All,
How do you split an email address sent via form post text field.
I.e.: split [EMAIL PROTECTED] into me@ hotmail .com
It’s the domain bit I am interested in, not the username or tld.
Any help is appreciated.
Thank you in advance
Yours
Dave C
Perhaps it is time to break the record.
Evan Nemerson wrote:
How can you forget the Hurd???
http://www.gnu.org/software/hurd/hurd.html#name:
"According to Thomas Bushnell, BSG, the primary architect of the Hurd:
`Hurd' stands for `Hird of Unix-Replacing Daemons'. And, then, `Hird' stands
for `
UNSUBSCRIBE
--
PHP CVS 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: [EMAIL PROTECTED]
-Ursprungliche Nachricht-
Von: changelog [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 17. Januar 2001 03:09
An: [EMAIL PROTECTED]
Betreff: [PHP-CVS-DAILY] cvs: php4 / ChangeLog
changelog Tue Jan 16 18:09:29 2001 EDT
Modified files:
/php4 Chan
Hi all,
i'm appreciating any comments on this idea:
I'm about to create a completely database driven site (mySQL).
Almost all of the output is generated from database data.
A big part of the data is rather static of nature, eg. updated once a month.
A smaller part is quite dynamic, e.g. content
How to unsubscribe?
In typical lists, there is a small info how to unsubscribe. In the
php-general list, this is not the case.
Several effords failed.
Who can unsubscribe "manually"?
Best regards,
Joachim
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.ph
I tried to make the simple program
Mailboxes\n";
$folders = imap_listmailbox($mbox, "{imap.liu.se:993}", "*");
if ($folders == false) {
echo "Call failed\n";
} else {
foreach ($folders as $val) {
echo $val . "\n";
}
}
echo "Headers in INBOX\n";
$headers = imap_headers($mbox);
if
What could be the cause of the error
Warning: imap_open(): Couldn't open stream
? I have got the address and the port to the imap server right, but I think
that the imap server requires some sort of secure login. Could this be the
problem? If yes, how can it be solved? If no, what other causes c
What could be the cause of the error
Warning: imap_open(): Couldn't open stream
? I have got the address and the port to the imap server right, but I think
that the imap server requires some sort of secure login. Could this be the
problem? If yes, how can it be solved? If no, what other causes
"John Nichel" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Joachim Person wrote:
>> I tried to make the simple program
>>
>> > $mbox = imap_open("{imap.liu.se:993}", "joape382", "fil");
>>
&g
Thanks Viraj,
Telneting gives an error like this (translated from Swedish language):
Connecting to imap.liu.se...Couldn't connect to the host computer, using
port 143: The connection failed.
I guess I'm not getting any answer then.
Regards,
Joachim
"viraj" <[EM
work with the php script.
Regards,
Joachim
"viraj" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
did you tried telneting to host's 143 port? if you are getting a
response from the IMAP server you better go through the php-imap
requirements, it's here..
ce: (null)(): [CLOSED] IMAP connection broken (server response)
(errflg=2) in Unknown on line 0
as a response after 30 seconds. Does this mean I have to include a
certifcate of some kind in some way? If I need, how to do it?
Regards,
Joachim
"viraj" <[EMAIL PROTECTED]> skrev i m
I tried to make the simple program
Mailboxes\n";
$folders = imap_listmailbox($mbox, "{imap.liu.se:993}", "*");
if ($folders == false) {
echo "Call failed\n";
} else {
foreach ($folders as $val) {
echo $val . "\n";
}
}
echo "Headers in INBOX\n";
$headers = imap_headers($mbox);
if
32 matches
Mail list logo