Re: [PHP] HTTP methods, Web Browsers and REST

2007-08-14 Thread Chris
Looking over PHP i can see a web service client could be written for a RESTful web service using the curl extension (and perhaps others as well) because it facilitates an ability to invoke the HTTP PUT and DELETE methods. Now, coming to my question.. Looking at the W3C page on the XHTML 1.0

Re: [PHP] About Buggy SQL Query

2007-08-14 Thread Kelvin Park
Chris wrote: Kelvin Park wrote: mySQL database becomes inaccessible after a buggy sql string gets queried. The SQL server runs fine, however it seems like just the database is being looped infinitely so to say. Here is an example: (PHP) $sql = SELECT * FROM DB_TABLE WHERE PR_NUMBER =

Re: [PHP] problem in tr

2007-08-14 Thread sanjeevn
basically you want your page needs to be submitted to the next page when you click on the tr so do one thing. create 2 forms.. form 1 will have your main table and the datas form 2 will have hidden inputs for each tr you need to assign a variable called rownumber and create the hidden fields in

[PHP] zip freezes - how to handle corrupt CRC in zip-file

2007-08-14 Thread ecc
Hi @all, i´m reading zip-files with the php zip-functions without a problem. Now i got and Zip containing an corrupt crc (If i open this file via winzip, the error is shown). It looks like the php functions for zip-handeling zip_entry_read and ZipArchive::getFrom... do not quit on a bad crc

Re: [PHP] zip freezes - how to handle corrupt CRC in zip-file

2007-08-14 Thread sanjeevn
Use error handling function for time being and exit from the loop where control going in the loop. On 8/14/07, ecc [EMAIL PROTECTED] wrote: Hi @all, i´m reading zip-files with the php zip-functions without a problem. Now i got and Zip containing an corrupt crc (If i open this file via

Re: [PHP] apache content negotiation and $_GET

2007-08-14 Thread Per Jessen
Stut wrote: Actually it suggests exactly that. Apache is giving PHP the query string, and PHP does nothing to it before it puts it in the $_SERVER variable. So this basically means that when you use the type-map Apache is not populating the query string variable. In short, I'm 5-9's%

[PHP] COM Objects

2007-08-14 Thread Nathan Wallis
I am having some trouble instantiating a COM object, it seems to crash my web server every time I call the line. $tve=new COM(TVE3COM.TVE); I have downloaded a trial version of the Turbo Video Engine SDK and this was a line I got from the php examples folder. Is anyone familiar with

Re: [PHP] zip freezes - how to handle corrupt CRC in zip-file

2007-08-14 Thread ecc
Hi Sanjeev, thank you for your fast answer. what do you mean with error handling function ()? If i read in the zip_entry, the function is freezing no chance to handle the error, because php dont give me an error or exception. If php find a corrupt file, it freezes on this position. Maybe i

[PHP] Looking for xslt extension that was part of php4

2007-08-14 Thread Per Jessen
I am moving a web application from php4 to php5, and have just stumbled over the lack of the xslt() extension in php5. The manual says it's been moved to PECL = pecl.php.net, but I can't find it there. Does anyone know where it has gone? (migrating the code to the newer php5 XSL support is not

Re: [PHP] HTTP methods, Web Browsers and REST

2007-08-14 Thread Nathan Nobbe
Chris, thanks for your reply it sounds like apache does allow the use of a script to handle PUT requests In fact, Apache handles PUT exactly like it handles the POST method. That is, it supports it, but in order for it to do anything useful you need to supply a suitable CGI program. getting

Re: [PHP] Looking for xslt extension that was part of php4

2007-08-14 Thread Thijs Lensselink
On Tue, 14 Aug 2007 15:13:48 +0200, Per Jessen [EMAIL PROTECTED] wrote: I am moving a web application from php4 to php5, and have just stumbled over the lack of the xslt() extension in php5. The manual says it's been moved to PECL = pecl.php.net, but I can't find it there. Does anyone know

Re: [PHP] Looking for xslt extension that was part of php4

2007-08-14 Thread Thijs Lensselink
On Tue, 14 Aug 2007 15:13:48 +0200, Per Jessen [EMAIL PROTECTED] wrote: I am moving a web application from php4 to php5, and have just stumbled over the lack of the xslt() extension in php5. The manual says it's been moved to PECL = pecl.php.net, but I can't find it there. Does anyone know

Re: [PHP] Looking for xslt extension that was part of php4

2007-08-14 Thread Per Jessen
Thijs Lensselink wrote: The manual also says : If you need xslt support with PHP 5 you can use the XSL extension. Yeah, but it is not compatible with the php4 xslt extension, so I would have to migrate the code, which is as I said not an option yet. /Per Jessen -- PHP General Mailing

Re: [PHP] Looking for xslt extension that was part of php4

2007-08-14 Thread Per Jessen
Thijs Lensselink wrote: Seems the xslt extension that should have been placed in PECL was never released. http://bugs.php.net/bug.php?id=41934 Ah, wonderful. That's what I love about PHP ... /Per Jessen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] very strange behavior.... incomplete query performed

2007-08-14 Thread Alain Roger
There was no error message...hust after few secunds it stop as normaly it should do... but i add - set_time_limit(0); and it works. adding around 20.000 records to database takes some time :-) around 1:41 minutes. I was thinking that i could be faster... :-( Alain On 8/13/07, Richard Lynch

Re: [PHP] php.ini of PHP 5.2.3

2007-08-14 Thread Alain Roger
So what should i do ? On 8/13/07, Richard Lynch [EMAIL PROTECTED] wrote: OpenSSL has a secondary dependency on libeay or whatever it is. PHP might *think* it has OpenSSL, but until OpenSSL can also load in the libeay thingie, it ain't gonna work. It can be confusing, especially when the

[PHP] Re: www.soongy.com

2007-08-14 Thread Joker7
In news: [EMAIL PROTECTED] - Gevorg Harutyunyan wrote : Hello, I am Gevorg. I just wanted to introduce you my new PHP based work here www.soongy.com http://www.soongy.com/ . It is working on PHP and MySQL and here is used DHTML, AJAX. Thank you very much. Waiting for your

Re: [PHP] php.ini of PHP 5.2.3

2007-08-14 Thread Richard Lynch
*IF* this is the actual problem, then find the libeay.ddl thingie and put it next to the openssl.dll thingie. On Tue, August 14, 2007 11:42 am, Alain Roger wrote: So what should i do ? On 8/13/07, Richard Lynch [EMAIL PROTECTED] wrote: OpenSSL has a secondary dependency on libeay or whatever

Re: [PHP] zip freezes - how to handle corrupt CRC in zip-file

2007-08-14 Thread Richard Lynch
On Tue, August 14, 2007 5:42 am, ecc wrote: i´m reading zip-files with the php zip-functions without a problem. Now i got and Zip containing an corrupt crc (If i open this file via winzip, the error is shown). It looks like the php functions for zip-handeling zip_entry_read and

Re: [PHP] problem in tr

2007-08-14 Thread Richard Lynch
On Mon, August 13, 2007 11:35 pm, shivendra wrote: Sir,u r not getting what i m trying to say,my problem is how can i send the values of tds in a perticuler row,by a function in onClick event of that row.actuallly the values are coming from database,and i what i want when i click a

Re: [PHP] About Buggy SQL Query

2007-08-14 Thread Richard Lynch
What is in $SD? And are you using mysql_real_escape_string on all values? On Mon, August 13, 2007 11:31 pm, Kelvin Park wrote: mySQL database becomes inaccessible after a buggy sql string gets queried. The SQL server runs fine, however it seems like just the database is being looped

[PHP] HTTP 1.1 keep-alive support in ext/soap/php_http.c ? (fwd)

2007-08-14 Thread Brian A. Seklecki
Re-send to php-general@ since soap@ is a ghost town. Per the msg below, still trying to figure out why each client call to any server results in a new TCP socket being built and closed (BAD!) I finally got around to: print Request :\n . $soapClient-__getLastRequestHeaders() . \n; print

Re: [PHP] very strange behavior.... incomplete query performed

2007-08-14 Thread Chris
Alain Roger wrote: There was no error message...hust after few secunds it stop as normaly it should do... but i add - set_time_limit(0); and it works. adding around 20.000 records to database takes some time :-) around 1:41 minutes. I was thinking that i could be faster... :-( After doing

Re: [PHP] HTTP methods, Web Browsers and REST

2007-08-14 Thread Chris
Nathan Nobbe wrote: Chris, thanks for your reply it sounds like apache does allow the use of a script to handle PUT requests If you install the module, yes. from the sound of it; PUT and DELETE wont work well when using a browser to interact w/ a server, it seems like they are mostly

Re: [PHP] HTTP 1.1 keep-alive support in ext/soap/php_http.c ? (fwd)

2007-08-14 Thread Brian A. Seklecki
Found it: http://cvs.php.net/viewvc.cgi/php-src/ext/soap/php_http.c?annotate=1.109 Lines 892-895 and 903-905 bring the violence. Rev 1.28 commented it out: http://cvs.php.net/viewvc.cgi/php-src/ext/soap/php_http.c?r1=1.27r2=1.28 The bugs assocaited with it are:

Re: [PHP] HTTP methods, Web Browsers and REST

2007-08-14 Thread Nathan Nobbe
im imagining a system using the REST paradigm where a web browser is the client. rather than a REST paradigm simply for web services. -nathan On 8/14/07, Chris [EMAIL PROTECTED] wrote: Nathan Nobbe wrote: Chris, thanks for your reply it sounds like apache does allow the use of a

Re: [PHP] HTTP 1.1 keep-alive support in ext/soap/php_http.c ? (fwd)

2007-08-14 Thread Chris
Brian A. Seklecki wrote: Found it: http://cvs.php.net/viewvc.cgi/php-src/ext/soap/php_http.c?annotate=1.109 Lines 892-895 and 903-905 bring the violence. Rev 1.28 commented it out: http://cvs.php.net/viewvc.cgi/php-src/ext/soap/php_http.c?r1=1.27r2=1.28 The bugs assocaited with it are:

RE: [PHP] www.soongy.com

2007-08-14 Thread Bastien Koert
Looks nice, but you need to have it adapt to screen resolutions...the fixed size of the page doesn't allow for scrolling etc...does not fit well on a 1400x900 laptop screen bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Tue, 14 Aug 2007 20:15:27 +0500 Subject: [PHP]

Re: [PHP] www.soongy.com

2007-08-14 Thread heavyccasey
Yes, add a scroll-bar. Middle-click works, for those who wants to read. On 8/14/07, Bastien Koert [EMAIL PROTECTED] wrote: Looks nice, but you need to have it adapt to screen resolutions...the fixed size of the page doesn't allow for scrolling etc...does not fit well on a 1400x900 laptop

[PHP] About UTF-8 / ANSI

2007-08-14 Thread Kelvin Park
I heard from a person that he was having some problem with uploading and displaying a web site on an ordinary web hosting server because the files weren't saved as UTF-8 charset (instead they were saved in iso-8859-1). Could saving HTML files in a different charset (UTF-8 or iso-8859-1)

Re: [PHP] About UTF-8 / ANSI

2007-08-14 Thread Anders Norrbring
Kelvin Park skrev: I heard from a person that he was having some problem with uploading and displaying a web site on an ordinary web hosting server because the files weren't saved as UTF-8 charset (instead they were saved in iso-8859-1). Could saving HTML files in a different charset (UTF-8