Re: [PHP] for loop break and continue

2003-09-25 Thread Rich Fox
Can't you let me have a shred of programming self-respect? Rich (I should have cracked the book) Fox > On Thu, 2003-09-25 at 12:04, Rich Fox wrote: > > DOH! > > > > This is a new addition to PHP because it wasn't there before! > > > > Thanks for the sl

[PHP] documentation on "<<<"

2003-10-01 Thread Rich Fox
Can someone point me to documentation on the <<< operator? I am wondering if there are some quirks I don't know about. Yet I can't find it documented on the php website. THanks, Rich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Reloading a specific window

2003-10-02 Thread Rich Fox
ript']."?ID=".$_POST['ID']); exit; } ... This reloads the popup window, and then I have a "close" button to close the popup. Then I have to refresh the browser window manually to see the updated table from the database. Can I get some advice on how to

Re: [PHP] Reloading a specific window

2003-10-02 Thread Rich Fox
robably doing something very stupid. Marek Kilimajer wrote > Output from action.php: > > opener.location.reload(); > close(); > > > Rich Fox wrote: > > Warning for server side purists: My php scripts use javascript to popup and > > close windows. So this question, al

[PHP] Nested queries don't work

2003-10-15 Thread Rich Fox
enting this for MS SQL Server? Thanks Rich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Shouldn't script errors show in my browser?

2003-10-17 Thread Rich Fox
script and the browser just shows me a blank page. Is this because I am running php as a CGI module? Thanks, Rich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Shouldn't script errors show in my browser?

2003-10-17 Thread Rich Fox
Yeah, that did it, thanks "David Otton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, 17 Oct 2003 11:29:41 -0400, you wrote: > > >I hope this question is not too stupid! When I have an error in my script, > >it seems to me that the web server, or in my case the php CGI modu

[PHP] Re: Use include function (newbie)

2003-10-17 Thread Rich Fox
But *why* does logic.php need html.php? There is no recursion issue, or endless nesting of includes, because html.php refers to logic.php as an action for a form... this does not "include" the logic.php code into the html.php page. Rich "Karina S" <[EMAIL PROTECTED]

RE: [PHP] Calling PHP functions from within javascript

2003-11-13 Thread Rich Gray
u mean exchanging data between PHP and javascript without incurring a page reload ... well it is definitely possible using javascript remote scripting techniques and a hidden iframe however if the browser has javascript switched off then this won't work of course... Cheers Rich -- PHP Gen

RE: [PHP] PHP's MySQL Query Length Limit? (Long SQL failing!)

2003-12-11 Thread Rich Gray
27;ll probably need to check this name as I haven't any docs to hand at the moment) setting in your my.ini file... HTH Cheers Rich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Best way to increment an integer column in mysql

2003-12-11 Thread Rich Gray
'update mytable set my_int_column = my_int_column + 1 where blah blah ...'); HTH Rich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Qmail problem

2001-03-08 Thread Rich Cavanaugh
Or you could try this: sendmail_path = /var/qmail/bin/qmail-inject Obviously you'll want to put in your correct path to qmail-inject, but that works fine for me. -- rich -Original Message- From: David Robley [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 7:24

Re: [PHP] Apache virtualhosts with different user

2002-01-08 Thread Rich Buggy
x27;t want my users to > run php scripts as www-data. Run PHP as a cgi instead of a module. The PHP docs tell you how Rich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] PHP and XML/XLST/WDDX etc

2002-03-29 Thread Rich Buggy
ing great with development not taking very long at all. The two main advantages of using XML/XSLT for content management that I can see are: 1. It's easier to enforce a common look and feel on a site. 2. It's easier to re-target content (different transformations for different brow

[PHP] Empty delimiter error - ??

2002-04-13 Thread Rich Pinder
I'm totally unfamiliar with php, and making some slight modificiations to Chris Heilmann's nice v 1.1 Newsleterscript. What exactly is meant by an empty delimiter? This code works just fine, but I get the following error: Warning: Empty delimiter in /home/sites/site56/web/trailcrew.php on line

[PHP] Empty Delimiter error

2002-04-13 Thread Rich Pinder
Let me try again: This line of the script: if (!stristr($lines[$key], $email)) { yields the following error: Warning: Empty delimiter in /home/sites/site56/web. Do you know what causes this error ? Thanks r -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

[PHP] Re: Empty Delimiter error

2002-04-15 Thread Rich Pinder
error code of this meaning - and odd that all the PHP sources I searched before posting here came up empty for the terminology. Thanks again Rich Daniel Grace wrote: > > "Rich Pinder" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL P

Re: [PHP] Store locator / postcode proximity

2001-12-10 Thread Rich Buggy
be safely assumed to be "nearby"?) Don't even bother trying that for Sydney. There's a border around Western Sydney where the Eastern suburbs are 21xx and the Western ones are 27xx. For example 2148 and 2767 are next to each other. Rich -- PHP General Mailing List

RE: [PHP] email templates and str_replace

2001-06-20 Thread Rich Cavanaugh
t have a cumlative effect. Something like the above would have the effect you're looking for. -- Rich Cavanaugh CTO, EnSpot.com -Original Message- From: Richard Kurth [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 4:32 AM To: [EMAIL PROTECTED] Subject: [PHP] email temp

RE: [PHP] Calculate # of minutes during working hours between two dates

2001-06-20 Thread Rich Cavanaugh
this is just the way I would do it: generate timestamps for 8.00 and 17.30 for the days you want as long as the timestamps are between the two original timestamps. after that it's all subtraction and dividing by 60. That's about as efficient as I can think of. Rich Cavanaugh ---

RE: [PHP] Code check please

2001-06-20 Thread Rich Cavanaugh
You're using UPDATE syntax for your INSERT try: $sql = "INSERT INTO tabell (fornamn, efternamn, email) values ('{$fornamn}', '{$efternamn}', '{$email}')"; Rich Cavanaugh -Original Message- From: Andreas Skarin [mailto:[EMAIL PROTECTED]] Se

RE: [PHP] Problem starting session

2001-06-20 Thread Rich Cavanaugh
Ben, In your php.ini you should have the following: session.save_path = c:\winnt\temp Currently you have it set to: session.save_path = /tmp -- Rich Cavanaugh -Original Message- From: Ben Edwards [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 23, 2001

RE: [PHP] how to install pws on win2k

2001-06-20 Thread Rich Cavanaugh
Sagar,     Open your "Add/Remove Programs" control panel. Click on "Add/Remove Windows Components". Click the check box next to "Internet Information Server". Click OK. You'll need your Win2k CD. This will install a limited version of IIS.   --Rich

RE: [PHP] [OT-ish] Optional Extras.

2001-06-25 Thread Rich Cavanaugh
e best match to worst match. again - this is all off the top of my head, I'm sure it's not word for word correct. -- Rich Cavanaugh -Original Message- From: Dave Mariner [mailto:[EMAIL PROTECTED]] Sent: Monday, June 25, 2001 3:54 PM To: [EMAIL PROTECTED] Subject: [PHP] [OT-ish]

RE: [PHP] something wrong

2001-08-07 Thread Rich Cavanaugh
piss off people though) a window which would load that PHP script and delete the file. rich -Original Message- From: Eduardo Kokubo [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 1:49 PM To: Chris Cocuzzo Cc: [EMAIL PROTECTED] Subject: Re: [PHP] something wrong I tried it

[PHP] Array concatenation behaviour change

2004-10-08 Thread rich gray
ces on our provider's server... 4.2.3 Array ( [0] => Zero [1] => One [2] => Two ) and on my development server... 4.3.8 Array ( [1] => One [2] => Two [0] => Zero ) hth rich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Array concatenation behaviour change

2004-10-08 Thread rich gray
> > Can't you sort the array? > > > Yes of course but that wasn't the point of my post I was trying to show that the same code produces differing results on 2 different versions of PHP ... rich -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Debugging Help Needed

2011-04-12 Thread Rich Shepard
: 404 Not Found"); echo ' 404 Not Found produces: PHP Parse error: syntax error, unexpected '@' in /var/www/htdocs/cmsms/lib/misc.functions.php on line 223 How can I determine where ErrorHandler404() is being called so I can fix the problem and get the

Re: [PHP] Debugging Help Needed

2011-04-12 Thread Rich Shepard
e page not found error, or how to capture output from debug_print_backtrace. Thanks, Rich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Debugging Help Needed

2011-04-13 Thread Rich Shepard
27;s failing as I try to invoke the application and transferring control to the error handler? There has to be something either in the index.php, or a function it's calling, that cannot find the opening display. I need to learn what's happening so I can get this application running her

[PHP] System log in problems

2007-05-24 Thread Rich Peterson
this problem for him? Thanks in advance Rich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Frameworks - Opinion

2006-08-01 Thread rich gray
robust, fully featured) and the ZF is still in beta I think... cheers rich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] str_replace on words with an array

2006-10-29 Thread rich gray
stand regular expression syntax - you'd need preg_replace() for that rich

Re: [PHP] how to kill session id without closing the window?

2006-04-07 Thread rich gray
[chop] How can I create new, other sesssion id (after I, for example, click on 'Log Out' button) without closing window? Thanks for any help. er .. session_regenerate_id() hth rich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] looking for shopping cart

2006-04-22 Thread rich gray
Try Zen cart http://www.zen-cart.com/modules/frontpage/ it is a fork of osCommerce which is a very popular OS cart. I've used it and customised it on a few sites without problems. Cheers Rich Lisa A wrote: I'm still looking for an inexpensive shopping cart to use on my client&

RE: [PHP] Uploading Files

2004-02-24 Thread Rich Gray
quot; on your form for file uploads . Watch out for max file size being exceeded -- check the php manual on 'Handling file uploads' . If register_globals is off on your server you'd better start looking at using the $_FILES superglobal (check the manual) . use move_upload

RE: [PHP] seesions problem

2004-02-27 Thread Rich Gray
> Notice: Undefined index: user_id in > /home/pance/public_html/menu.php on line > 13 > > Has anybody else come accross this problem - and how did you solve it? > > Pance Stojkovski are you using session_start() at start of each page that manipulates $_SESSION ? rich --

RE: [PHP] Alternatives to Flush()

2004-03-24 Thread Rich Gray
tom background script listening on a socket - send a request to that socket from your web page... . IPC through shared memory... . probably loads more... Rich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] JavaScript Enabled?

2004-03-29 Thread Rich Gray
avascript enabled code using document.write() which will be ignored by disabled clients and then use tags to enclose whatever stuff is necessary for the disabled clients? Just a thought Cheers Rich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] passthru environment variables

2001-02-10 Thread Rich Puchalsky
I'm trying to use passthru in a PHP program to have an external program display some data. The problem is that I was trying to have the external program's environment pick up the form field variables automatically passed into the PHP program as shell environment variables. In other words, if a u

Re: [PHP] passthru environment variables

2001-02-11 Thread Rich Puchalsky
"Richard Lynch" <[EMAIL PROTECTED]> wrote: > http://php.net/setenv Thanks! But when I try this link, or the "Quick Ref" button on the PHP home page, I can't find anything about setenv. And the manual doesn't have anything about it under Program Execution Functions. Is it undocumented? --

Re: [PHP] passthru environment variables

2001-02-11 Thread Rich Puchalsky
"Rich Puchalsky" <[EMAIL PROTECTED]> wrote in message 966dad$pkm$[EMAIL PROTECTED]">news:966dad$pkm$[EMAIL PROTECTED]... > "Richard Lynch" <[EMAIL PROTECTED]> wrote: > > http://php.net/setenv > > Thanks! But when I try this link, or the

Re: [PHP] passthru environment variables

2001-02-12 Thread Rich Puchalsky
Tim Ward <[EMAIL PROTECTED]> wrote: > fpassthru doesn't include the code in your php code. In just dumps the file > to output as it runs. I was using the command "passthru", which is supposed to pass the *output* of an external program through to standard out. In other words, let's say I wanted

Re: [PHP] passthru environment variables

2001-02-13 Thread Rich Puchalsky
OK, I finally found it. Someone else here recommended setenv -- it's actually putenv. putenv was *not* found through any search I could make on the PHP Web site involving the word environment and so on, I found it through Google. And it's apparently documented under "PHP Options and Information

<    1   2