On Monday 22 April 2002 09:50 am, you wrote:
On Friday, April 19, 2002, at 09:41 PM, Andre Dubuc wrote:
Is there a way I can verify that (a) globals are off and (b) $_SESSION
or
$_POST are on? This probably what's happening -- I can't access the
arrays at
all -- so, I think that might
On Monday 22 April 2002 05:34 pm, you wrote:
On Monday, April 22, 2002, at 03:47 PM, Andre Dubuc wrote:
I tried what you suggested, and indeed globals are off. Perhaps my
problem
stems from my use of the $_GET[] with $vars. I guess I don't really
understand what I'm doing. If you would
I've switched register_globals=off and register_argc_argv=off in php.ini
to use $_SESSION and/or $_POST. All my code had been written using $var
Unfortunately, I cannot seem to access the arrays in either $_SESSION and
$_POST. I've set each page to start with ?php session_start(); ob_start();
On Friday 19 April 2002 08:13 pm, you wrote:
On Fri, 19 Apr 2002, Andre Dubuc wrote:
Whenever I try:
print($_SESSION['sfname']); or print($_POST['scity']
I get a parse error expecting 'T_STRING' . . . -- obviously there's
nothing in the array or I haven't set it.
You just have
wrote:
On Fri, 19 Apr 2002, Andre Dubuc wrote:
Whenever I try:
print($_SESSION['sfname']); or print($_POST['scity']
I get a parse error expecting 'T_STRING' . . . -- obviously there's
nothing in the array or I haven't set it.
You just have a simple syntax error.
You can
Hi Joey,
Don't know whetehr I can help, but I ran into the same problem with my Linux
box. In Mozilla et al, I had to change in Preferences Advanced Proxies
Manual Proxy Config No proxy for: Localhost.
I haven't followed your thead, and I'm no familair with networking, butthta
might
An interesting problem has surfaced while finishing the coding for an input
form. The usual text inputs fields are in place for first name, surname,
address etc. However, I've created a drop-down list for state and country.
Since these drop-down lists have OPTION SELECTEDIn USA/Canada ,
On Thursday 18 April 2002 02:31 pm, you wrote:
On Thursday, April 18, 2002, at 12:33 PM, Andre Dubuc wrote:
Since these drop-down lists have OPTION SELECTEDIn USA/Canada ,
tabbing
in the form jumps over these drop-downs [simply becuase they're
filled]. I
would like them
While prototyping my db-driven website using Apache 1.3.23 + PPHP 4.1.2 +
PostgreSQL 7.2 under the rpm distribution of Mandrake 8.2, I used the default
register_globals=on setting.
As I'm nearing the end of protyping, I decided to switch
register_globals=off by ediuting the php.ini file.
To prototype my site, I've used register_globals=on, and track_vars=on.
I'm at the point where I would like to switch the globals off',
and prepare the site for production use.
My problem is that I don't know how to implement the use of
$HTTP_SESSION_VARS or $_SESSION in my webapages (or
Thanks Matt,
Actually, at this point, I've reverted back to register_globals=on until I
figure out what's the best way to do this.
So far, I have no references to session_register() on any page. In your
opinion, should I go with $_SESSION or use the other approach,
$HTTP_SESSION_VARS.
I
Thanks Matt.
Well, I guess the best time to start is now. I'll use $_SESSION -- sounds
like less work. Wish I had used them to begin with . . . but back then, I
only had two pages -- I sort of forgot to switch over while coding.
Thanks for your advice,
Regards,
Andre
On Saturday 13 April
I have written, in an html form, a drop-downlist that uses SELECT:
i.e. SELECT NAME=state
OPTION SELECTEDState
OPTIONAL
OPTIONAZ
OPTION// and so on
I would like a text input as the last option so that a user
On Saturday 23 March 2002 19:45, you wrote:
On Sat, 23 Mar 2002, Andre Dubuc wrote:
I have written, in an html form, a drop-downlist that uses SELECT:
i.e. SELECT NAME=state
OPTION SELECTEDState
OPTIONAL
OPTIONAZ
OPTION
On Saturday 23 March 2002 19:57, you wrote:
If you've seen it on other sites (I can't see how, since there's no
support for it in the HTML spec), then why not just look at the source?
Too bad, since a few sites seem to have that capability. Oh well . .
Regards,
Andre
--
In one of my php pages, I have a form that requires the user to click Search
for Surname. If however they press Enter, undesirable effects occur.
I've successfully trapped if an empty string is in the input
type=text, but Enter eludes my efforts to trap it for an appropriate
Educational
/; method=get onSubmit=return
(this.okay.value != 'no');
input type=hidden name=okay value=no
input type=text
input type=submit onClick=this.form.okay.value = 'yes';
/form
-Original Message-
From: Andre Dubuc [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 1:39 PM
To: [EMAIL
I wonder whether this is possible?
I would like to format a text input so that the first letter of the input (as
the user is typing it in) would automatically be converted to Uppercase
(capitals). Furthermore, if it is possible, I would like to pre-format the
date input type=text so that
-
From: Andre Dubuc [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, March 16, 2002 4:44 PM
Subject: [PHP] Formatting input text?
I wonder whether this is possible?
I would like to format a text input so that the first letter of the input
(as
the user is typing it in) would
I'd like to control which php file is called when clicking two buttons on the
bottom of a form; one called Add Names, the other Submit
I've tried the following with no success:
***
form action=
switch ($name) {
case add:
.
Regards,
Andre
On Friday 15 March 2002 19:41, you wrote:
On Fri, 15 Mar 2002, Andre Dubuc wrote:
I'd like to control which php file is called when clicking two buttons on
the bottom of a form; one called Add Names, the other Submit
I've tried the following with no success
around the PHP, but it might be psuedo code.
Good luck,
Justin French
Andre Dubuc wrote:
I'd like to control which php file is called when clicking two buttons on
the bottom of a form; one called Add Names, the other Submit
I've tried the following with no success
;
?
- Original Message -
From: Andre Dubuc [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, March 09, 2002 4:12 PM
Subject: [PHP] Selecting a Queried Row
As a newbie at PHP (and relative newcomer to HTML and web design) I've
been
wading through documentation trying
As a newbie at PHP (and relative newcomer to HTML and web design) I've been
wading through documentation trying to accomplish various tasks. However, I'm
stumped on how to proceed with the following:
I would like a web vistor to be able to select a row from a table that has
been generated
06 March 2002 00:43, you wrote:
Whack your text and input boxes in different cells of a table,.. use align
(or nowadays an appropriate style setting) and that should get your things
lined up :-)
Andre Dubuc [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
As a complete newbie to PHP, and relative novice to html, this one has me
stumped. Rather than wade through volumes of documentation, I thought I'd
risk asking it here.
After inserting variables from a fill-out html form into my database, I would
like the form to goto the next html page, but
On Tuesday 05 March 2002 16:15, you wrote:
Andre Dubuc wrote:
As a complete newbie to PHP, and relative novice to html, this one has me
stumped. Rather than wade through volumes of documentation, I thought I'd
risk asking it here.
After inserting variables from a fill-out html form
On Tuesday 05 March 2002 17:43, you wrote:
On Tuesday, March 5, 2002, at 04:06 PM, Andre Dubuc wrote:
After inserting variables from a fill-out html form into my database, I
would
like the form to goto the next html page, but I cannot figure out how
to do
this basic function. I assume
]; [EMAIL PROTECTED]
Sent: Tuesday, March 05, 2002 1:15 PM
Subject: [PHP] Re: Is there a GoTo Page Function?
Andre Dubuc wrote:
As a complete newbie to PHP, and relative novice to html, this one has
me
stumped. Rather than wade through volumes of documentation, I thought
I'd
risk asking
On Tuesday 05 March 2002 19:20, you wrote:
On Tuesday, March 5, 2002, at 07:01 PM, Andre Dubuc wrote:
Now that makes sense. I'm getting a better idea of how it works
together. I
figured there must be a way to control the Submit button's behaviour,
but I
didn't know where to look
, and it got
me off the ground. The online manuals for php and mysql have also been
invaluable. Save your money, buy food instead.
Hope this helps,
Hugh
- Original Message -
From: Andre Dubuc [EMAIL PROTECTED]
To: hugh danaher [EMAIL PROTECTED]
Sent: Tuesday, March 05, 2002 6:35 PM
201 - 231 of 231 matches
Mail list logo