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. &g

[PHP] Re: Permissions

2013-08-26 Thread David Robley
gt; > Ethan This is in no way a php question, as the same result will happen 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 L

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

Re: [PHP] exec and system do not work

2013-08-26 Thread David Robley
cannot access /var/www/orders.txt: No such file or directory > > The ls -la works because the file was created from the command line. > > TIA > > Ethan Note that touch and chmod don't return any output, so echoing the result of a system call for those commands will give an empty string. You should be checking the values of $ret for each execution of system to see whether the command was successful or not - the return status of the executed command will be written to this variable. I'd guess that touch is returning 13 - permission denied. if( !file_exists("/var/www/orders.txt")) { system("touch /var/www/orders.txt", $ret1); echo 'touch returned '.$ret1.' /'; system("chmod 766 /var/www/orders.txt", $ret2); echo 'chmod returned ' .$ret2.' /'; echo 'file2'; echo file_exists("/var/www/orders.txt"); } Check the permissions for directory /var/www; you'll probably find it is writable by the user you log on as, but not by the user that apache/php runs as, which is often www - a user with limited privileges. As other(s) 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: http://www.php.net/unsub.php

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

2013-08-12 Thread David Robley
the Community menu item on the PHP home page. -- Cheers 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
files I easily get over 100 KB inclusion 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-Protect

[PHP] Re: Doing something wrong?

2013-05-21 Thread David Robley
gt; It's working on the other machines and loading all the extra modules > happily. > Did 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

Re: [PHP] Re: mysql_connect noob question

2013-04-21 Thread David Robley
ysql --host=instance43490.db.xeround.com --port=8904 > --user= --password= > > WORKS perfectly - entering the MySQL Monitor. > > However, on the same host, same command line: > > sudo mysql --host=instance43490.db.xeround.com:8904 --user= > --password= > > Does NOT work -

Re: [PHP] mysql_connect noob question

2013-04-19 Thread David Robley
t; And yes, my $host param is correct. >>> >>> Thanks, >>> >>> -- >>> PHP General Mailing List (http://www.php.net/) >>> To unsubscribe, visit: http://www.php.net/unsub.php >>> >> First guess is that you don't have privil

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

[PHP] Re: Is BBCode Installed

2013-04-10 Thread David Robley
r languages. See http://www.bbcode.org/ for more 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: FW: [PHP] Accessing Files Outside the Web Root

2013-03-13 Thread David Robley
gt; 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.) A cat with a drinking problem. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mystery foreach error

2013-03-12 Thread David Robley
{ > echo 'no'; > } > } > ?> > > Running this script, I got the same error as before. If $state is a known > state abbreviation in the array, everything is fine, but if someone was to > enter, say 'XX' like I did above or leave it blan

Re: [PHP] Not counting my own page visits

2013-03-04 Thread David Robley
but the cookie is not. There's no cookie in > the browser prefs, either. What am I doing wrong? > > Angela Misunderstanding what $cookie contains? It is a boolean, i.e. it will be true or false depending on whether the cookie was set or not. To echo the contents of a cookie, you need to use the cookie name, viz "; ?> -- 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
Alarms >> >> >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> > > Do test this, but I think all that's required is you make the name an > array: > > More info at http://www.php.net/manual/en/language.variables.external.php (search 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
['username'] = 'root'; > $config['Database']['password'] = 'root'; > $config['Database']['charset'] = 'utf8'; > ?> Change host to localhost - your mysql may be configured not to accept requests via tcp. > > === class.lpdo.php > > > -- > Thanks, > Dave - DealTek > deal...@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
.mydomain.com This request is made to the mysql server on host server2.mydomain.com which responds with the error that access is denied for the user named 'user' on host server1.mydomain.com The most likely problem is that on server2.mydomain.com you do not have mysql privileges for

[PHP] Re: php form action breaks script

2012-06-14 Thread David Robley
know if it's an unbalanced quote > mark or what's going on. But I'd appreciate any advice you may have. > > > Best, > tim > If you check your apache log you'll probably see an error message. But the problem seems to be that your string you are trying to ec

[PHP] Re: MySQL and PHP weirdness

2012-02-14 Thread David Robley
t;mediumtext" > to "text" but this didn't work. > > If anyone has any ideas as to why this might be happening -- or if I just > wasn't clear -- please let me know. > > If phpmyadmin gives expected results and _your_ code doesn't, I'd be suspici

[PHP] Re: Novice MySQL problem

2011-11-14 Thread David Robley
the problem here is.  Personally I 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

[PHP] Re: Novice MySQL problem

2011-11-14 Thread David Robley
to >> 9), >> but then will not take further inserts. >> >> Thanks for any help available. >> >> >> Regards >> >> Toni >> > > I don't know what the problem here is. Personally I never use auto-inc > fields. That statement

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

2011-10-27 Thread David Robley
Jim Giner wrote: > "David Robley" 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 man

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

2011-10-25 Thread David Robley
at 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 Braille dots on the keypad of the drive-up ATM? Today is Prickle-Prickle, the 7th 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

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

2011-10-24 Thread David Robley
phy.com Is it possible that you are attempting to display images? And if so, are you making the mistake 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 g

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 r

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

2011-10-14 Thread David Robley
; > Thanks > Stephen You may have forgotten that HTML treats all whitespace, such as tabs, 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

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 wrote: > >> Tim Streater wrote: >> >>> On 11 Oct 2011 at 03:03, Paul M Foster wrote: >>> >>>> On Mon, Oct 10, 2011 at 04:14:00PM +0100, Tim Streater wrote: >>>> >>>

Re: Re: [PHP] Multiple SQLite statements

2011-10-11 Thread David Robley
gt;> >> The docs appear to agree that this is allowed. See: >> >> http://us.php.net/manual/en/function.sqlite-exec.php > > That's the SQLite interface, though, rather than the SQLite3 one. The > latter just says: "Executes an SQL query ...". > > -

[PHP] Re: Dreaded Premature end of script headers

2011-08-26 Thread David Robley
lighting as an aid to finding 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
p. The fact that > we offer a newsgroup interface at all is by all 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 intermittentl

[PHP] Re: Installing PHP

2011-07-06 Thread David Robley
avid gets the kudos for telling me 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

[PHP] Re: Installing PHP

2011-07-05 Thread David Robley
last of those > lines 4 - added "PHPIniDir "c:/php" as the last line of the conf file. > > Upon adding these lines apache will no longer restart. In fact adding any > ONE of these lines breaks Apache. > > Ideas welcome. > > And for those who still love th

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

2011-06-08 Thread David Robley
what im trying to achieve is a category of pages but i want the cat_name > as the key to all the pages associated to it > > hope i make sense > > kind regards > > Adam How is this array created? If it is from a database, you could probably modify the query to give you what you wan

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

2011-06-04 Thread David Robley
n to your boss and get sent home early. >>> >>> Second, as dreamed up in the previous thread, I've decided to take >>> a few moments this morning to build and release a new PHP extension, >>> which provides a single function: detonate(). >>> >>>

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

2011-06-04 Thread David Robley
ided to take >> a few moments this morning to build and release a new PHP 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. >

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

2011-05-18 Thread David Robley
splay. There is probably nothing you need to do to the emailed version. Cheers -- David Robley Honey, PLEASE don't pick up the PH$@#*&$^(#@&$^%(*NO CARRIER Today is Prickle-Prickle, the 66th day of Discord in the YOLD 3177. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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
Richard Quadling wrote: > On 17 May 2011 12:45, Singapore Citizen Mr. Teo En Ming (Zhang Enming) > wrote: >> 16 May 2011 Monday 7:28 P.M. Singapore Time >> For Immediate Release >> >> > > Is it Friday? > > Clearly it is Friday on the planet wher

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

2011-05-06 Thread David Robley
in the first step. Any help > please? You might find jpgraph useful. Cheers -- David Robley Pizza IS the four food groups! Today is Sweetmorn, the 53rd 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: Installing on a Mac: include_path issues

2011-05-04 Thread David Robley
lients/jaguar_php') > in /Users/ken/Sites/smm_registration/smmcomputereducation.php on line 1 > > Any ideas or suggestions? > > Thanks, > > Ken If I remember correctly, include and friends have two parts to the error message but you've only shown us one. For a guess, is it

Re: [PHP] postgresql database access failure

2011-05-01 Thread David Robley
ql. However, there are some tools to help you; see http://php.net/manual/en/function.pg-result-error.php For future reference, it helps to post all 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 $qu

[PHP] Re: htaccess question

2011-04-26 Thread David Robley
Or you might check the apache docs at: http://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] Re: How to write a PHP coding to list out all files and directories as links to them?

2011-04-14 Thread David Robley
p.net/manual/en/function.opendir.php for a basic method. 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:=/07http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.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 roun

[PHP] Re: putting variables in a variable

2011-03-25 Thread David Robley
uot;                 "; It helps us help you if you can give 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/unsub.php

Re: [PHP] Re: echo?

2011-03-23 Thread David Robley
y. >> >> Paul >> >> -- >> Paul M. Foster >> http://noferblatz.com >> http://quillandmouse.com It's possibly worth reinforcing at this stage of the game that and are incorrectly formed strings to represent CR and LF, in that they should have a closing

[PHP] Re: Sorting an array

2011-03-01 Thread David Robley
ray) for this particular problem. Surely you have been around here long enough to be able to find things 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 Genera

Re: [PHP] New to list and to PHP

2011-02-19 Thread David Robley
> code writing. >> Looking 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

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

2011-02-15 Thread David Robley
$amount/3)-th >> , second ad block goes after the round($amount/3*2)-th . --- >> 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. --

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 Ro

[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 i

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 Ro

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 > 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. Th

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

2011-01-22 Thread David Robley
he specified parameters to be passed as extra parameters ; to the sendmail binary. These parameters will always replace the value of ; the 5th parameter to mail(), even in safe mode. ;mail.force_extra_parameters = mail() should be functional; if mail() is returning true then your next step in th

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

2011-01-13 Thread David Robley
ction-name is a handy way 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
teral unless it contains only name > characters > > ?ome>home href=index.php?page=services>services > I have tried various combinatons and different doctypes. I'm beginning to > wonder if this code is allowed at all. > > In this tag you aren't getting the href valu

[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: > Insta

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

2011-01-07 Thread David Robley
ce Day/Evening > Michelle Konzack > You 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

Re: [PHP] Newbie Question

2011-01-01 Thread David Robley
st the code that you are using? > > It should look something like the following: > > > 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

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

2010-12-12 Thread David Robley
vantage to either? Please clarify > 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 5

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 Rixham wrote: > >>> I went back to using a pre hypertext processor, seemed like a > >>> re

Re: [PHP] Template engines

2010-11-10 Thread David Robley
Pre Hypertext Processor - 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
access using php_flag engine 1|0 (or on|off if you prefer) http://php.net/manual/en/apache.configuration.php#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 i

[PHP] Re: Text editor for Ubuntu with FTP

2010-07-31 Thread David Robley
s A lot > Jordan Jovanov Ah, it's 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 _y

[PHP] Re: eval and HEREDOC

2010-07-20 Thread David Robley
as an output. > > I have tried closing the php tag like this: > > $template = "return <<".$template."\nTEMPLATE;\n"; > > but the extra ?> only gets outputed as HTML. > > This is my first post to this mailing list, so I great you all and tha

[PHP] Re: NULL Date Entries...

2010-07-02 Thread David Robley
left empty, it inserts into the the DB as 2069-12-31. > > How does one deal with this? > > Don Wieland Aside from all the good advice already offered, if you want 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

Re: [PHP] NULL Date Entries...

2010-07-02 Thread David Robley
ieve it was last February 30th the decision was made... 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

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

2010-05-11 Thread David Robley
t; > > Use include(mypages/another_program.php); > > Cheers > Arno Alternatively you could use header() to perform a redirect to another page/site/whatever. With the warning that there should be no output before the call to header; but see also output buffering if needed. Cheers

Re: [PHP] replying to list

2010-04-21 Thread David Robley
on the Evolution email client in this > thread. It's what I use, and it does have a reply to list option (but I > tend to be a bit lazy and hit reply to all as the option is in a menu > 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 is Sweetmorn, the 38th 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: Server-side postscript-to-PDF on-the-fly conversion

2010-03-26 Thread David Robley
stscript is the first thing that comes to my mind; alternatively googling for "convert 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 th

[PHP] Re: Event Handling

2010-03-15 Thread David Robley
x27;ve missed > something right in front of me. > > Alex. I think what you want is something to trigger a php script every $period-of-time; if your host supports it, cron is the means of executing an application at regular intervals down to a minute granularity. There are some web-based

[PHP] Re: PHP in HTML code

2010-03-12 Thread David Robley
> > Are there times when the http://www.php.net/manual/en/ini.core.php#ini.short-open-tag for more info. I'd suggest you move away from using short tags, if for no other reason than portability. Cheers -- David Robley A conclusion is simply the place where you got tired of

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

2010-03-04 Thread David Robley
tatic mirror of the site which has all the functionality of the dynamic site in static html form. Just 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? Tod

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

2009-11-17 Thread David Robley
= implode(',', $_POST['showid']; $subSQL = "SELECT order_id FROM afy_show_lineitem WHERE show_id IN ($ids)" But you need also to check your logic - your query above will have two WHERE in it and will fail miserably :-) And your call to mysql_error will probably no

Re: [PHP] Re: Converting tables into forms

2009-11-02 Thread David Robley
t;> take months to code, you need to take another look at the problem. I >> don't believe you have thought it through very well. >> >> Bob McConnell >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php

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

2009-08-31 Thread David Robley
php5ts.dll >> GET,HEAD,POST,DEBUG >> >> Maybe php-win.exe >> _ >> >> I added to the XP Prof environment path ;C:\PHP\;C:\PHP\ext\ >> >> I created an environment variable (and rebooted) PHPRC = >&

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

[PHP] Re: Rounding down?

2009-08-22 Thread David Robley
each > day. I am trying 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,

Re: [PHP] open source forum

2009-07-26 Thread David Robley
=Forums They have sandbox sites that you can play with and get a feel for the application. 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
>>> >>> Option1 >>> >>> >>> >>> Option2 >>> >>> >>> >>> >>> >>> >>> >>> >> >> You'll find they are already in an

[PHP] Re: A form and an array

2009-07-23 Thread David Robley
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. Today is Setting Orange, the 59th 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: Sub Menu System?

2009-07-17 Thread David Robley
there to manage this sort of structure, e.g. http://www.edutech.ch/contribution/nstrees/index.php or search on "nested trees". Cheers -- David Robley A mind is a terrible thing to ... er ... h? Today is Pungenday, the 52nd 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] When did you start here? Was - RFC/Survey for Our Newer Folks

2009-07-13 Thread David Robley
arc archives may not go back as far as when I first joined what was then a mailinglist only (I think!). Although I find contributions to other mailing lists back as far as 1995. $deity, I must be getting old. Cheers -- David Robley I have enough trouble single-tasking! Today is Prickle-Prickle, t

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: >>> >>> >> include_once("furniture.php"); >>> $myFurniture = new furniture(); >

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

2009-07-06 Thread David Robley
his may be obvious .. I don't program PHP every day > > Thanks in advance for your help :-) > > Cheers > J First guess is that your page doing the including doesn't have a filename with a .php extension, and your server is set to only parse php in files with a .php extensio

Re: [PHP] supplied argument errors

2009-06-24 Thread David Robley
T > if (mysql_affected_rows($result) == -1) { // warning2. > > > Oh for $deity's sake, haven't you yet learned to a) echo your query and b) use mysql_error() as aids to debugging errors with mysql ??? Cheers -- David Robley Imagery is All In The Mind. Tod

Re: [PHP] Re: Dynamic Titles

2009-06-12 Thread David Robley
you click on "Support", the title should become > "Newtuts Help". But instead, it just says "echo $title". Any more > ideas? > > > > Austin Caudill > > --- On Fri, 6/12/09, David Robley wrote: > > > From: David Robley > Subject: [PHP] R

[PHP] Re: Dynamic Titles

2009-06-12 Thread David Robley
that line 803 is $url = "http://'.$_SERVER['SERVER_NAME']''.$_SERVER['REQUEST_URI']'"; which is full of mismatched quotes :-) Try any of $url = "http://{$_SERVER['SERVER_NAME']}{$_SERVER['REQUEST_URI']}"; $url =

Re: [PHP] php dev environment

2009-05-25 Thread David Robley
and use emacs! 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 Ge

[PHP] Re: Display Image

2009-05-25 Thread David Robley
is an error in your image script 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] Strange charecters

2009-03-05 Thread David Robley
t;> > >> > -- >> > PHP General Mailing List (http://www.php.net/) >> > To unsubscribe, visit: http://www.php.net/unsub.php >> > >> > >> check for a blank space above the > > Or a trailing space after the ?> of any include files. Or a byt

[PHP] Re: verify text in field

2009-02-26 Thread David Robley
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 to make an agenda," Tom said listlessly. Today is Pungenday, the 58th day of Chaos in the YOLD 3175. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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 >&

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

2009-02-15 Thread David Robley
n the exact string you pass to it. 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 LIKE '%c%' will match a field containing 'c'

[PHP] Re: More questions about SESSION use

2009-01-31 Thread David Robley
; and 'AdminLogin'* but passed them in urls > } > > > Is the above part not needed since the Session is already 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

[PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread David Robley
execute my search script I 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 Th

RE: [PHP] checking local file size

2008-12-17 Thread David Robley
ess-0.9.1" to install Cannot initialize > 'uploadprogress', invalid or missing package file Package "uploadprogress" > is not valid install failed > > > > $ pecl install uploadprogress-beta > > Cannot install, php_dir for channel "pecl.php.net&q

Re: [PHP] Good PHP book?

2008-12-17 Thread David Robley
;re converting over 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 alread

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 x

[PHP] Re: Days until Easter and Christmas

2008-11-15 Thread David Robley
_format) ) / 86400); > > echo $days_until_Christmas . ""; > echo $days_until_Easter . ""; Have you tried incrementing 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

[PHP] Re: Missing DLLs

2008-11-13 Thread David Robley
t an application and it will tell you what libraries are required to run that application. Google will find it for you. Cheers -- 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

  1   2   3   4   5   6   7   8   9   10   >