RE: [PHP] remote fopen not working, despite allow_url_fopen = on

2007-02-15 Thread Aras
Alex, Either the domain you are trying to fetch data is unknown or your resolver settings do not point to a regular resolving server. (check /etc/resolv.conf) Aras Koktas [EMAIL PROTECTED] Business Excellence Development Phi.dot Internet Systems -Original Message- From: alex handle

RE: [PHP] remote fopen not working, despite allow_url_fopen = on

2007-02-15 Thread Aras
i know, but an apache restart may be one more trial for this to work. Aras Koktas [EMAIL PROTECTED] Business Excellence Development Phi.dot Internet Systems -Original Message- From: alex handle [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 4:34 PM To: Aras Cc: php-general

RE: [PHP] what mail program I'm using?

2007-01-12 Thread Aras
Try sending a mail through command line manually. Than look at maillog maybe. # sendmail -t [EMAIL PROTECTED] EOF This is a test mail EOF Aras Koktas [EMAIL PROTECTED] Business Excellence Development Phi.dot Internet Systems -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [PHP] PHP Sockets - How to detect client disconnection?

2007-01-06 Thread Aras
I used Process Control Functions in PHP and installed some signals to catch socket disconnection. My attempt to do this in loops were a harder way or i could not manage it. There must be some notes about this in archives or i can send some of my code so that you can have a look at them. Aras

[PHP] Best way to manage open slots for download

2006-12-31 Thread Aras
load on my server. Updating a system file is not secure and good way. What other ways can you recommend to me for the situtation? Aras Koktas [EMAIL PROTECTED] Business Excellence Development Phi.dot Internet Systems -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP] Only allow one vhost to use exec() ?

2006-12-29 Thread Aras
Enable safe mode ON, and specify that specific directory in safe mode exec dir in php.ini. Alternatively, those settings can be set within Apache configuration (httpd.conf) per any Vhost directive. Virtualhost ... .. .. php_admin_flag safe_mode 1 ... /Virtualhost Aras Koktas [EMAIL

RE: [PHP] calling a function in the same page

2006-12-26 Thread Aras
to a php file and get the results in xml/text, but again you need to call Javascript there, your logic is totally wrong. Aras Koktas [EMAIL PROTECTED] Business Excellence Development Phi.dot Internet Systems -Original Message- From: Jahangir [mailto:[EMAIL PROTECTED] Sent: Sunday

[PHP] Do Sockets Cache?

2006-12-20 Thread Aras
for connections on web. What do you think? --Aras -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP and connection to mail account

2006-12-13 Thread Aras
Forward the e-mail address to a PHP file, through forwarders in your system (depends on the mta, how and where) Than design a php file to read from php://stdin It will read the mails once they are received. --Aras -Original Message- From: Angelo Zanetti [mailto:[EMAIL PROTECTED] Sent

RE: [PHP] how to close a socket output, leave input

2006-12-08 Thread Mustafa Aras Koktas
Is this for the client application or server? I assume it is a client as you are trying to read a server response. socket_write() will return the length of the buffer that is written to server, so you can check that value to make sure the send is complete. --Aras -Original Message- From

[PHP] signal handling

2006-12-08 Thread Mustafa Aras Koktas
Roman, Stut and Jochem, thanks for the comments and recommendations on the subject. I have installed my signal as pcntl_signal(SIGCHLD, SIG_IGN) without a specific function handler and it is closing child processes now. I could not use the pcntl_wait because it is available after PHP 5.0 i

[PHP] signal handling

2006-12-01 Thread Aras
at the bottom are just for test there, i tried all other signal types. Sending a posix_kill(posix_getpid(), SIGKILL) to the process when the client exits does not kill it too, it still is defunct. My code: http://pastey.net/2910 Thanks! Aras -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Seek server hardware recommendation

2002-03-21 Thread Aras Kucinskas
Hi, I seek a recommendation for server hardware. Server software: LINUX Apache PHP mySQL Server purpose: One site (PHP+mySQL ) hosting, max 1000 visitors per day. What is recommendet hardware requiremnts (CPU, RAM,...)? Thanks -- PHP General Mailing List (http://www.php.net/) To

[PHP] Version difference (4.0.4pl1-4.1.2)

2002-03-05 Thread Aras Kucinskas
I want to upgrade PHP from 4.0.4 to 4.1.2. Where I can find docs apbout version differences. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP and Apache authorization: how to logout. Help!

2002-01-31 Thread Aras Kucinskas
My site is in directory which is protected with .htaccess file. I want to develope a logout function, which can reset Apache authorization. What to do? HTTP header... unset $PHP_AUTH_USER ... Any suggestions Sorry for my English :) Aras -- PHP General Mailing List (http://www.php.net