php-general Digest 6 Jul 2008 09:47:13 -0000 Issue 5553

2008-07-06 Thread php-general-digest-help
php-general Digest 6 Jul 2008 09:47:13 - Issue 5553 Topics (messages 276321 through 276329): Re: class_is_loadable? 276321 by: Aschwin Wesselius 276323 by: Eric Butera Re: odbc msaccess php5 276322 by: Peter Jackson Re: Trying to keep a dropdown selection sticky

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

[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: 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_connect($server)

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: ?php exec('sleep 5 /dev/null 2/dev/null '); echo 'Script ended'; ? This tiny sample should end

[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 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: ?php exec('sleep 5 /dev/null 2/dev/null '); echo 'Script ended'; ? This tiny sample should end immediately, and

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: 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

[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

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

[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] 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 fine for

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

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 all,