Re: [PHP] Resampling images -- need lock ?

2009-04-20 Thread Alpár Török
2009/4/20 kranthi kranthi...@gmail.com: then u'll b needing a lock (a shared resource like a SESSION var will do) even if u do it by javascript -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Session variables will not solve race

Re: [PHP] pup

2009-04-17 Thread Alpár Török
2009/4/17 German Geek geek...@gmail.com: From What i learned, yes you can write pup here. Does anyone print this mailing list? wtf?? i keep overestimating people's intelligence, im sorry! Tim-Hinnerk Heuer It would be interested to see how many times the Earth can be covered or surrounded,

[PHP] GSoC - XDebug Profiling Web Frontend

2009-03-31 Thread Alpár Török
Hi, I am interested in this, the problem highlighted also annoyed me. I haven't participated in GSoC, nor any community projects ( i did want, but didn't had the occasion). I wouldn't mind maintaining this after GSoc either. Since GSoC is kind of new for me any guidance would be appreciated.

Re: [PHP] Multithreading in PHP

2009-03-18 Thread Alpár Török
the processing. Please suggest if it is possible. Regards, Manoj On Tue, Mar 17, 2009 at 7:01 PM, Alpár Török torokal...@gmail.com wrote: 2009/3/17 Manoj Singh manojsingh2...@gmail.com: Hi Guys, I am creating a page which submits the form through Ajax request the submitted page is sending

Re: [PHP] Re: strcmp() versus ==

2009-03-17 Thread Alpár Török
2009/3/17 Shawn McKenzie nos...@mckenzies.net: Shawn McKenzie wrote: Paul M Foster wrote: I had never completely read over the rules with regard to comparisons in PHP, and was recently alarmed to find that $str1 == $str2 might not compare the way I thought they would. Is it common practice

Re: [PHP] Multithreading in PHP

2009-03-17 Thread Alpár Török
2009/3/17 Manoj Singh manojsingh2...@gmail.com: Hi Guys, I am creating a page which submits the form through Ajax request the submitted page is sending the mails to n number of users. Now until the mail sends or the page process completed the end user has to wait. Is it possible that

Re: [PHP] redirecting output for a spawned child process..

2009-02-23 Thread Alpár Török
You can use a PHP workarround. Install a custom ob_handler, that has a static file descriptor, and writes all output to the file. In order to also see everything, you need to also activate implicit flush. i know that there would be lots of elegant ways to do this on linux in C, but AFAIK php

Re: [PHP] Re: move_uploaded_file() problem

2009-02-07 Thread Alpár Török
2009/2/7 Dušan Novaković ndu...@gmail.com Hi, I'm having problem with function move_uploaded_file() under Linux (Slackware 12.2). It simply won't execute only that function in php file. So maybe I should add something to http.config file or ? I tried to execute that php file under

Re: [PHP] Re: move_uploaded_file() problem

2009-02-07 Thread Alpár Török
2009/2/7 Dušan Novaković ndu...@gmail.com On Sat, Feb 7, 2009 at 12:29 PM, Alpár Török torokal...@gmail.com wrote: 2009/2/7 Dušan Novaković ndu...@gmail.com Hi, I'm having problem with function move_uploaded_file() under Linux (Slackware 12.2). It simply won't execute only

Re: [PHP] Sending XML requests as raw post data

2009-02-07 Thread Alpár Török
2009/2/7 Marc Steinert li...@bithub.net Hi there! The software I'm maintaining uses $HTTP_RAW_POST_DATA to receive XML requests, posted by some client written in C#. Now I need to write a PHP client that posts XML requests the same way as the C# client, so that the posted data is stored in

Re: [PHP] How can I use a function's default arguments but change one of the end ones in the list?

2009-02-06 Thread Alpár Török
2009/2/6 Daevid Vincent dae...@daevid.com Is there a way to use the default values of a function without specifying every single one until the parameter you want to modify in PHP5 ? I don't see it here, but feel this would be very useful indeed.

[PHP] php COM example usage

2009-02-06 Thread Alpár Török
Hi, I have some cli scripts that previously ran on Linux, now i have to make available on Linux. I use semaphores for synchronization. I also have to develop some new scripts for windows that interact other custom programs. I need to create and signale events. Basically what i need is acces to

Re: [PHP] Re: preg_match question...

2009-02-06 Thread Alpár Török
2009/2/6 Shawn McKenzie nos...@mckenzies.net bruce wrote: hmmm... tried your preg__match/regex... i get: 0 - 1145 total 1 - 1145 2 - l i would have thought that the 2nd array item should have had total... Probably want this: '#(\d+)(.+)#' That's it sorry. Take a look at

Re: [PHP] preg_match question...

2009-02-06 Thread Alpár Török
preg_match('/^([0-9]+) (.)+/',$sString,$aMatches); Matches will be 1 = the number ; 2 = the text. The expression only matches if there is any character after the space. Not necessarily text, it might be another number or special characters 2009/2/6 bruce bedoug...@earthlink.net hi... trying

Re: [PHP] Connect local app to a web app

2009-02-05 Thread Alpár Török
2009/2/5 Paul M Foster pa...@quillandmouse.com On Thu, Feb 05, 2009 at 05:24:45PM -0200, Jônatas Zechim wrote: Hi there, i'm here again, but now with another doubt. What's the best way to connect a local app write in php or php-gtk to a web app writen in php. The database is MySql,

Re: [PHP] Connect local app to a web app

2009-02-05 Thread Alpár Török
2009/2/5 Alpár Török torokal...@gmail.com 2009/2/5 Paul M Foster pa...@quillandmouse.com On Thu, Feb 05, 2009 at 05:24:45PM -0200, Jônatas Zechim wrote: Hi there, i'm here again, but now with another doubt. What's the best way to connect a local app write in php or php-gtk to a web

Re: RES: [PHP] Bad words [SQL, database, txt, whatever]

2009-02-04 Thread Alpár Török
2009/2/4 Ashley Sheridan a...@ashleysheridan.co.uk On Wed, 2009-02-04 at 16:22 -0500, Robert Cummings wrote: On Wed, 2009-02-04 at 13:14 -0800, Daevid Vincent wrote: Thankfully he IM'd me about it and I fixed it for him, but if he were a real customer, I bet they would go away and

Re: [PHP] Re: Throwing an exception seems to defeat output buffering

2009-02-03 Thread Alpár Török
2009/2/3 Shawn McKenzie nos...@mckenzies.net Wickland, Leif wrote: I would expect that if I turn on output buffering, echo something, throw an exception, and catch the exception, nothing will have been actually output.. That doesn't seem to be the case. Throwing an exception seems to

Re: [PHP] PHP Enclosing Tags? Do You Close Your PHP Declarations?

2009-02-01 Thread Alpár Török
2009/2/1 Yannick Mortier mvmort...@googlemail.com 2009/1/30 Nitsan Bin-Nun nit...@binnun.co.il: Do you close your PHP ?php tags? No, I don't. The reason is that I use subversion and I always get a message when I don't leave the last line empty. So I kind of have to leave the ?php Tag

Re: [PHP] Empty $_REQUEST

2009-01-27 Thread Alpár Török
2009/1/27 Robert Paulsen rob...@paulsenonline.net On Tuesday 27 January 2009 12:16 pm, Daniel Brown wrote: On Tue, Jan 27, 2009 at 13:12, Robert Paulsen rob...@paulsenonline.net wrote: When I run the app I find that $_REQUEST is almost empty. it contains PHPSESSID but none of the data

Re: [PHP] Empty $_REQUEST

2009-01-27 Thread Alpár Török
2009/1/27 Robert Paulsen rob...@paulsenonline.net On Tuesday 27 January 2009 2:13 pm, Alpár Török wrote: why don't you just use phps md5() function ? you might mess up something in that process of hashing that you use and you create another, probably useless trip to the db. I just

Re: [PHP] PHP webhosting - USA

2009-01-24 Thread Alpár Török
I liked http://www.slicehost.com/ very much, but might not be what you want. 2009/1/24 Martin Zvarík mzva...@gmail.com Hi, I currently host my site by Powweb, and I am WANT to change it - can you guys recommend me something good? Powweb's website looks awesome and it's the best marketing