Re: [PHP] Confused about handling bytes

2007-05-20 Thread Tom Rogers
Hi, Monday, May 21, 2007, 10:50:27 AM, you wrote: JV> While I'm sure this is a stupid question and the solution will be JV> obvious to everyone here, this is confusing me. JV> I'm trying to control a device over a serial port using a PHP script, JV> and one of the things I need to do is read a

Re: [PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-20 Thread Larry Garfield
On Sunday 20 May 2007, Robert Cummings wrote: > On Sun, 2007-05-20 at 23:11 -0500, Larry Garfield wrote: > > A well-optimized and load balanced database-based setup will beat a badly > > configured file system setup, sure. But will it beat a well-optimized > > and load balanced file system setup?

Re: [PHP] Re: Confused about how exactly to output image using imagepng function [SOLVED]

2007-05-20 Thread Dave M G
Robert, Zoltan, Stephen, Tijnema, Thank you for your responses. I did take some code off of the internet, but I had to modify it to work within the context of my general system. The explanations offered here have helped me achieve that. Thank you all for your insight and help. -- Dave M G

Re: [PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-20 Thread Robert Cummings
On Sun, 2007-05-20 at 23:11 -0500, Larry Garfield wrote: > A well-optimized and load balanced database-based setup will beat a badly > configured file system setup, sure. But will it beat a well-optimized and > load balanced file system setup? I would be very surprised. > > Really, it comes do

Re: [PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-20 Thread Larry Garfield
A well-optimized and load balanced database-based setup will beat a badly configured file system setup, sure. But will it beat a well-optimized and load balanced file system setup? I would be very surprised. Really, it comes down to this, assuming you know what you're doing either way. Using

Re: [PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-20 Thread Robert Cummings
On Sun, 2007-05-20 at 20:35 -0500, Greg Donald wrote: > On 5/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I am in the process of adding a part to my website which would include > > pictures, pdf files, txt files, and excel files. The files sizes > > could be anywhere on average of 100k

[PHP] Re: Uploading Files Should I use MySQL or Server for storage?

2007-05-20 Thread itoctopus
I have tried both, and I tell you that I really felt that the filesystem is a more convenient way of doing it. -- itoctopus - http://www.itoctopus.com <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I am in the process of adding a part to my website which would include > pictures,

Re: [PHP] Random SELECT SQL list

2007-05-20 Thread Eduardo Vizcarra
Hi Larry,Paul,Zoltán Thanks for your messages, adding ORDER BY RAND () worked just fine :) Eduardo "Larry Garfield" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > On Wednesday 16 May 2007, Eduardo Vizcarra wrote: >> Hi >> >> I would like to know if a SELECT SQL query list of

Re: [PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-20 Thread Greg Donald
On 5/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I am in the process of adding a part to my website which would include pictures, pdf files, txt files, and excel files. The files sizes could be anywhere on average of 100k to 2mb. Do you think I should be uploading the files to a MySQL d

Re: [PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-20 Thread [EMAIL PROTECTED]
Thanks Rich. The files are not going to be downloaded all that often and the overall traffic is relatively low. However, as with probably everyone I am hoping and expecting big increases in traffic. I currently run most of my site off LAMP. My main concerns as you mentioned is using memory/CPU

Re: [PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-20 Thread Richard Davey
Hi benc11, Monday, May 21, 2007, 2:16:19 AM, you wrote: > I am in the process of adding a part to my website which would include > pictures, pdf files, txt files, and excel files. The files sizes > could be anywhere on average of 100k to 2mb. Do you think I should be > uploading the files to a

[PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-20 Thread [EMAIL PROTECTED]
I am in the process of adding a part to my website which would include pictures, pdf files, txt files, and excel files. The files sizes could be anywhere on average of 100k to 2mb. Do you think I should be uploading the files to a MySQL database or to my server? I have head that there are pros

[PHP] Confused about handling bytes

2007-05-20 Thread Joe Veldhuis
While I'm sure this is a stupid question and the solution will be obvious to everyone here, this is confusing me. I'm trying to control a device over a serial port using a PHP script, and one of the things I need to do is read a 26-byte string from an EEPROM, using a command that returns two b

Re: [PHP] can not fork

2007-05-20 Thread Jochem Maas
Rajiv Man Karmacharya wrote: > php-general@lists.php.net > > while trying to use exec('IECapt.exe ' . escapeshellarg($website_url) . ' ' . > escapeshellarg($cached_filename)); i get the following error > > Warning: exec() [function.exec]: Unable to fork [IECapt.exe > "http://www.nepalnews.com.n

RE: [PHP] Adserver programming with php

2007-05-20 Thread WeberSites LTD
Not sure why you would want to build something from scratch when you can use Openads : http://www.openads.org/ berber -Original Message- From: Merlin [mailto:[EMAIL PROTECTED] Sent: Sunday, May 20, 2007 2:16 AM To: php-general@lists.php.net Subject: [PHP] Adserver programming with php

Re: [PHP] php5 cert

2007-05-20 Thread Larry Garfield
Actually I found the real exam harder than the test exam. It may have just been the question set I ended up with, but it was a lot more nitpicky on details that I rarely use in my work. On Sunday 20 May 2007, Danial Rahmanzadeh wrote: > are volcan exams really harder than actual php5 exam as ph

Re: [PHP] Re: showing source

2007-05-20 Thread tedd
At 12:16 PM +0200 5/18/07, Christian Haensel wrote: Why don't you use: highlight_file(__FILE__) ? OMG I have been coding that thing for MONTHS now... just to get syntax highlighting for my tutorial blog... maybe I shouldn't write tutorials... maybe I should rather read them *g* Thanks for

[PHP] php5 cert

2007-05-20 Thread Danial Rahmanzadeh
are volcan exams really harder than actual php5 exam as phparch asserted?

[PHP] Re: Adserver programming with php

2007-05-20 Thread Colin Guthrie
Merlin wrote: > Hi there, > > I am thinking about creating a kind of adserver which is customized for > my needs. As I would be most confident in doing this with php, I am > asking myself if this is the right choice or if it would be wiser to > take a C++ aproach for example to get a higher perfor

[PHP] inconsistency in SimpleXML

2007-05-20 Thread Vesselin Kenashkov
Hello everybody, An year ago I was playing with the SimpleXML in php and found some issues and abandoned php5 for a year. Now I'm back to it and I found that the issius are still there. Here is the first one - how one can find does a SimpleXMLElement has child nodes? Here is an example:

[PHP] Re: PHP Data Mining/Data Scraping

2007-05-20 Thread itoctopus
In case you have no control on the other URL, then CURL is probably your best solution. Otherwise, a better way to do it is probably to interact with a web service installed on the other website. -- itoctopus - http://www.itoctopus.com ""Shannon Whitty"" <[EMAIL PROTECTED]> wrote in message ne

[PHP] Re: Marketplace Framework

2007-05-20 Thread itoctopus
Try osCommerce -- itoctopus - http://www.itoctopus.com "PHP Mailing List" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi All, > > Is there any PHP's framework for developing a marketplace site ? > > Regards, > > Dino -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] Marketplace Framework

2007-05-20 Thread Stut
PHP Mailing List wrote: Is there any PHP's framework for developing a marketplace site ? Not totally sure what you mean by "a marketplace site", but if you mean an ecommerce site (online shop) then please search the list archives - this topic comes up a lot here and has been discussed at leng

Re: [PHP] PHP Data Mining/Data Scraping

2007-05-20 Thread Stut
Shannon Whitty wrote: Hi, I'm looking for a piece of software or coding that will let me post a form to another URL, accept the response, search it for a specific "success" string and then let me continue processing the rest of my program. I want to accept queries on behalf of my supplier, f

[PHP] Re: PHP Data Mining/Data Scraping

2007-05-20 Thread Johan Holst Nielsen
Shannon Whitty wrote: Hi, I'm looking for a piece of software or coding that will let me post a form to another URL, accept the response, search it for a specific "success" string and then let me continue processing the rest of my program. I want to accept queries on behalf of my supplier, f

[PHP] Marketplace Framework

2007-05-20 Thread PHP Mailing List
Hi All, Is there any PHP's framework for developing a marketplace site ? Regards, Dino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Marketplace Framework

2007-05-20 Thread PHP Mailing List
Hi All, Is there any PHP's framework for developing a marketplace site ? Regards, Dino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Data Mining/Data Scraping

2007-05-20 Thread Shannon Whitty
Hi, I'm looking for a piece of software or coding that will let me post a form to another URL, accept the response, search it for a specific "success" string and then let me continue processing the rest of my program. I want to accept queries on behalf of my supplier, forward it to them behind

[PHP] can not fork

2007-05-20 Thread Rajiv Man Karmacharya
php-general@lists.php.net while trying to use exec('IECapt.exe ' . escapeshellarg($website_url) . ' ' . escapeshellarg($cached_filename)); i get the following error Warning: exec() [function.exec]: Unable to fork [IECapt.exe "http://www.nepalnews.com.np"; "C:/Inetpub/wwwroot/5531ed95934bee3189

[PHP] Re: Adserver programming with php

2007-05-20 Thread itoctopus
My approach would be to build now using the fastest way and get the thing up & running, and then see if the needs arise to build the application using a somehow slower way. -- itoctopus - http://www.itoctopus.com "Merlin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi there,