[PHP] Re: Preferred Syntax

2011-12-14 Thread Al
On 12/14/2011 7:59 AM, Rick Dwyer wrote: Hello all. Can someone tell me which of the following is preferred and why? echo a style='text-align:left;size:14;font-weight:bold' href='/mypage.php/$page_id'$page_name/abr; echo a style='text-align:left;size:14;font-weight:bold'

Re: [PHP] Re: Preferred Syntax

2011-12-14 Thread Peter Ford
On 14/12/11 16:48, Al wrote: On 12/14/2011 7:59 AM, Rick Dwyer wrote: Hello all. Can someone tell me which of the following is preferred and why? echo a style='text-align:left;size:14;font-weight:bold' href='/mypage.php/$page_id'$page_name/abr; echo a

[PHP] Re: Preferred Syntax

2011-12-14 Thread Ross McKay
On Wed, 14 Dec 2011 07:59:46 -0500, Rick Dwyer wrote: Can someone tell me which of the following is preferred and why? echo a style='text-align:left;size:14;font-weight:bold' href='/ mypage.php/$page_id'$page_name/abr; echo a style='text-align:left;size:14;font-weight:bold' href='/

[PHP] Re: Unique items in an array

2011-12-13 Thread Marc Guay
Holy mother of multidimentionality there are a ton of suggested solutions to this scenerio on the array_unique manual page.. http://php.net/manual/en/function.array-unique.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How to use a variable variable in an array walk?

2011-12-13 Thread Nils Leideck
Anyone?:-( is my description too unclear? On 11.12.2011, at 11:25, Nils Leideck wrote: this is my first post to the PHP general list. I have an issue with a variable variable (http://php.net/manual/en/language.variables.variable.php) My use case: I have an array called $myArray.

[PHP] Re: How to use a variable variable in an array walk?

2011-12-13 Thread Al
On 12/13/2011 5:43 PM, Nils Leideck wrote: Anyone?:-( is my description too unclear? On 11.12.2011, at 11:25, Nils Leideck wrote: this is my first post to the PHP general list. I have an issue with a variable variable (http://php.net/manual/en/language.variables.variable.php) My use

[PHP] Re: PHP 5.3.6 Dates

2011-12-12 Thread Ian
On 12/12/2011 16:56, Floyd Resler wrote: If this was already discussed I apologize for the duplicate question. For some reason dates of -00-00 get converted to 11/30/-0001 with the date function. Is this be design or a bug? Thanks! Floyd Hi, In the past I have noticed that

[PHP] RE: php-general Digest 9 Dec 2011 20:09:28 -0000 Issue 7604

2011-12-12 Thread David Savage
I thought I posted this in the php.net web site under the ksort user notes, but I don't know if it would be approved to be placed in the web site. Would ksort($sortarr,SORT_STRING) on a 1 dimensional array with a key comprised of a person's name, -, and time stamp I..E. (key: david

Re: [PHP] RE: php-general Digest 9 Dec 2011 20:09:28 -0000 Issue 7604

2011-12-12 Thread Daniel P. Brown
On Mon, Dec 12, 2011 at 16:06, David Savage dsav...@cytelcom.com wrote: I thought I posted this in the php.net web site under the ksort user notes, but I don't know if it would be approved to be placed in the web site. Would ksort($sortarr,SORT_STRING) on a 1 dimensional array with a key

Re: [PHP] RE: php-general Digest 9 Dec 2011 20:09:28 -0000 Issue 7604

2011-12-12 Thread David Harkness
On Mon, Dec 12, 2011 at 1:06 PM, David Savage dsav...@cytelcom.com wrote: Would ksort($sortarr,SORT_STRING) on a 1 dimensional array with a key comprised of a person's name, -, and time stamp I..E. (key: david savage-2011-12-12 14:43:00) actually delete duplicate keys from the array, if

Re: [PHP] Re: Think I found a PHP bug

2011-12-09 Thread Lester Caine
Rasmus Lerdorf wrote: This is fixed in PHP 5.4 by completely dropping support for the TZ environment variable. PHP will always use UTC unless you explicitly set it to something. It won't matter which timezone the system is running in. This is the only reliable way to always have consistent

Re: [PHP] Re: Think I found a PHP bug

2011-12-08 Thread Rasmus Lerdorf
This is fixed in PHP 5.4 by completely dropping support for the TZ environment variable. PHP will always use UTC unless you explicitly set it to something. It won't matter which timezone the system is running in. This is the only reliable way to always have consistent behaviour across all

[PHP] Re: yaf modules and plugins

2011-12-07 Thread Moldován Eduárd
I have another question. Modules and plugins. How do they work, how are they loaded? Thx, Edi 2011.12.06. dátummal, 5:10 időpontban Laruence larue...@php.net írta: Hi: a database should be a model, module is another concept. :) pls refer to :

[PHP] Re: Think I found a PHP bug

2011-12-06 Thread Patricia Dewald
In OpenSuSE 12.1 i can reproduce this issue. My workaround is to check the correct timezone. On Tue, 15 Nov 2011 23:34:18 +0100, Geoff Shang ge...@quitelikely.com wrote: Hi, A couple of weeks ago, I discovered what I'm pretty sure is a PHP bug. In addition, I looked in the PHP

[PHP] Re: yaf modules and plugins

2011-12-05 Thread Laruence
Hi: a database should be a model, module is another concept. :) pls refer to : http://www.php.net/manual/en/class.yaf-loader.php sorry for dealy :) thanks 2011/12/1 Moldován Eduárd e...@boxed.hu Hey Laruence, I have another more questions. Modules and plugins. How do they

[PHP] Re: file_exists fun

2011-12-02 Thread Dee Ayy
On Fri, Dec 2, 2011 at 1:30 PM, Dee Ayy dee@gmail.com wrote: The following code:                        $new_file = ADS_DIR_INTERNAL.'/'.$ad_info['id'].'_'.$ad_info['filename'];                        echo NEW_FILE:[.$new_file.]\n;                        echo file_exists Using

[PHP] Re: DOS CLI?

2011-12-02 Thread Shawn McKenzie
On 12/02/2011 03:00 PM, Matt Neimeyer wrote: Is there (or is there a way to compile) a DOS CLI version of a fairly recent version of PHP? I have not been able to find one using the powers of Google. Not a Windows Command Prompt CLI but an actual CLI version of PHP that can be made to run in

[PHP] Re: Yaf_Route

2011-11-30 Thread Eduárd Moldovan
Hey Laruence, I have tried the below example, but did not really get it work. My code looks like this: public function _initRoute(Yaf_Dispatcher $dispatcher) { $route = new Yaf_Route_Regex ( #(.*)#, array( controller = index,

[PHP] Re: Yaf_Route

2011-11-30 Thread Laruence
Hi: Yaf_Router::addRoute is not a static method. you should do like: $dispatcher-getRouter()-addRoute(regex, $route); // http://www.php.net/manual/en/yaf-dispatcher.getrouter.php btw: when you in development environ, it is useful to keep error_reporting on and look at error_log

[PHP] Re: Yaf_Route

2011-11-30 Thread Eduárd Moldovan
Hello, That worked like a charm! Thx! I thought that the error reporting was on, sorry for that. edi 2011/11/30 Laruence larue...@php.net Hi: Yaf_Router::addRoute is not a static method. you should do like: $dispatcher-getRouter()-addRoute(regex, $route); //

[PHP] Re: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-29 Thread Tommy Pham
On Mon, Nov 28, 2011 at 1:34 AM, Pierre Joye pierre@gmail.com wrote: On Mon, Nov 28, 2011 at 5:51 AM, Tommy Pham tommy...@gmail.com wrote: Can someone please confirm if you're able to create/drop MySQL database on using phpMyAdmin with PHP 5.3.9RC2 or PHP5.4RC2? Please use the sqlsrv or

[PHP] Re: Retrieve subjectAltName from client certificate

2011-11-29 Thread Nelson Teixeira
I found a solution. It's a clumsy one, but it works. Well I considered that a certificate is encoded in base64. So I remove de the 1st and last lines, and decode it. Now we got a lot of binary information, but at least the info is there and readable, so we can search for it. I opened this data in

[PHP] Re: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-28 Thread Pierre Joye
On Mon, Nov 28, 2011 at 5:51 AM, Tommy Pham tommy...@gmail.com wrote: Can someone please confirm if you're able to create/drop MySQL database on using phpMyAdmin with PHP 5.3.9RC2 or PHP5.4RC2? Please use the sqlsrv or mysql functions directly with CREATE/DROP queries in a little script, it

[PHP] Re: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-27 Thread Pierre Joye
hi, On Sat, Nov 26, 2011 at 9:43 AM, Tommy Pham tommy...@gmail.com wrote: Hi everyone, 5.3.9RC2 works fine with all my apps so far.  5.4RC2 broke with sqlsvr and its PDO in addition to Wincache, which I've already brought to MS' attention. Please report a bug at

[PHP] Re: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-27 Thread Ferenc Kovacs
On Sun, Nov 27, 2011 at 2:39 PM, Pierre Joye pierre@gmail.com wrote: hi, On Sat, Nov 26, 2011 at 9:43 AM, Tommy Pham tommy...@gmail.com wrote: Hi everyone, 5.3.9RC2 works fine with all my apps so far. 5.4RC2 broke with sqlsvr and its PDO in addition to Wincache, which I've already

[PHP] Re: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-27 Thread Pierre Joye
hi, I just uploaded two zip for sqlsrv and 5.4. I did not test them and they are no official builds, only for testing purposes (so is 5.4 :). you can find them at http://www.php.net/~pierre/ Cheers, On Sat, Nov 26, 2011 at 9:43 AM, Tommy Pham tommy...@gmail.com wrote: Hi everyone, 5.3.9RC2

[PHP] RE: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-27 Thread Keith Davis
Thanks Pierre! And thanks Tommy for bringing that up. I've been discussing the Wincache issue for some time and also brought it up with the new MS person assigned to it, but I had completely forgot to check sqlsrv and that would have been a big problem for us. Keith Davis (214) 906-5183

[PHP] Re: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-27 Thread Pierre Joye
On Mon, Nov 28, 2011 at 1:07 AM, Keith Davis keithda...@pridedallas.com wrote: Thanks Pierre! And thanks Tommy for bringing that up. I've been discussing the Wincache issue for some time and also brought it up with the new MS person assigned to it, but I had completely forgot to check sqlsrv

[PHP] RE: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-27 Thread Keith Davis
Well, she is new to Wincache at least: Jenny Lawrence http://forums.iis.net/t/1174639.aspx Keith Davis (214) 906-5183 -Original Message- From: Pierre Joye [mailto:pierre@gmail.com] Sent: Sunday, November 27, 2011 6:20 PM To: Keith Davis Cc: Tommy Pham; php-general@lists.php.net;

[PHP] Re: Yaf_Route

2011-11-27 Thread Laruence
HI: Yaf designd a route statck to proviods the ability for extends route process. you can add new route into stack by calling Yaf_Router::addRoute(or addConfig), when a request coming , Yaf will call the top route in the stack at the first time, as pseudo codes like: while

[PHP] Re: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-27 Thread Tommy Pham
On Sun, Nov 27, 2011 at 7:32 AM, Pierre Joye pierre@gmail.com wrote: hi, I just uploaded two zip for sqlsrv and 5.4. I did not test them and they are no official builds, only for testing purposes (so is 5.4 :). you can find them at http://www.php.net/~pierre/ Cheers, Hi Pierre, I

[PHP] Re: API for something like phpsysinfo?

2011-11-22 Thread Michelle Konzack
Hello Jim Lucas, Am 2011-11-22 08:49:49, hacktest Du folgendes herunter: Use the XML output option and parse returned data. Fsck! -- Forgotten about it! :-S Thanks, Greetings and nice Day/Evening Michelle Konzack -- # Debian GNU/Linux Consultant

Re: [PHP] Re: Sniping on the List

2011-11-16 Thread Ashley Sheridan
Now, if you have ANY idea who I am Does anyone know who this guy is, as he seems to have forgotten :p -- Thanks! -Shawn http://www.spidean.com Thanks, Ash http://www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Sniping on the List

2011-11-15 Thread Shawn McKenzie
On 11/14/2011 11:51 AM, George Langley wrote: Am concerned over the number of posts that appear to be from people trying to over-inflate their self-importance. If you are the world's best coder, then help those of us who aren't. If you happen to know a better way to do something that I'm

Re: [PHP] Re: Sniping on the List

2011-11-15 Thread Tamara Temple
On Tue, 15 Nov 2011 21:40:59 -0600, Shawn McKenzie nos...@mckenzies.net sent: On 11/14/2011 11:51 AM, George Langley wrote: Am concerned over the number of posts that appear to be from people... ... You're messing with the wrong guy! You forgot your punctus percontavius. ⸮ -- PHP General

[PHP] Re: Novice MySQL problem

2011-11-14 Thread David Robley
Jim Giner wrote: drive view drivev...@gmail.com wrote in message news:cam4sn2ip7yncw2-2soq-vjk8suer7u5x96fvpeqoitkkcaj...@mail.gmail.com... Hi, I'm a novice to MySQL and am currently facing the following difficulty. I'm trying to update a table with a row of data the primary key of which

[PHP] Re: Novice MySQL problem

2011-11-14 Thread Jim Giner
Actually, no it doesn't, since I have a well-developed sense of all of that, but that's not helping to answer the OP's question now, is it? Stay on point. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Novice MySQL problem

2011-11-14 Thread David Robley
Jim Giner wrote: Actually, no it doesn't, since I have a well-developed sense of all of that, but that's not helping to answer the OP's question now, is it? Stay on point. Probably it helps the OP about as much as your statement that 'I don't know what the problem here is.  Personally I

[PHP] Re: Novice MySQL problem

2011-11-13 Thread Jim Giner
drive view drivev...@gmail.com wrote in message news:cam4sn2ip7yncw2-2soq-vjk8suer7u5x96fvpeqoitkkcaj...@mail.gmail.com... Hi, I'm a novice to MySQL and am currently facing the following difficulty. I'm trying to update a table with a row of data the primary key of which is an ID which I

[PHP] Re: Novice MySQL problem

2011-11-13 Thread drive view
Thanks alot for your help. I set the auto increment as suggested and it worked. Regards Toni On Sun, Nov 13, 2011 at 10:43 PM, drive view drivev...@gmail.com wrote: Hi, I'm a novice to MySQL and am currently facing the following difficulty. I'm trying to update a table with a row of data

[PHP] Re: delete and recreate

2011-11-09 Thread Jim Giner
This really doesn't tell me what you are trying to do. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Converting string to array index

2011-11-06 Thread Shawn McKenzie
On 11/05/2011 09:21 PM, Ethan Rosenberg wrote: Dear list - I have an associative array that will return a string representing an array index. I now need to convert this string into an actual array index. $test1 = array ( e1 = [4][7], e2 = [5][8] ); so.. $z = $test1['e1']; z has

[PHP] Re: Writing out errors to a file

2011-11-03 Thread Jim Giner
Try reading the manual on set_error_handler. I've never needed to do this kind of thing, but this sure looks like something that could do it. Basically, I'm imagining that it would open a file handle on some text file in some folder, then append a write of mysql_error() to that file and

Re: [PHP] Re: Writing out errors to a file

2011-11-03 Thread Adam Richardson
On Thu, Nov 3, 2011 at 9:04 PM, Jim Giner jim.gi...@albanyhandball.comwrote: Try reading the manual on set_error_handler. I've never needed to do this kind of thing, but this sure looks like something that could do it. Basically, I'm imagining that it would open a file handle on some text

[PHP] Re: Placing the masterpassword

2011-11-01 Thread Jim Giner
I've always thought that it was pretty safe to store this kind of material outside of the web-browser accessible path of your host. Of course, you then have to be careful who has access to your site via ftp. Let's see what comes of this question :) -- PHP General Mailing List

[PHP] Re: mysql_fetch_array() vs mysql_fetch_assoc() WAS: Re: [PHP] Why does this script run out of memory?

2011-10-28 Thread Paul Halliday
On Fri, Oct 28, 2011 at 7:19 PM, Daniel Brown danbr...@php.net wrote: On Fri, Oct 28, 2011 at 18:13, Paul Halliday paul.halli...@gmail.com wrote: Whats the difference between fetch_assoc and fetch_row? I use: while ($row = mysql_fetch_row($theQuery)) {    doCartwheel; } on just under 300

[PHP] Re:

2011-10-28 Thread Nirmalya Lahiri
.Do you want to feel orgasms several times? http://macrokid.ma.funpic.de/com.friend.page.php?jroyahoo_id=09ep0 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: array_unique by id multi-dimensional array

2011-10-27 Thread Jim Giner
i want to filter the array by [id] sub value? The PHP manual is a source of infinite knowledge. A simple entry of array in the search for field brings up just what you need. Have at it! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: [PHP-DEV] 5.4.0 beta2

2011-10-24 Thread Daniel Convissor
Hi Stas: The next release is planned to be RC1 and is scheduled for November 10. You want the DateTime DST fixing RFC (https://wiki.php.net/rfc/datetime_and_daylight_saving_time) implemented before RC1, right? If so, keep in mind that voting on it will start tomorrow and finish on November 1.

[PHP] Re: Exporting large data from mysql to html using php

2011-10-24 Thread David Robley
Jason Pruim wrote: Now that I've managed to list 3 separate programming languages and somewhat tie it back into php here's the question... I have about 89 million records in mysql... the initial load of the page takes 2 to 3 minutes, I am using pagination, so I have LIMIT's on the SQL

[PHP] Re: String is not zero-terminated in zend_execute_API.c

2011-10-21 Thread Carlos Medina
Am 21.10.2011 08:49, schrieb Daniel Betz: Hello List, i am running PHP 5.3.8-FPM (with ondemand patch) in debug mode and got this error every time I post an reply in vBulletin Board: Warnung: String is not zero-terminated (Z.ý4 ý4 ú}µóU)

[PHP] Re: Problem of load balance among php-cgi process

2011-10-20 Thread sean chen
It's cause by eaccelerator module, when I remove this module, the php-cgi works well. Is there some compatible issue between eaccelerator and php? Regards Sean 2011/10/19 Sean Chen s...@coovan.com Hi, ** ** I’ve got a problem when running PHP with nginx, there are several php-cgi

[PHP] Re: Ms Web PI and PHP

2011-10-20 Thread Tommy Pham
On Thu, Oct 20, 2011 at 5:15 AM, Joseph Adenuga jadenu...@yahoo.com wrote: Dear Tommy, Good day to you. I'm trying to install Microsoft's Web Platform as advised in your last message below. But, I don't know which application to install from the list provided from the downloaded

Re: [PHP] Re: Problem of load balance among php-cgi process

2011-10-20 Thread Jim Lucas
On 10/20/2011 5:20 AM, sean chen wrote: The red one is busy My email client is color blind. -- Jim Lucas http://www.cmsws.com/ http://www.cmsws.com/examples/ http://www.bendsource.com/ C - (541) 408-5189 O - (541) 323-9113 H - (541) 323-4219 -- PHP General Mailing List

[PHP] 答复: [PHP] Re: Problem of load balance among php-cgi process

2011-10-20 Thread Sean Chen
lol. The last one: 500 23880 0.0 0.0 209136 10832 ?S21:23 0:01 /usr/local/websrv/php/bin/php-cgi --fpm --fpm-config /usr/local/websrv/php/etc/php-fpm.conf 500 27195 15.0 0.1 210196 12644 ?S23:02 0:02 /usr/local/websrv/php/bin/php-cgi --fpm --fpm-config

[PHP] Re: binary subtraction assistance

2011-10-20 Thread Loran Kloeze
Hi, Check http://nl3.php.net/manual/en/function.bindec.php Probably you have a 32-bit CPU. See the link why that's a problem. Loran On Thu, 20 Oct 2011 11:08:52 -0400, michaelala...@gmail.com (Mike Alaimo) wrote: Hello, I have two binary numbers which are quite long. 128 bits to be exact.

[PHP] Re: PHP 5.2 and Apache 2.2 are really compatible?

2011-10-19 Thread Shawn McKenzie
On 10/19/2011 10:36 AM, Joseph Adenuga wrote: Dear All, I’m using Window XP operating system. I’ve just installed PHP 5.2.5 and Apache 2.2.8 over a week now. I’ve checked if Apache installation is okay with ‘localhost’ in my Firefox browser and it displays ‘It Works!’ But, my php

[PHP] Re: PHP Version: 5.2.5.

2011-10-17 Thread Jim Giner
what did you name your file? If it didn't have a .php extension, it won't work. Joseph Adenuga jadenu...@yahoo.com wrote in message news:1318859708.50026.yahoomailclas...@web29517.mail.ird.yahoo.com... Operating System: Window XP PHP Version: 5.2.5. with Apache 2.2.8 My Firefox browser

[PHP] Re: Extending an instantiated class

2011-10-15 Thread Alain Williams
On Sat, Oct 15, 2011 at 03:01:44PM +0100, Alain Williams wrote: Well, that is what I think that I need. Please let me explain what I am trying to do and tell me how to do it or a better way of doing it. .. I have solved it. The problem is basically one of ensuring that properties are

[PHP] Re: Processing newlines in a text area field

2011-10-14 Thread David Robley
Stephen wrote: I have a web page with a form with a text area. I enter: foo bar PHP processes the POST and inserts the record into MySQL. The database field is text. I use PDO For testing I have removed any processing of the text area content. Now, no matter how many blank

Re: [PHP] Re: files outside of documentRoot

2011-10-14 Thread Ricardo Martinez
Mmm i'm trying to show a .flv but i dont know if i'm using the correct headers and method. $name = $file; $fp = fopen($name, 'rb'); // send the right headers header(Content-Type: video/x-flv); header(Content-Length: . filesize($name)); // dump the picture and stop the script fpassthru($fp);

Re: [PHP] Re: Processing newlines in a text area field

2011-10-14 Thread David Robley
On Fri, 14 Oct 2011, you wrote: On 11-10-14 03:40 AM, David Robley wrote: I have a web page with a form with a text area. I enter: foo bar PHP processes the POST and inserts the record into MySQL. The database field is text. I use PDO For testing I have removed any

[PHP] Re: Compile PHP with MySQLi (With MySQL on a remote server)

2011-10-13 Thread Ian
On 13/10/2011 13:29, Nick Khamis wrote: Hello Everyone, I am trying to compile php from source using the following config: ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/ apache/bin/apxs --with-config-file-path=/usr/local/php --with-mcrypt=/usr/local/bin/mcrypt

Re: [PHP] Re: files outside of documentRoot

2011-10-12 Thread Ricardo Martinez
It works thx a lot =) On Tue, Oct 11, 2011 at 5:26 PM, Bastien Koert phps...@gmail.com wrote: On Tue, Oct 11, 2011 at 11:00 AM, Ricardo Martinez harisel...@gmail.com wrote: Hi! i'm was checking, readfile(); and fpassthru(); With easy examples, i can use it for show a pic in the

[PHP] Re: [PECL-DEV] php_bcompiler.dll dependencies?

2011-10-12 Thread Ángel González
Peter Roth wrote: I am trying to build php_bcompiler.dll on Windows 7 using Visual Studio 10. I can compile it OK, but it will not link. I have posted the build output error messages in a previous post. I am wondering if building PHP from source code would produce some files that would help

[PHP] Re: [PECL-DEV] php_bcompiler.dll dependencies?

2011-10-12 Thread Pierre Joye
hi, Which previous post? Also you have to use VC9 not VC10 to use your ext against PHP releases. You can get it with the platform SDK 6.1 Cheers, On Wed, Oct 12, 2011 at 10:51 PM, Peter Roth peter.r...@opti-sys.com wrote: I am trying to build php_bcompiler.dll on Windows 7 using Visual Studio

[PHP] Re: [PECL-DEV] php_bcompiler.dll dependencies?

2011-10-12 Thread Ferenc Kovacs
Which previous post? http://news.php.net/php.pecl.dev/8616 -- Ferenc Kovács @Tyr43l - http://tyrael.hu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: newline and return issues in string

2011-10-11 Thread Al
On 10/11/2011 7:58 AM, ad...@buskirkgraphics.com wrote: I have come across an issue with my string that I would like to find a faster way to resolve. It seems there are new lines and returns at different positions of the string. First I exploded on the new line explode(“\n”, $ string)

RE: [PHP] Re: newline and return issues in string

2011-10-11 Thread admin
Richard L. Buskirk Senior Software Engineer/Systems Administrator You can’t grow your business with systems that are on life support... -Original Message- From: Al [mailto:n...@ridersite.org] Sent: Tuesday, October 11, 2011 10:17 AM To: php-general@lists.php.net Subject: [PHP] Re

Re: [PHP] Re: newline and return issues in string

2011-10-11 Thread Al
10:17 AM To: php-general@lists.php.net Subject: [PHP] Re: newline and return issues in string On 10/11/2011 7:58 AM, ad...@buskirkgraphics.com wrote: I have come across an issue with my string that I would like to find a faster way to resolve. It seems there are new lines and returns

Re: [PHP] Re: files outside of documentRoot

2011-10-11 Thread Ricardo Martinez
Hi! i'm was checking, readfile(); and fpassthru(); With easy examples, i can use it for show a pic in the screen and download a file, from outside of documentRoot. It works fine. The problem that i have now, is, i need can work with it, inside of other documents, but i'm getting all time error

Re: [PHP] Re: files outside of documentRoot

2011-10-11 Thread Bastien Koert
On Tue, Oct 11, 2011 at 11:00 AM, Ricardo Martinez harisel...@gmail.com wrote: Hi! i'm was checking, readfile(); and fpassthru(); With easy examples, i can use it for show a pic in the screen and download a file, from outside of documentRoot. It works fine. The problem that i have now, is,

[PHP] Re: Oi , Portas/ Hello, Ports

2011-10-10 Thread Jim Giner
QI.VOLMAR QI qi.vol...@gmail.com wrote in message news:cab7l6ey9rkfwtmprpe0fk3doo5s1c5jyhpnbt5rjj0f_eb5...@mail.gmail.com... Alguem sabe se, e como eu posso trabalhar com as portas do computador com php no windows? Do someone know if, and how, I could work with Computer logical ports with

Re: [PHP] Re: Oi , Portas/ Hello, Ports

2011-10-10 Thread Ashley Sheridan
Jim Giner jim.gi...@albanyhandball.com wrote: QI.VOLMAR QI qi.vol...@gmail.com wrote in message news:cab7l6ey9rkfwtmprpe0fk3doo5s1c5jyhpnbt5rjj0f_eb5...@mail.gmail.com... Alguem sabe se, e como eu posso trabalhar com as portas do computador com php no windows? Do someone know if, and how,

Re: Re: [PHP] Re: Oi , Portas/ Hello, Ports

2011-10-10 Thread Tim Streater
On 10 Oct 2011 at 19:30, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Jim Giner jim.gi...@albanyhandball.com wrote: QI.VOLMAR QI qi.vol...@gmail.com wrote in message news:cab7l6ey9rkfwtmprpe0fk3doo5s1c5jyhpnbt5rjj0f_eb5...@mail.gmail.com... Alguem sabe se, e como eu posso trabalhar com

Re: Re: [PHP] Re: Oi , Portas/ Hello, Ports

2011-10-10 Thread Ashley Sheridan
On Mon, 2011-10-10 at 22:15 +0100, Tim Streater wrote: On 10 Oct 2011 at 19:30, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Jim Giner jim.gi...@albanyhandball.com wrote: QI.VOLMAR QI qi.vol...@gmail.com wrote in message

[PHP] Re: files outside of documentRoot

2011-10-09 Thread Ricardo Martinez
The files are, png, pdf and flv. Only users login can see or download it. thx ; On Sat, Oct 8, 2011 at 11:16 PM, Shawn McKenzie nos...@mckenzies.netwrote: On 10/08/2011 03:40 PM, Ricardo Martinez wrote: Hi List! I need to access files outside the DocumentRoot. I've been looking for

Re: [PHP] Re: files outside of documentRoot

2011-10-09 Thread Sean Greenslade
On Sun, Oct 9, 2011 at 9:52 AM, Ricardo Martinez harisel...@gmail.comwrote: The files are, png, pdf and flv. Only users login can see or download it. thx ; On Sat, Oct 8, 2011 at 11:16 PM, Shawn McKenzie nos...@mckenzies.net wrote: On 10/08/2011 03:40 PM, Ricardo Martinez wrote: Hi

[PHP] Re: PHP Download Of Application Question?

2011-10-09 Thread Alex McLain
I am looking for a way to download a C based application binary, from an Apache / PHP server, via a client side Web Browser, and execute it seamlessly on the client side PC without storing it permanently on the client side hard disk drive. Temporary storage would be ok. I know this

[PHP] Re: files outside of documentRoot

2011-10-08 Thread Jim Giner
Access files for use in the running script? Or access files meaning executing a script? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: files outside of documentRoot

2011-10-08 Thread Shawn McKenzie
On 10/08/2011 03:40 PM, Ricardo Martinez wrote: Hi List! I need to access files outside the DocumentRoot. I've been looking for info and documentation, and I've read that it can be done using symbolic links and another way is by using headers. I want to know, what do you think, what is

[PHP] Re: Secure data management

2011-10-07 Thread Ian
On 07/10/2011 05:46, Govinda wrote: Hi everyone I have read many many articles and blog posts in the last few days to bolster my (still mostly newbie) understanding of the factors that play in to preventing various methods of SQL injection prevention.. and by now I am well aware that most

Re: [PHP] Re: Secure data management

2011-10-07 Thread Paul M Foster
On Fri, Oct 07, 2011 at 12:46:52AM -0400, Govinda wrote: http://stut.net/2011/09/15/mysql-real-escape-string-is-not-enough/ Hi everyone I have read many many articles and blog posts in the last few days to bolster my (still mostly newbie) understanding of the factors that play in to

Re: [PHP] Re: Secure data management

2011-10-07 Thread Govinda
There is more to SQL injection than getting the quoting correct. In my understanding, prepared statements handles the other problems associated with queries and SQL injection beyond just quoting. Here's a good tutorial on how this works: http://www.youtube.com/watch?v=bORZlmyDw0s Paul,

Re: [PHP] Re: Secure data management

2011-10-06 Thread Govinda
http://stut.net/2011/09/15/mysql-real-escape-string-is-not-enough/ Hi everyone I have read many many articles and blog posts in the last few days to bolster my (still mostly newbie) understanding of the factors that play in to preventing various methods of SQL injection prevention.. and by

Re: [PHP] Re: Secure data management

2011-10-05 Thread Tommy Pham
On Tue, Oct 4, 2011 at 8:01 PM, Jeremiah Dodds jeremiah.do...@gmail.comwrote: On Tue, Oct 4, 2011 at 9:25 PM, Tommy Pham tommy...@gmail.com wrote: There would be a difference in performance since the the expression has to be reevaluated, including the function FROM_BASE, every time versus

Re: [PHP] Re: Secure data management

2011-10-05 Thread Mark Kelly
Hi. On Wednesday 05 Oct 2011 at 00:04 Mark Kelly wrote: I'd be interested in any ideas folk have about these issues, or any others they can envisage with this proposal. Thank you all for joining in here - it's been a fascinating read so far. Mark -- PHP General Mailing List

[PHP] Re: Oauth consumer and provider gives signature_invalid error

2011-10-04 Thread chamila gayan
hi again. it look likes my code is ugly so no one wants to play with it :D. rewrote the consumer and provider code using only the php provided classes/methods. I have borrowed code from http://www.lornajane.net/posts/2011/php-oauth-provider-request-tokens and

[PHP] Re: Secure data management

2011-10-04 Thread Shawn McKenzie
On 10/04/2011 02:23 PM, Jim Giner wrote: I thought I knew how to do this. I have a form that collects some data fields. My script checks if magic quotes are off and (since they are) executes addslashes on each input field. Then I run a query to INSERT these 'slashed' vars into the

Re: [PHP] Re: Secure data management

2011-10-04 Thread Stuart Dallas
On 4 Oct 2011, at 20:30, Shawn McKenzie wrote: On 10/04/2011 02:23 PM, Jim Giner wrote: I thought I knew how to do this. I have a form that collects some data fields. My script checks if magic quotes are off and (since they are) executes addslashes on each input field. Then I run a

Re: [PHP] Re: Secure data management

2011-10-04 Thread Mark Kelly
Hi. On Tuesday 04 Oct 2011 at 21:39 Stuart Dallas wrote: http://stut.net/2011/09/15/mysql-real-escape-string-is-not-enough/ Thanks. I followed this link through and read the full message (having missed it the first time round), and while I find the idea of using base64 to sanitise text

Re: [PHP] Re: Secure data management

2011-10-04 Thread Stuart Dallas
On 5 Oct 2011, at 00:04, Mark Kelly wrote: Hi. On Tuesday 04 Oct 2011 at 21:39 Stuart Dallas wrote: http://stut.net/2011/09/15/mysql-real-escape-string-is-not-enough/ Thanks. I followed this link through and read the full message (having missed it the first time round), and while I

Re: [PHP] Re: Secure data management

2011-10-04 Thread Tommy Pham
On Tue, Oct 4, 2011 at 4:11 PM, Stuart Dallas stu...@3ft9.com wrote: On 5 Oct 2011, at 00:04, Mark Kelly wrote: Hi. On Tuesday 04 Oct 2011 at 21:39 Stuart Dallas wrote: http://stut.net/2011/09/15/mysql-real-escape-string-is-not-enough/ Thanks. I followed this link through and read

Re: [PHP] Re: Secure data management

2011-10-04 Thread Stuart Dallas
On 5 Oct 2011, at 00:45, Tommy Pham wrote: On Tue, Oct 4, 2011 at 4:11 PM, Stuart Dallas stu...@3ft9.com wrote: On 5 Oct 2011, at 00:04, Mark Kelly wrote: Hi. On Tuesday 04 Oct 2011 at 21:39 Stuart Dallas wrote: http://stut.net/2011/09/15/mysql-real-escape-string-is-not-enough/

Re: [PHP] Re: Secure data management

2011-10-04 Thread Tommy Pham
On Tue, Oct 4, 2011 at 4:49 PM, Stuart Dallas stu...@3ft9.com wrote: On 5 Oct 2011, at 00:45, Tommy Pham wrote: On Tue, Oct 4, 2011 at 4:11 PM, Stuart Dallas stu...@3ft9.com wrote: On 5 Oct 2011, at 00:04, Mark Kelly wrote: Hi. On Tuesday 04 Oct 2011 at 21:39 Stuart Dallas wrote:

Re: [PHP] Re: Secure data management

2011-10-04 Thread Stuart Dallas
On 5 Oct 2011, at 01:13, Tommy Pham wrote: On Tue, Oct 4, 2011 at 4:49 PM, Stuart Dallas stu...@3ft9.com wrote: On 5 Oct 2011, at 00:45, Tommy Pham wrote: On Tue, Oct 4, 2011 at 4:11 PM, Stuart Dallas stu...@3ft9.com wrote: On 5 Oct 2011, at 00:04, Mark Kelly wrote: Hi. On Tuesday

Re: [PHP] Re: Secure data management

2011-10-04 Thread Tommy Pham
On Tue, Oct 4, 2011 at 5:51 PM, Stuart Dallas stu...@3ft9.com wrote: On 5 Oct 2011, at 01:13, Tommy Pham wrote: On Tue, Oct 4, 2011 at 4:49 PM, Stuart Dallas stu...@3ft9.com wrote: On 5 Oct 2011, at 00:45, Tommy Pham wrote: On Tue, Oct 4, 2011 at 4:11 PM, Stuart Dallas stu...@3ft9.com

Re: [PHP] Re: Secure data management

2011-10-04 Thread Jeremiah Dodds
On Tue, Oct 4, 2011 at 7:51 PM, Stuart Dallas stu...@3ft9.com wrote: As for the overhead I very much doubt there's much difference between that and the overhead of prepared statements. Probably not. As an aside, I'm really struggling to find a case where it'd be worth base64-encoding the

Re: [PHP] Re: Secure data management

2011-10-04 Thread Stuart Dallas
On 5 Oct 2011, at 02:02, Tommy Pham wrote: On Tue, Oct 4, 2011 at 5:51 PM, Stuart Dallas stu...@3ft9.com wrote: On 5 Oct 2011, at 01:13, Tommy Pham wrote: On Tue, Oct 4, 2011 at 4:49 PM, Stuart Dallas stu...@3ft9.com wrote: On 5 Oct 2011, at 00:45, Tommy Pham wrote: On Tue, Oct 4,

Re: [PHP] Re: Secure data management

2011-10-04 Thread Tommy Pham
On Tue, Oct 4, 2011 at 6:07 PM, Jeremiah Dodds jeremiah.do...@gmail.comwrote: On Tue, Oct 4, 2011 at 7:51 PM, Stuart Dallas stu...@3ft9.com wrote: As for the overhead I very much doubt there's much difference between that and the overhead of prepared statements. Probably not. As an aside,

<    5   6   7   8   9   10   11   12   13   14   >