Re: [PHP] Video question

2006-12-20 Thread Philipp Schwarz
You can put the video into a flash file and start playing the video with Javascript. If someone downloads the video, he will see a blank page, because of the missing start command from Javascript. Problem: If someone downloads the compleate page, he can watch the video. You can solve this by

[PHP] Which PHP-script crashes my server?

2006-12-19 Thread Philipp Schwarz
Hi guys, I have a problem with my webserver. It is a server for me and some web projekts of my friends. And there is one PHP script which kills the whole server, but I do not know which one it is. When the server is going down one apache process uses 99% CPU and memory. In this case I can

Re: [PHP] Which PHP-script crashes my server?

2006-12-19 Thread Philipp Schwarz
Linux, of course. :-) It is a Gentoo server with Confixx Pro on it. The PHP safe mode is disabled for some accounts, so it is clear that problems like this happen. But I can not enable it because of several scripts. Thats all I know. I dit not setup the server. If you need some special

Re: [PHP] If array()

2006-10-10 Thread Philipp Schwarz
Try this: if (is_array($array) count($array)) { ... } John Taylor-Johnston schrieb: How can I use if to see an array contains something? if ($array()) does not work, of course. John -- Mit freundlichen Grüßen Philipp Schwarz

Re: [PHP] test

2006-10-04 Thread Philipp Schwarz
Stupid? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php