[PHP] Re: Permissions

2013-08-27 Thread David Robley
no matter what you ask apache to serve from that directory. You have the directory permissions set to 776 not 777. -- Cheers David Robley Steal this tagline and I'll tie-dye your cat! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Permissions

2013-08-27 Thread David Robley
Ashley Sheridan wrote: On Tue, 2013-08-27 at 16:16 +0930, David Robley wrote: Ethan Rosenberg wrote: Dear List - Tried to run the program, that we have been discussing, and received a 403 error. rosenberg:/var/www# ls -la StoreInventory.php -rwxrwxrw- 1 ethan ethan 4188 Aug

Re: [PHP] exec and system do not work

2013-08-26 Thread David Robley
) have pointed out, there are php functions to do what you want without introducing the possible insecurities involved with system et al. -- Cheers David Robley Don't try to pull the wool over my eyes, Tom said sheepishly. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] exec and system do not work

2013-08-26 Thread David Robley
Ethan Rosenberg, PhD wrote: Ethan Rosenberg, PhD /Pres/CEO/ *Hygeia Biomedical Research, Inc* 2 Cameo Ridge Road Monsey, NY 10952 T: 845 352-3908 F: 845 352-7566 erosenb...@hygeiabiomedical.com On 08/26/2013 07:33 PM, David Robley wrote: Ethan Rosenberg wrote: On 08/26/2013 11

[PHP] Re: How to upstream code changes to php community

2013-08-12 Thread David Robley
David Robley Enter any 11-digit prime number to continue... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Include/Require limit?

2013-05-30 Thread David Robley
size, so my question; Is there a size limitation for include? Best regards Do you get an error message? Try removing the header() in the image output and see what happens. -- Cheers David Robley PARANOID:Paying MORE for Surge-Protectors than Computers -- PHP General Mailing List (http

[PHP] Re: Doing something wrong?

2013-05-21 Thread David Robley
you make clean after reconfiguring before re-compiling php? According to https://bugs.php.net/bug.php?id=63611 that may be a cause. -- Cheers David Robley An ulcer is what you get mountain climbing over molehills. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Re: mysql_connect noob question

2013-04-21 Thread David Robley
the documentation page for mysql_connect, in particular the Server parameters part. SNIP I assume you have taken notice of the warnings in the documentation about deprecation of the mysql_ functions in favour of mysqli_ or PDO. -- Cheers David Robley Multitasking: Reading in the bathroom -- PHP

Re: [PHP] mysql_connect noob question

2013-04-19 Thread David Robley
and mysql are on the same server, it shouldn't need to be anything other than 'localhost'. -- Cheers David Robley A man's best friend is his dogma. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Is BBCode Installed

2013-04-10 Thread David Robley
info. -- Cheers David Robley Some people are afraid of heights. I'm afraid of widths -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Is BBCode Installed

2013-04-10 Thread David Robley
Stephen wrote: On 13-04-10 10:59 PM, David Robley wrote: I ran phpinfo() on my host and searched for BBCode. Not found. Does this mean that the extension is not installed? If not, how can I tell? Thanks BBCode isn't a php extension, but may be implemented using php or other languages

Re: FW: [PHP] Accessing Files Outside the Web Root

2013-03-13 Thread David Robley
non-commercial genealogical works, primarily pages that are part of the USGenWeb Project, which is perhaps the largest of all non-commercial genealogical projects. readfile() is probably where you want to start, in conjunction with a captcha or similar -- Cheers David Robley Catholic (n

Re: [PHP] Mystery foreach error

2013-03-12 Thread David Robley
for getting me to look at the array again, which led me to look at the State. Angela Presumably there is a fixed list of State - those are US states? - so why not provide a drop down list of the possible choices? -- Cheers David Robley I need to be careful not to add too much water, Tom

Re: [PHP] Not counting my own page visits

2013-03-04 Thread David Robley
; ? -- Cheers David Robley Oxymoron: Sisterly Love. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] parsing select multiple=multiple

2013-02-18 Thread David Robley
for multiple) and http://www.php.net/manual/en/faq.html.php#faq.html.select-multiple -- Cheers David Robley Know what I hate? I hate rhetorical questions! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Newbie is trying to set up OOP With PHP and MySQL or MySQLi database class (using CRUD)

2013-02-15 Thread David Robley
...@gmail.com [db-3] -- Cheers David Robley My karma ran over my dogma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PDO mysql Connection issue

2012-11-28 Thread David Robley
server1.mydomain.com The most likely problem is that on server2.mydomain.com you do not have mysql privileges for u...@server1.mydomain.com -- Cheers David Robley People in the passing lane that don't pass will be shot. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: php form action breaks script

2012-06-14 Thread David Robley
in single quotes, and contains a string in ?php tags. Try something like echo 'br /br /form action=' . $_SERVER['PHP_SELF'] . ' method=post ...etc Cheers -- David Robley I haven't had any tooth decay yet, said Tom precariously. Today is Sweetmorn, the 20th day of Confusion in the YOLD 3178

[PHP] Re: MySQL and PHP weirdness

2012-02-14 Thread David Robley
be suspicious of your code :-) It might be helpful for you to post relevant part(s) ofthe actual code you are using. Cheers -- David Robley Man who run behind car get exhausted. Today is Sweetmorn, the 46th day of Chaos in the YOLD 3178. -- PHP General Mailing List (http://www.php.net

[PHP] Re: Novice MySQL problem

2011-11-14 Thread David Robley
is. Personally I never use auto-inc fields. That statement tells us you have a poor understanding of the concept of relational databases, or you don't use relational tables. Cheers -- David Robley Sure, it's clean laundry. The cat's sitting on it, isn't he? Today is Pungenday, the 26th day

[PHP] Re: Novice MySQL problem

2011-11-14 Thread David Robley
never use auto-inc fields.' Cheers -- David Robley Useless Invention: Kickstand for a tank. Today is Pungenday, the 26th day of The Aftermath in the YOLD 3177. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Exporting large data from mysql to html using php

2011-10-27 Thread David Robley
Jim Giner wrote: David Robley robl...@aapt.net.au wrote in message news:49.50.34068.1b567...@pb1.pair.com... Consider running EXPLAIN on all your queries to see if there is something Mysql thinks could be done to improve performance. Why do so many responders seem to think the problem

Re: [PHP] Exporting large data from mysql to html using php

2011-10-25 Thread David Robley
enough to set a variable... Just need to see if I can integrate that with the pagination... Back to the drawing board! :) Consider running EXPLAIN on all your queries to see if there is something Mysql thinks could be done to improve performance. Cheers -- David Robley Why do they put

[PHP] Re: Exporting large data from mysql to html using php

2011-10-24 Thread David Robley
of storing them full size and using the browser to resize them? That would have the potential to cause long load times. Cheers -- David Robley Give me some chocolate and no one gets hurt! Today is Pungenday, the 6th day of The Aftermath in the YOLD 3177. -- PHP General Mailing List (http

[PHP] Re: Processing newlines in a text area field

2011-10-14 Thread David Robley
, newlines and spaces, as a space, unless you wrap the text in PRE tags. To display a line break where your text contains EOL characters, use nl2br() Cheers -- David Robley Hm..what's this red button fo:=/07NO CARRIER Today is Boomtime, the 68th day of Bureaucracy in the YOLD 3177. -- PHP

Re: [PHP] Re: Processing newlines in a text area field

2011-10-14 Thread David Robley
On Fri, 14 Oct 2011, you wrote: On 11-10-14 03:40 AM, David Robley wrote: I have a web page with a form with a text area. I enter: foo bar PHP processes the POST and inserts the record into MySQL. The database field is text. I use PDO For testing I have removed any

Re: Re: [PHP] Multiple SQLite statements

2011-10-11 Thread David Robley
-exec.php That's the SQLite interface, though, rather than the SQLite3 one. The latter just says: Executes an SQL query -- Cheers -- Tim Not to be a smartass or anything, but what about TIAS ? Cheers -- David Robley I don't eat snails... I prefer FAST food! Today is Prickle

Re: Re: Re: [PHP] Multiple SQLite statements

2011-10-11 Thread David Robley
Tim Streater wrote: On 11 Oct 2011 at 10:47, David Robley robl...@aapt.net.au wrote: Tim Streater wrote: On 11 Oct 2011 at 03:03, Paul M Foster pa...@quillandmouse.com wrote: On Mon, Oct 10, 2011 at 04:14:00PM +0100, Tim Streater wrote: I would like to use the SQLite3 (not PDO

[PHP] Re: Dreaded Premature end of script headers

2011-08-26 Thread David Robley
the offending code. Cheers -- David Robley When I was a kid, I was an imaginary playmate. Today is Pungenday, the 19th day of Bureaucracy in the YOLD 3177. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: testing

2011-08-05 Thread David Robley
means eligible for discontinuation, since only about six people use it in any given year. /me wonders who the other five are :-) Cheers -- David Robley I've mixed up my gloves, Tom said intermittently. Today is Boomtime, the 71st day of Confusion in the YOLD 3177. -- PHP General Mailing

[PHP] Re: Installing PHP

2011-07-06 Thread David Robley
to check the error logs first. As you become more familiar with managing apache yourself, you will learn that checking the error log is the 0th thing to do with any apache or apache related problem, including 500 errors from CGI scripts and checking for php errors. Cheers -- David Robley Windows

[PHP] Re: Installing PHP

2011-07-05 Thread David Robley
welcome. And for those who still love the USofA, Happy Independence Day! If you are having problems starting apache, the first place to look is your apache error log. Cheers -- David Robley On a radiator repair shop: Best place to take a leak. Today is Sweetmorn, the 40th day of Confusion

[PHP] Re: advice on how to build this array from an array.

2011-06-08 Thread David Robley
is this array created? If it is from a database, you could probably modify the query to give you what you want. Cheers -- David Robley Show me a sane man. I'll cure him for you. Today is Prickle-Prickle, the 13rd day of Confusion in the YOLD 3177. -- PHP General Mailing List (http

Re: [PHP] Announcing New PHP Extension: System Detonation Library (was: phpsadness)

2011-06-04 Thread David Robley
extension, which provides a single function: detonate(). Third, you can read about it and download it here: http://links.parasane.net/29nh That's all, folks. Did you look at the source before you compiled it? Cheers -- David Robley Useless Invention: Open Toed Safety Shoes. Today

Re: [PHP] Announcing New PHP Extension: System Detonation Library (was: phpsadness)

2011-06-04 Thread David Robley
read about it and download it here: http://links.parasane.net/29nh That's all, folks. Daniel, your work here is done :-) For the others, please just read the source of the extension - detonate.c is where you need to look. Rofl Cheers -- David Robley I won't stand for painting, said Tom

[PHP] Re: Filtering data not with mysql...

2011-05-18 Thread David Robley
- as you aren't using a database, you don't need them here. For the display you'll want to make sure that html entities are rendered correctly, so process with htmlentities or htmlspecialchars for display. There is probably nothing you need to do to the emailed version. Cheers -- David Robley Honey

Re: [PHP] An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind Reading

2011-05-17 Thread David Robley
where Mr Wossname lives :-) Cheers -- David Robley , said Tom blankly. Today is Boomtime, the 64th day of Discord in the YOLD 3177. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php-general Digest 5 May 2011 21:55:09 -0000 Issue 7299

2011-05-06 Thread David Robley
. For example, a table is created in the required gnuplot data file format so the command for gnuplot would be something like: plot SELECT * FROM gnuplotdatatable; But can't see a php command to start gnuplot in the first step. Any help please? You might find jpgraph useful. Cheers -- David

[PHP] Re: Installing on a Mac: include_path issues

2011-05-04 Thread David Robley
remember correctly, include and friends have two parts to the error message but you've only shown us one. For a guess, is it possible the apache process doesn't have permissions for those directories and/or the files within them? Cheers -- David Robley I've got Parkinson's disease. And he's got

Re: [PHP] postgresql database access failure

2011-05-01 Thread David Robley
the code that is relevant to your problem, so in this case it would help, for example, to see how you are making the connection to pgsql and how the $query variable is populated. Cheers -- David Robley A seminar on Time Travel will be held two weeks ago. Today is Boomtime, the 49th day of Discord

[PHP] Re: htaccess question

2011-04-26 Thread David Robley
://httpd.apache.org/docs/2.2/howto/htaccess.html http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html#allow Cheers -- David Robley To be, or not to be, those are the parameters. Today is Sweetmorn, the 43rd day of Discord in the YOLD 3177. -- PHP General Mailing List (http://www.php.net

[PHP] Re: How to write a PHP coding to list out all files and directories as links to them?

2011-04-14 Thread David Robley
. Alternatively you can use the SPL DirectoryIterator class http://php.net/manual/en/class.directoryiterator.php http://php.net is your first resource for php Cheers -- David Robley Hm..what's this red button fo:=/07NO CARRIER Today is Setting Orange, the 32nd day of Discord in the YOLD 3177. -- PHP

[PHP] Re: a shortcut to set variable

2011-04-12 Thread David Robley
Joe Francis wrote: eh, I just want to get a shortcut like $id = isset($_GET['id']) ? $_GET['id'] : 0; BTW, I'm using PHP5.3+, thanks bros. That should work - what is not happening that you expect to happen, or the other way round? Cheers -- David Robley The best way to keep

[PHP] Re: putting variables in a variable

2011-03-25 Thread David Robley
examples of what you have tried and how it didn't work as you expected. Cheers -- David Robley Terminal glare: A look that kills... Today is Setting Orange, the 12nd day of Discord in the YOLD 3177. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Re: echo?

2011-03-23 Thread David Robley
of the entity. I think this was pointed out elsewhere but I believe it deserves repeating. Cheers -- David Robley Sumo Wrestling: survival of the fattest. Today is Pungenday, the 10th day of Discord in the YOLD 3177. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: Sorting an array

2011-03-01 Thread David Robley
in the documentation, or at least try there first, by now? Cheers -- David Robley Do fish get thirsty? Today is Setting Orange, the 60th day of Chaos in the YOLD 3177. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New to list and to PHP

2011-02-19 Thread David Robley
forward to learning and participating. Fantastic. As the new guy, you're expected to sweep the floors here each Tuesday and Saturday evening. Lesson one: buy a broom. A shovel might also be useful - Dan forgot to mention the stables... Cheers -- David Robley On a radiator repair shop

Re: [PHP] Finding split points in an article for inserting ads

2011-02-15 Thread David Robley
after the round($amount/3*2)-th /p. --- Simon Welsh Try substr_count ?? Cheers -- David Robley Sure, it's clean laundry. The cat's sitting on it, isn't he? Today is Boomtime, the 47th day of Chaos in the YOLD 3177. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Re: bread and buytter php

2011-02-04 Thread David Robley
On Sat, 5 Feb 2011, Kirk Bailey wrote: If I wanted to reinvent the wheel, I would not have wasted the list's bandwidth, I would go burn the hours I do not have to spare on rewriting things already written years before by someone else. On 2/4/2011 12:46 AM, David Robley wrote: Kirk Bailey

[PHP] Re: bread and buytter php

2011-02-03 Thread David Robley
Kirk Bailey wrote: Where is a good place for bread and butter day in day out routinely needed functionality in php? Content management system? Framework? PEAR? Write your own library/classes? Cheers -- David Robley Iraqi Bingo B-52..F-16..A-10.. F-18..F-117..B-2 Today is Setting Orange

Re: [PHP] nl2br problem

2011-02-01 Thread David Robley
David Hutto wrote: If project names are indications of programmer's Freudian insights, then what is the FCKEditor? Perhaps that questions should be asked of the lead developer's parents, who had the temerity to name him Frederico Caldeira Knabben. Cheers -- David Robley I need an injection

Re: [PHP] No SMTP server? Can't get mail()

2011-01-24 Thread David Robley
Paul S wrote: On Sun, 23 Jan 2011 12:40:25 +0700, David Robley robl...@aapt.net.au wrote: Paul S wrote: I'm a little new to PHP. David starts: Nobody seems to have mentioned it, but the SMTP info is only needed on a Win system. The following is an extract from a default php.ini file

Re: [PHP] No SMTP server? Can't get mail()

2011-01-22 Thread David Robley
be functional; if mail() is returning true then your next step in the debug process would be to check the mail logs, if they are accessible to you. On the other hand, using an SMTP class will give you a bit more functionality. Cheers -- David Robley Supernovae are a Blast Today is Pungenday, the 23rd day

Re: [PHP] Re: query strings and other delights

2011-01-13 Thread David Robley
of looking up a specific function. Cheers -- David Robley Diagonally parked in a parallel universe. Today is Prickle-Prickle, the 14th day of Chaos in the YOLD 3177. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: HTML errors

2011-01-11 Thread David Robley
=services Cheers -- David Robley I'll take that, said Tom appropriately. Today is Boomtime, the 12nd day of Chaos in the YOLD 3177. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Re: Re: PHP extension for equivalen of getent?

2011-01-08 Thread David Robley
Michelle Konzack wrote: Hello David Robley, Am 2011-01-08 16:25:38, hacktest Du folgendes herunter: You might find http://xchm.sourceforge.net/ useful :-) [ 'apt-cache policy xchm' ]- xchm: Installiert: 2:1.14-4 Kandidat: 2:1.14-4

[PHP] Re: Re: Re: PHP extension for equivalen of getent?

2011-01-07 Thread David Robley
might find http://xchm.sourceforge.net/ useful :-) Cheers -- David Robley Everyone has photographic memory...some don't have film! Today is Pungenday, the 8th day of Chaos in the YOLD 3177. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie Question

2011-01-01 Thread David Robley
!; ? And normally would need to be saved as a .php file so the contents will be handled by php. Cheers -- David Robley A fool and his money are my two favourite people. Today is Boomtime, the 2nd day of Chaos in the YOLD 3177. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] code quest - ECHO?!?

2010-12-12 Thread David Robley
for this newbie. The documentation says it all better than I can: http://php.net/manual/en/function.echo.php http://php.net/manual/en/function.print.php Cheers -- David Robley OPERATOR! Trace this call and tell me where I am. Today is Sweetmorn, the 54th day of The Aftermath in the YOLD

Re: [PHP] Template engines

2010-11-11 Thread David Robley
On Thu, 11 Nov 2010, Robert Cummings wrote: On 10-11-11 02:20 AM, David Robley wrote: Daniel P. Brown wrote: On Wed, Nov 10, 2010 at 20:59, Nathan Rixhamnrix...@gmail.com wrote: I went back to using a pre hypertext processor, seemed like a really powerful templating engine that was v

Re: [PHP] Template engines

2010-11-10 Thread David Robley
- the acronym sounds familiar :-) Cheers -- David Robley Coming Soon!! Mouse Support for Edlin!! Today is Setting Orange, the 23rd day of The Aftermath in the YOLD 3176. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Disabling an extension on a perdir basis.

2010-09-12 Thread David Robley
#ini.engine Rather well hidden - took me a few minutes to dig it out :-) Cheers -- David Robley If you would know a man, observe how he treats a cat. Today is Setting Orange, the 36th day of Bureaucracy in the YOLD 3176. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: Text editor for Ubuntu with FTP

2010-07-31 Thread David Robley
the time of year for an editor thread again :-) Have a look at http://www.php-editors.com/ or http://en.wikipedia.org/wiki/List_of_PHP_editors or even google php editor As for best that can be very subjective depending on what _you_ want the editor to do. Cheers -- David Robley System going

[PHP] Re: eval and HEREDOC

2010-07-20 Thread David Robley
for any kind of solution to my problem. Thank you! Possibly your php environment has short-tags turned off. Cheers -- David Robley To save trouble later, Joe named his cat Roadkill Fred Today is Boomtime, the 56th day of Confusion in the YOLD 3176. -- PHP General Mailing List (http

Re: [PHP] NULL Date Entries...

2010-07-02 Thread David Robley
... Cheers -- David Robley Kids-They're not sleeping, they're recharging! Today is Pungenday, the 37th day of Confusion in the YOLD 3176. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: NULL Date Entries...

2010-07-02 Thread David Robley
to accept a null date, check what your DB does with it and whether you can set a default for an empty date. Mysql for example can use -00-00 Cheers -- David Robley Microsoft - We put the backwards into backwards compatibility. Today is Pungenday, the 37th day of Confusion in the YOLD 3176

RE: [PHP] Forward to a Different PHP Script?

2010-05-11 Thread David Robley
. With the warning that there should be no output before the call to header; but see also output buffering if needed. Cheers -- David Robley I owe, I owe, it's off to work I go. Today is Sweetmorn, the 58th day of Discord in the YOLD 3176. -- PHP General Mailing List (http://www.php.net

Re: [PHP] replying to list

2010-04-21 Thread David Robley
and not on the toolbar :-/ ) Thanks, Ash http://www.ashleysheridan.co.uk This is an oldie but I think it is still a goodie in respect of this discussion. http://www.unicom.com/pw/reply-to-harmful.html Cheers -- David Robley On an electrician's truck: Let Us Remove Your Shorts Today

[PHP] Re: Server-side postscript-to-PDF on-the-fly conversion

2010-03-26 Thread David Robley
postscript pdf or similar might turn up other options. Cheers -- David Robley To a cat, NO! means Not while I'm looking. Today is Sweetmorn, the 13rd day of Discord in the YOLD 3176. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Event Handling

2010-03-15 Thread David Robley
an application at regular intervals down to a minute granularity. There are some web-based cron services also, but they may not have the same granularity as a locally based cron. Cheers -- David Robley Wow! barked Tom, with a bow. Today is Prickle-Prickle, the 1st day of Discord in the YOLD 3176

[PHP] Re: PHP in HTML code

2010-03-12 Thread David Robley
. Cheers -- David Robley A conclusion is simply the place where you got tired of thinking. Today is Boomtime, the 72nd day of Chaos in the YOLD 3176. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: App to put a whole PHP Site in CD/DVD

2010-03-04 Thread David Robley
stick the mirror on a CD with an appropriate autorun.inf if you want it to autostart. Cheers -- David Robley Sure, it's clean laundry. The cat's sitting on it, isn't he? Today is Pungenday, the 63rd day of Chaos in the YOLD 3176. -- PHP General Mailing List (http://www.php.net

[PHP] Re: [php] [mysql] select and subselect

2009-11-17 Thread David Robley
not help you either, as the (optional) argument should be a link identifier, not a string of your choosing. Cheers -- David Robley MS-DOS: celebrating ten years of obsolescence Today is Sweetmorn, the 29th day of The Aftermath in the YOLD 3175. -- PHP General Mailing List (http://www.php.net

Re: [PHP] windows 5.2.10 PHP not working with phpinfo

2009-08-31 Thread David Robley
The instructions ramble around Hmm, if there is a 500 error there should be entries in the apache error log which probably give a pointer to the problem. Cheers -- David Robley I'll pay off that customs official, said Tom dutifully. Today is Pungenday, the 24th day of Bureaucracy in the YOLD

[PHP] Re: Rounding down?

2009-08-22 Thread David Robley
to present a factual statement: There have been over ### subscribers in 2009 type of scenereo. Ron Modulus - http://php.net/manual/en/language.operators.arithmetic.php Cheers -- David Robley Oxymoron: Split level. Today is Prickle-Prickle, the 15th day of Bureaucracy in the YOLD 3175

Re: [PHP] Invoking functions stored in a separate directory?

2009-08-22 Thread David Robley
Clancy wrote: $ok = include (HOST_PATH.'/Halla.php'); Because you are assigning the result of the include to a variable. Try include (HOST_PATH.'/Halla.php'); and it will work as you expect. And similarly for define ('HOST_PATH','../Engine'); Cheers -- David Robley Dynamic linking

Re: [PHP] open source forum

2009-07-26 Thread David Robley
. Cheers -- David Robley After a number of decimal places, nobody gives a damn. Today is Boomtime, the 61st day of Confusion in the YOLD 3175. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: A form and an array

2009-07-23 Thread David Robley
/td tdinput value=submit name=submit type=submit //td /tr /table /table/form You'll find they are already in an array which you can access as $_POST['option'] - from there foreach() should be the next step. Cheers -- David Robley Polls show that 9 out of 6 schizophrenics agree

[PHP] Re: Sub Menu System?

2009-07-17 Thread David Robley
://www.sitepoint.com/print/hierarchical-data-database/ for the concepts; scroll down to Modified Preorder Tree Traversal. There seem to be a few nested set classes out there to manage this sort of structure, e.g. http://www.edutech.ch/contribution/nstrees/index.php or search on nested trees. Cheers -- David

Re: [PHP] When did you start here? Was - RFC/Survey for Our Newer Folks

2009-07-13 Thread David Robley
think!). Although I find contributions to other mailing lists back as far as 1995. $deity, I must be getting old. Checks birth year, notes it was in the first half of last century and goes off to polish and oil the walking frame Cheers -- David Robley I have enough trouble single-tasking! Today

[PHP] Re: Call to object function, want to PHP interpret returned string

2009-07-06 Thread David Robley
with a .php extension, and your server is set to only parse php in files with a .php extension. Cheers -- David Robley If you saw a heat wave, would you wave back? Today is Boomtime, the 41st day of Confusion in the YOLD 3175. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Re: Call to object function, want to PHP interpret returned string

2009-07-06 Thread David Robley
John Allsopp wrote: David Robley wrote: John Allsopp wrote: Hi At the top of a webpage I have: ?php include_once(furniture.php); $myFurniture = new furniture(); echo $myFurniture-getTop(my company title); ? to deliver the first lines of HTML, everything in HEAD and the first

Re: [PHP] supplied argument errors

2009-06-24 Thread David Robley
mysql_error() as aids to debugging errors with mysql ??? Cheers -- David Robley Imagery is All In The Mind. Today is Setting Orange, the 29th day of Confusion in the YOLD 3175. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Dynamic Titles

2009-06-12 Thread David Robley
['SERVER_NAME'].$_SERVER['REQUEST_URI']; $url = 'http://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; Cheers -- David Robley Life is only as long as you live it. Today is Pungenday, the 17th day of Confusion in the YOLD 3175. -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Re: Dynamic Titles

2009-06-12 Thread David Robley
should become Newtuts Help. But instead, it just says echo $title. Any more ideas? Austin Caudill --- On Fri, 6/12/09, David Robley robl...@aapt.net.au wrote: From: David Robley robl...@aapt.net.au Subject: [PHP] Re: Dynamic Titles To: php-general@lists.php.net Date: Friday, June 12

[PHP] Re: Display Image

2009-05-25 Thread David Robley
there should be an error message. Cheers -- David Robley Oxymoron: Rap Music. Today is Setting Orange, the 72nd day of Discord in the YOLD 3175. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php dev environment

2009-05-25 Thread David Robley
! I'm sure someone once said that emacs would make a great operating system, if only it had a decent editor :-) Cheers -- David Robley I am Homer of Borg. Prepare to be... h donuts... Today is Setting Orange, the 72nd day of Discord in the YOLD 3175. -- PHP General Mailing List (http

Re: [PHP] Strange charecters

2009-03-05 Thread David Robley
the ?php of your files Or a trailing space after the ? of any include files. Or a byte order mark at the beginning of a file saved as unicode Cheers -- David Robley Some things have got to be believed to be seen. Today is Prickle-Prickle, the 64th day of Chaos in the YOLD 3175. -- PHP

[PHP] Re: verify text in field

2009-02-26 Thread David Robley
); } if ($row[title] == ) echo (Empty!) ? In addition to other answers, don't forget to escape the string you are passing to the query with mysql_real_escape_string(), otherwise your query will have problems with some characters e.g. apostrophe. Cheers -- David Robley I refuse

Re: [PHP] Re: Simple Search Logic Issue...

2009-02-17 Thread David Robley
Bastien Koert wrote: [snip] For example LIKE 'c' will only match a field that contains just 'c' LIKE '%c' will match a field starting with 'c' and containing any number of characters [/snip] Cheers -- David Robley Make like a banana and split. Today is Sweetmorn, the 46th day

[PHP] Re: Simple Search Logic Issue...

2009-02-15 Thread David Robley
or not, and only include set values in the query. OT: sprintf syntax is so hard to read :-) Cheers -- David Robley Make like a banana and split. Today is Sweetmorn, the 46th day of Chaos in the YOLD 3175. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: More questions about SESSION use

2009-01-31 Thread David Robley
active? Should I be not using the header part (honestly I havent read up on that chapter yet) Are you using session_start()? Cheers -- David Robley The Hubbell works fine; all that stuff IS blurry! Today is Boomtime, the 32nd day of Chaos in the YOLD 3175. -- PHP General Mailing List (http

[PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread David Robley
get a 500 Internal Server error: IsapiModule / ExecuterequestHandler. I'm stumped! Any help please or pointers. Thanks Gary The first thing when you get a 500 error, which is a server error not php, is to check the server error log. Cheers -- David Robley The best defense against logic

RE: [PHP] checking local file size

2008-12-17 Thread David Robley
-beta Cannot install, php_dir for channel pecl.php.net is not writeable by the current user .com/ Um, sudo? Or be root when you install as the PEAR/PECL structure is usually owned by root. Cheers -- David Robley This is a sick bird, said Tom illegally. Today is Sweetmorn, the 59th day

Re: [PHP] Good PHP book?

2008-12-17 Thread David Robley
on a C-64 1541 drive. What? They were cross platform? I recall copping Michaelangelo on Win 3.n from some commercial software floppy. Not nice - it cleaned out the FAT or something equally nasty. A reinstall was called for :-) Cheers -- David Robley I already showed you how to do that, Tom

Re: [PHP] Good PHP book?

2008-12-17 Thread David Robley
Lupus Michaelis wrote: Daniel Brown a écrit : You'd be surprised. The For Dummies series is one of the best-selling franchises in mainstream publishing history. Best-selling are not a proof of quality. Viz: Windows Version xx.x Cheers -- David Robley Windows: XT emulator

[PHP] Re: Days until Easter and Christmas

2008-11-15 Thread David Robley
the year value by one when you define $next_[holiday] Cheers -- David Robley He who always plows a straight furrow is in a rut. Today is Setting Orange, the 28th day of The Aftermath in the YOLD 3174. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: Missing DLLs

2008-11-13 Thread David Robley
-- David Robley We now return you to your regularly scheduled flame-throwing Today is Boomtime, the 25th day of The Aftermath in the YOLD 3174. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] take me off the list

2008-11-05 Thread David Robley
-- David Robley Dain Bramaged. Today is Prickle-Prickle, the 17th day of The Aftermath in the YOLD 3174. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Politics

2008-10-22 Thread David Robley
tried restarting Apache? :) no, no, no, she said painfully, she must be using IIS... :) Try upgrading all your drivers and then restarting... No - reboot, reinstall, reinstall Windows. Cheers -- David Robley To err is human. To really screw up it takes a computer! Today is Setting Orange

  1   2   3   4   5   6   7   8   9   10   >