[PHP] Sending output to audio device from PHP

2003-06-09 Thread Edwin Boersma
Hi, I have written an MP3 Jukebox server with PHP and MySQL, that runs on Linux server with Apache. To play music, I use the external program plaympeg from the SDL package. It works fine, but I cannot have any control over the player. To play the next song, I have to wait for the player to

[PHP] Re: save to file

2003-03-09 Thread Edwin Boersma
Enough answers, I think? If you want EACH value of $_POST on a new line, then why not implode with \n instead of \t? Now you get only one big line, because you only WRITE one \n. Edwin Ryan Holowaychuk wrote: I am trying to save to a text file. And I have managed to do that part now, but what

Re: [PHP] variable string names

2003-03-09 Thread Edwin Boersma
John's solution is the better one. But if you really wish to stick to your own, try and use eval() to complile $where$i. Edwin John W. Holmes wrote: I have: if ($where1 != '') { $whereArray = array_push($whereArray, $where1); } and I want to repeat for $where1 up to $where8 but

Re: [PHP] Loading CSV data into MySQL

2003-02-02 Thread Edwin Boersma
Or add a insert_date column of type timestamp to the database. This will automatically store the time of insertion. Then use ORDER BY insert_date. Edwin Jason Sheets wrote: You could create a integer column with an autoincrement flag, then order the rows by this column, that should give you

Re: [PHP] using input tags with php

2003-02-02 Thread Edwin Boersma
Are you absolutely sure that the query gives result? Try and add or die (mysql_error()) behind mysql_connect, mysql_select_db and mysql_query. For the rest, it looks pretty good to me Sunfire wrote: ok let me try this question thing again... i am having a problem using input tags by using

Re: [PHP] any change to see php source?

2003-02-02 Thread Edwin Boersma
See www.php.net. Qt wrote: Thank you chris, Help full Do you have any link for installation manual Chris Hayes [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... At 21:36 1-2-2003, you wrote: I am studying on php. And the book say, when the server see php

[PHP] Re: help needed building query string based on which form fieldsthat are filled.

2003-02-02 Thread Edwin Boersma
Don't get your question right, but you get all your vars in the querystring after submitting the form. There, you should check on whether or not the var is filled (i.e. $var or so). There's no other way :-( so your guess is pretty ok. BTW: use Javascript to modify the submitted values.

[PHP] Select box won't display in Netscape 4.xx

2001-12-31 Thread Edwin Boersma
Hi, I'm developing a website for multiple browsers. In Netscape 4.xx (both Win98 and Linux versions), the php-scripts display the select boxes in my forms only as plain text. I cannot make any selections. In other browsers (NS 6 and IE5), it works fine. Anyone seen this behavior before?

[PHP] Re: Need some Linux/Apache help

2001-12-31 Thread Edwin Boersma
Hi Todd, Has Apache been restarted ton use the new libphp4.so? And if so, does it use the correct one (you might have another one on your system)? If Apache starts without probs, check the httpd.conf for php mime types. What does Apache respond if you load your test script? Regards, Edwin Todd