Dear List,
The shorthand form ?=$printthis? worked fine for me in PHP4, but I
cannot make it work in PHP5. (?php print($printthis); ? works ok,
however).
Could anybody please tell me if this form is still available in PHP5, and,
if so, if a different syntax is needed?
I searched the matter in the
Dear list,
Is there a way in PHP to update information on an open web page (e.g. to say
Hello, user, I have just logged in), without the user having to refresh
the page himself each time?
Thank you
Alberto Brea
Doesn't this work?:
inside your email:
form ... action=http://yoursite.com/yourpage.php;
input ... name=var1
input ... name=var2
/form
yourpage.php:
?php if(isset($_POST)):
// process the input
endif; ?
Alberto Brea
[EMAIL PROTECTED]
-Original Message-
From: Ross [EMAIL PROTECTED]
To:
Yes, but then the user would always have to reload the imbedded frame.
-Original Message-
From: Warren Vail [EMAIL PROTECTED]
To: 'abrea' [EMAIL PROTECTED], 'PHP General List'
php-general@lists.php.net
Date: Tue, 14 Jun 2005 10:31:29 -0700
Subject: RE: [PHP] Updating an open page
Dave:
I visited your website. I see that you wish to put the links in the middle
of the text, which I didn't understand before.
Now, if you let your users write tags you are bound to have a substantial
number of them who don't even know what 'tag' means, let alone any
occasional malice.
Perhaps
Instead of allowing your users to enter a tags, why don't you put them in
your own web page and just let them enter the url?
For instance you would have your form:
form method=post action=thepage.php
input type=text size=40 name=url
...
/form
The action page (thepage.php) could include something
Aha I knew you guys were up to something
Cheers
Alberto Brea :-)
-Original Message-
From: Bosky, Dave [EMAIL PROTECTED]
To: php-general@lists.php.net
Date: Wed, 9 Feb 2005 08:53:24 -0500
Subject: [PHP] Student Suspended Over PHP use.
I just ran across this
May I suggest that you use PHP's mail() function and avoid the problem
altogether.
The format is much the same as the one you are using.
Alberto Brea
[EMAIL PROTECTED]
-Original Message-
From: Paul Aviles [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Mon, 20 Dec 2004 20:00:22 -0500
Will the adoption and legalization of software patents actually threaten the
activity of PHP software developers?
I see some people quite worried about this, e.g. at http://www.knoppix.org
and http://swpat.ffii.org/index.en.html
Alberto Brea
To turn $_POST[var1], $_POST[var2], $_POST[var3] into $var1, $var2,
$var3:
if(isset($_POST))
{ foreach($_POST as $key=$value)
{ $$key= $value; print($$key= $value; br /); }}
This should do it. The print statement is just to check the result.
Regards
Alberto Brea
-Original Message-
Dear list,
Does anybody know of a url where I can find reading materials about best
practices to organize the filesystem and variable structure of a php
application?
Although application purposes probably vary widely, I imagine that in one
way or other most include adding, updating, deleting
Dear list,
I am trying to install PHP 4.3.8 as a module of Apache 2.0.50 on a
Windows 98 computer.
Apache alone runs ok. After I installed PHP with the installer package, I
added the following line at the end of the Apache httpd.conf together
with the AddType statements:
# LoadModule
Congratulations and good luck to the PHP 5.0.0 team!!
Alberto Brea
-Original Message-
From: John W. Holmes [EMAIL PROTECTED]
To: Ben Ramsey [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Date: Tue, 13 Jul 2004 18:44:06 -0400
Subject: Re: [PHP] Re: Anyone knows when PHP5 is released?
Ben Ramsey
If you put square brackets after the name (e.g. var[]) your form should
produce an array called $_POST[var] that comprises the checked boxes
only.
e.g.
form method=post ...
input type=checkbox name=var[] value=value1
input type=checkbox name=var[] value=value2
input type=checkbox name=var[]
Dear List,
How can I include a dynamically generated array:
e.g. for($i=0; $isizeof($cols); $i++)
{ $cols[$i]= mysql_field_name($fields,$i); }
into a MySQL insert query of the type:
$sql= INSERT cols[0],cols[1],cols[2], ..., comment
INTO mytable SET
cols[0]= '$cols[0]',
15 matches
Mail list logo