php-general Digest 31 Jul 2006 05:31:58 -0000 Issue 4266

2006-07-30 Thread php-general-digest-help
php-general Digest 31 Jul 2006 05:31:58 - Issue 4266 Topics (messages 239883 through 239889): call a javascript within php 239883 by: Jochen Kaechelin 239884 by: Jay Blanchard 239885 by: Paul Novitski Re: Saving a dynamic file 239886 by: Brady Mitchell Re:

[PHP] HTTP_WebDAV_Server problems

2006-07-30 Thread Rory Browne
Hello All I'm trying to get a WebDAV server set up using PEAR::HTTP_WebDAV_Server, but so far I'm having little success. All I could get from the 11 Slides was that the Class had to be subclassed, and the methods overloaded, to provide the functionality. I gathered from the source-code, that I

[PHP] call a javascript within php

2006-07-30 Thread Jochen Kaechelin
How can I call a JavaScript inside php? Thängs -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] call a javascript within php

2006-07-30 Thread Jay Blanchard
[snip] How can I call a JavaScript inside php? [/snip] Echo it out. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] call a javascript within php

2006-07-30 Thread Paul Novitski
At 09:59 AM 7/30/2006, Jochen Kaechelin wrote: How can I call a JavaScript inside php? You can't literally call client-side JavaScript from server-side PHP because they're executing at different times and in different computers. PHP executes on the server then downloads the page to the

RE: [PHP] Saving a dynamic file

2006-07-30 Thread Brady Mitchell
Depends on what you are planning to do with the file. Saving it to PDF is also possible, take a look at http://fpdf.org and http://htmldoc.org/. Brady -Original Message- Hi!! I'm in the need of saving to a file a dynamic page that I generated from a PHP script, taking data from a

Re: [PHP] PAYPAL TRANSACTION.

2006-07-30 Thread Chris
BBC wrote: Hi list.. Please any one point me to the web which talk about making transaction with paypal step by step. Some body offered me the source code and tutorial but until know he or she didn't send me. http://www.paypal.com I'm sure someone here has used / set up paypal but they

Re: [PHP] mb_substr()

2006-07-30 Thread Chris
tedd wrote: Hi gang: From another list, a person posted: I want to use PHP's mb_substr() function to grab the first letter of a UTF-8 encoded word (in Czech) being pulled out of MySQL. If I use the plain substr() the data gets garbled and I get a ? symbol in the browser. My host says that

[PHP] sorting in array

2006-07-30 Thread weetat
Hi all , I have array value as shown below, i have paste my test php code below: I have problem when doing usort() when 'country' = '', i would like to display records where country = '' last. Any ideas how to do that ? Thanks $arraytest= array( array ( 'country'

RE: [PHP] sorting in array

2006-07-30 Thread Peter Lauri
function cmpcountry($a, $b) { $country1 = $a['country']; $country2 = $b['country']; if($country1=='') return 1; else return ($country1 $country2) ? -1 : 1; } -Original Message- From: weetat [mailto:[EMAIL PROTECTED] Sent: Monday, July