: Re: [PHP] Passing Values between C App and PHP
Am 21.06.2009 um 23:31 schrieb Nathan Nobbe:
On Sun, Jun 21, 2009 at 3:25 PM, Tobias Krieger
tobias.krie...@teamfrednet.org
wrote:
Hi,
I've recently written an eMail regarding I2C and PHP - since I
haven't found a nice solution yet, I'm
Tobias Krieger wrote:
This would be a nice and fast solution, but unfortunatelly, it's like
that the C programm needs to surveilance the hardware all the time
(controlling values,...) hence, it would run more as a daemon.
Depending your skill-levels with C, there is not much to it. Here is
On Sun, Jun 21, 2009 at 3:25 PM, Tobias Krieger
tobias.krie...@teamfrednet.org wrote:
Hi,
I've recently written an eMail regarding I2C and PHP - since I haven't
found a nice solution yet, I'm considering writting the I2C part (opening
device, writing, reading,...) in C (that's simple) and
Am 21.06.2009 um 23:31 schrieb Nathan Nobbe:
On Sun, Jun 21, 2009 at 3:25 PM, Tobias Krieger tobias.krie...@teamfrednet.org
wrote:
Hi,
I've recently written an eMail regarding I2C and PHP - since I
haven't found a nice solution yet, I'm considering writting the I2C
part (opening device,
On Sun, Jun 21, 2009 at 3:44 PM, Tobias Krieger
tobias.krie...@teamfrednet.org wrote:
This would be a nice and fast solution, but unfortunatelly, it's like that
the C programm needs to surveilance the hardware all the time (controlling
values,...) hence, it would run more as a daemon.
then
Quite rite.
Well i have used this on my next page:
global $HTTP_POST_VARS;
$num_fields=count($HTTP_POST_VARS);
while(list($key, $value) = each($HTTP_POST_VARS))
{
echo $key = $valuebr;
/or whatever coding i want to do//
}
regards
hope
Jay Blanchard wrote:
[snip]
form name=sqlform action=table1_process2.php method=post
enctype=multipart/form-data
//
now i want to access the values from input fields on next page?
can somebody give me idea how to pass all form field values
Javascript.
Simply just update ur fields at the parent window.
On onUnload even of the popup do this
self.opener.formName.fieldName.value=document.popupformName.popupfieldName.value;
Your keywords to check in Javascript papers are parent_window,
window_opener and Javascript DOM. If you're
That is usually done with Javascript, though if you've got a session
running, you can update session variables, then use Javascript to
refresh the source page.
For the most part I'd recommend a purely Javascript solution, but in
some cases Using session variables/cookies/database might make
On Fri, 05 Nov 2004 13:03:31 -0800, Todd Cary [EMAIL PROTECTED] wrote:
I have seen instances where the surfer can open a new window to get
email addresses and these addresses appear in the first window.
Javascript.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
You need to create an array in the session and assign the values:
$_SESSION['values']=array();
while( $v=/* get single value */ ) {
$_SESSION['values'][]=$v; // notice the []
}
Then on the other page loop the array.
Rashini Jayasinghe wrote:
Hi,
I am getting a one column table as a result
i guess, it would be better to use loops, if i understand your problem, the
way it is.
Nitin
- Original Message -
From: Rashini Jayasinghe [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 3:12 PM
Subject: [PHP] Passing values dynamically
Hi,
I am getting a one
--- murugesan [EMAIL PROTECTED] wrote:
a href=page1.php?empid=1Enter/a
...
input type=hidden name=empid value=?php echo $empid;?
http://www.php.net/register_globals
Chris
=
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/
--
PHP General Mailing
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] says...
Hello again,
I would appreciate if someone could help me out with this one.
Thanks again
--Pushpinder
On Friday, August 8, 2003, at 11:46 AM, Pushpinder Singh Garcha wrote:
Hello All,
I am using php and mysql in
Thank you Jay for responding.
Let me clarify again. The $_GET Parameter was used to to transfer the
name from the results page (with the tables etc) to a
full-profile_1.php page. On the full_profile_1.php page the user is
displayed a form with all the details about the company. On the same
[snip]
Let me clarify again. The $_GET Parameter was used to to transfer the
name from the results page (with the tables etc) to a
full-profile_1.php page. On the full_profile_1.php page the user is
displayed a form with all the details about the company. On the same
page there is a form
Hello again,
I would appreciate if someone could help me out with this one.
Thanks again
--Pushpinder
On Friday, August 8, 2003, at 11:46 AM, Pushpinder Singh Garcha wrote:
Hello All,
I am using php and mysql in my application which allows users to
search/query a database. The database
Hello Jay ,
I am attaching snippet of the Form Code that displays the results of
the first query
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
/head
? echo Hello ::: .$company.br; ?
body bgcolor=aa leftmargin=14 topmargin=10
form name=form1 method=POST
[snip]
My question here is How do I get the name of the company that was
passed to this script as a $_GET Parameter. I cannot use the $company
because it is out of scope.
[/snip]
How about $_GET['company'] ? Or am I missing something?
Have a pleasant day.
--
PHP General Mailing List
Hi Daniel,
My advice is to use php sessions. You can register both the filled and
empty values in the session after processing them. Then you can header()
redirect normally with no fuss and extract the values from the session file
on the form page.
And here's a tip. Set up some CSS in a
Thanks so much for your time. These are great tips, thanks again.
- Original Message -
From: Kevin Stone [EMAIL PROTECTED]
To: Daniel J. Rychlik [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 12:37 PM
Subject: Re: [PHP] Passing values back to form
Hi Daniel,
My
Either use session, cookies, or pass the value in URLs. Because it is
login information, I would choose session or cookie
Chinmoy Barua wrote:
Hello everybody,
I want to pass a value, which came from a HTML form, to another PHP script. How can i do this?
e.g.: $login - the value of this
I want to pass a value, which came from a HTML form, to another PHP
script. How can i do this?
e.g.: $login - the value of this varriable is came from LOGIN.HTML to
LOGIN.PHP. How can i pass the value of $login from LOGIN.PHP to
PROCESS.PHP?
The easiest way is with a session. Remember,
On Thu, 6 Jun 2002, Anzak Wolf wrote:
$h=20;
$w=80;
print img src=\image.php?h=$hw=$w\;
Now this is a much watered down version of what I'm doing, but the idea is
the same. I don't want to put the values I'm passing to the image in the
html code to be passed with a get. I'd like to be
On Thu, 6 Jun 2002, Anzak Wolf wrote:
$h=20;
$w=80;
print img src=\image.php?h=$hw=$w\;
Now this is a much watered down version of what I'm doing, but the idea
is
the same. I don't want to put the values I'm passing to the image in
the
html code to be passed with a get. I'd like
show us code
-Original Message-
From: Sebastian A. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 6:02 AM
To: PHP General List (PHP.NET)
Subject: [PHP] Passing Values
Hello,
Today I was working on an object that will create all of the columns
and
tables in my
Are you using the post form method to post this variable to the next page.
The value $_POST['inp'] is not present or set...there is a null value there.
You will need to set the value with a post inorder to access it with the
predefined variable $_POST...
Thank you,
Ray Hunter
Firmware
echo script language='javascript'
.\n\tvar ndata = '.addslashes($data_data).';
.\n\tPutCode(ndata);
.\n/script;
Try that.
Chris TunkeyMicket Watford
TunkeyMicket Productions
www.tunkeymicket.com
- Original Message -
From: Romulo Roberto
On Thu, 21 Jun 2001, Romulo Roberto Pereira wrote:
Hello!
The following give me: unterminated string constant (this is a javascript
error)
when I execute the following:
while ($row = mysql_fetch_array ($data_query_action)) {
$data_data = $row[data_data];
}
echo
Hi,
To enumerate the key/value in ASP from the form you'd do this
%
dim element
dim objForm
dim strURL
'/* We're creating an object so that it won't matter which
' * HTTP method the previous form uses.
' */
If LCase(Server.Request("HTTP_METHOD")) = "post" Then
Set objForm =
, March 01, 2001 9:47 AM
To: [EMAIL PROTECTED]
Cc: PHP General List
Subject: RE: [PHP] Passing values from ASP to PHP
Hi,
To enumerate the key/value in ASP from the form you'd do this
%
dim element
dim objForm
dim strURL
'/* We're creating an object so that it won't matter which
' * H
use urlencode()
www.php.net/urlencode
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Tom Harris [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 4:12 AM
To: [EMAIL
URLs must be encoded if they contain special characters (and should be
encoded always). See urlencode().
-jm
-Original Message-
From: Tom Harris [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 11:12 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Passing values containing a ? and
At 20:11 22.02.2001, Tom Harris said:
[snip]
I want to assign a value using the url however the value contains both a ?
and an so PHP (or the browser) seems to get confused.
Here's an example:
34 matches
Mail list logo