Re: [PHP] Replacing with f*ck and f*cking

2008-10-25 Thread Andrew Barnett
Maybe you should look at the source code of an open source project that can already do this such as phpBB. I'm not exactly sure where to find it in the phpBB code though. Andrew 2008/10/26 Ryan S [EMAIL PROTECTED] Hey! I'm just trying to replace some of the more bad words with their

Re: [PHP] web shot script

2008-10-23 Thread Andrew Barnett
Hey Joey, I had a search, and from what I found, it would be very difficult unless you have root access to a server. Another way would be to create a HTML/CSS renderer using PHP, and then using that to take a screenshot. A link from DigitalPoint

Re: [PHP] web shot script

2008-10-23 Thread Andrew Barnett
Are you suggesting to create a PDF, and then convert from PDF to an image? Andrew 2008/10/24 Afan Pasalic [EMAIL PROTECTED] Andrew Barnett wrote: Hey Joey, I had a search, and from what I found, it would be very difficult unless you have root access to a server. Another way would

Re: [PHP] web shot script

2008-10-23 Thread Andrew Barnett
probably worth a shot though Joey. Andrew 2008/10/24 Afan Pasalic [EMAIL PROTECTED] Andrew Barnett wrote: Are you suggesting to create a PDF, and then convert from PDF to an image? I'm sorry. didn't get it has to be an image. Andrew 2008/10/24 Afan Pasalic [EMAIL PROTECTED

Re: [PHP] Randomiser

2008-10-17 Thread Andrew Barnett
I ended up using an example from the PHP website. ?php $input = array(Neo, Morpheus, Trinity, Cypher, Tank); $rand_keys = array_rand($input, 2); echo $input[$rand_keys[0]] . \n; echo $input[$rand_keys[1]] . \n; ? Just extended the array to the number of lines I needed. Andrew

[PHP] Randomiser

2008-10-16 Thread Andrew Barnett
Hey All, I'm trying to work out how to randomise the order of a bunch of strings I have. I know how to pick one random string from a bunch of them, but how do I make sure that everyone is used just once. Any pointers on how to do that would be appreciated. Cheers, Andrew

Re: [PHP] Error message

2008-09-18 Thread Andrew Barnett
It sounds like there is a space or output before the ?php line. It should be the very first line on a PHP page, and have no spaces before it. Andrew 2008/9/19 CanihoJR [EMAIL PROTECTED]: No puedes tener ningun espacio en blanco delante de session_start(); Sorry for my english: you cant have

Re: [PHP] Re: Interntet Explorer 8 beater 2

2008-09-08 Thread Andrew Barnett
Sorry, but sarcasm doesn't quite come across email very effectively. 2008/9/8 Richard Heyes [EMAIL PROTECTED]: Hi, I think he is asking whether people are using Internet Explore 8 Beta 2 I am. That would be an obscure sense of humour. No I'm not using it, I still haven't ugraded to IE7

Re: [PHP] Re: Interntet Explorer 8 beater 2

2008-09-08 Thread Andrew Barnett
I think he is asking whether people are using Internet Explore 8 Beta 2 No I'm not using it, I still haven't ugraded to IE7 yet, and probably won't while I use Firefox 3, and am quite happy with FF3. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: