quot;, "Text1", array("size" => "30"));
$AForm->addElement("Submit", "SButton", "A");
if ($AForm->validate() && Filter == "A")
{
echo " In A Validate ";
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
mmcache.shm_max="0"
mmcache.shm_ttl="0"
mmcache.shm_prune_period="0"
mmcache.shm_only="0"
mmcache.compress="1"
mmcache.keys="shm_and_disk"
mmcache.sessions="shm_and_disk"
mmcache.content="shm_and_disk"
I delete cache folder w
();
>> ( .. 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 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
his everything
stops and waits
--
Best regards,
uros
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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 a
it was generated. But then I have to use
$this->db etc.
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
7;mime']}");
fpassthru($fp);
exit;
} else {
}
So I set Content-type: 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
www.somehost.com get referer this redir.php
What I want is to send referer search.php?q=test&pos=2
--
Best regards,
Uros
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. 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
ithout any.
I can't figure out who 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
t; No. Referer is set by the client, not the server.
--
Best regards,
Urosmailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
e from this array.
I use 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 Grube
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.ph
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
le 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.
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> set_time_limit(0);
AV> while
e reading
some 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,
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:
mber, html tag,
html entry.
--
tia,
Uros
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
310350418091
and with Marco's i get 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
ove sentence. 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
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
wser not everything together.
--
lp,
Uros
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
ers runing
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
ld be good.
--
tia,
Uros mailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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:[
puter is PII300MHz with 128MB RAM, but in this table
is for now from 0 to 15 entries.
--
lp,
Urosmailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
return ((float)$usec + (float)$sec);
}
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
ay to do this, but my
point is that i want 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
one level lower than this i'm
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 some
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
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.
rater than 10 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
icker 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
does not.
There is also strange thig about nameing locales. Somewhere i have to
use only sl or slv, somwhere sl_SI or maybe like here
sl_SI.ISO_8859-2. Shouldn't be this somehow standard. So if i move my
code on other machine nothing would work or what.
Plese if someboday can help me or have some goo
40 matches
Mail list logo