Re: [PHP] Re: Script failing on extension_dir

2012-04-10 Thread Matijn Woudt
On Tue, Apr 10, 2012 at 5:18 PM, Shawn McKenzie nos...@mckenzies.net wrote: On 04/09/2012 03:16 PM, George R Smith wrote: EXTDIR=`php -i 2 /dev/null | grep -i extension_dir | cut -d -f3` Error message follows, what does the no mean ? get the directory where PHP extension are stored

Re: [PHP] Re: Script failing on extension_dir

2012-04-10 Thread George R Smith
To: Shawn McKenzie Cc: George R Smith ; php-general@lists.php.net Subject: Re: [PHP] Re: Script failing on extension_dir On Tue, Apr 10, 2012 at 5:18 PM, Shawn McKenzie nos...@mckenzies.net wrote: On 04/09/2012 03:16 PM, George R Smith wrote: EXTDIR=`php -i 2 /dev/null | grep -i extension_dir | cut -d

Re: [PHP] Re: Script failing on extension_dir

2012-04-10 Thread Shawn McKenzie
-Original Message- From: Matijn Woudt Sent: Tuesday, April 10, 2012 11:05 AM To: Shawn McKenzie Cc: George R Smith ; php-general@lists.php.net Subject: Re: [PHP] Re: Script failing on extension_dir On Tue, Apr 10, 2012 at 5:18 PM, Shawn McKenzie nos...@mckenzies.net wrote: On 04/09/2012 03

Re: [PHP] Re: Script failing on extension_dir

2012-04-10 Thread Matijn Woudt
of php -I and the build script. Thanks again George -Original Message- From: Matijn Woudt Sent: Tuesday, April 10, 2012 11:05 AM To: Shawn McKenzie Cc: George R Smith ; php-general@lists.php.net Subject: Re: [PHP] Re: Script failing on extension_dir On Tue, Apr 10, 2012 at 5:18

[PHP] Re: strftime silliness

2012-04-10 Thread Tim Streater
On Apr 10th, 2012 at 10:40pm, Tim Streater t...@clothears.org.uk wrote: I want to format a date/time using a 12 hour representation of the time part. I can do this with, say, %d %b %Y %l:%M %p, where the first time format specifier is the lower-case L. But, this gives me a leading space in

Re: [PHP] Re: php in windows

2012-04-10 Thread Kirk Bailey
I am not running apache; I am running tinyweb, which is a cgi capable server. It does not need any special configuration to handle cgi, and worked out of the box with python. On 4/10/2012 11:13 AM, Bogdan Ribic wrote: On 4/10/2012 04:05, Kirk Bailey wrote: The edition of php for windows I

Re: [PHP] Re: php in windows

2012-04-10 Thread Kirk Bailey
ok, I just installed 5.2.17 VC6X86. I have a simple test page, index.php; it spews the content code at me. On 4/10/2012 11:13 AM, Bogdan Ribic wrote: On 4/10/2012 04:05, Kirk Bailey wrote: The edition of php for windows I instaklled does not work. Which flavor of windows php DOES work

Re: [PHP] Re: php in windows

2012-04-10 Thread Kirk Bailey
ok, there is a copy of index.php ion the cgibin, and this got WAY different results. It puked an error. CGI script /cgi-bin/index.php returned nothing NOW W.T.F., over? I think that it's time for some rack time. 'Night all. On 4/11/2012 12:50 AM, Kirk Bailey wrote: ok, I just installed

Re: [PHP] Re: Watch out for automatic type casting

2012-04-08 Thread tamouse mailing lists
On Sat, Apr 7, 2012 at 1:55 PM, Maciek Sokolewicz maciek.sokolew...@gmail.com wrote: On 07-04-2012 16:37, Bogdan Ribic wrote: [snip] Bogdan, you are reviving a thread over a week old, and repeating what 4 other people have already stated. Please don't do that, it just results in

[PHP] Re: Watch out for automatic type casting

2012-04-07 Thread Bogdan Ribic
This is *not* typecasting at all, this is assignment of a result of boolean operator, and it boils down to operator precedence. It's equivalent to this code: $b = $x == 11; in the part that right side of equation sign is calculated first, then assigned to lvalue. In effect, you wrote this:

[PHP] Re: Watch out for automatic type casting

2012-04-07 Thread Maciek Sokolewicz
On 07-04-2012 16:37, Bogdan Ribic wrote: This is *not* typecasting at all, this is assignment of a result of boolean operator, and it boils down to operator precedence. It's equivalent to this code: $b = $x == 11; in the part that right side of equation sign is calculated first, then assigned

[PHP] Re: foreach

2012-04-05 Thread Jim Giner
I don't know about others, but I can't make sense of this - way too much presented with no idea of what I am looking at - code or output. One thing: $_Request is not the same var as $_REQUEST. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: [PHP-DB] Re: foreach

2012-04-05 Thread Karl DeSaulniers
And POST[] is not the same as $_POST[] Karl Sent from losPhone On Apr 5, 2012, at 3:24 PM, Jim Giner jim.gi...@albanyhandball.com wrote: I don't know about others, but I can't make sense of this - way too much presented with no idea of what I am looking at - code or output. One thing:

[PHP] Re: foreach

2012-04-05 Thread Al
On 4/5/2012 4:15 PM, Ethan Rosenberg wrote: Dear Lists - I know I am missing something fundamental - but I have no idea where to start to look. Here are code snippets: I have truncated the allowed_fields to make it easier to debug. $allowed_fields = array( 'Site' ='POST[Site]', 'MedRec' =

[PHP] Re: [PHP-DB] Re: foreach

2012-04-05 Thread Kris Carlson
Send the code around line 198, say 170 to 210. On Apr 5, 2012, at 8:42 PM, Al wrote: On 4/5/2012 4:15 PM, Ethan Rosenberg wrote: Dear Lists - I know I am missing something fundamental - but I have no idea where to start to look. Here are code snippets: I have truncated the

[PHP] Re: learning resources for PHP

2012-04-03 Thread Daniel Brown
On Mon, Apr 2, 2012 at 23:53, Tim Dunphy bluethu...@gmail.com wrote: Hello list,  I am quite sure that you've heard this question at least a few times before. :) But I have been dabbling a bit in PHP for years and I've decided that its' high time that became serious about getting a solid

[PHP] Re: To ? or not to ?

2012-04-03 Thread Ross McKay
On Tue, 3 Apr 2012 17:29:33 -0400, Tedd Sperling wrote: [...] Does anyone have more examples of where scripts will fail IF they end with ? (note the additional space)? +1 on everyone's call to omit on an included file due to the potential for sending headers. [... rearranged for ease of reply

[PHP] Re: [PHP-DEV] PHP 5.4.1 RC1 Released

2012-03-30 Thread Nikita Popov
On Fri, Mar 30, 2012 at 8:23 AM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! We would like to announce the first RC of the 5.4.1 version. This will be mainly a bugfix version, including all bugfixes that did not make the cut for 5.4.0 and new issues since then. Please test it and notify

[PHP] Re: request for feedback on logAndHandler

2012-03-30 Thread rene7705
bit bad timing, but i've decided to try out ubuntu instead of windows on that skatescene.biz machine.. i'll try to have the test url up asap or move it to my hoster within a few hours.

[PHP] Re: [PHP-DB] Flow of PHP testClass

2012-03-29 Thread tamouse mailing lists
On Thu, Mar 29, 2012 at 9:57 AM, Rikin Parekh riki...@gmail.com wrote: Hi Guys, Given below is a PHP script. Can someone help me with the output of the code. According to my understanding the output should be 3, 50, 20, 10. Can someone elaborate on the same and provide me an explanation on

[PHP] Re: [PHP-DB] Flow of PHP testClass

2012-03-29 Thread tamouse mailing lists
On Thu, Mar 29, 2012 at 1:17 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Thu, Mar 29, 2012 at 9:57 AM, Rikin Parekh riki...@gmail.com wrote: Hi Guys, Given below is a PHP script. Can someone help me with the output of the code. According to my understanding the output should

[PHP] Re: [PHP-DB] Flow of PHP testClass

2012-03-29 Thread tamouse mailing lists
On Thu, Mar 29, 2012 at 1:30 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Thu, Mar 29, 2012 at 1:17 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Thu, Mar 29, 2012 at 9:57 AM, Rikin Parekh riki...@gmail.com wrote: Hi Guys, Given below is a PHP script. Can someone

Re: [PHP] Re: Uploading and creating an email attachment, WITHOUT aDB on server

2012-03-28 Thread tamouse mailing lists
On Tue, Mar 27, 2012 at 8:33 AM, Maciek Sokolewicz maciek.sokolew...@gmail.com wrote: Also note: checking file extensions has nothing to do with security; relying on such a crude technique to work is a very very bad idea. It also limits the possible formats that people would like to send their

Re: [PHP] Re: updating code asap to multiple domains, windows to unix, with source control software (was: Re: [PHP] including PHP code from another server..)

2012-03-28 Thread tamouse mailing lists
On Tue, Mar 27, 2012 at 5:47 AM, rene7705 rene7...@gmail.com wrote: Yea, i'm quite sure I want to develop on Windows 7. Ubuntu still has quircks when it comes to using 3 monitors on a single system, as far as I know. I just like windows 7 a lot better at the moment. And how would it be

Re: [PHP] Re: updating code asap to multiple domains, windows to unix, with source control software (was: Re: [PHP] including PHP code from another server..)

2012-03-28 Thread tamouse mailing lists
On Tue, Mar 27, 2012 at 7:24 AM, Curtis Maurand cur...@maurand.com wrote: rene7705 wrote: On Tue, Mar 27, 2012 at 1:21 PM, Peter Ford p...@justcroft.com wrote: On 27/03/12 12:13, rene7705 wrote: hey, I just read the rsync man page for the first time, and while it sure looks simple

[PHP] Re: updating code asap to multiple domains, windows to unix, with source control software (was: Re: [PHP] including PHP code from another server..)

2012-03-27 Thread rene7705
On Tue, Mar 27, 2012 at 12:08 PM, rene7705 rene7...@gmail.com wrote: On Mon, Mar 26, 2012 at 9:16 PM, Stuart Dallas stu...@3ft9.com wrote: Rene: please read a book / website / something on PHP security. Some things are important whether you believe they are or not. Yea, I will do that

Re: [PHP] Re: updating code asap to multiple domains, windows to unix, with source control software (was: Re: [PHP] including PHP code from another server..)

2012-03-27 Thread ma...@behnke.biz
rene7705 rene7...@gmail.com hat am 27. März 2012 um 12:16 geschrieben: On Tue, Mar 27, 2012 at 12:08 PM, rene7705 rene7...@gmail.com wrote: I've done a search for rsync windows, and I get some rsync apps allright, but it's not clear to me yet how I would use these windows rsync clones to

Re: [PHP] Re: updating code asap to multiple domains, windows to unix, with source control software (was: Re: [PHP] including PHP code from another server..)

2012-03-27 Thread rene7705
On Tue, Mar 27, 2012 at 12:22 PM, ma...@behnke.biz ma...@behnke.biz wrote: rene7705 rene7...@gmail.com hat am 27. März 2012 um 12:16 geschrieben: On Tue, Mar 27, 2012 at 12:08 PM, rene7705 rene7...@gmail.com wrote: I've done a search for rsync windows, and I get some rsync apps

Re: [PHP] Re: updating code asap to multiple domains, windows to unix, with source control software (was: Re: [PHP] including PHP code from another server..)

2012-03-27 Thread Matijn Woudt
On Tue, Mar 27, 2012 at 12:31 PM, rene7705 rene7...@gmail.com wrote: On Tue, Mar 27, 2012 at 12:22 PM, ma...@behnke.biz ma...@behnke.biz wrote: rene7705 rene7...@gmail.com hat am 27. März 2012 um 12:16 geschrieben: On Tue, Mar 27, 2012 at 12:08 PM, rene7705 rene7...@gmail.com wrote:

Re: [PHP] Re: updating code asap to multiple domains, windows to unix, with source control software (was: Re: [PHP] including PHP code from another server..)

2012-03-27 Thread rene7705
On Tue, Mar 27, 2012 at 12:45 PM, Matijn Woudt tijn...@gmail.com wrote: On Tue, Mar 27, 2012 at 12:31 PM, rene7705 rene7...@gmail.com wrote: On Tue, Mar 27, 2012 at 12:22 PM, ma...@behnke.biz ma...@behnke.biz wrote: rene7705 rene7...@gmail.com hat am 27. März 2012 um 12:16

Re: [PHP] Re: updating code asap to multiple domains, windows to unix, with source control software (was: Re: [PHP] including PHP code from another server..)

2012-03-27 Thread Matijn Woudt
On Tue, Mar 27, 2012 at 12:47 PM, rene7705 rene7...@gmail.com wrote: On Tue, Mar 27, 2012 at 12:45 PM, Matijn Woudt tijn...@gmail.com wrote: On Tue, Mar 27, 2012 at 12:31 PM, rene7705 rene7...@gmail.com wrote: On Tue, Mar 27, 2012 at 12:22 PM, ma...@behnke.biz ma...@behnke.biz wrote:

Re: [PHP] Re: updating code asap to multiple domains, windows to unix, with source control software (was: Re: [PHP] including PHP code from another server..)

2012-03-27 Thread rene7705
On Tue, Mar 27, 2012 at 1:02 PM, Matijn Woudt tijn...@gmail.com wrote: On Tue, Mar 27, 2012 at 12:47 PM, rene7705 rene7...@gmail.com wrote: On Tue, Mar 27, 2012 at 12:45 PM, Matijn Woudt tijn...@gmail.com wrote: On Tue, Mar 27, 2012 at 12:31 PM, rene7705 rene7...@gmail.com wrote:

Re: [PHP] Re: updating code asap to multiple domains, windows to unix, with source control software (was: Re: [PHP] including PHP code from another server..)

2012-03-27 Thread rene7705
hey, I just read the rsync man page for the first time, and while it sure looks simple enough for my taste, wouldn't updating multiple remote domains be like a whole series of the same FTP updates to these different domain directories there? In other words, take a long time because of my 200kb/s

Re: [PHP] Re: updating code asap to multiple domains, windows to unix, with source control software (was: Re: [PHP] including PHP code from another server..)

2012-03-27 Thread rene7705
On Tue, Mar 27, 2012 at 1:21 PM, Peter Ford p...@justcroft.com wrote: On 27/03/12 12:13, rene7705 wrote: hey, I just read the rsync man page for the first time, and while it sure looks simple enough for my taste, wouldn't updating multiple remote domains be like a whole series of the same

Re: [PHP] Re: updating code asap to multiple domains, windows to unix, with source control software (was: Re: [PHP] including PHP code from another server..)

2012-03-27 Thread Curtis Maurand
rene7705 wrote: On Tue, Mar 27, 2012 at 1:21 PM, Peter Ford p...@justcroft.com wrote: On 27/03/12 12:13, rene7705 wrote: hey, I just read the rsync man page for the first time, and while it sure looks simple enough for my taste, wouldn't updating multiple remote domains be like a whole

[PHP] Re: Uploading and creating an email attachment, WITHOUT a DB on server

2012-03-27 Thread Christopher Svanefalk
Addendum: what standard functions could I invoke to accomplish the file system view part? On Tue, Mar 27, 2012 at 2:37 PM, Christopher Svanefalk christopher.svanef...@gmail.com wrote: Dear all, I am rather green to PHP and web programming in general, and would just like some pointers how to

Re: [PHP] Re: Uploading and creating an email attachment, WITHOUT a DB on server

2012-03-27 Thread Bastien Koert
On Tue, Mar 27, 2012 at 8:41 AM, Christopher Svanefalk christopher.svanef...@gmail.com wrote: Addendum: what standard functions could I invoke to accomplish the file system view part? On Tue, Mar 27, 2012 at 2:37 PM, Christopher Svanefalk christopher.svanef...@gmail.com wrote: Dear all,

Re: [PHP] Re: Uploading and creating an email attachment, WITHOUT aDB on server

2012-03-27 Thread Maciek Sokolewicz
On 27-03-2012 15:16, Bastien Koert wrote: On Tue, Mar 27, 2012 at 8:41 AM, Christopher Svanefalk christopher.svanef...@gmail.com wrote: Addendum: what standard functions could I invoke to accomplish the file system view part? On Tue, Mar 27, 2012 at 2:37 PM, Christopher Svanefalk

[PHP] Re: List working?

2012-03-27 Thread Shawn McKenzie
On 03/27/2012 04:23 PM, Jay Blanchard wrote: Seems unusual not to have any traffic on it all day long. i put in my codes but i only get blank page... -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: List working?

2012-03-27 Thread Matijn Woudt
On Tue, Mar 27, 2012 at 11:32 PM, Shawn McKenzie nos...@mckenzies.net wrote: On 03/27/2012 04:23 PM, Jay Blanchard wrote: Seems unusual not to have any traffic on it all day long. i put in my codes but i only get blank page... List seems to be working fine, last message was at 3:11 PM GMT.

Re: [PHP] Re: List working?

2012-03-27 Thread Shawn McKenzie
On 03/27/2012 04:34 PM, Matijn Woudt wrote: On Tue, Mar 27, 2012 at 11:32 PM, Shawn McKenzie nos...@mckenzies.net wrote: On 03/27/2012 04:23 PM, Jay Blanchard wrote: Seems unusual not to have any traffic on it all day long. i put in my codes but i only get blank page... List seems to be

Re: [PHP] Re: List working?

2012-03-27 Thread Daniel Fenn
It working fine here, just people are busy I suppose. On Wed, Mar 28, 2012 at 10:45 AM, Shawn McKenzie nos...@mckenzies.net wrote: On 03/27/2012 04:34 PM, Matijn Woudt wrote: On Tue, Mar 27, 2012 at 11:32 PM, Shawn McKenzie nos...@mckenzies.net wrote: On 03/27/2012 04:23 PM, Jay Blanchard

Re: [PHP] Re: List working?

2012-03-27 Thread Shawn McKenzie
On 03/27/2012 08:11 PM, Daniel Fenn wrote: It working fine here, just people are busy I suppose. y u no help me !! i have white page withg my php codes in my page ! help please !! asap please i put codes in my file and is white On Wed, Mar 28, 2012 at 10:45 AM, Shawn McKenzie

Re: [PHP] Re: Got HTML5 History API + caching LICKED, I think, grin

2012-03-23 Thread rene7705
Because some of you complained about the byte size of my homepage http://mediabeez.ws (was 2.5mb due to artwork), I've invested some time in shaving off quite a few bytes; I've discovered that by using photoshop to reduce the animation image color depth to indexed color, 217 color, I can get the

Re: [PHP] Re: Got HTML5 History API + caching LICKED, I think, grin

2012-03-23 Thread rene7705
On Fri, Mar 23, 2012 at 10:02 AM, rene7705 rene7...@gmail.com wrote: Because some of you complained about the byte size of my homepage http://mediabeez.ws (was 2.5mb due to artwork), I've invested some time in shaving off quite a few bytes; I've discovered that by using photoshop to reduce

Re: [PHP] Re: Got HTML5 History API + caching LICKED, I think, grin

2012-03-23 Thread rene7705
On Fri, Mar 23, 2012 at 12:38 PM, rene7705 rene7...@gmail.com wrote: On Fri, Mar 23, 2012 at 10:02 AM, rene7705 rene7...@gmail.com wrote: Because some of you complained about the byte size of my homepage http://mediabeez.ws (was 2.5mb due to artwork), I've invested some time in shaving off

Re: [PHP] Re: Got HTML5 History API + caching LICKED, I think, grin

2012-03-23 Thread rene7705
On Fri, Mar 23, 2012 at 12:39 PM, rene7705 rene7...@gmail.com wrote: On Fri, Mar 23, 2012 at 12:38 PM, rene7705 rene7...@gmail.com wrote: On Fri, Mar 23, 2012 at 10:02 AM, rene7705 rene7...@gmail.com wrote: Because some of you complained about the byte size of my homepage

RE: [PHP] Re: Got HTML5 History API + caching LICKED, I think, grin

2012-03-23 Thread Steven Staples
-Original Message- From: rene7705 [mailto:rene7...@gmail.com] Sent: March 23, 2012 7:40 AM To: php-general Subject: Re: [PHP] Re: Got HTML5 History API + caching LICKED, I think, grin On Fri, Mar 23, 2012 at 12:39 PM, rene7705 rene7...@gmail.com wrote: On Fri, Mar 23, 2012

Re: [PHP] Re: Got HTML5 History API + caching LICKED, I think, grin

2012-03-23 Thread Marc Guay
Did I accidentally subscribe to the mediabeez website development mailing list? Hello? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Got HTML5 History API + caching LICKED, I think, grin

2012-03-23 Thread ma...@behnke.biz
concerning your background image: If I resize my window after loading finished, your images gets distorted (the one with the bee) I also think - this is not verified yet - that an animated gif with interlacing is smaller than your logo png spritemap Why is this frame loaded

Re: [PHP] Re: Got HTML5 History API + caching LICKED, I think, grin

2012-03-23 Thread Govinda
Did I accidentally subscribe to the mediabeez website development mailing list? Hello? Rene, it's true. ^^^ We'd all LOVE to have an expert list to test our site dev for us... and it can even seem to be the case because people are so helpful and certainly help with any specific question..

[PHP] Re: make error

2012-03-23 Thread Ian
On 23/03/2012 16:58, Asher Wong wrote: I use php-5.4.0.tar.bz2 and MySQL-5.5.21-1.el6.src.rpm in CentOS 6.2. But I can find the MySQL headers in the MySQL source I used. Is there anything wrong with my installing MySQL? Hi, You can just install the mysql headers via the devel package if you

Re: [PHP] Re: make error

2012-03-23 Thread Asher Wong
I have installed the MySQL-devel and I can find mysql.h, but I still have the error I mentioned above. ext/mysql/php_mysql.c:995: undefined reference to `_mysqlnd_init' ext/mysql/php_mysql.c:1012: undefined reference to `mysqlnd_connect' ext/mysql/php_mysql.c:876: undefined reference to

Re: [PHP] Re: make error

2012-03-23 Thread Daniel Brown
2012/3/23 Asher Wong wongzhaoy...@gmail.com: I have installed the MySQL-devel and I can find mysql.h, but I still have the error I mentioned above. ext/mysql/php_mysql.c:995: undefined reference to `_mysqlnd_init' ext/mysql/php_mysql.c:1012: undefined reference to `mysqlnd_connect'

Re: [PHP] Re: make error

2012-03-23 Thread Asher Wong
I trid, but it didn't work. 2012/3/24 Daniel Brown danbr...@php.net 2012/3/23 Asher Wong wongzhaoy...@gmail.com: I have installed the MySQL-devel and I can find mysql.h, but I still have the error I mentioned above. ext/mysql/php_mysql.c:995: undefined reference to `_mysqlnd_init'

Re: [PHP] Re: make error

2012-03-23 Thread Asher Wong
I tried, but it didn't work. 2012/3/24 Daniel Brown danbr...@php.net 2012/3/23 Asher Wong wongzhaoy...@gmail.com: I have installed the MySQL-devel and I can find mysql.h, but I still have the error I mentioned above. ext/mysql/php_mysql.c:995: undefined reference to `_mysqlnd_init'

Re: [PHP] Re: make error

2012-03-23 Thread Asher Wong
Now I use the command below to configure php: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=mysqlnd --with-mysql=/usr/local/mysql/bin/mysql_config --with-mysqli=mysqlnd --with-pdo-mysql=myslqnd And the error happened: configure: error: Cannot find MySQL header files under

Re: [PHP] Re: make error

2012-03-23 Thread Asher Wong
Now I use the command below to configure php: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=mysqlnd --with-mysql=/usr/local/mysql/bin/mysql_config --with-mysqli=mysqlnd --with-pdo-mysql=myslqnd And the error happened: configure: error: Cannot find MySQL header files under

Re: [PHP] Re: make error

2012-03-23 Thread Daniel Brown
2012/3/23 Asher Wong wongzhaoy...@gmail.com: Now I use the command below to configure php: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=mysqlnd --with-mysql=/usr/local/mysql/bin/mysql_config --with-mysqli=mysqlnd --with-pdo-mysql=myslqnd And the error happened:

Re: [PHP] Re: make error

2012-03-23 Thread Asher Wong
I droped it but now the new error happened: checking for mysql_config... not found configure: error: Unable to find your mysql installation And I'm sorry to send more than one reply. Maybe there are something wrong with the network here. 2012/3/24 Daniel Brown danbr...@php.net 2012/3/23 Asher

Re: [PHP] Re: make error

2012-03-23 Thread Daniel Brown
2012/3/23 Asher Wong wongzhaoy...@gmail.com: I droped it but now the new error happened: checking for mysql_config... not found configure: error: Unable to find your mysql installation Try: locate mysql_config And I'm sorry to send more than one reply. Maybe there are something

Re: [PHP] Re: make error

2012-03-23 Thread Asher Wong
This is the result of locate mysql_config: [zhaoyuan@localhost php-5.4.0]$ locate mysql_config /home/zhaoyuan/下载/MySQL-5.5.21-1.el6.src/mysql-5.5.21/man/mysql_config.1 /home/zhaoyuan/下载/MySQL-5.5.21-1.el6.src/mysql-5.5.21/scripts/mysql_config

Re: [PHP] Re: Got HTML5 History API + caching LICKED, I think, grin

2012-03-22 Thread rene7705
I've now fixed the iPad bugs in the menu component, and checked them on an iPad in a nearby apple store. Maybe it even works with iPhone now, if someone could check that for me I'd be much obliged.. If you're interested, http://mediabeez.ws and the download zip there are now updated with these

Re: [PHP] Re: Got HTML5 History API + caching LICKED, I think, grin

2012-03-22 Thread rene7705
On Thu, Mar 22, 2012 at 1:01 PM, rene7705 rene7...@gmail.com wrote: I've now fixed the iPad bugs in the menu component, and checked them on an iPad in a nearby apple store. Maybe it even works with iPhone now, if someone could check that for me I'd be much obliged.. Oh, never mind to check

[PHP] Re: How can I convert these to hex or strings?

2012-03-21 Thread Jim Giner
Did you do a search of the php manual? I did one on hex and found function bin2hex. Not sure how you mac address is actually built, but I would try converting it char by char and see what the function returns. Or maybe just pass the whole string to it. Just a guess. -- PHP General Mailing

Re: [PHP] Re: How can I convert these to hex or strings?

2012-03-21 Thread David OBrien
Damn I'm an idiot... sorry :\ On Wed, Mar 21, 2012 at 9:34 AM, Jim Giner jim.gi...@albanyhandball.comwrote: Did you do a search of the php manual? I did one on hex and found function bin2hex. Not sure how you mac address is actually built, but I would try converting it char by char and see

Re: [PHP] Re: How can I convert these to hex or strings?

2012-03-21 Thread Jim Giner
Not until you find out if it actually works. Then, maybe David OBrien dgobr...@gmail.com wrote in message news:CAF=yd_3rbr-gkonpjdbtogssiufwzeqteanqneproh6hhyu...@mail.gmail.com... Damn I'm an idiot... sorry :\ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: Got HTML5 History API + caching LICKED, I think, grin

2012-03-19 Thread rene7705
On Mon, Mar 19, 2012 at 11:07 AM, Ege Sertçetin sertce...@itu.edu.trwrote: Press F12 for developer tools. Then select browser mode to ie8 or ie7. Oh SWEET :) Didn't know that, will do it right now! :)

Re: [PHP] Re: Got HTML5 History API + caching LICKED, I think, grin

2012-03-19 Thread rene7705
On Mon, Mar 19, 2012 at 11:24 AM, rene7705 rene7...@gmail.com wrote: On Mon, Mar 19, 2012 at 11:07 AM, Ege Sertçetin sertce...@itu.edu.trwrote: Press F12 for developer tools. Then select browser mode to ie8 or ie7. Oh SWEET :) Didn't know that, will do it right now! :) With this tip,

[PHP] Re: hello everybody

2012-03-18 Thread Jim Giner
Just so you know - someone has read your note. But - I'm not sure if anyone understands what you want to learn. From the sound of things, you need to do a lot of reading to learn the basics. Sorry I couldn't help you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Re: CMS identification

2012-03-18 Thread Ross McKay
On Sun, 18 Mar 2012 23:20:21 +0100, Alain Roger wrote: i have a customer who need to update his website but he was not able to tell me more about it. he just told me it's a CMS and sent me a screenshot. [...] Instead of hoping for a USENET reader to recognise that screenshot, open the login page

Re: [PHP] Re: CMS identification

2012-03-18 Thread Daniel Fenn
Well if the OP has the link to it in the first place then yes that would work. On Mon, Mar 19, 2012 at 11:21 AM, Ross McKay ro...@zeta.org.au wrote: On Sun, 18 Mar 2012 23:20:21 +0100, Alain Roger wrote: i have a customer who need to update his website but he was not able to tell me more

[PHP] Re: $POST and $_SESSION

2012-03-17 Thread Al
On 3/15/2012 11:04 AM, Tedd Sperling wrote: $first_name = $_SESSION['first_name'] ? $_SESSION['first_name'] : null; $first_name = isset($_POST['first_name']) ? $_POST['first_name'] : $first_name; $_SESSION['first_name'] = $first_name; $_SESSION['first_name'] = (isset($_POST['first_name']))?

Re: [PHP] Re: $POST and $_SESSION

2012-03-17 Thread Ashley Sheridan
On Sat, 2012-03-17 at 12:52 -0400, Al wrote: On 3/15/2012 11:04 AM, Tedd Sperling wrote: $first_name = $_SESSION['first_name'] ? $_SESSION['first_name'] : null; $first_name = isset($_POST['first_name']) ? $_POST['first_name'] : $first_name; $_SESSION['first_name'] = $first_name;

[PHP] Re: $POST and $_SESSION

2012-03-17 Thread Al
On 3/17/2012 12:52 PM, Al wrote: On 3/15/2012 11:04 AM, Tedd Sperling wrote: $first_name = $_SESSION['first_name'] ? $_SESSION['first_name'] : null; $first_name = isset($_POST['first_name']) ? $_POST['first_name'] : $first_name; $_SESSION['first_name'] = $first_name;

[PHP] Re: Got HTML5 History API + caching LICKED, I think, grin

2012-03-16 Thread Jim Giner
rene7705 rene7...@gmail.com wrote in message news:cadegsebtv7ffuvcbxkothqzah3ethegdedyuarxene2d1mw...@mail.gmail.com... Hi Folks.. I could waste a lot of text on what I've accomplished during the last months, but the easiest thing is if you have a (another) look at (the source of)

Re: [PHP] Re: Got HTML5 History API + caching LICKED, I think, grin

2012-03-16 Thread rene7705
hey that's strange. I tested it in firefox, chrome, and internet explorer. What browser are you using? On Fri, Mar 16, 2012 at 8:15 PM, Jim Giner jim.gi...@albanyhandball.comwrote: rene7705 rene7...@gmail.com wrote in message

Re: [PHP] Re: Got HTML5 History API + caching LICKED, I think, grin

2012-03-16 Thread rene7705
And could you paste me the JS errors, please?... On Fri, Mar 16, 2012 at 8:17 PM, rene7705 rene7...@gmail.com wrote: hey that's strange. I tested it in firefox, chrome, and internet explorer. What browser are you using? On Fri, Mar 16, 2012 at 8:15 PM, Jim Giner

Re: [PHP] Re: Got HTML5 History API + caching LICKED, I think, grin

2012-03-16 Thread Floyd Resler
On Mar 16, 2012, at 3:15 PM, Jim Giner wrote: rene7705 rene7...@gmail.com wrote in message news:cadegsebtv7ffuvcbxkothqzah3ethegdedyuarxene2d1mw...@mail.gmail.com... Hi Folks.. I could waste a lot of text on what I've accomplished during the last months, but the easiest thing is if you

Re: [PHP] Re: Got HTML5 History API + caching LICKED, I think, grin

2012-03-16 Thread rene7705
On Fri, Mar 16, 2012 at 8:30 PM, Floyd Resler fres...@adex-intl.com wrote: I'm having a problem downloading the ZIP file. It decompresses into a cpgz file which then decompresses into a zip file. I've never heard of a cpgz file... And with winrar I can open the downloaded zip file just fine,

Re: [PHP] Re: Got HTML5 History API + caching LICKED, I think, grin

2012-03-16 Thread Jim Giner
Floyd Resler fres...@adex-intl.com wrote in message news:f69820c8-5c91-4010-a69f-11729fe04...@adex-intl.com... On Mar 16, 2012, at 3:15 PM, Jim Giner wrote: rene7705 rene7...@gmail.com wrote in message news:cadegsebtv7ffuvcbxkothqzah3ethegdedyuarxene2d1mw...@mail.gmail.com... Hi Folks..

Re: [PHP] Re: Got HTML5 History API + caching LICKED, I think, grin

2012-03-16 Thread rene7705
*To:* Jim Giner jim.gi...@albanyhandball.com *Cc:* php-general@lists.php.net *Sent:* Friday, March 16, 2012 3:17 PM *Subject:* Re: [PHP] Re: Got HTML5 History API + caching LICKED, I think, grin hey that's strange. I tested it in firefox, chrome, and internet explorer. What browser are you

Re: [PHP] Re: Got HTML5 History API + caching LICKED, I think, grin

2012-03-16 Thread rene7705
On Fri, Mar 16, 2012 at 9:04 PM, Jim Giner jim.gi...@albanyhandball.comwrote: ?? Zip file ?? I see no zip file. It's on the front page of http://mediabeez.ws, under the downloads heading, but you're on IE8 which still has a fatal bug :( Perhaps you can download and use the chrome browser to

[PHP] Re: $POST and $_SESSION

2012-03-15 Thread Michael Clark
On 3/15/2012 9:04 AM, Tedd Sperling wrote: What's a better/shorter way to write this? $first_name = $_SESSION['first_name'] ? $_SESSION['first_name'] : null; $first_name = isset($_POST['first_name']) ? $_POST['first_name'] : $first_name; $_SESSION['first_name'] = $first_name; Better:

Re: [PHP] Re: $POST and $_SESSION

2012-03-15 Thread Matijn Woudt
On Thu, Mar 15, 2012 at 5:25 PM, Michael Clark mcl...@insidesales.com wrote: On 3/15/2012 9:04 AM, Tedd Sperling wrote: What's a better/shorter way to write this? $first_name = $_SESSION['first_name'] ? $_SESSION['first_name'] : null; $first_name = isset($_POST['first_name']) ?

[PHP] Re: looking for an array sorting function.. just not sure which one.. and how yet

2012-03-10 Thread Shawn McKenzie
On 03/10/2012 06:42 PM, Govinda wrote: Hi Everyone I am newbie enough with the terminology around PHP arrays that I am slow to wrap my head around what I know is in the docs (what i am reading)... but just can't identify yet. I think it will be faster if someone can translate for me in

[PHP] Re: looking for an array sorting function.. just not sure which one..and how yet

2012-03-10 Thread Shawn McKenzie
On 03/10/2012 07:01 PM, Shawn McKenzie wrote: foreach ($query-result() as $row) { $arr_cTree[$row-cID] = array($row-cPcID, $row-cL, $row-cName, $row-cSeg, $row-cSort); } Actually, you may construct your array as follows to make sorting with ksort(): foreach ($query-result() as $row) {

[PHP] Re: looking for an array sorting function.. just not sure which one.. and how yet

2012-03-10 Thread Govinda
The best option is to sort it in the query. yes, of course!, that makes sense.. I feel silly not thinking of that in the first place. Now I do not need to sort the array with PHP.. but glad you mentioned array_multisort() as well.. so I could make a mental note of that function. Thanks to

[PHP] Re: iphone php

2012-03-05 Thread Jim Giner
Solution! Found this post from last Fall. Didn't experience the problem because my appl is a NASCAR one and the season ended before this problem was created, apparently by an Apple update on my phone. Here's a link to the story: https://discussions.apple.com/thread/3408352?tstart=0 To

[PHP] Re: iphone php

2012-03-05 Thread Shawn McKenzie
On 03/05/2012 11:16 AM, Jim Giner wrote: An appl that has been working fine for a year now and fine up through last week, suddenly is not working on my iphone. The only differences between using it on a pc, ipad or iphone are for font sizes and such (handled by JS) so I'm puzzled as to

[PHP] Re: Insert new array after specific key in multidimensional array

2012-02-28 Thread Shawn McKenzie
On 02/27/2012 08:12 PM, Micky Hulse wrote: Howdy! Example code: https://gist.github.com/1928452 What would be the best way to insert $o_insert array into $o array after specified key? I hate to just ask for example code, but I can't seem to find the perfect solution. :( Many

[PHP] Re: Insert new array after specific key in multidimensional array

2012-02-28 Thread Micky Hulse
On Tue, Feb 28, 2012 at 8:36 AM, Shawn McKenzie nos...@mckenzies.net wrote: Might be an easier way but this should work.  You can sort the $before = true out for yourself :-) Hi Shawn, I've updated your function to do the $before bit: https://gist.github.com/1928452#file_array_insert.php I

[PHP] Re: Test

2012-02-20 Thread Jim Giner
meaning what? Jay Blanchard jay.blanch...@sigmaphinothing.org wrote in message news:4f4297a6.3000...@sigmaphinothing.org... Does this work? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Test

2012-02-20 Thread Al
Doesn't appear to meet DMARC standards. On 2/20/2012 1:57 PM, Jay Blanchard wrote: Does this work? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: problems in extension development

2012-02-17 Thread Rui Hu
Besides, are there some APIs I can use if I want to setget environment variables like DOCUMENT_ROOT in my extension(similar to sapi_cgienv_get/set). Thanks! 2012/2/17 Rui Hu tchrb...@gmail.com hi, I just started to write a simple PHP extension hello, but encountered some problems. I

[PHP] Re: html_entity_decode is trying to kill me

2012-02-17 Thread Marc Guay
Answering myself sort-of, I think I'm on the wrong track with html_entity_decode(). Does an HTML entity refer to an HTML code like div rather than the encoded format of characters? It seems like htmlspecialchars_decode() is actually what I'm looking for, but I'm getting the same results with

[PHP] Re: html_entity_decode is trying to kill me

2012-02-17 Thread Marc Guay
This info might be helpful. If I copy and paste the example from the manual directly, it works as described: $orig = I'll \walk\ the bdog/b now; $a = htmlentities($orig); $b = html_entity_decode($a); echo $a; // I'll quot;walkquot; the lt;bgt;doglt;/bgt; now echo $b; // I'll walk the bdog/b now

[PHP] Re: ASP to PHP

2012-02-17 Thread Brian Smither
I've done a site from Classic ASP (no .net) to non-oop PHP. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Connect to Google

2012-02-16 Thread Maciek Sokolewicz
On 16-02-2012 03:56, John Taylor-Johnston wrote: I'm a teacher. I want to use PHP to interface with Google and see if a student has plagiarized. I don't see many open-source projects on the subject, so I want to create my own script. How can I use PHP to interface with Google and see if this

Re: [PHP] Re: Connect to Google

2012-02-16 Thread Matijn Woudt
On Thu, Feb 16, 2012 at 10:56 PM, Maciek Sokolewicz maciek.sokolew...@gmail.com wrote: On 16-02-2012 03:56, John Taylor-Johnston wrote: I'm a teacher. I want to use PHP to interface with Google and see if a student has plagiarized. I don't see many open-source projects on the subject, so I

<    3   4   5   6   7   8   9   10   11   12   >