Re: [PHP] #comment, (* comment *), -- Any good alternatives to

2006-08-05 Thread Micky Hulse
Micky Hulse wrote: Any other alternatives? I would like to find a way of adding comments to an XHTML PHP page that is quick and easy. Ah, nevermind... I should have never posted this question. This solved my problem (IE duplicate char bug): I was trying to think of ways to include comments i

[PHP] #comment, (* comment *), -- Any good alternatives to

2006-08-05 Thread Micky Hulse
Hi, Hopefully this is not a completely stupid question, but... Any alternatives to using HTML comments in an XHTML 1.0 Strict docutment? For example, I could do this: XHTML XHTML XHTML XHTML XHTML XHTML That might work for some situations... Any other alternatives? I would like to find a w

Re: [PHP] PayPal's PHP SDK on Windows

2006-08-05 Thread phpwizard02
You have to edit your php.ini file and make sure the following two lines are uncommented: extension=php_curl.dll extension=php_openssl.dll Then, restart your Apache server and everything should work fine after that. -=-=-=-=-=-=-=-=- Attention Developers! Make up to $1000 per referral with Pa

Re: [PHP] The difference between ereg and preg?

2006-08-05 Thread Robert Cummings
On Sun, 2006-08-06 at 10:39 +0900, Dave M G wrote: > Robert, > > Thank you for replying. > > > > Check out the greediness modifier. Greediness determines whether it > > extends the matching to the largest possible match or the smallest > > possible match. By default regexes are greedy. > > By "gr

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-05 Thread Robert Cummings
On Sat, 2006-08-05 at 15:36 -0300, Manuel Lemos wrote: > Hello, > > on 08/04/2006 05:47 PM Robert Cummings said the following: > >> The point of the post is that there is no framework in particular to > >> recommend. I use my own packages for my needs. They suit me well. It > >> does n

[PHP] Using preg_match to find Japanese text

2006-08-05 Thread Dave M G
PHP list, While I'm only just learning about regular expressions in another thread, I still seem to be finding exceptional situations which have me questioning the extent to which preg expressions can be implemented. (The following contains UTF-8 encoded Japanese text. Apologies if it comes

Re: [PHP] The difference between ereg and preg?

2006-08-05 Thread Dave M G
Robert, Thank you for replying. Check out the greediness modifier. Greediness determines whether it extends the matching to the largest possible match or the smallest possible match. By default regexes are greedy. By "greediness modifier", do you mean the preg_set_match, the preg_set_order,

Re: [PHP] Sending data to persistent process stdin

2006-08-05 Thread Stut
Ville Mattila wrote: > Stut kirjoitti: >> 1) Find out how to create a named pipe and start mpg123 to take its >> input from that named pipe. Your PHP scripts can then write commands to >> that pipe. >> > > Thanks Stut, rather good idea... I tried following commands: > > mkfifo mpg > mpg123 -R

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-05 Thread Manuel Lemos
Hello, on 08/04/2006 05:47 PM Robert Cummings said the following: >> The point of the post is that there is no framework in particular to >> recommend. I use my own packages for my needs. They suit me well. It >> does not mean they will suit everybody. > How would you know that the

Re: [PHP] Sending data to persistent process stdin

2006-08-05 Thread Ville Mattila
Stut kirjoitti: 1) Find out how to create a named pipe and start mpg123 to take its input from that named pipe. Your PHP scripts can then write commands to that pipe. Thanks Stut, rather good idea... I tried following commands: mkfifo mpg mpg123 -R < mpg And in another shell echo "LOAD mp3

Re: [PHP] Sending data to persistent process stdin

2006-08-05 Thread Stut
Ville Mattila wrote: > How could I use PHP and its process functions to send something to stdin > of a persistent process? I would like to run mpg123 only once, > whichafter a few PHP scripts would send data and proper commands to its > stdin. Maybe a kind of daemon process would be needed? Anyway,

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-05 Thread Tony Marston
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, 2006-08-04 at 17:23 -0300, Manuel Lemos wrote: >> Hello, >> >> on 08/03/2006 02:53 PM Robert Cummings said the following: >> >>> The main thing in Manual's post that got me writing this in the first >> >>> pla

RE: [PHP] php behind firewall

2006-08-05 Thread tedd
At 3:37 PM -0500 8/4/06, Richard Lynch wrote: > http://www.caida.org/publications/papers/2005/fingerprinting/ Just to be pedantic... It's using the clock skew of the user's computer, and I don't think that has anything to do with PC-NIC-CABLE-FIREWALL combination communication. Rather, it is

[PHP] Sending data to persistent process stdin

2006-08-05 Thread Ville Mattila
Hello readers, I have been thinking of making a simple web-based interface to control my media center box (running debian linux). Being a bit enthustiatic, I thought I could use some generic tools for playing media files and write the whole UI by my own. I found mpg123 program that can be ru

Re: [PHP] PayPal's PHP SDK on Windows

2006-08-05 Thread Paul Scott
On Fri, 2006-08-04 at 23:50 -0700, s2j1j1b0 wrote: > "The PayPal SDK requires curl with SSL support" > > How do I fix this? You do what it says, install and configure cURL with SSL support. cURL releases binaries for your OS at http://curl.haxx.se/ AFAIK they will have a precompiled binary with

RE: [PHP] PayPal's PHP SDK on Windows

2006-08-05 Thread Peter Lauri
Hi, Try www.php.net/curl /Peter -Original Message- From: s2j1j1b0 [mailto:[EMAIL PROTECTED] Sent: Saturday, August 05, 2006 1:51 PM To: php-general@lists.php.net Subject: [PHP] PayPal's PHP SDK on Windows I'm trying to get PayPal's PHP SDK running on Windows. After running install.p

Re: [PHP] Problem with wrapper script for Tidy

2006-08-05 Thread Frank Arensmeier
Thank you Richard. I will test that (piping the output). Regarding my concerns about "rubbing security" by not validating the included code, I actually meant that the script does not validate where the included PHP script is coming from. Could someone set the environmental variable $_SERVER

[PHP] PayPal's PHP SDK on Windows

2006-08-05 Thread s2j1j1b0
I'm trying to get PayPal's PHP SDK running on Windows. After running install.php, I get the following error: "The PayPal SDK requires curl with SSL support" How do I fix this? -- View this message in context: http://www.nabble.com/PayPal%27s-PHP-SDK-on-Windows-tf2054950.html#a5661901 Sent fr