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. He
: 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
> wrote:
> Hi,
>
> I've recently written an eMail regarding I2C and PHP - since I
> haven't found a nice solution yet, I
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".
>
Am 21.06.2009 um 23:31 schrieb Nathan Nobbe:
On Sun, Jun 21, 2009 at 3:25 PM, Tobias Krieger > 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 (tha
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)
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 = $value";
/or whatever coding i want to do//
}
regards
hope
Jay Blanchard wrote:
[snip]
//
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 to next page
in this context??
[/snip]
Look in the $_POST array (which matches the f
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 usi
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/
http://d
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 mor
Try this:
extract($_POST);
extract -- Import variables into the current symbol table from an array
All of my forms have worked without $_POST or $_GET. Is there a reason for
inavailability of variables???
Its a good practice to use $_POST for security reasons.
Vishal.
-Original Message--
Ciemny, Jessica wrote:
Hey every, I'm new to the group and to PHP (3 days now) and I would like to
ask a question. I purchased a book on PHP a day or so ago and as I'm going
through the book it comes to a point where it talks about passing html form
values to PHP. So I type up the examples from the
[snip]
Anyone have any ideas as to what's up. I hope its just something silly
that
I'm missing being a newby to PHP and all.
[/snip]
There is a feature in the php.ini called register_globals. If you look
in your php.ini you will see that it is off by default and some of the
books may have missed t
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 gettin
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 fo
--- murugesan <[EMAIL PROTECTED]> wrote:
> Enter
...
> >
http://www.php.net/register_globals
Chris
=
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
[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 wher
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
p
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 usin
[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 (http://
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">
"; ?>
Complete
Candidate Profile
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 i
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: [P
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 switch
> 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
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 varria
>On Thu, 6 Jun 2002, Anzak Wolf wrote:
> > $h=20;
> > $w=80;
> > print "";
> >
> > 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 abl
On Thu, 6 Jun 2002, Anzak Wolf wrote:
> $h=20;
> $w=80;
> print "";
>
> 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 able to maybe pass
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 DataBas
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 Engineer
echo ""
."\n\tvar ndata = '".addslashes($data_data)."';"
."\n\tPutCode(ndata);"
."\n";
Try that.
Chris "TunkeyMicket" Watford
TunkeyMicket Productions
www.tunkeymicket.com
- Original Message -
From: "Romulo Roberto Pereira" <[EMAIL PROTECTED
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"];
>}
>
OTECTED]]
Sent: Thursday, 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
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 = Request.Fo
Well, if it's a query string it's easy...
In the ASP page you do:
<%
Response.Redirect("myscript.php?" & Request.ServerVariables("QUERY_STRING"))
%>
If it's posted form data do this:
<%
Dim Querystring
Querystring = ""
For each Item in Request.Form
if Querystring = "" Then
Querystr
35 matches
Mail list logo