Re: [PHP] mytrash mail thing

2010-08-04 Thread Daniel Brown
On Wed, Aug 4, 2010 at 21:18, Ashley Sheridan wrote: > Hi, > > Please can whoever is using that mytr...@mail.ua system please remove it > from this list or remove yourself? Every email I now send to the list is > followed up by a message from this, which from my point of view is > essentially spam

Re: [PHP] Converting HTML to PDF via PHP

2010-08-04 Thread Bastien Koert
On Wed, Aug 4, 2010 at 6:06 PM, Ashley Sheridan wrote: > On Wed, 2010-08-04 at 17:33 -0700, Michael Calkins wrote: > >> I have found various online tools that do this but nothing that has >> documented it as a tutorial so I can understand it.  I found the >> html_to_pdf.inc.php script that is en

[PHP] mytrash mail thing

2010-08-04 Thread Ashley Sheridan
Hi, Please can whoever is using that mytr...@mail.ua system please remove it from this list or remove yourself? Every email I now send to the list is followed up by a message from this, which from my point of view is essentially spam being sent to me. If you sign up to the php mailing list, expect

Re: [PHP] Converting HTML to PDF via PHP

2010-08-04 Thread Ashley Sheridan
On Wed, 2010-08-04 at 17:33 -0700, Michael Calkins wrote: > I have found various online tools that do this but nothing that has > documented it as a tutorial so I can understand it. I found the > html_to_pdf.inc.php script that is entirely undocumented so I am not sure how > to use it exactly.

[PHP] Converting HTML to PDF via PHP

2010-08-04 Thread Michael Calkins
I have found various online tools that do this but nothing that has documented it as a tutorial so I can understand it. I found the html_to_pdf.inc.php script that is entirely undocumented so I am not sure how to use it exactly. I am trying to export generated HTML (an invoice for a customer)

Re: [PHP] [site is acting strange] - blank pages, download index.php, or works fine

2010-08-04 Thread Tristan
The sites are all on the same server. LAMP. no load balancing or anything really fancy for that matter. Looking a little closer, here's an error that we uncovered being thrown by apache "As we have discussed, I have investigated this further and spoke with your host. It appears that when the erro

Re: [PHP] multi thread work?

2010-08-04 Thread Daniel Brown
On Wed, Aug 4, 2010 at 13:21, Tontonq Tontonq wrote: > Hi > how to make a script multi task  based like this [snip=code] > > lets say this takes 1000 seconds and it doesnt focus to another curl process > before it finish the previous one > > is it possible to let the script focus another curl proc

Re: [PHP] multi thread work?

2010-08-04 Thread Rasmus Lerdorf
On 8/4/10 10:27 AM, Alex Major wrote: >> -Original Message- >> From: Tontonq Tontonq [mailto:root...@gmail.com] >> Sent: 04 August 2010 18:21 >> To: PHP General Mailing List >> Subject: [PHP] multi thread work? >> >> Hi >> how to make a script multi task based like this >> >> > >> >> for($

RE: [PHP] multi thread work?

2010-08-04 Thread Alex Major
> -Original Message- > From: Tontonq Tontonq [mailto:root...@gmail.com] > Sent: 04 August 2010 18:21 > To: PHP General Mailing List > Subject: [PHP] multi thread work? > > Hi > how to make a script multi task based like this > > > > for($i=1;$i<=100;$i++) > { > > > $ch = curl_init()

[PHP] multi thread work?

2010-08-04 Thread Tontonq Tontonq
Hi how to make a script multi task based like this http://www.facebook.com/ajax/reqs.php?__a=1' ); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_USERAGENT, "Opera/9.80 (Windows NT 5.1; U; tr) Presto/2.6.22 Version/10.50"); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt(

[PHP] simpleXML - can't add children - why? - stuck

2010-08-04 Thread MEM
Hello all, I'm struggling here, but no joy so far. Having this XML file that I'm loading using simplexml_load_file(): http://pastebin.com/JiW3LxWM I need to add some children nodes after line 8. What do I need to add? This: http://pastebin.com/mT27g3ZN In order to do so, I have used the follo

[PHP] PHP images server

2010-08-04 Thread Jean-Michel Philippon-Nadeau
Hi List, My website uses a lot of external images coming from many different websites. Those images are sometimes small, sometimes big, and to reduce the loading time of my pages and for better uniformity, I've built a small PHP images server that resizes to a predefined set of dimensions the imag

Re: [PHP] Encoding for W3C Validation

2010-08-04 Thread Richard Quadling
On 4 August 2010 13:33, Carlton Whitehead wrote: > That is definitely calling out for a loop. > > When I scan down the lines of code, the only part I see changing is the x > after $pic_x. You could make an array with all of the picture details and > then replace all of that repeated code with a lo

Re: [PHP] Encoding for W3C Validation

2010-08-04 Thread Carlton Whitehead
That is definitely calling out for a loop. When I scan down the lines of code, the only part I see changing is the x after $pic_x. You could make an array with all of the picture details and then replace all of that repeated code with a loop like so: $pics = array('my_first_picture.jpg', 'my_seco

Re: [PHP] displaying and updating records in a form

2010-08-04 Thread Sky Gunning
Hello I think your code would be very nice to be able to hep you out or correct your methods. On Tue, Aug 3, 2010 at 1:33 AM, David Mehler wrote: > Hello, > Not sure if this went out, apologies if this is a double post. > I'm having difficulty tying something together. I'm wanting to display >