[PHP] Usage of strlen(tuf8_decode()) and "/u" regex modifier

2009-09-20 Thread GoForThisWorld
Hello, As indicated below, the "strlen(tuf8_decode())" and the "/u" regex modifier do not work as per my understanding. 1) What is my misunderstanding? author (85 bytes):$the_string," . strlen($the_string) . ',' . strlen( utf8_decode( $the_string ) ) . ',' . strlen( utf8_decod

[PHP] Is an E_STRICT warning when overwriting a static method with a different parameter list desired?

2009-09-20 Thread Martijn Evers
Hi, I was wondering if an E_STRICT error is desired when a static method is overwritten with a other parameter list. The error I'am getting is: "Strict Standards: Declaration of Sub::doSomething() should be compatible with that of Base::doSomething()" When I run this code: -

Re: [PHP] Re: Creating file name with $variable

2009-09-20 Thread Tommy Pham
- Original Message > From: Ralph Deffke > To: php-general@lists.php.net > Sent: Sunday, September 20, 2009 3:43:24 PM > Subject: [PHP] Re: Creating file name with $variable > > Hi Haig, > > it would be better if u tell us what purpose u want to solf with this > approuch. Its hard to und

[PHP] more info. help?

2009-09-20 Thread johny why
webhost tells me they do not support PHPRC in htaccess. any help? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Creating file name with $variable

2009-09-20 Thread Ralph Deffke
Hi Haig, it would be better if u tell us what purpose u want to solf with this approuch. Its hard to understand for a prov why u want to create a filename .php .php files are scrips containing functions or classes, called/instantinated with parameters. why the hell u want to create a filename with

[PHP] Creating file name with $variable

2009-09-20 Thread Haig Davis
Good Afternoon All, Thanks for the help with the checkbox issue the other day. Todays question: I want to create a filename.php from a variable more specifically the results if a mySQL query I.e. userID + orderNumber = filename. Is this possible? 'cause I've tried every option I can think

Re: [PHP] How to work with embedded mysql from php.

2009-09-20 Thread Tommy Pham
- Original Message > From: Tommy Pham > To: general php > Sent: Sunday, September 20, 2009 9:22:19 AM > Subject: Re: [PHP] How to work with embedded mysql from php. > > > > >From: Nishshanka Sirisena > >To: Tommy Pham > >Sent: Sunday, September 20, 2009 7:13:02 AM > >Subject: Re: [PHP

Re: [PHP] How to work with embedded mysql from php.

2009-09-20 Thread Tommy Pham
> >From: Nishshanka Sirisena >To: Tommy Pham >Sent: Sunday, September 20, 2009 7:13:02 AM >Subject: Re: [PHP] How to work with embedded mysql from php. > >>I tried with Mysqli using mysqli_server_init() and mysql_server_end() >>functions and I am using Lighttpd as my web server. But when I'm run

Re: [PHP] Random Flash Movies

2009-09-20 Thread Eddie Drapkin
On Sun, Sep 20, 2009 at 11:33 AM, Ashley Sheridan wrote: > On Sun, 2009-09-20 at 11:30 -0400, Gary wrote: > >> A question was posted on another board that the poster wanted random flash >> movies to display as the page is reloaded.  I posted the script below and >> said I thought it could be adapt

Re: [PHP] Question: Correcting MySQL's ID colomn when removing an entry

2009-09-20 Thread Paul M Foster
On Sun, Sep 20, 2009 at 12:07:39PM +0430, Parham Doustdar wrote: > Hello there, > I'm guessing that when a row in a MySQL table is removed, the ID colomns of > the rows which come after that row are not changed. For example: > 1 > 2 > 3 > 4 > > Now, if I want to remove the third rows, the ID col

Re: [PHP] Random Flash Movies

2009-09-20 Thread Ashley Sheridan
On Sun, 2009-09-20 at 11:30 -0400, Gary wrote: > A question was posted on another board that the poster wanted random flash > movies to display as the page is reloaded. I posted the script below and > said I thought it could be adapted but that the echo would probably need to > change. Can som

[PHP] Random Flash Movies

2009-09-20 Thread Gary
A question was posted on another board that the poster wanted random flash movies to display as the page is reloaded. I posted the script below and said I thought it could be adapted but that the echo would probably need to change. Can someone offer some guidance on this? Thanks Gary __

Re: [PHP] Question: Correcting MySQL's ID colomn when removing an entry

2009-09-20 Thread tedd
At 12:07 PM +0430 9/20/09, Parham Doustdar wrote: Hello there, I'm guessing that when a row in a MySQL table is removed, the ID colomns of the rows which come after that row are not changed. For example: 1 2 3 4 Now, if I want to remove the third rows, the ID colomn would be something like:

Re: [PHP] Ckeckbox list populated from database

2009-09-20 Thread tedd
At 9:06 PM -0700 9/19/09, Haig Davis wrote: Hello List, I'm relatively new to PHP although I do feel I've got a grasp of the basics. I have used php to draw up numerous selection lists populated from a mysql database and have had no trouble at all. However when it comes to the same concept y

Re: [PHP] Question: Correcting MySQL's ID colomn when removing an entry

2009-09-20 Thread Phpster
On Sep 20, 2009, at 3:37 AM, "Parham Doustdar" wrote: Hello there, I'm guessing that when a row in a MySQL table is removed, the ID colomns of the rows which come after that row are not changed. For example: 1 2 3 4 Now, if I want to remove the third rows, the ID colomn would be so

Re: [PHP] How to work with embedded mysql from php.

2009-09-20 Thread Tommy Pham
--- On Sun, 9/20/09, Nishshanka Sirisena wrote: > From: Nishshanka Sirisena > Subject: [PHP] How to work with embedded mysql from php. > To: php-general@lists.php.net > Date: Sunday, September 20, 2009, 3:40 AM > Hi all. > > I am developing a peer to peer application which is written > in C for

[PHP] How to work with embedded mysql from php.

2009-09-20 Thread Nishshanka Sirisena
Hi all. I am developing a peer to peer application which is written in C for windows platform and which contains a web interface using php and html stuffs. In this case for the application I am using embedded mysql library as the database. Now I have a big problem because I have no Idea about How

Re: [PHP] שנה טובה!

2009-09-20 Thread Dotan Cohen
> Actually all that was needed was an extra couple of lines in your reply - in > english ;) > Had I meant to reply to the list, I most certainly would have added that. It is not the first time that I have replied to the wrong entities with Gmail. I must learn to double check the To lines, I know.

Re: [PHP] שנה טובה!

2009-09-20 Thread Lester Caine
Dotan Cohen wrote: I think this is an English language list. The OP was just wishing everyone a happy new year. I then replied back asking him not to CC the list with such matters, but in a flash of brilliance CCed the list (bad, gmail, bad!) myself. I apologize. Actually all that was needed

Re: [PHP] Question: Correcting MySQL's ID colomn when removing an entry

2009-09-20 Thread Ashley Sheridan
On Sun, 2009-09-20 at 01:06 -0700, Lars Torben Wilson wrote: > On Sun, 20 Sep 2009 12:07:39 +0430 > "Parham Doustdar" wrote: > > > Hello there, > > I'm guessing that when a row in a MySQL table is removed, the ID > > colomns of the rows which come after that row are not changed. For > > example:

Re: [PHP] Question: Correcting MySQL's ID colomn when removing an entry

2009-09-20 Thread Lars Torben Wilson
On Sun, 20 Sep 2009 12:07:39 +0430 "Parham Doustdar" wrote: > Hello there, > I'm guessing that when a row in a MySQL table is removed, the ID > colomns of the rows which come after that row are not changed. For > example: 1 2 > 3 > 4 > > Now, if I want to remove the third rows, the ID colomn wou

[PHP] Question: Correcting MySQL's ID colomn when removing an entry

2009-09-20 Thread Parham Doustdar
Hello there, I'm guessing that when a row in a MySQL table is removed, the ID colomns of the rows which come after that row are not changed. For example: 1 2 3 4 Now, if I want to remove the third rows, the ID colomn would be something like: 1 2 4 I was wondering if there was a way to fix it thr

Re: [PHP] Ckeckbox list populated from database

2009-09-20 Thread saeed ahmed
you can do that here is the example, > -- Regards, Saeed Ahmed Rajshahi, Bangladesh Blog: http://saeed05.wordpress.com -- Follow Me Linkedin Twitter