[PHP] Submit/Validate triggering problem.

2005-10-21 Thread Uros Dukanac
, B); if ($BForm-validate() Filter == B) { echo In B Validate ; } // Display Forms $AForm-display(); $BForm-display(); ? -- Uros Dukanac --- LucidTech | Svetogorska 2 | 11000 Beograd tel: +381 11 3033386 | fax: +381 11

[PHP] Outlinin block of code

2003-11-26 Thread Uros
Hello! Anybody know any good PHP ide with support of code outlining like Visual .NET. On the left side where are usualy line numbers is + and you can group functions, classes or custom defined blocks of code. -- Best regards, Uros mailto:[EMAIL PROTECTED] -- PHP

[PHP] Fwd: MMCache segmentation faults

2003-11-17 Thread Uros Gruber
=shm_and_disk mmcache.sessions=shm_and_disk mmcache.content=shm_and_disk I delete cache folder when I upgrade. If i remove mmcache from php.ini there's no problems. But strange is that pages load normaly. -- Best regards, Uros mailto:[EMAIL PROTECTED] ===8

[PHP] Using system

2003-09-17 Thread Uros
Hello! I'm pulling my hair. What is the right syntax to set output of some system call to variable. I tried everything (system, shell_exec,exec) and always get output to screen. Please help. PHP version 4.3.3 CLI -- Best regards, Uros -- PHP General Mailing List (http://www.php.net

Re[2]: [PHP] Using system

2003-09-17 Thread Uros
. ob_start(); ( .. Exec here ..) $Var = ob_end_clean(); , Wouter -Original Message- From: Uros [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 3:18 PM To: PHP General list Subject: [PHP] Using system Hello! I'm pulling my hair. What is the right syntax to set

[PHP] Timeout and fsockopen

2003-09-16 Thread uros . gruber
-- Best regards, uros -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] using objects

2003-08-18 Thread Uros
. I search for this on the web but I couldn't find any good answers or projects. -- Best regards, Uros -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] using objects

2003-08-18 Thread Uros
Hi, I forgot to add. From this modules I want use same objects. So not generating new everytime I load new module. If I change something in class mod1, this has to change globaly, so mod2 must se the diference. Monday, August 18, 2003, 3:41:02 PM, you wrote: U Hello, U I'm developing web

Re[2]: [PHP] Location referer header

2003-08-14 Thread Uros
. -- Best regards, Urosmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php+apache+accelerator

2003-08-14 Thread Uros Gruber
makes problem. Maybe any module of apache, apache itself, php, accelerator, os. Any suggestions how to start searching the ghost. tia Uros P.S. can somebody resend this to maybe apache list, because I'm not subscribed to it. -- lp, Uros mailto:[EMAIL PROTECTED

[PHP] Image Header

2003-08-14 Thread Uros Gruber
: but on request is html/text. And one more question. Is it possible that IE or mozzila cache those kind of images. For example that I ser Cache header option.. -- tia, Uros -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] config tests

2003-08-14 Thread Uros Gruber
. I wan't to know what do you think about this. And what's your solutions of reading config from DB. I saw that many big project still use first example. -- Best regards, Uros -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Location referer header

2003-08-14 Thread Uros
and at www.somehost.com get referer this redir.php What I want is to send referer search.php?q=testpos=2 -- Best regards, Uros -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] Image Header

2003-08-11 Thread Uros Gruber
Hello, Monday, August 11, 2003, 10:42:58 PM, you wrote: CS --- Uros Gruber [EMAIL PROTECTED] wrote: I made some php script to get Header from http request. When I request some image header looks like: Content-Type: text/html CS Your instincts serve you well. You want the Content-Type header

Re[2]: [PHP] config tests

2003-08-10 Thread Uros Gruber
text to store this because there's no need to index this. I also make some script to easy add and remove config values. But I agree with you that 1st one is more flexible. -- Best regards, Uros Sunday, August 10, 2003, 10:32:13 AM, you wrote: JWH Uros Gruber wrote: Hello! I just made

[PHP] change process name

2003-07-16 Thread Uros
Hello! Is it possible to change name on some process I forked because 'ps' now prints php -q /my/script i would like to be this some name i chose. I saw that this is possible with perl. Is it with php to. -- Best regards, Uros -- PHP General Mailing List (http://www.php.net

[PHP] detaching

2003-07-08 Thread Uros Gruber
this script with automatic detaching. But it does nothing than waiting this for to finish. What am I doing wrong. -- lp, Uros mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] daemonized php

2003-07-07 Thread Uros
Hello! Can somebody give me any workable example how to run some script written in PHP in Unix console. I wan't to write some server aplication. So it has to be run in the backgroud. -- Best regards, Uros -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re[2]: [PHP] daemonized php

2003-07-07 Thread Uros
file on disk and doing something with this data. Do I have to use any usleep function. What is with CPU % when i run such script. Is there any real examples. I read on devshed article about TCP socket listenig, but I don't like this. tia Uros Monday, July 7, 2003, 2:58:52 PM, you wrote: Can

Re[2]: [PHP] daemonized php

2003-07-07 Thread Uros
Hello, ok what about checking status what this program is doing right now. can this be done with http://www.php.net/manual/en/ref.pcntl.php tia Uros Monday, July 7, 2003, 3:16:35 PM, you wrote: AV #!/usr/local/bin/php -q AV ?php AV set_time_limit(0); AV while(true) AV

Re[4]: [PHP] daemonized php

2003-07-07 Thread Uros
or this is can only be my dream. tia Uros Monday, July 7, 2003, 3:33:47 PM, you wrote: AV Umm, have your PHP program output a integer to AV a file somewhere, and just map the integer to AV a status, example, if 1 exists in the file, it's AV doing step 1, etc. AV On Mon, 2003-07-07 at 09:30, Uros

[PHP] text parser

2002-12-20 Thread Uros Gruber
tag, html entry. -- tia, Uros -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Divide into words

2002-12-16 Thread Uros Gruber
. If word repeates i want to have both positions saved in same row like word is. I tried something but i think it's to lame. -- bye, Uros -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] Divide into words

2002-12-16 Thread Uros Gruber
0.0034389495849609s So using two array is faster anyway. Probably of explode speed. -- bye, Uros Monday, December 16, 2002, 6:36:37 PM, you wrote: For example i have some words: Today is very beautiful day and sun is shining What i want to get from this is array words [Today] = 0

[PHP] ob_output

2002-11-22 Thread Uros Gruber
apache to send line by line to browser not everything together. -- lp, Uros -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] ob_output

2002-11-22 Thread Uros Gruber
Hi! I changed it to ob_flush() and the problem still exist. Check the link and you'll se. http://www.kud-igen.si/link.php I have 3 apache servers and no one works as i want to. But iis makes no problems. -- bye, Uros Friday, November 22, 2002, 8:32:56 PM, you wrote: CW On Fri, 22 Nov

[PHP] DB speed

2002-10-10 Thread Uros Gruber
with socket connections and using connnect (non-persistant) -- tia, Uros mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] DB speed

2002-10-10 Thread Uros Gruber
is so much overhead for pg. Is there any tools to check this. Or is some kind of a bug in php. I use 4.2.3. And pg is 7.2.1. Can somebody make some test. I can send script what i've run. -- tia, Urosmailto:[EMAIL PROTECTED] Friday, October 11, 2002, 5:09:31 AM, you

[PHP] What to use for multilanguage

2002-09-30 Thread Uros Gruber
. -- tia, Uros mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Whos online at the moment in PHP

2002-06-23 Thread Uros Gruber
Hi, I've ma some atuh system to do such thing beside other special functions, u have to store some session ids in some db and then refresh timestamp for those session wich is still active other delete after 30min or some other time. -- bye, Urosmailto:[EMAIL

Re[2]: [PHP] Very slow pg access

2002-06-22 Thread Uros Gruber
entries. -- lp, Urosmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Very slow pg access

2002-06-21 Thread Uros Gruber
this is 90ms against 2ms. I thik that this is not normal. or is PHP so slow or there is something wrong with libraries I use PHP 4.1.2 and pg 7.2.1 Any thoughts. -- tia, Uros mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Speed tests? RAM usage displays?

2002-06-20 Thread Uros Gruber
); } in your head of your script than call: $start = getMicrotime(); and then in the end of script $stop = getMicrotime(); $diff = $stop - $start; echo Execution time was: .$diff; You can also use Benchmark module from PEAR there is also support for markers. -- lp, Uros

[PHP] help with some class problem

2002-06-19 Thread Uros Gruber
to have some main class on wich i buld modules, this modules use some properties en methods from main class like dbacces, configuration And also i don't want this to be slower everytime i add ne module. any ideas -- bye, Uros mailto:[EMAIL PROTECTED] -- PHP General

[PHP] directory browsing

2002-05-01 Thread Uros Gruber
id. But then i have to program to delete all neceseary data from this array. This method was quicker but more complex. I hope this is understandable. I wan't to know how to code this. Is there maybe another way (better way) to solve this. Is maybe somewhere class for this. -- tia, Uros

[PHP] BUG in recursion

2002-03-30 Thread Uros Gruber
it does not call itself but end. Is this maybe a bug or what. -- lp, Uros mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] BUG in recursion

2002-03-30 Thread Uros Gruber
Hi! This I simply don't understand why this code executes that way. So there is only inportant to put return after recursive call and it works like i wan't. I sometimes write small C programs and I don't remeber that code like this have to work that way Hm. -- bye, Uros

Re[4]: [PHP] BUG in recursion

2002-03-30 Thread Uros Gruber
i wrote this very strange i hope you understand. I tell it simpler. I would like something is executed x many times (for such long if sentence is true) and thene do sometnihg else and continue with program, not looping here. -- tia, Urosmailto:[EMAIL PROTECTED

[PHP] SQL and PHP (socket vs TCP)

2002-02-26 Thread Uros Gruber
that on IP. Is there something that i don't know. -- TIA, Uros -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Localization support

2002-02-24 Thread Uros Gruber
standard. So if i move my code on other machine nothing would work or what. Plese if someboday can help me or have some good doc. -- lp, Uros mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php