[PHP] Problem with special characters - PHP & AJAX

2008-07-06 Thread bperquku
Hi all, I'm writing a simple dictionary with php and ajax. It works perfects with firefox but not in IE. Here is the link http://kllapa.com/fjahalori/test.html I used alerts in js and find out that in the following function: function updateMsgOnBrowser(testXML) { var test = testXML.ge

RE: [PHP] Re: No Database Connection possible (mySQL)

2008-07-06 Thread Chris Haensel
-Original Message- From: M. Sokolewicz [mailto:[EMAIL PROTECTED] Sent: Friday, July 04, 2008 10:18 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; php-general@lists.php.net Subject: [PHP] Re: No Database Connection possible (mySQL) David Robley wrote: > Aviation Coding wrote: > >> Hi al

Re: [PHP] Multiple words str_shuffle

2008-07-06 Thread Brady Mitchell
On Jul 6, 2008, at 305PM, Ron Piggott wrote: I am trying to scramble individual words and/or phrases. When it is a phrase I would like to keep the letters of each word together, with a space between each one. The code I have so far is below. I use PHP 4.4.7. The code below is fine for a sin

Re: [PHP] Multiple words str_shuffle

2008-07-06 Thread David Giragosian
On 7/6/08, Ron Piggott <[EMAIL PROTECTED]> wrote: > > > I am trying to scramble individual words and/or phrases. > > When it is a phrase I would like to keep the letters of each word > together, with a space between each one. The code I have so far is > below. I use PHP 4.4.7. The code below is

[PHP] Multiple words str_shuffle

2008-07-06 Thread Ron Piggott
I am trying to scramble individual words and/or phrases. When it is a phrase I would like to keep the letters of each word together, with a space between each one. The code I have so far is below. I use PHP 4.4.7. The code below is fine for a single word; it is phrases that I am now trying to

Re: [PHP] odbc msaccess php5 [Giving Up]

2008-07-06 Thread Peter Jackson
Peter Jackson wrote: well thats it Ive come to the conclusion that its a driver/lib issue. From what I can see mdbtools lib only reads and only does basic select. (eg Select * from table where col =thistext But not tex* % or date. Also looks like the project has died (think the last release w

[PHP] Re: Session variables disappear (some of them only)

2008-07-06 Thread tedd
At 1:48 PM +0200 7/6/08, Fabrice VIGNALS wrote: Difficult to help you because there are many method of session : - where do you store the sessions_variables : in local file, db or cookie ? - how you transmit the session id, beetween pages(runtimes) : cookie, $GET link, database ? Did you che

[PHP] Re: Session variables disappear (some of them only)

2008-07-06 Thread Fabrice VIGNALS
Difficult to help you because there are many method of session : - where do you store the sessions_variables : in local file, db or cookie ? - how you transmit the session id, beetween pages(runtimes) : cookie, $GET link, database ? Did you check the availability of user cookie if you use it

Re: [PHP] URL Rewrite

2008-07-06 Thread Fabrice VIGNALS
Look at http://framework.zend.com/manual/en/zend.controller.router.html Apache configuration et framework methods to rout your files are there. "Subhranil" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] Hi All, I want to show one URL at browser and content of different

[PHP] Re: No Database Connection possible (mySQL)

2008-07-06 Thread Fabrice VIGNALS
First problem : there are not return in the function as it said Second problem : php make a real connection with a unique id to a server database $server1 = array("localhost","user","pass") $server2 = array("localhost2","user2","pass2") Function mysqlConnectServer($server) { $uid = mysql_conne

[PHP] Re: Creating XML files

2008-07-06 Thread Fabrice VIGNALS
Not so hard to find : http://php.net/manual/en/book.xml.php "It flance" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] Hi all, Some months ago i worked with XML. And i remember that i was able to create xml files quite easily. Now i don`t have the book i used by the

[PHP] Re: class_is_loadable?

2008-07-06 Thread Fabrice VIGNALS
Hi, The problem is not the autoload but the implementation of such function. class_is_loadable mean, "hey php look at my class somewhere in my files". PHP should inspect some files, in some directories and list classes. Which files, which extensions files, in which directories ? ... In my mind

Re: [PHP] Asynchronous PHP Execution

2008-07-06 Thread Richard Heyes
Waynn Lue wrote: and exec/shell (but that doesn't seem to be asynchronous), but neither seems optimal. It can be if you redirect the output streams and put an ampersand after it: /dev/null 2>/dev/null &'); echo 'Script ended'; ?> This tiny sample should end immediately, and the sleep comm

Re: [PHP] Asynchronous PHP Execution

2008-07-06 Thread Waynn Lue
On Sat, Jul 5, 2008 at 12:28 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Sat, Jul 5, 2008 at 6:01 AM, Waynn Lue <[EMAIL PROTECTED]> wrote: > > I have a system where a user clicks on a button which causes rows to > > be inserted in to the database. I'd also like to run some lengthier > > post

Re: [PHP] Asynchronous PHP Execution

2008-07-06 Thread Waynn Lue
> > > and exec/shell (but that > >> doesn't seem to be asynchronous), but neither seems optimal. >> > > It can be if you redirect the output streams and put an ampersand after it: > > exec('sleep 5 > /dev/null 2>/dev/null &'); >echo 'Script ended'; > ?> > > This tiny sample should end immed