[PHP] Re: replying to list (I give up)

2010-04-22 Thread O. Lavell
Michelle Konzack wrote: > Hello David McGlone, > > Am 2010-04-21 08:27:18, hacktest Du folgendes herunter: >> I give up. trying to reply to messages on this list is tedious. I can't >> pinpoint whether it's because the list is set up to make replies go to >> the OP or the OP has his reply-to in hi

Re: [PHP] open source bookshop

2010-03-17 Thread O. Lavell
Tommy Pham wrote: > Ali Reza Sajedi wrote: >> Hello all, >> >> Does anybody know a good open source bookshop/bookstore system written >> in php+mysql? > Sounds like you're looking for an e-commerce solution. You mean a webshop? > Did you search for 'open source e-commerce' ? It could be that a

Re: [PHP] Linux ERD software

2010-02-24 Thread O. Lavell
haliphax wrote: > Dia is also a superb diagramming software, though I don't think it > generates any SQL for you when it's said and done. Dia can be scripted and there is some interesting looking stuff here: (I never tried) -- PHP General Mailing Lis

[PHP] Re: Linux ERD software

2010-02-18 Thread O. Lavell
Ashley Sheridan wrote: > I don't normally need an ERD, but this latest project I'm on has some > pretty complex database tables, and as I'm working with someone else on > it, I need to plan out exactly how all the tables relate to each other > properly. Do any of you have any suggestions for ERD s

[PHP] Re: need browser auto-form predictable fill-in randomizer addon

2009-11-19 Thread O. Lavell
Daevid Vincent wrote: > I have a form with probably 100+ elements from input, checkbox, select > boxes, textareas, etc. It's extremely tedious to fill these in all the > time and submit while developing/testing. If it is tedious for you it will be tedious for your future users. And as a rule, th

Re: [PHP] Lightweight web server for Windows?

2009-11-19 Thread O. Lavell
richard wrote: > I would have recommended Omni HTTPd, but it seems it is no more. Anyone > know what happened to it? Funny, how it seems that there aren't so many choices for this in the Windows world. > Regardless, I'd recommend buying a server > (cheap or otherwise) running your target enviro

Re: [PHP] Lightweight web server for Windows?

2009-11-19 Thread O. Lavell
Peter Ford wrote: > O. Lavell wrote: >> >> Also, it is not for daily use. I have two desktop computers and a >> server for that. This is for when I have to go by train or something. >> >> Essentially it is just an extra plaything. >> >> > Does

Re: [PHP] Lightweight web server for Windows?

2009-11-18 Thread O. Lavell
Daevid Vincent wrote: > Out of curiosity, if this is just for coding, and you're already a Linux > guy, why not just install a lightweight linux flavor on the laptop > instead of WF/XP? This is a rather prehistoric (Windows 98 era) laptop, a Compaq Armada 1700 with 266 MHz CPU. Somewhere along t

[PHP] Re: Lightweight web server for Windows?

2009-11-18 Thread O. Lavell
Manuel Lemos wrote: > Hello, > > on 11/15/2009 07:00 PM O. Lavell said the following: [..] >> My initial thought was to install Lighttpd under Cygwin, but perhaps I >> would be missing out on some great little server program that I have >> not yet heard about. >

Re: [PHP] Lightweight web server for Windows?

2009-11-18 Thread O. Lavell
Jonathan Tapicer wrote: > Try nginx (http://nginx.net/), very light, has a Windows binary > distribution and can be configured easily for PHP. Sorry for my late reply, and thank you for this suggestion. I am now trying nginx and it looks very promising so far. It seems to be both a very simple

[PHP] Lightweight web server for Windows?

2009-11-15 Thread O. Lavell
What do people on this list use as an ultra-lightweight web server (with PHP capability of course) on Windows? I have an old but still well functioning laptop that I have just given a second life by installing Windows Fundamentals (a stripped down version of XP). This works surprisingly well. S

[PHP] Re: What method is best for generating thumbnails in PHP from PDF's?

2009-11-12 Thread O. Lavell
Chris Payne wrote: > Hi Everyone, > > I have been asked to create thumbnails from the first page of a PDF > document on the fly with PHP, I have looked online but am confused as > there doesn't seem 1 simple solution. > > What would you all recommend as an easy way to do this? > > Any help woul

[PHP] Re: What PHP version are you using?

2009-11-02 Thread O. Lavell
Israel Ekpo wrote: > Hi Guys, > > I just want to conduct a quick survey to find out what version of PHP > people are using in their production environments. A few days late to answer perhaps, but in case you still want another reply: I use 5.2.6, the version that comes with Debian "Lenny". I do

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread O. Lavell
Dotan Cohen wrote: > It's called "vacation away from the 'net but there is an emergency". I'm > certain that a fair portion of the list is familiar with that! I haven't the slightest idea what you are talking about. Vacation? Away from the net? We must be from different planets... -- PHP Gen

[PHP] Re: After browser quit

2009-08-30 Thread O. Lavell
Wouter van Eekelen wrote: > After a little search it seems to be possible to do that within php, > see: > > http://nl.php.net/manual/en/function.register-shutdown-function.php > > This will call a function when the browser is stopped. No, it will certainly not. > Exactly what I needed! :) Than

[PHP] Re: Best way to test for form submission?

2009-08-29 Thread O. Lavell
Shawn McKenzie wrote: > Adam Jimerson wrote: >> This question might give away the fact that I am a php noob, but I am >> looking for the best way to test for form submission in PHP. [..] > Just to throw it into the mix: > > if(!empty($_POST)) for a general test of whether any form was posted. T

Re: [PHP] clean url problem .htaccess

2009-08-01 Thread O. Lavell
A.a.k wrote: > what if I don't have access to server to enable mod_rewrite like a > hosting, is there anyway to work around? No. > just don't want to build entire website and finally can't get a hosting > to enable mod_rewrite for me. Then make it a requirement when you are choosing a (shared)

[PHP] Re: redirect to a static page

2009-06-20 Thread O. Lavell
Vit wrote: > Hi all, > > I'm trying to understand how to redirect to a static page > > here you are the code (it seem to be a stupid code, but I'm just > debugging. > > > header( "Location: http://www.google.com"; ); > ?> > > instead of being redirect to www.google,com, I get t

[PHP] Re: looking for source to pull data (price of oil)

2009-06-16 Thread O. Lavell
Kurrent wrote: > I am just simply looking for the price of nymex crude future ( see > http://www.bloomberg.com/energy/). > > Any sources or other idea would be much appreciated. Thanks! This seems to work: http://www.bloomberg.com/energy/";)); $search = "Nymex Crude Future"; $start = strpos($pa

[PHP] Re: SHOULD I NOT USE "ELSE" IN IF STATEMENTS....?

2009-06-09 Thread O. Lavell
Colin Guthrie wrote: > 'Twas brillig, and O. Lavell at 08/06/09 16:33 did gyre and gimble: [..] > So personally I like early return. I use it mostly to cut down brace and > indentation churn. I try to keep code into 80 cols and if 40 of them are > used up with indents that d

Re: [PHP] Re: SHOULD I NOT USE "ELSE" IN IF STATEMENTS....?

2009-06-08 Thread O. Lavell
Dee Ayy wrote: > It's for better code. > > Personally, I'm trying to get away from multiple return/exit paths, Hurray for you :) [..] > At a minimum, I would change this: > > function doThisAndThat($bTrueOrFalse) { > if ($bTrueOrFalse) > { > return 'It is true'; > } > >

[PHP] Re: SHOULD I NOT USE "ELSE" IN IF STATEMENTS....?

2009-06-08 Thread O. Lavell
adam.timberlake wrote: > Im reading this post and i donnot understand how i should write my code: > http://www.talkphp.com/absolute-beginners/4237-curly- brackets.html#post23720 > > Does it mean that i am to not write else statements in my ifs? or is it > just saying it is something i should avoi

Re: [PHP] Re: Displaying images

2009-05-28 Thread O. Lavell
Miller, Terion wrote: [..] > header("Content-type: img/jpeg"); [..] > This page isn't working and if I try to browse this page it wants to > open it with an editor, it won't view in the browser. > > What am I doing wrong? Is it the code or the data? "Content-type: img/jpeg" is undefined, the

[PHP] Re: Really basic PHP questions -- newbie here!

2009-05-21 Thread O. Lavell
Ellen Heitman wrote: > Hello! I would really appreciate some answers to a few basic questions. > I have done some research online, but it would greatly help me to get > direct answers. > 1. If my site needs to be available to many browsers, including those > that may not be entirely up-to-date, is

[PHP] Re: -less layouts; Ideas welcome

2009-05-21 Thread O. Lavell
Jim Lucas wrote: > Since this has been a topic of dicussion, I figured I would add my > thoughts. > > I have been toying with the idea of doing a -less layouts > involving tabular data, calendars, etc... Why? > Recent threads have finally made me do it. Let me know what you think. > > http://

[PHP] Re: SQL help?

2009-05-18 Thread O. Lavell
Skip Evans wrote: > Hey all, > > I have a SQL requirement I'm not quite sure how to compose. > > I have two tables, shows, and shows_dates. It's a one to many > relationship where there is a single entry in shows and multiple entries > in shows_dates that list each date and time for a play produ

[PHP] Re: Generating dynamic PDFs

2009-05-05 Thread O. Lavell
Kevin Kaiser wrote: [..] > All you have to do is sign up for an API key, upload your document > templates and POST data to our server. We handle everything else. A > stream of PDF data is passed back to your application and you can save > it as a file, prompt the user to download it right then an

[PHP] Re: PHP class or functions to manipulate PDF metadata?

2009-04-07 Thread O. Lavell
Peter Ford wrote: > O. Lavell wrote: >> Peter Ford wrote: [..] >>> I do accept that the metadata should be machine-readable: that part of >>> your project is reasonable and I'm fairly sure that ought to be >>> possible with something simple. The b

Re: [PHP] Re: PHP class or functions to manipulate PDF metadata?

2009-04-06 Thread O. Lavell
tedd wrote: [..] > All the attempts I have done into opening up a PDF file and then trying > to make sense of it and put it back together with something changed have > been absolute failures. > > The algorithm used to make a PDF file reminds me of a replacement-type > compression technique -- it

[PHP] Re: PHP class or functions to manipulate PDF metadata?

2009-04-06 Thread O. Lavell
Peter Ford wrote: > O. Lavell wrote: [..] >> Any and all suggestions are welcome. Thank you in advance. >> > So many people ask about manipulating, editing and generally processing > PDF files. In my experience, PDF is a write-once format - any > manipulation should ha

[PHP] PHP class or functions to manipulate PDF metadata?

2009-04-03 Thread O. Lavell
Hi group, I am looking for an easy way to manipulate (read, write) the metadata (title, subject, keywords, author) in PDF files through PHP. Most PHP/PDF solutions I have found so far (through Google) are aimed at constructing PDFs from text and graphics, with lots of fancy features, but most