php-general Digest 4 Aug 2010 07:23:47 -0000 Issue 6878

2010-08-04 Thread php-general-digest-help
php-general Digest 4 Aug 2010 07:23:47 - Issue 6878 Topics (messages 307297 through 307308): Encoding for W3C Validation 307297 by: Rick Dwyer 307298 by: Sebastian Ewert 307299 by: Ashley Sheridan 307300 by: Shreyas Agasthya 307301 by: Rick Dwyer

php-general Digest 4 Aug 2010 21:31:25 -0000 Issue 6879

2010-08-04 Thread php-general-digest-help
php-general Digest 4 Aug 2010 21:31:25 - Issue 6879 Topics (messages 307309 through 307317): Re: Encoding for W3C Validation 307309 by: Carlton Whitehead 307310 by: Richard Quadling PHP images server 307311 by: Jean-Michel Philippon-Nadeau simpleXML - can't add

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 dave.meh...@gmail.com wrote: Hello, Not sure if this went out, apologies if this is a double post. I'm having difficulty tying something together. I'm

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

Re: [PHP] Encoding for W3C Validation

2010-08-04 Thread Richard Quadling
On 4 August 2010 13:33, Carlton Whitehead carlton.whiteh...@gmail.com 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

[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

[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 domain:create children nodes after line 8. What do I need to add? This: http://pastebin.com/mT27g3ZN In order to do so, I have

[PHP] multi thread work?

2010-08-04 Thread Tontonq Tontonq
Hi how to make a script multi task based like this ? for($i=1;$i=100;$i++) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, '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)

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();

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($i=1;$i=100;$i++) {

Re: [PHP] multi thread work?

2010-08-04 Thread Daniel Brown
On Wed, Aug 4, 2010 at 13:21, Tontonq Tontonq root...@gmail.com 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

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

[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] 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] 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,

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 a...@ashleysheridan.co.uk 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

Re: [PHP] mytrash mail thing

2010-08-04 Thread Daniel Brown
On Wed, Aug 4, 2010 at 21:18, Ashley Sheridan a...@ashleysheridan.co.uk 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