php-general Digest 9 Nov 2009 12:51:17 -0000 Issue 6434

2009-11-09 Thread php-general-digest-help
php-general Digest 9 Nov 2009 12:51:17 - Issue 6434 Topics (messages 299713 through 299736): Re: Convert deprecated POSIX functions into wrappers for equivalent PCRE functions 299713 by: Robert Cummings 299717 by: Paul M Foster 299721 by: Tony Marston 299722

Re: [PHP] Convert deprecated POSIX functions into wrappers forequivalent PCRE functions

2009-11-09 Thread Tony Marston
Paul M Foster pa...@quillandmouse.com wrote in message news:20091109030235.gh3...@quillandmouse.com... On Sun, Nov 08, 2009 at 06:30:37PM -0500, Robert Cummings wrote: Also, why support two libraries for which one is obviously inferior in speed and functionality? Because Tony's Radicore

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread Tony Marston
Robert Cummings rob...@interjinn.com wrote in message news:4af76e1f.2050...@interjinn.com... Tony Marston wrote: Robert Cummings rob...@interjinn.com wrote in message Then you've got several options: 1) Don't upgrade PHP. Not an acceptable option. 2) Pick a different hosting provider.

Re: [PHP] Multilingual website, texts in external JavaScript problem

2009-11-09 Thread Ashley Sheridan
On Sun, 2009-11-08 at 22:04 -0800, leledumbo wrote: I need to create a multilingual website and my framework already gives me that facility. However, I also use JavaScript quite extensively and since XHTML 1.0 Strict doesn't allow inline script, I must use external .js file. The problem is in

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread Ashley Sheridan
On Mon, 2009-11-09 at 00:23 +, Tony Marston wrote: developer laziness or incompetence is not an acceptable excuse. Exactly, so fix your scripts! I do wonder though, what hosting company you use that would just upgrade to PHP6 without warning on you and 'break' your scripts, yet at the

[PHP] Hash function

2009-11-09 Thread Ali Asghar Toraby Parizy
hi friends I need a hash function to build a Unique serial number by mixing a request code and a user name request codes are strings like this: They are literally HEX codes of MAC mac addresses.

[PHP] Paypal transaction

2009-11-09 Thread Ali Asghar Toraby Parizy
Hi friends I have an application I want to sell it in my website How can i use PayPal to marketing? i understand php so i am eager to write some php code, myself. How can i implement a php code to use PayPal gateway Thanks for any help

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread Tony Marston
Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1257764339.1076.56.ca...@localhost... On Mon, 2009-11-09 at 00:23 +, Tony Marston wrote: developer laziness or incompetence is not an acceptable excuse. Exactly, so fix your scripts! But my scripts aren't broken! It's

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread David Otton
2009/11/9 Tony Marston t...@marston-home.demon.co.uk: So you wouldn't trust the PHP developers to write simple code which takes each POSIX function and redirects it to a PCRE function? I have more faith in their ability than I do yours. If it's as simple as you claim, why don't you mock-up

Re: [PHP] Hash function

2009-11-09 Thread John Black
Ali Asghar Toraby Parizy wrote: hi friends I need a hash function to build a Unique serial number by mixing a request code and a user name request codes are strings like this: They are literally HEX codes of MAC mac addresses.

Re: [PHP] Paypal transaction

2009-11-09 Thread John Black
Ali Asghar Toraby Parizy wrote: Hi friends I have an application I want to sell it in my website How can i use PayPal to marketing? i understand php so i am eager to write some php code, myself. How can i implement a php code to use PayPal gateway Thanks for any help Create a PayPal developer

Re: [PHP] Hash function

2009-11-09 Thread Ashley Sheridan
On Mon, 2009-11-09 at 12:39 +0100, John Black wrote: Ali Asghar Toraby Parizy wrote: hi friends I need a hash function to build a Unique serial number by mixing a request code and a user name request codes are strings like this: They are literally HEX codes of MAC mac addresses.

Re: [PHP] Multilingual website, texts in external JavaScript problem

2009-11-09 Thread Peter Ford
leledumbo wrote: I need to create a multilingual website and my framework already gives me that facility. However, I also use JavaScript quite extensively and since XHTML 1.0 Strict doesn't allow inline script, I must use external .js file. The problem is in these scripts, there are strings

Re: [PHP] Hash function

2009-11-09 Thread Ali Asghar Toraby Parizy
Ok, thanks but how can i create serial number that nobody can guess it. for example when i use sha1() every body can examine it too! and so they can create it themselves! what strategy is useful to protect license? I think it is better to add a specific hidden string to request code, instead of

Re: [PHP] Hash function

2009-11-09 Thread Ashley Sheridan
On Mon, 2009-11-09 at 15:35 +0330, Ali Asghar Toraby Parizy wrote: Ok, thanks but how can i create serial number that nobody can guess it. for example when i use sha1() every body can examine it too! and so they can create it themselves! what strategy is useful to protect license? I think

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread Tim Thorburn
Tony Marston wrote: How many hosting companies write to all their account holders to ask permission before upgrading PHP, not just from 4 to 5, but all the releases in between? Very few of them, if any, in my experience. I've no idea what horrible hosting companies you've had experiences

Re: [PHP] Multilingual website, texts in external JavaScript problem

2009-11-09 Thread Phpster
On Nov 9, 2009, at 1:04 AM, leledumbo leledumbo_c...@yahoo.co.id wrote: I need to create a multilingual website and my framework already gives me that facility. However, I also use JavaScript quite extensively and since XHTML 1.0 Strict doesn't allow inline script, I must use

Re: [PHP] Hash function

2009-11-09 Thread John Black
Ali Asghar Toraby Parizy wrote: Ok, thanks but how can i create serial number that nobody can guess it. for example when i use sha1() every body can examine it too! and so they can create it themselves! what strategy is useful to protect license? Ahh, so you are trying to protect your PHP code

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread Tony Marston
David Otton phpm...@jawbone.freeserve.co.uk wrote in message news:193d27170911090331k7ecbe69cl1dd30651273e7...@mail.gmail.com... 2009/11/9 Tony Marston t...@marston-home.demon.co.uk: So you wouldn't trust the PHP developers to write simple code which takes each POSIX function and redirects

[PHP] Anyone using Aptana and Xdebug? Or other debugger recommendations besides Zend?

2009-11-09 Thread Dave M G
PHP List, I won't go into a big rant about Zend, and instead simply say that while I was using Zend Studio to debug PHP pages since version 5.0. I was never really all that happy with it. It seemed to be the most complete debugging environment for PHP, so I put up with it. I will say that the

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread Paul Fierro
On 11/9/09 8:56 AM, Tony Marston t...@marston-home.demon.co.uk wrote: I have tried subscribing to the internals list, but none of my postings ever appears. That's unfortunate as you missed this thread: http://marc.info/?t=12553625831r=1w=2 Paul -- PHP General Mailing List

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread David Otton
2009/11/9 Tony Marston t...@marston-home.demon.co.uk: Because I can't do that until I install PHP 6, but as I never play with beta software waiting for it to go live will be too late. Not sure why not. If it's just the name collision, call them alt_ereg*() until ereg*() goes away. In fact,

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread Ashley Sheridan
On Mon, 2009-11-09 at 15:49 +, David Otton wrote: 2009/11/9 Tony Marston t...@marston-home.demon.co.uk: Because I can't do that until I install PHP 6, but as I never play with beta software waiting for it to go live will be too late. Not sure why not. If it's just the name

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread Robert Cummings
Tony Marston wrote: Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1257764339.1076.56.ca...@localhost... On Mon, 2009-11-09 at 00:23 +, Tony Marston wrote: developer laziness or incompetence is not an acceptable excuse. Exactly, so fix your scripts! But my scripts

Re: [PHP] Anyone using Aptana and Xdebug? Or other debugger recommendations besides Zend?

2009-11-09 Thread Ali Asghar Toraby Parizy
On Mon, Nov 9, 2009 at 7:58 PM, Martin Scotta martinsco...@gmail.comwrote: On Mon, Nov 9, 2009 at 1:04 PM, Arno Kuhl ak...@telkomsa.net wrote: -Original Message- From: Dave M G [mailto:mar...@autotelic.com] Sent: 09 November 2009 05:36 PM To: php-general@lists.php.net Subject:

[PHP] Suppress Right-Click and Hide hover URL

2009-11-09 Thread Don Wieland
Hi gang, Is there a javascript to Suppress Right-Click and Hide hover URL? I as trying to get this to work with no luck: a href=\aInlet_Proc_Area.php?id={$row1['id']}proc=delete\ onMouseOver=\javascript:window.status=''; return true;\ onClick= \javascript:return confirm('Are you sure you

[PHP] Re: Suppress Right-Click and Hide hover URL

2009-11-09 Thread Shawn McKenzie
Don Wieland wrote: Hi gang, Is there a javascript to Suppress Right-Click and Hide hover URL? I as trying to get this to work with no luck: a href=\aInlet_Proc_Area.php?id={$row1['id']}proc=delete\ onMouseOver=\javascript:window.status=''; return true;\ onClick=\javascript:return

Re: [PHP] Suppress Right-Click and Hide hover URL

2009-11-09 Thread Ashley Sheridan
On Mon, 2009-11-09 at 11:33 -0800, Don Wieland wrote: Hi gang, Is there a javascript to Suppress Right-Click and Hide hover URL? I as trying to get this to work with no luck: a href=\aInlet_Proc_Area.php?id={$row1['id']}proc=delete\ onMouseOver=\javascript:window.status=''; return

Re: [PHP] Suppress Right-Click and Hide hover URL

2009-11-09 Thread Martin Scotta
On Mon, Nov 9, 2009 at 4:37 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Mon, 2009-11-09 at 11:33 -0800, Don Wieland wrote: Hi gang, Is there a javascript to Suppress Right-Click and Hide hover URL? I as trying to get this to work with no luck: a

Re: [PHP] Suppress Right-Click and Hide hover URL

2009-11-09 Thread Ashley Sheridan
On Mon, 2009-11-09 at 17:01 -0300, Martin Scotta wrote: On Mon, Nov 9, 2009 at 4:37 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Mon, 2009-11-09 at 11:33 -0800, Don Wieland wrote: Hi gang, Is there a javascript to Suppress Right-Click and Hide hover URL? I as

Re: [PHP] Suppress Right-Click and Hide hover URL

2009-11-09 Thread richardh
Hi, Why I will let you to hide things on my browser? The browser is mine... No no, all your browser are belong to me. -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 8th November) Lots of PHP and Javascript code - http://www.phpguru.org -- PHP General Mailing List

[PHP] Re: Suppress Right-Click and Hide hover URL

2009-11-09 Thread Shawn McKenzie
I see... I guess I fail at being a smart ass! Don Wieland wrote: Nope this was just a snippet of my code - they are between the PHP tags. On Nov 9, 2009, at 11:38 AM, Shawn McKenzie wrote: You are missing PHP tags ?php ? Don Wieland D W D a t a C o n c e p t s

[PHP] Build Categories based on an static Array

2009-11-09 Thread Don Wieland
I am trying to build a SELECT MENU (with categories). I cant seem to get the syntax correct. Little help: // Get Areas values for MENU $AreasList = select name=\Area_id\option value=''/option; $queryR = array(0 = 'Domestic','International','Special');

RE: [PHP] Build Categories based on an static Array

2009-11-09 Thread Daevid Vincent
Perhaps my function may help you... Use it like this: td class=label?php if ($submit_new) echo ' required_txt'; ?label for=problem_categoryProblem Category:/label/td td?php select_box_array(1, 'problem_category', get_array('problem_category'), true, false, $_REQUEST['problem_category']); ?/td

Re: [PHP] Multilingual website, texts in external JavaScript problem

2009-11-09 Thread leledumbo
I don't see why you can't use inline script in XHTML 1.0 Strict Because I don't know about CDATA, thanks. -- View this message in context: http://old.nabble.com/Multilingual-website%2C-texts-in-external-JavaScript-problem-tp26261666p26278740.html Sent from the PHP - General mailing list