[PHP] Web service in PHP

2006-07-07 Thread Pham Huu Le Quoc Phuc
Hi! I want to build a Web Service in PHP. Could you give me some explain about this problem. Have any framework of Web service in PHP? Please help me! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Web service in PHP

2006-07-07 Thread nicolas figaro
Pham Huu Le Quoc Phuc a écrit : Hi! Hi, I want to build a Web Service in PHP. cool ! Could you give me some explain about this problem. Have any framework of Web service in PHP? could you give us some infos about the web service you'd like to build ? Please help me! N F --

[PHP] combine implode() and array_keys() to get a string of key names

2006-07-07 Thread Dave M G
PHP List, I've got a series of associative arrays that contain simple string values that I want to insert into my database. In each array, the names of the keys correspond to the column names in the database table. The values stored in the array are, of course, the values that I want

Re: [PHP] combine implode() and array_keys() to get a string of key names

2006-07-07 Thread Jochem Maas
Dave M G wrote: PHP List, I've got a series of associative arrays that contain simple string values that I want to insert into my database. In each array, the names of the keys correspond to the column names in the database table. The values stored in the array are, of course, the

Re: [PHP] combine implode() and array_keys() to get a string of key names

2006-07-07 Thread Dimiter Ivanov
On 7/7/06, Dave M G [EMAIL PROTECTED] wrote: PHP List, I've got a series of associative arrays that contain simple string values that I want to insert into my database. In each array, the names of the keys correspond to the column names in the database table. The values stored in the

Re: [PHP] combine implode() and array_keys() to get a string of key names

2006-07-07 Thread Janet Valade
Dave M G wrote: PHP List, I've got a series of associative arrays that contain simple string values that I want to insert into my database. In each array, the names of the keys correspond to the column names in the database table. The values stored in the array are, of course, the

[PHP] Video in PHP

2006-07-07 Thread Leonard Burton
Hi all, I am researching setting up an application in PHP where it would play various videos. I played with PHP and Totem but it didn't work exactly as planned. This code got the videos playing snip exec(totem --fullscreen million_dollar_weekend.mpeg); exec(totem --fullscreen

[PHP] Re: [PHP-WIN] Dynamic HTML table sort with PHP

2006-07-07 Thread tg-php
If you're only sorting by one column at a time (not adding to a column sort list) then you can do something like this: $ascdesc = ($_GET['sortcol'] == 'colA' AND $_GET['ad'] == 'ASC') ? 'DESC' : 'ASC'; echo a href=\script.php?sortcol=colAad=$ascdesc\ColA/a\n; $ascdesc = ($_GET['sortcol'] ==

Re: [PHP] Video in PHP

2006-07-07 Thread tg-php
Looks like totem supports playlists, why not just generate a playlist and pipe that into totem? And I don't see any obvious documentation without downloading Totem, but you might check to see if there's an exit on end option that'd return control back to PHP if a playlist isn't an option. Or

[PHP] RE: [PHP-WIN] Dynamic HTML table sort with PHP

2006-07-07 Thread Vandegrift, Ken
Thanks for the tip! This works great as I only need a single column sort :) Ken Vandegrift [EMAIL PROTECTED] Web Administrator Sharis Mgmt. Corp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 07, 2006 10:01 AM To: php-general@lists.php.net

Re: [PHP] Video in PHP

2006-07-07 Thread Richard Lynch
On Fri, July 7, 2006 11:23 am, Leonard Burton wrote: I am researching setting up an application in PHP where it would play various videos. I played with PHP and Totem but it didn't work exactly as planned. This code got the videos playing snip exec(totem --fullscreen

Re: [PHP] Startinga shell process with a life of its own

2006-07-07 Thread Richard Lynch
On Thu, July 6, 2006 9:29 pm, John Gunther wrote: Which PHP method allows me to start a shell process from a web page script and let it proceed to its conclusion even though I end the page. Most of the various execute functions seem to wait for the process to finish before PHP continues. I

Re: [PHP] Problem using fgetcsv()

2006-07-07 Thread Richard Lynch
On Thu, July 6, 2006 11:54 am, Don wrote: I have a CSV file, comma delimited with the data enclosed by double quotes. I am using the fgetcsv() function to read and into an array and update a database. It works great except for the odd record. After investigating, I have ascertained that

Re: [PHP] url obfuscation

2006-07-07 Thread Richard Lynch
On Thu, July 6, 2006 11:49 am, Dan McCullough wrote: Looking for a good way to obfuscation the name value pairs in a URL, so it might be something like http://www.domain.com/page=fjdsaflkjdsafkfjdsakfjdsalkfjsda983dsf or something like that, I was looking at base64_encode, but was wondering

Re: [PHP] uploading and extracting zip files

2006-07-07 Thread Richard Lynch
On Tue, July 4, 2006 7:26 pm, Schalk wrote: Can someone please point me to a tutorial or open source 'library' that will explain how one can upload a .zip file and then extract it's contents and store this on the server and/or database using PHP. Basically the same way as one can upload and

Re: [PHP] url obfuscation

2006-07-07 Thread Richard Lynch
On Thu, July 6, 2006 12:00 pm, Anas Mughal wrote: I have encrypted the values -- not the keys. With this approach, I presume I have made it harder for anyone trying to screen scrap my data. (It is not possible to write a script that would loop over my pages.) Unless you are using an

Re: [PHP] Bitwise operators and check if an bit is NOT within the flag.

2006-07-07 Thread Richard Lynch
On Tue, July 4, 2006 7:35 am, Mathijs wrote: //Do if VALIDATE_CHECK1 is set BUT NOT when VALIDATE_CHECK3 is set. if ($flag2 self::VALIDATE_CHECK1 $flag2 ~self::VALIDATE_CHECK3) Did you check operator precedence for versus ? Perhaps you just need parentheses... I'm also not at all sure the

Re: [PHP] running multiple updates on a single line

2006-07-07 Thread Richard Lynch
On Mon, July 3, 2006 8:29 pm, Ryan A wrote: in phpmyadmin, in the SQL part where you can write a query if I have a double update such as this: it works without a problem as I am ending each sql statement with a simicolon, but in my scripts when I try to run multiple updates in a single line

Re: [PHP] Web service in PHP

2006-07-07 Thread Richard Lynch
On Fri, July 7, 2006 3:39 am, Pham Huu Le Quoc Phuc wrote: I want to build a Web Service in PHP. Could you give me some explain about this problem. Have any framework of Web service in PHP? One framework: http://php.net/soap Roll your own framework: http://php.net/sockets -- Like Music?

RE: [PHP] global class instance

2006-07-07 Thread Richard Lynch
On Wed, July 5, 2006 3:32 pm, KermodeBear wrote: i don't want to: - or use a::print $myFoo = Singleton::getFoo(); What's wrong in this picture? :-) As far as I can tell, the original poster shouldn't be using PHP, since he wants the language to have some kind of implicit $this -- Like

Re: [PHP] Chnage Management in PHP aka version control?

2006-07-07 Thread Richard Lynch
On Wed, July 5, 2006 10:40 am, [EMAIL PROTECTED] wrote: I don't know about you, Jay, but all we really want to do is keep a record of revisions and be able to 'diff' between them and have the files lock so if someone tries to open the file and it's already open, that the user is alerted and

RE: [PHP] Sanity checker?

2006-07-07 Thread Ezra Nugroho
Php experts everywhere, This is a response to an old thread about a php audit tool. I just want to announce a simple tool for that. It is not super smart yet, but it is easily extensible. Please check it out, and provide me with suggestions.

[PHP] phpdocwriter

2006-07-07 Thread Leonard Burton
HI All, Has anyone used phpdocwriter? Does anyone know how to get it to work with OO 2.0? It does not seem to work and the export.sh is specific to OO1.1.1. Does this seem to be a mostly dead project? I didn't see much on the forums linked to from

Re: [PHP] url obfuscation

2006-07-07 Thread Anas Mughal
My URLs are constant. They are not changing. All my dynamic pages are indexed nicely on Google. I agree that a computerized screen scrapper could still screen scrap most of my site. However, a simple script that attempts to bump up the identifier of a resource in a URL, would not work. Here is