Hello Thodoris,
Hello all again,
It seems that Problem can only be solved by one of the following ways:
1. Don't use mod_php; use CGI or FastCGI instead. Then it would be
possible to limit the resources via RLimitCPU / RLimitMEM.
I haven't tried that but as I have noticed in the
://archives.neohapsis.com/archives/openbsd/2005-12/1436.html
or the following apache module:
http://www.ucc.asn.au/~dagobah/things/mod_rlimit.c
(Unfortunately only for apache 1.3)
Thanks for all your answers.
Kind regards
valli
Valentin Schmid - ICSurselva AG wrote:
Hello all,
Is there a way to limit
Hello all,
Is there a way to limit the memory consumption and / or the CPU
consumption of processes launched by the php functions system,
exec, passthru, proc_open and shell_exec?
We use mod_php with an apache (mpm-prefork) on Linux.
The following settings don't have any effect at all:
PHP:
Hi,
is any way to pass a $Var from one to other php pages without using FORM
and Cookies?
Thanks,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you Robert!
But, I forgot to mention... and without URI
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks John!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks Bobby!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi all,
is it possible with php:
first to pass request to another URL and after that to get the html responce
as a string and put it into php $variable?
best,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi Jason,
In my site I use a payment system, but unfortunately, there is a moment
when the client must enter his card data into the page owned by the
company that makes transactions (sorry for this descriptive bad english).
The problem is that the design of this page is quite different then mine
Marek Kilimajer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Do you think the users will trust your site that much they will be
willing to give you their credit card information? How would they know
you won't keep this information?
I'm going to make only cosmetic changes like
Hi,
Is any way to write JavaScript code into PHP function or to send PHP's
variables values to the JScript variables?
Thanks,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Is any way to write JavaScript code into PHP function or to send PHP's
variables values to the JScript variables?
Thanks,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you Vincent!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
Does someone had a speed trouble when using PHP and Oracle with OCI ??
The trouble i have is that the php pages are slower and slower during the
day.
It looks that if I make an apache restart things restart in a good way.
I don't understand where the trouble come from.
Help !
Christophe
Hello list.
Need you help.
My aim is to str_replace ($word,b$word/b,$str). But: i want
str_replace not to differ uppers and lowers:
Rector = bRec/btor
after str_replace ('rec',brec/b,Rector) in other words.
It seemes to me ereg can help, but i'm still not good at it. Help please
Valentin
Mail() function works fine on win32, you need enter smtp server in your
php.ini and sendfrom address.
example:
SMTP = 10.1.25.1 ; for Win32 only
sendmail_from = [EMAIL PROTECTED]
Valentin Petruchek (aki Zliy Pes)
*** ??? ?? ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED
OK, we're talking about Linux, right?
No ;) FreeBsd 4.x don't know exactly about x
I'll bet `cat /proc/sys/fs/file-max` gives you 4096
Try upping the file descriptor limit in /proc/sys/fs/file-max. That
may or may not solve the problem; worth a try. How much memory does
the client machine
Hello php-world!
I'm working on Apache 22, php 4.1.0 and try to work with MsSQL 2000.
PHP is configured
'./configure' '--with-apache=../apache_1.3.22' '--with-mysql'
'--with-sybase=/usr/local/freetds' '--enable-track-vars'
Everything works fine when using mssq-Functions, except extracting
Total Links 0/unlimited
Application Name PHP 4.0
Client API Version
- Original Message -
From: Brian Clark [EMAIL PROTECTED]
To: PHP is not a drug. [EMAIL PROTECTED]
Sent: Thursday, December 27, 2001 4:59 PM
Subject: Re: [PHP] MsSQL from FreeBSD
* Valentin V
Hello, cannot find function to convert all dangerous symbols (spaces,dots
etc) into %20 variant.
Is there any standard, or i have to develop my own?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-Original Message-
From: Valentin V. Petruchek [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 24, 2001 3:58 PM
To: PHP
Subject: [PHP] Looking for a function
Hello, cannot find function to convert all dangerous symbols
(spaces,dots
etc) into %20 variant.
Is there any
Mail() function works fine on win32, you need enter smtp server in your
php.ini and sendfrom address.
example:
SMTP = 10.1.25.1 ; for Win32 only
sendmail_from = [EMAIL PROTECTED]
Zliy Pes, http://zliypes.com.ua
- Original Message -
From: William Sanchez Sanchez [EMAIL PROTECTED]
To:
Aunt is more similar very similar to PHP. Very industrious and powerful ;)
- Original Message -
From: PHPGalaxy.com [EMAIL PROTECTED]
To: Php-General [EMAIL PROTECTED]
Sent: Thursday, December 13, 2001 1:31 PM
Subject: Re: [PHP] Logo proposal
Actually I heard it's 50 times it's
?PHP
$size = getimagesize ($userfile);
echo pre;
print_r($size);
echo /pre;
?
userfile is file you want to get size of.
Zliy Pes, http://www.zliypes.com.ua
- Original Message -
From: Tommy Straetemans [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 13, 2001 4:32 PM
up a voting script !
Ade
--- i n o v i c a h o s t i n g . c o m --
Powerful hosting from www.inovicahosting.com
-Original Message-
From: Valentin V. Petruchek [mailto:[EMAIL PROTECTED]]
Sent: 13 December 2001
-Original Message-
From: Valentin V. Petruchek [mailto:[EMAIL PROTECTED]]
Sent: 13 December 2001 12:05
To: PHP
Subject: Re: [PHP] Logo proposal
Aunt is more similar very similar to PHP. Very industrious and
powerful
As I started all these I propose to go to next stage of discuss: i.e.
drawing proposed logos.
We've got plenty of variants...
So if anyone has enough free time and ability to develop a GRAPHICAL logo -
lets post them!
Zliy Pes, www.zliypes.com.ua
--
PHP General Mailing List
Try cookies. They help me greatly ;)
What
- Original Message -
From: Ward, Mark [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 12, 2001 4:15 PM
Subject: [PHP] login, and
I've got a question about how I should implement my logins with PHP..
I'm working on a project
Security, you know...
Browser will not allow you to save files on LOCAL drive
Otherwise Internet should be very dangerous thing
- Original Message -
From: Helmut Habiger [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 10, 2001 5:57 PM
Subject: [PHP] file downlaod via
Hello world of php-programmers!
It seemes to me PHP is very powerful tool and very popular among
web-programmers, too. As for me I use php for solving web tasks for 2 years
and I'm very satisfied with it.
It seemes to me current PHP logo (can be found by
http://www.php.net/gifs/logo.gif)
My experince: MsSQL is keeping silence even freetds or sybase is not
installed at all...
- Original Message -
From: Dave Brotherstone [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 10, 2001 7:58 PM
Subject: [PHP] Returned error messages
Has anyone got error messages
Not necessary on the top, but before any html begins
Zliy Pes, http://zliypes.com.ua
- Original Message -
From: Steve Osborne [EMAIL PROTECTED]
To: PHP-General (E-mail) [EMAIL PROTECTED]
Sent: Monday, December 10, 2001 9:39 PM
Subject: [PHP] Setting Cookies
I am attempting to use the
Use $QUERY_STRING instead
- Original Message -
From: Daniel Urstöger [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, December 08, 2001 1:51 PM
Subject: Re: [PHP] Costum Error Page
Opps, sorry, I had a bug, now I have this problem:
Browser is showing this URL:
I've tested given url..
If there is no image php script return file = '139'.
Check if file content is different from 139.
or try to get image size of file:
$size = GetImageSize
(http://waptopic.supereva.it/loghiesuonerie.it/LogoGen.php?id=1100;);
and check what happens if there is no image
Your problem is GD, not PHP.
Use gd library corresponding to PHP 4.0.6 and PNG will be ok (tested by
myself).
Zliy Pes
- Original Message -
From: Robert Covell [EMAIL PROTECTED]
To: Neil Freeman [EMAIL PROTECTED]; Php-General
[EMAIL PROTECTED]
Sent: Friday, December 07, 2001 7:08 PM
It's from manual do not remember it's chapter exactly:
// starting word
$word = new COM(word.application) or die(Unable to instanciate Word);
print Loaded Word, version {$word-Version}\n;
//bring it to front
$word-Visible = 1;
//open an empty document
$word-Documents-Add();
//do some weird
Hello world!
I'm using php 4.0.6 to work with MsSQL (FreeBSD 4.4, Apache 1.3.20).
How should i compile php to enable mssql functions?
Thanks
Zliy pes, http://www.zliypes.com.ua
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Thanks, i've looked in previously downloaded manual and 've found nothing ;)
- Original Message -
From: Jon Farmer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; PHP [EMAIL PROTECTED]
Sent: Wednesday, December 05, 2001 11:55 AM
Subject: Re: [PHP] MsSQL question
Hello world!
I'm using php
Set the form receiver to $PHP_SELF. When data is posted (use $HTPP_POST_VARS
to check if is) check it for correctness. If everything is ok, use
Header(Location: work_for_authorized.php) otherwise show the current (i.e.
login page) with $user, $pass available...
Zliy PEs,
phpinfo() is a function itself. It needn't echo:
?
phpinfo();
?
Zliy Pes, http://www.zliypes.com.ua
- Original Message -
From: Brian C. Doyle [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 04, 2001 8:07 PM
Subject: [PHP] phpinfo() returning Zero Sized Reply
hello all,
Try to specify absolute path to the jpeg - possible php do not look up for
jpeg in current folder...
(or use './image.jpg')
Zliy Pes, http://zliypes.com.ua
- Original Message -
From: Miguel Loureiro [EMAIL PROTECTED]
To: php-gen [EMAIL PROTECTED]
Sent: Tuesday, December 04, 2001 8:46 PM
Use smth like this -
$need_prices = '01,02';
$prices = new Array();
$sql = select * from price_list where id in ($need_prices)
$result = mysql_query ($sql);
{//cycle while $result is not empty - for every record
$row = mysql_fetch_array($result);
$prices[$row[id]] =
- Original Message -
From: Valentin V. Petruchek [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 03, 2001 6:35 PM
Subject: [PHP] ereg help
I'm not new for php, but have no experience working with ereg functions.
My
problem is the following:
i have string
Try this:
?php
echo pre;
print_r ($temp);
echo /pre;
?
and look for $temp content.
Zliy Pes http://zliypes.com.ua
- Original Message -
From: Fred [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 03, 2001 7:58 PM
Subject: [PHP] Re: Something wrong with the file() command.
Hello everyone! sorry, but thing i'm asking for is interesting for Ru.Net
users only so i'm gonna write it in Russian:
çÏÓÐÏÄÁ ÄÅ×ÅÌÏÐÅÒÙ! ðÏÍÏÇÉÔÅ ÓÔÕÄÅÎÔÕ - ÐÒÉÍÉÔÅ ÕÞÁÓÔÉÅ × ÓÏÃÉÏÌÏÇÉÞÅÓËÏÍ
ÏÐÒÏÓÅ, ËÏÔÏÒÙÊ Ñ ÐÒÏ×ÏÖÕ × ÒÁÍËÁÈ ÉÚÕÞÁÅÍÏÇÏ ËÕÒÓÁ ÓÏÃÉÏÌÏÇÉÉ.
ïÐÒÏÓ ÐÒÏ×ÏÄÉÔÓÑ ÎÁ ÔÅÍÕ ÉÓÐÏÌØÚÏ×ÁÎÉÑ
?php
$name1 = 'value1';
$name2 = 'value2';
$name3 = 'value3';
for ($i=1;$i=3;$i++) {
eval (\$val = \$name$i;);
echo $val.'br';
}
?
Zliy Pes, http://www.zliypes.com.ua
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Try this code:
$str=eins zwei drei vier fünf sechs;
$Wort = explode (' ',$str);
$n=count($Wort);
for($i=0;$i$n;$i++){echo $i: $Wort[$i]br;}
It should works
Zliy Pes [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi everyone!
Is there any limitation for length of url like this
accept.php?set=qwerty...
What is the maximum $set length i can pass to script as a parameter?
Zliy Pes: http://zliypes.com.ua
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
You see, I call for php script from Delphi program...
I can do it with InternetOpen() so the only method available for me is GET -
i can use page url only
Or I'm mistaken and it's possible to use POST here? who knows?
- Original Message -
From: Christoph Starkmann [EMAIL PROTECTED]
To:
5.1.
Can anyone explain me why ODBC is faster than direct connection?
Thnx, Valentin
--
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: [EMAIL PROTECTED]
Try this:
var $VAL_ID;
var $VAL_TICKER;
var $VAL_ID_FEED;
--
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: [EMAIL PROTECTED]
What if pass some parameters to function - i mean not use global $comment
but
do like function replace_text_smiley($comment)
- Original Message -
From: Daniel Harik [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, October 28, 2001 12:20 AM
Subject: [PHP] Replace text
Hello guys
What if you single quotes like this:
'$REMOTE_ADDR'
???
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 27, 2001 3:20 PM
Subject: [PHP] HELP PLEASE!! Get query error when inserting into MySql
Hi There,
I have a query whenever I try to insert
Look in http://www.php.net/manual/en/ref.imap.php
- Original Message -
From: Nigam Chheda [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, October 25, 2001 12:41 PM
Subject: [PHP] regardnig receiving mails
Hi
For sending mail php has a function mail()
But
Use this:
?php
Header(Location: anypage.php);
exit(); //stopping the script
?
- Original Message -
From: Ozgur Demirtas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 24, 2001 9:47 AM
Subject: [PHP] redirecting the browser
Hi all,
I have a PHP script and at one
If I understand you properly you need smth like this
function checkmail ($email) {
return (eregi(^[_\.0-9a-z-]+@([0-9a-z][-0-9a-z\.]+)\.([a-z]{2,3}$),
$email, $check));
}
- Original Message -
From: Rosen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 24, 2001 10:24 AM
Send your codes to mailing list.
If they are not very secret :)
- Original Message -
From: Srinivasan Ranganathan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 23, 2001 3:21 PM
Subject: [PHP] Update Query - Urgent
Hi
I have a php script generate a sql update
What if use mysql_select_db()?
- Original Message -
From: Srinivasan Ranganathan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 23, 2001 4:22 PM
Subject: [PHP] Update Query - Urgent -- Yes, Full Rights!
Hi
Yes, I do have full rights!
Hello, Masters!
I'm sending a mail through with imap_mail() and want to save a copy of it in
Sent Items folders.
I can not find function which an do it.
It seemes to me it should look like saving letter to specified mailbox (e.g.
Drafts).
Thank you
Val.zp.ua.
--
PHP General Mailing List
Try to create an instant of the class like this:
?php
class test
{
var $table = val;
function showName()
{
return $this-table;
}
}
$test = new Test;
echo $test-showName();
?
- Original Message -
From: Matt Williams [EMAIL PROTECTED]
To: PHP General List [EMAIL PROTECTED];
Sorry and thanks - have not use it before/
But i've tried this:
?php
class test
{
function showName()
{
$this-qtable = 'val';
return $this-qtable;
}
}
echo test::showName();
?
worked :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Is it possible to use imap_mail() on php 4.0.6 on NT machine?
Maybe anyone has dll for this.
Thank you
Val.zp.ua
--
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
62 matches
Mail list logo