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
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
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
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
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
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
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
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]
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
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
'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
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
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]
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
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
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
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
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
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
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
---
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
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
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
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]
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
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
>
> 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,
: 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
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
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
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
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
stand regular expression
syntax - you'd need preg_replace() for that
rich
[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
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&
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
> 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
--
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
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
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
"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?
--
"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
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
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
101 - 144 of 144 matches
Mail list logo