Re: [PHP] Re: Questions regarding limits of processes launched bysystem, exec,passthru ...

2008-10-01 Thread Valentin Schmid - ICSurselva AG
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

[PHP] Re: Questions regarding limits of processes launched by system, exec,passthru ...

2008-09-29 Thread Valentin Schmid - ICSurselva AG
://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

[PHP] Questions regarding limits of processes launched by system, exec, passthru ...

2008-09-25 Thread Valentin Schmid - ICSurselva AG
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:

[PHP] Passing $Vars between 2 php pages

2003-07-16 Thread Valentin
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

Re: [PHP] Passing $Vars between 2 php pages

2003-07-16 Thread Valentin
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

Re: [PHP] Passing $Vars between 2 php pages

2003-07-16 Thread Valentin
Thanks John! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: General question...

2003-06-13 Thread Valentin
Thanks Bobby! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] General question...

2003-06-12 Thread Valentin
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

Re: [PHP] General question...

2003-06-12 Thread Valentin
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

Re: [PHP] General question...

2003-06-12 Thread Valentin
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

[PHP] Php and JavaScript

2003-03-02 Thread Valentin
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

[PHP] Php and JScript

2003-03-02 Thread Valentin
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

[PHP] Re: Php and JavaScript

2003-03-02 Thread Valentin
Thank you Vincent! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP and Oracle

2003-01-23 Thread Christophe Valentin
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

[PHP] Case insensitive str_replace

2002-01-10 Thread Valentin V. Petruchek
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

Re: [PHP] PHP Forms

2002-01-02 Thread Valentin V. Petruchek
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

Re: [PHP] MsSQL from FreeBSD

2001-12-28 Thread Valentin V. Petruchek
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

[PHP] MsSQL from FreeBSD

2001-12-27 Thread Valentin V. Petruchek
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

Re: [PHP] MsSQL from FreeBSD

2001-12-27 Thread Valentin V. Petruchek
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

[PHP] Looking for a function

2001-12-24 Thread Valentin V. Petruchek
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]

Re: [PHP] Looking for a function

2001-12-24 Thread Valentin V. Petruchek
-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

Re: [PHP] How can i send eMail under Win32

2001-12-17 Thread Valentin V. Petruchek
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:

Re: [PHP] Logo proposal

2001-12-13 Thread Valentin V. Petruchek
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

Re: [PHP] pictures width and height

2001-12-13 Thread Valentin V. Petruchek
?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

Re: [PHP] Logo proposal - voting script!

2001-12-13 Thread Valentin V. Petruchek
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

Re: [PHP] Logo proposal - voting script!

2001-12-13 Thread Valentin V. Petruchek
-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

Re: [PHP] PHPhish Logo

2001-12-12 Thread Valentin V. Petruchek
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

Re: [PHP] login, and

2001-12-12 Thread Valentin V. Petruchek
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

Re: [PHP] file downlaod via http

2001-12-10 Thread Valentin V. Petruchek
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

[PHP] Logo proposal

2001-12-10 Thread Valentin V. Petruchek
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)

Re: [PHP] Returned error messages

2001-12-10 Thread Valentin V. Petruchek
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

Re: [PHP] Setting Cookies

2001-12-10 Thread Valentin V. Petruchek
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

Re: [PHP] Costum Error Page

2001-12-08 Thread Valentin V. Petruchek
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:

Re: [PHP] fopen to check if file exists

2001-12-08 Thread Valentin V. Petruchek
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

Re: [PHP] Version To Version

2001-12-07 Thread Valentin V. Petruchek
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

Re: [PHP] Dynamic Document Creation

2001-12-07 Thread Valentin V. Petruchek
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

[PHP] MsSQL question

2001-12-05 Thread Valentin V. Petruchek
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

Re: [PHP] MsSQL question

2001-12-05 Thread Valentin V. Petruchek
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

Re: [PHP] header(Location:blah...) - passing variables

2001-12-04 Thread Valentin V. Petruchek
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,

Re: [PHP] phpinfo() returning Zero Sized Reply

2001-12-04 Thread Valentin V. Petruchek
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,

Re: [PHP] mad .... again jpeg files...

2001-12-04 Thread Valentin V. Petruchek
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

Re: [PHP] Multiple database seeking

2001-12-03 Thread Valentin V. Petruchek
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]] =

[PHP] ereg help

2001-12-03 Thread Valentin V. Petruchek
- 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

Re: [PHP] Re: Something wrong with the file() command.

2001-12-03 Thread Valentin V. Petruchek
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.

[PHP] Student need help

2001-11-30 Thread Valentin V. Petruchek
Hello everyone! sorry, but thing i'm asking for is interesting for Ru.Net users only so i'm gonna write it in Russian: çÏÓÐÏÄÁ ÄÅ×ÅÌÏÐÅÒÙ! ðÏÍÏÇÉÔÅ ÓÔÕÄÅÎÔÕ - ÐÒÉÍÉÔÅ ÕÞÁÓÔÉÅ × ÓÏÃÉÏÌÏÇÉÞÅÓËÏÍ ÏÐÒÏÓÅ, ËÏÔÏÒÙÊ Ñ ÐÒÏ×ÏÖÕ × ÒÁÍËÁÈ ÉÚÕÞÁÅÍÏÇÏ ËÕÒÓÁ ÓÏÃÉÏÌÏÇÉÉ. ïÐÒÏÓ ÐÒÏ×ÏÄÉÔÓÑ ÎÁ ÔÅÍÕ ÉÓÐÏÌØÚÏ×ÁÎÉÑ

Re: [PHP] HELP URGENT VARS !!!

2001-11-30 Thread Valentin V. Petruchek
?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,

Re: [PHP] matches problem (preg_match)

2001-11-13 Thread Valentin V. Petruchek
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

[PHP] Url Length Limitations?

2001-11-12 Thread Valentin V. Petruchek
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:

Re2: [PHP] Url Length Limitations?

2001-11-12 Thread Valentin V. Petruchek
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:

[PHP] Some facts about MsSQL/ODBC

2001-11-01 Thread Valentin V. Petruchek
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]

[PHP] Re: Parse Error

2001-10-29 Thread Valentin V. Petruchek
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]

Re: [PHP] Replace text

2001-10-27 Thread Valentin V. Petruchek
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

Re: [PHP] HELP PLEASE!! Get query error when inserting into MySql

2001-10-27 Thread Valentin V. Petruchek
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

[PHP] Re: regardnig receiving mails

2001-10-25 Thread Valentin V. Petruchek
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

Re: [PHP] redirecting the browser

2001-10-24 Thread Valentin V. Petruchek
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

Re: [PHP] Check mail user

2001-10-24 Thread Valentin V. Petruchek
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

Re: [PHP] Update Query - Urgent

2001-10-23 Thread Valentin V. Petruchek
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

Re: [PHP] Update Query - Urgent

2001-10-23 Thread Valentin V. Petruchek
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!

[PHP] IMAP Question

2001-10-18 Thread Valentin V. Petruchek
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

Re: [PHP] class problems

2001-10-18 Thread Valentin V. Petruchek
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];

RE: [PHP] class problems

2001-10-18 Thread Valentin V. Petruchek
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

[PHP] IMAP Question

2001-10-18 Thread Valentin V. Petruchek
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