php-general Digest 17 Jul 2006 15:26:31 -0000 Issue 4244
php-general Digest 17 Jul 2006 15:26:31 - Issue 4244 Topics (messages 239518 through 239525): Re: GD to database directly 239518 by: Kevin Waterson 239522 by: Jay Blanchard Re: Zend Studio, phpMyAdmin, and mysql.sock 239519 by: Robert Cummings PHP | Flash Query String 239520 by: Sunnrunner 239521 by: Jochem Maas Re: session_start/session_write_close creates multiple sessioncookie headers. How to fix this. 239523 by: Chris Re: Mail que system written in PHP for Linux? 239524 by: Manuel Lemos Delete an upload 239525 by: Benjamin Adams Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: php-general@lists.php.net -- ---BeginMessage--- This one time, at band camp, Richard Lynch [EMAIL PROTECTED] wrote: Assume, for the sake of argument, that your hard drive crashed. And your backup tape was invalid. And the weekly backup tape is also invalid. And, for good measuere, the monthly tape is just so out-of-date, that recovering from the crashed hard drive actually looks like an attractive option. In this scenario, it would not matter where your images were stored, however it would be a simple matter of hot swapping one of the raid drives. LONGBLOB Not big enough. 4GB is big enough for any sane image Kind regards Kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. ---End Message--- ---BeginMessage--- [snip] ...a lot of stuff started by my original answer... [/snip] While this has been a fine debate I find that the discussion has deteriorated badly. Can we bring it back on point? There are a lot of us using MySQL (and PostGreSQL) along with PHP and in practice we have found that storing images in the database to be less than ideal from both a performance and backup POV. The reasons range from speed to overhead to ease of use. On our hardware. It not only has to do with storing and retrieving BLOB data, but also things like indexing, OS qwirks and the like. Kevin, you have more than once pointed out using a RAW format for operating the data system, what exactly do you mean? The database becomes the OS? If so, how do you set that up? It is something that I am not totally familiar with. If you are talking about RAW photo data I am familiar with that. As far as backup, I have a routine that backs up my databases AND the images, PDF's, DOC's, and other binary file format items that the data system points to. That wasn't hard to set up, and it is very reliable. I never have a problem with integrity. And finally, benchmarking. There would be three benchmarks to be conducted and concerned with here, as I have stated before; PHP and images in the OS's file system PHP and images in the MySQL database PHP and images in the OS's file system pointed to by data stored in the MySQL database. Usually only two are compared. ---End Message--- ---BeginMessage--- On Sun, 2006-07-16 at 13:02, Kevin Waterson wrote: This one time, at band camp, Richard Lynch [EMAIL PROTECTED] wrote: Zend has provided a great deal to the PHP community -- Zend basically pays Ze'ev and Andi (and more) to work about half their time on improving PHP Open Source code. As an ex-Zend employee I find that they are maybe the only ones with this arrangement. It is in the best interest of Zend to have the PHP language pushed further and (dare I name the beast?) Web 2.0 to be able to push thier line of products. What good is a PHP IDE without the PHP language? I am not putting forward some anti insert commercial application here scenario, but where do folks draw the line? I don't think you can draw a line. There's black and white and a lot of gray in between and that gray zone depends on the person, how they feel on a particular day, etc etc etc. If we want to get dirty with the guts of this argument many people on this list are asking PHP questions that will advance their own commercial applications or services. While I think a Zend specific question isn't quite a PHP question, I do feel that some of them fall into the gray zone. Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' ---End Message--- ---BeginMessage--- Hello, I have a button flash
[PHP] Delete an upload
I created a form where users can upload. I'm working on the section where admins can delete entries. When I have a user delete an entery, I have it taking out of MySQL (working fine) But how do I delete the file that was uploaded? Thanks for any help Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Delete an upload
[snip] I created a form where users can upload. I'm working on the section where admins can delete entries. When I have a user delete an entery, I have it taking out of MySQL (working fine) But how do I delete the file that was uploaded? Thanks for any help [/snip] http://www.php.net/unlink -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Delete an upload
You unlink it. Mike Message Received: Jul 17 2006, 04:26 PM From: Benjamin Adams [EMAIL PROTECTED] To: php php php-general@lists.php.net Cc: Subject: [PHP] Delete an upload I created a form where users can upload. I'm working on the section where admins can delete entries. When I have a user delete an entery, I have it taking out of MySQL (working fine) But how do I delete the file that was uploaded? Thanks for any help Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Image submit with mouse over
Skip Evans mailto:[EMAIL PROTECTED] on Friday, July 14, 2006 4:33 PM said: My apologies to all. I assumed that JS questions would be entertained as the application is within a PHP app. No need to apologize. My off-list email wasn't meant to berate but merely let you know what the purpose of this list is. But perhaps we should also field questions about how to repair motherboards since, after all, PHP runs on servers, and servers use motherboards. Or how about this one? My can't keeps walking on my keyboard while I'm trying to write a PHP page. What should I do? Thank you, you're beautiful. I'll be here all week folks. Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Image submit with mouse over
Chris W. Parker on Monday, July 17, 2006 10:23 AM said: motherboards. Or how about this one? My can't keeps walking on my keyboard while I'm trying to write a PHP page. What should I do? Okay that should be CAT, not can't. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Image submit with mouse over
On Mon, 2006-07-17 at 13:27, Chris W. Parker wrote: Chris W. Parker on Monday, July 17, 2006 10:23 AM said: motherboards. Or how about this one? My can't keeps walking on my keyboard while I'm trying to write a PHP page. What should I do? Okay that should be CAT, not can't. So you're recanting the original? -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Image submit with mouse over
Chris W. Parker wrote: Thank you, you're beautiful. I'll be here all week folks. You forgot, Enjoy the buffet. -- Skip Evans Big Sky Penguin, LLC 61 W Broadway Butte, Montana 59701 406-782-2240 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Image submit with mouse over
Chris W. Parker wrote: Chris W. Parker on Monday, July 17, 2006 10:23 AM said: motherboards. Or how about this one? My can't keeps walking on my keyboard while I'm trying to write a PHP page. What should I do? Okay that should be CAT, not can't. I thought the can't walking all over the keyboard was rather Kafka-esque ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Image submit with mouse over
[snip] I thought the can't walking all over the keyboard was rather Kafka-esque ;-) [/snip] In a rather existential sort of way. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Name in HTML input
Hi all, I am using php 4.3.2 , mysql db and Red Hat Enterprise. I have some issue regarding the name in INPUT Tag in html , as shown below: a: input name=FOX08340027hostname[] type=hidden value=FOX08340027 b: input name=FHK0924F0JG (2771890816)hostname[] type=hidden value=FHK0924F0JG (2771890816) I can get value from INPUT tag in the sample a) above , however in the sample b) , there are no value when submit form ? Anybody have any ideas to get value in the sample b? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php