thanks for your assistance.
From: Tim Streater [mailto:t...@clothears.org.uk]
Sent: Fri 1/13/2012 9:37 AM
To: David Savage
Cc: PHP General List
Subject: Re: RE: RE: [PHP] passing variables to php script
On 13 Jan 2012 at 15:05, David Savage wrote:
> I o
Tim Streater wrote:
> On 13 Jan 2012 at 15:05, David Savage
wrote:
>
>> I open the
html file up from a windows explorer window (Q:\asterisk\),
>>
and so
>> IE opens it up, but the problem lies in the fact that
I cannot find
>> apache
>> service running in the
background...haven't figured out wh
Make sure IIS is not running. That'll cause all kinds of trouble.
Tim Streater wrote:
> On 13 Jan 2012 at 15:05, David
Savage wrote:
>
>> I open
the html file up from a windows explorer window (Q:\asterisk\),
>> and so
>> IE opens it up, but the problem lies in
the fact that I cannot find
>>
On 13 Jan 2012 at 15:05, David Savage wrote:
> I open the html file up from a windows explorer window (Q:\asterisk\), and so
> IE opens it up, but the problem lies in the fact that I cannot find apache
> service running in the background...haven't figured out why yet. The "test
> configuration"
On 12 Jan 2012 at 18:51, David Savage wrote:
> Installed apache onto a win2K server, and have the html file & php file in the
> same folder (Q:\ASTERISK\) on the Q: drive (which is just another drive in
> this same server). I opened the html file using IE 6.0. What I'm thinking
> is there may
On Thu, Jan 12, 2012 at 7:51 PM, David Savage wrote:
> Installed apache onto a win2K server, and have the html file & php file in
> the same folder (Q:\ASTERISK\) on the Q: drive (which is just another drive
> in this same server). I opened the html file using IE 6.0. What I'm
> thinking is
script.
Thanks to all of you who posted comments for this problem ! I believe it will
eventually come together.
David
From: Ellis Antaya [mailto:ellis.ant...@gmail.com]
Sent: Tue 1/10/2012 4:46 PM
To: Marco Behnke
Cc: php-general@lists.php.net
Subject
"it can't work as long as long as there is Q:\ ins his form action"
+1
David, which web server are you running (apache, iis, ...)?
What is your document_root?
And last question, where are your html file and your php file(the full file
path)?
---
Ellis
(Sent from my iPod)
On 2012-01-10, at 16:2
On Tue, 2012-01-10 at 22:25 +0100, Marco Behnke wrote:
> Am 10.01.12 21:57, schrieb Ashley Sheridan:
>
> >
> >
> > > o simply "callrecs.php" and see if that works.
> > > > Q: would be referencing a filesystem path, rather a web address
> > > > interpreted by a PHP processor. Make sure your .
Am 10.01.12 21:57, schrieb Ashley Sheridan:
>
>> o simply "callrecs.php" and see if that works.
>> > Q: would be referencing a filesystem path, rather a web address
>> > interpreted by a PHP processor. Make sure your .php target is within a
>> > PHP supported web space.
>> If a default applicati
On Tue, Jan 10, 2012 at 9:57 PM, Ashley Sheridan
wrote:
> On Tue, 2012-01-10 at 21:43 +0100, Marco Behnke wrote:
>
>> Am 10.01.12 21:28, schrieb Mike Mackintosh:
>> >
>> > On Jan 10, 2012, at 15:12, Marco Behnke wrote:
>> >
>> >> Am 10.01.12 21:07, schrieb Donovan Brooke:
>> >>> David Savage wrot
On Tue, 2012-01-10 at 21:43 +0100, Marco Behnke wrote:
> Am 10.01.12 21:28, schrieb Mike Mackintosh:
> >
> > On Jan 10, 2012, at 15:12, Marco Behnke wrote:
> >
> >> Am 10.01.12 21:07, schrieb Donovan Brooke:
> >>> David Savage wrote:
> OK...I admit I'm new at thisI have this html file:
>
Am 10.01.12 21:28, schrieb Mike Mackintosh:
>
> On Jan 10, 2012, at 15:12, Marco Behnke wrote:
>
>> Am 10.01.12 21:07, schrieb Donovan Brooke:
>>> David Savage wrote:
OK...I admit I'm new at thisI have this html file:
Generate pdf file of LD, Toll Free, and Directory Assi
On Jan 10, 2012, at 15:12, Marco Behnke wrote:
> Am 10.01.12 21:07, schrieb Donovan Brooke:
>> David Savage wrote:
>>> OK...I admit I'm new at thisI have this html file:
>>>
>>>
>>> Generate pdf file of LD, Toll Free, and Directory Assistance
>>> calls>>
>>>
>>>
>
> Stupid question ..
Am 10.01.12 21:07, schrieb Donovan Brooke:
> David Savage wrote:
>> OK...I admit I'm new at thisI have this html file:
>>
>>
>> Generate pdf file of LD, Toll Free, and Directory Assistance
>> calls>
>>
>>
Stupid question . where have you copied your script? Is it lying on
a webserver?
David Savage wrote:
OK...I admit I'm new at thisI have this html file:
Generate pdf file of LD, Toll Free, and Directory Assistance calls
Account Number:
Year (4 digit):
Month (2 digit):
to which I would input an account number, 4 digit year, then 2 digit month.
Then click Su
On Jan 6, 2012, at 12:53 PM, David Savage wrote:
> -snip-
> WHAT AM I DOING WRONG ?
David:
Where do I start?
First, make sure your html is correct.
Second, you have to check your super globals to see if they have been defined
before attempting to get data from them.
Try reviewing the code her
On Fri, 2012-01-06 at 11:53 -0600, David Savage wrote:
> OK...I admit I'm new at thisI have this html file:
>
>
> Generate pdf file of LD, Toll Free, and Directory Assistance
> calls
>
>
> Account Number:
> Year (4 digit):
> Month (2 digit):
>
>
>
>
>
> to which I would input
OK...I admit I'm new at thisI have this html file:
Generate pdf file of LD, Toll Free, and Directory Assistance calls
Account Number:
Year (4 digit):
Month (2 digit):
to which I would input an account number, 4 digit year, then 2 digit month.
Then click Submit.
What I see in t
Ah, that makes sense. Given all the input on this thread, I'll see if I can
get sessions do what I want.
Thanks!
Waynn
Anybody can see it and change it.
All user input, which always includes GET/POST/COOKIE data is always
untrustworthy.
> -Original Message-
> From: Waynn Lue [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 26, 2008 6:17 AM
> To: PHP General list
> Subject: [PHP] Passi
> -Original Message-
> From: Waynn Lue [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 26, 2008 6:17 AM
> To: PHP General list
> Subject: [PHP] Passing Variables to an iframe
>
> This may be more a general HTML question, so let me know if I should
> post
>
On Fri, Sep 26, 2008 at 7:17 AM, Waynn Lue <[EMAIL PROTECTED]> wrote:
> This may be more a general HTML question, so let me know if I should post
> somewhere else.
>
> I was hoping to do some logic in a script, and then pass the results of
> that
> script to an iframe for more processing. Is it s
This may be more a general HTML question, so let me know if I should post
somewhere else.
I was hoping to do some logic in a script, and then pass the results of that
script to an iframe for more processing. Is it secure to include those
variables as get parameters to the iframe, though? In othe
At 11:19 PM +0100 9/21/08, Nathan Rixham wrote:
so may as well just have everything in one script then..
You always have the option to write one huge script for any application.
But normally in programming, we confront any problem by breaking it
down into smaller steps and writing code to s
At 10:18 AM -0400 9/22/08, Eric Butera wrote:
I don't understand what sort of point you're trying to make with this?
The original poster asked how to keep state between different pages
which in that context did mean separate requests. It seems like
you're trying to be confusing on purpose.
No
Sessions are used to pass dynamic content between pages. Your method is
passing static content.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
tedd wrote:
> No problem.
>
> But here is what I would like you to consider, the next time you are
> thinking abou
You're not passing anything from the browser which is what the OP
wanted. You're hard coding variables and the using them in other scripts.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
tedd wrote:
>
>
> I don't know what a "basic front-end loader pattern"
I would think debugging a chain of code is more of a nightmare than
debugging a $_SESSION variable. Also, HTTP is a stateless protocol no
matter what you do. If you want to pass data around, the only ways to
do it are $_SESSIONS and cookies with $_SESSIONS being preferable as
they stay on the ser
On Sep 22, 2008, at 10:41 AM, Nathan Rixham wrote:
tedd wrote:
At 2:47 PM +0100 9/22/08, Nathan Rixham wrote:
tedd wrote:
-Stut and Nathan:
The problem was not how to pass variables between requests, but
rather how to variables between pages -- as the subject line
indicates.
a
On 22 Sep 2008, at 15:08, tedd wrote:
At 2:47 PM +0100 9/22/08, Nathan Rixham wrote:
tedd wrote:
-Stut and Nathan:
The problem was not how to pass variables between requests, but
rather how to variables between pages -- as the subject line
indicates.
a! now I follow; and
tedd wrote:
At 2:47 PM +0100 9/22/08, Nathan Rixham wrote:
tedd wrote:
-Stut and Nathan:
The problem was not how to pass variables between requests, but
rather how to variables between pages -- as the subject line indicates.
a! now I follow; and surely tedd what you say is
On Mon, Sep 22, 2008 at 9:49 AM, tedd <[EMAIL PROTECTED]> wrote:
> At 11:19 PM +0100 9/21/08, Nathan Rixham wrote:
>>
>> so may as well just have everything in one script then..
>
> You always have the option to write one huge script for any application.
>
> But normally in programming, we confront
At 2:47 PM +0100 9/22/08, Nathan Rixham wrote:
tedd wrote:
-Stut and Nathan:
The problem was not how to pass variables between requests, but
rather how to variables between pages -- as the subject line
indicates.
a! now I follow; and surely tedd what you say is
indeed the b
At 11:19 PM +0100 9/21/08, Nathan Rixham wrote:
so may as well just have everything in one script then..
You always have the option to write one huge script for any application.
But normally in programming, we confront any problem by breaking it
down into smaller steps and writing code to sol
tedd wrote:
-Stut and Nathan:
The problem was not how to pass variables between requests, but rather
how to variables between pages -- as the subject line indicates.
a! now I follow; and surely tedd what you say is indeed
the best way of achieving this.
cheers for taking th
At 6:20 PM -0400 9/21/08, Robert Cummings wrote:
Looks like a basic front-end loader pattern. Data isn't passed, it's
available by virtue of being in the current request's context.
Cheers,
Rob.
Rob:
I don't know what a "basic front-end loader pattern" is, but the data
is available to the nex
At 8:39 PM +0100 9/21/08, Stut wrote:
On 21 Sep 2008, at 18:13, Nathan Rixham wrote:
at it's simplest is this correct..?
index.php
anotherscript.php
I'm struggling to follow here I thinks! lol
I don't think you're missing the point Nathan, I think you've hit it
on the head. This techniqu
Robert Cummings wrote:
On Sun, 2008-09-21 at 20:39 +0100, Stut wrote:
On 21 Sep 2008, at 18:13, Nathan Rixham wrote:
tedd wrote:
At 8:31 PM +0100 9/20/08, Nathan Rixham wrote:
Am I missing something here..?
Yes. You are missing the point.
This is exactly the same; you don't need $_SESSION's
On Sun, 2008-09-21 at 20:39 +0100, Stut wrote:
> On 21 Sep 2008, at 18:13, Nathan Rixham wrote:
> > tedd wrote:
> >> At 8:31 PM +0100 9/20/08, Nathan Rixham wrote:
> >>> Am I missing something here..?
> >> Yes. You are missing the point.
> >>> This is exactly the same; you don't need $_SESSION's in
On 21 Sep 2008, at 18:13, Nathan Rixham wrote:
tedd wrote:
At 8:31 PM +0100 9/20/08, Nathan Rixham wrote:
Am I missing something here..?
Yes. You are missing the point.
This is exactly the same; you don't need $_SESSION's in this case
because all you're doing is POST'ing the data every time.
tedd wrote:
At 8:31 PM +0100 9/20/08, Nathan Rixham wrote:
Am I missing something here..?
Yes. You are missing the point.
This is exactly the same; you don't need $_SESSION's in this case
because all you're doing is POST'ing the data every time..
And that's what you are missing -- it's not
At 8:31 PM +0100 9/20/08, Nathan Rixham wrote:
Am I missing something here..?
Yes. You are missing the point.
This is exactly the same; you don't need $_SESSION's in this case
because all you're doing is POST'ing the data every time..
And that's what you are missing -- it's not continued PO
tedd wrote:
At 12:42 PM -0400 9/19/08, Dan Joseph wrote:
On Fri, Sep 19, 2008 at 12:35 PM, tedd <[EMAIL PROTECTED]> wrote:
At 12:22 PM -0400 9/19/08, Jason Pruim wrote:
It's interesting that another topic (i.e. [PHP] SESSIONS vs. MySQL) is
discussing the differences in storing variables in
At 12:42 PM -0400 9/19/08, Dan Joseph wrote:
On Fri, Sep 19, 2008 at 12:35 PM, tedd <[EMAIL PROTECTED]> wrote:
At 12:22 PM -0400 9/19/08, Jason Pruim wrote:
It's interesting that another topic (i.e. [PHP] SESSIONS vs. MySQL) is
discussing the differences in storing variables in SESSIONS as
On Fri, Sep 19, 2008 at 12:35 PM, tedd <[EMAIL PROTECTED]> wrote:
> At 12:22 PM -0400 9/19/08, Jason Pruim wrote:
>
> It's interesting that another topic (i.e. [PHP] SESSIONS vs. MySQL) is
> discussing the differences in storing variables in SESSIONS as compared to
> storing them in MySQL when usi
At 12:22 PM -0400 9/19/08, Jason Pruim wrote:
So if I'm understanding you right... You're suggesting that in my
timecard app which has index.php (user login) and timecard.php
(Actual time card app) I could simply load index.php and then on
submit have it do this:
ob_clean;
include("timecard.ph
On Sep 19, 2008, at 12:11 PM, tedd wrote:
At 11:15 AM -0400 9/19/08, Jason Pruim wrote:
It makes perfect sense... Was just trying to avoid sessions since
this application will be limited to about 10 people and restricted
to the company intranet :)
But the script is still stateless regardl
At 11:20 AM -0400 9/19/08, Wolf wrote:
But why go around your elbow to blow your nose?
Wolf
Yeah, "That's like pounding sand in a gopher hole" -- a phrase (one
of many) that my wife uses that I have yet to understand.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com
At 11:15 AM -0400 9/19/08, Jason Pruim wrote:
It makes perfect sense... Was just trying to avoid sessions since
this application will be limited to about 10 people and restricted
to the company intranet :)
But the script is still stateless regardless of the number of people
or if it's limited
Jason Pruim wrote:
Hi everyone,
Stupid question of the week...
A array variable is not being passed between 2 pages. Are my options:
#1. Use sessions?
#2. Use cookies?
#3. Use a hidden form to pass the variable's around?
Here's some context... I am working on a timecard system where they
> Main page, login, $_SESSION gets set.
What Dan says, Sessions is the way to go with anything where you have logins
and need to do more stuff with the person. Easy to set up, easy to handle...
Of course, if you want to do it without sessions, you could get the session ID
when they login to
On Sep 19, 2008, at 11:08 AM, Dan Joseph wrote:
On Fri, Sep 19, 2008 at 10:54 AM, Jason Pruim <[EMAIL PROTECTED]>
wrote:
Hi everyone,
Stupid question of the week...
A array variable is not being passed between 2 pages. Are my options:
#1. Use sessions?
#2. Use cookies?
#3. Use a hidden
On Fri, Sep 19, 2008 at 10:54 AM, Jason Pruim <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> Stupid question of the week...
>
> A array variable is not being passed between 2 pages. Are my options:
>
> #1. Use sessions?
>
> #2. Use cookies?
>
> #3. Use a hidden form to pass the variable's around?
>
Hi everyone,
Stupid question of the week...
A array variable is not being passed between 2 pages. Are my options:
#1. Use sessions?
#2. Use cookies?
#3. Use a hidden form to pass the variable's around?
Here's some context... I am working on a timecard system where they
are presented the ma
On Mar 18, 2008, at 6:43 AM, Sudhakar wrote:
i am presently passing the value of a variable to a php file using GET
after data has been inserted to the database.
ex=
$firstname = $_POST["firstname"];
if(!$sqlconnection)
{
echo "error message";
}
else
{
header("Location: thankyou.php?firstnam
On Tue, Mar 18, 2008 at 12:45 PM, Stut <[EMAIL PROTECTED]> wrote:
> On 18 Mar 2008, at 10:43, Sudhakar wrote:
> > i am presently passing the value of a variable to a php file using GET
> > after data has been inserted to the database.
>
> Why do you need to redirect? Why can't you display the th
On 18 Mar 2008, at 10:43, Sudhakar wrote:
i am presently passing the value of a variable to a php file using GET
after data has been inserted to the database.
ex=
$firstname = $_POST["firstname"];
if(!$sqlconnection)
{
echo "error message";
}
else
{
header("Location: thankyou.php?firstnameis=$
i am presently passing the value of a variable to a php file using GET
after data has been inserted to the database.
ex=
$firstname = $_POST["firstname"];
if(!$sqlconnection)
{
echo "error message";
}
else
{
header("Location: thankyou.php?firstnameis=$firstname");
}
how can i send the value of
> I'll say it again:
>
> regsiter_globals has *NOTHING* to do with $_REQUEST.
>
> Zero.
> Zilch.
> Nada.
> Zip.
To me it allows for the same [lazy] behavior. Period. I've had other
people agree. Say what you want about it.
> No, it only relies on one "Designer" who wants their request to look
> l
On Sun, August 26, 2007 6:37 pm, mike wrote:
> On 8/26/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
>> It is *NOT* in any way, shape, or form, polluting the global
>> namespace
>> of all your variables, which is what register_globals is.
>
> That is why I said it was *one* reason register_globals w
On 8/26/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
> This is *SO* not correct at all!
>
> $_REQUEST[] is merely array_merge($_GET, $_POST, $_COOKIE);
Yes and it mimics being lazy - allowing overriding values from $_POST
vs. $_GET vs. $_COOKIE depending on what the programmer wants to
"trust"
I
On Fri, August 24, 2007 6:34 am, Suamya Srivastava wrote:
> by doing this can i disable the register_globals?
You can disable register_globals by using these:
$_GET['foo']
$_POST['foo']
$_REQUEST['foo'];
$_COOKIES['foo'];
$_SESSION['foo'];
$_ENV['foo'];
$_SERVER['foo'];
and never, ever, ever, u
On Fri, August 24, 2007 3:20 am, Goltsios Theodore wrote:
>> Please do not encourage the use of $_REQUEST.
>>
>> You might as well just tell people to enable register_globals again.
This is *SO* not correct at all!
$_REQUEST[] is merely array_merge($_GET, $_POST, $_COOKIE);
It is *NOT* in any w
On 8/24/07, Suamya Srivastava <[EMAIL PROTECTED]> wrote:
> Hi..
>
> in the settings, session.use_cookies is turned ON but session.trans_sid is
> turned OFF. do i need to enable this as well?
> by doing this can i disable the register_globals?
> - suamya
You need to make sure session_start() is ca
Hi
I have sessions working like a charm, i use it for my user login vars and so
on, here is the settings i used.
register_globals = Off
session.use_cookies = 1
and switch on session.trans_sid if you know that not all your users will
have cookies turned on
This worked for me
Johan
""Suamya Sriva
Hi..
in the settings, session.use_cookies is turned ON but session.trans_sid is
turned OFF. do i need to enable this as well?
by doing this can i disable the register_globals?
- suamya
> Hi
> Me again
> Check on Your setting -> ; Whether to use cookies.
>
Hi
Me again
Check on Your setting -> ; Whether to use cookies.
session.use_cookies = 1
session variable is saved here if the user have cookies turned off it will
still work if your have trans-sid turn on.
BTW you don't have to use a dropdown radio buttons or
Thank you all for the help.
I did not want to use dropdown box..that was the very reason i was
wondering if I can pass the variables through a hyperlink. I used $_GET
and it worked fine. However, as mentioned in the posts its not advisable
to use $_REQUEST. Could you please elaborate on the reason?
In this case $_POST would be the appropriate array, since your form is
using the POST method:
Goltsios Theodore wrote:
>
> I thought I just did a comment and suggested that it is a lame solution
> to use $_REQUEST plus I did not know witch of the two method (POST or
> GET) would be appropriat
I thought I just did a comment and suggested that it is a lame solution
to use $_REQUEST plus I did not know witch of the two method (POST or
GET) would be appropriate so I picked up the lame way :-) .
mike wrote:
On 8/24/07, Goltsios Theodore <[EMAIL PROTECTED]> wrote:
the posted or go
On 8/24/07, Goltsios Theodore <[EMAIL PROTECTED]> wrote:
> the posted or got option buy using the $_REQUEST array ($_GET and $_POST are
> included in that like a less lame solution). Let's say you have a
Please do not encourage the use of $_REQUEST.
You might as well just tell people to enable re
I think that you can also do that buy making a drop down list with the
available databases and pass the chosen database to another (or perhaps
the same) script and make the queries and output results there. You can
catch the posted or got option buy using the $_REQUEST array ($_GET and
$_POST
On 8/23/07, Suamya Srivastava <[EMAIL PROTECTED]> wrote:
> Hello,
>
> How can I pass variables on clicking a hyperlink to a PHP script? I have 5
> hyperlinks, all pointing to the same PHP script. However, on clicking each
> hyperlink a different value of the variable needs to be passed to the PHP
>
Hello,
How can I pass variables on clicking a hyperlink to a PHP script? I have 5
hyperlinks, all pointing to the same PHP script. However, on clicking each
hyperlink a different value of the variable needs to be passed to the PHP
script.
i.e. I have 5 databases from which I want to obtain inform
example.com?char_id=43&char=Bilbo
There is nothing about _ and (int) at all.
And, technically, you should use an HTML Entity on the & in your HTML
output, so it turns into &
On Wed, March 21, 2007 9:49 pm, Jeff wrote:
> I want to thank you all for clearing me up on setting the
> register_global
On 3/23/07, Chris <[EMAIL PROTECTED]> wrote:
Tijnema ! wrote:
> On 3/22/07, Jeff <[EMAIL PROTECTED]> wrote:
>> I want to thank you all for clearing me up on setting the
>> register_globals
>> to ON issue!! I have refrained from doing so and my code is running great
>> with the $_GET.
>>
>> I am h
I was going to say the same thing, but was too busy to worry about it
> -Original Message-
> From: Chris [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 22, 2007 7:14 PM
> To: Tijnema !
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Passing variables
&g
Tijnema ! wrote:
On 3/22/07, Jeff <[EMAIL PROTECTED]> wrote:
I want to thank you all for clearing me up on setting the
register_globals
to ON issue!! I have refrained from doing so and my code is running great
with the $_GET.
I am having NO trouble passing my "single" variable to the next page
although you should be filtering input in order to
avoid sql injection cross-site-scripting and other related nasties
you shouldn't be using htmlentities() in order to protect
against sql injection.
filter the incoming data, e.g.:
$a = intval($_GET['a']); // you want only integers
$a = floatval($
itoctopus wrote:
>Since you're new to this, always be sure to clean up the output you get from
>$_GET or $_POST to avoid sql injection.
>
>Fore example: $search_value = htmlentities($_GET['search_value'],
>ENT_QUOTES);
>If you're casting to something other than a string (such as int) than you're
>
Since you're new to this, always be sure to clean up the output you get from
$_GET or $_POST to avoid sql injection.
Fore example: $search_value = htmlentities($_GET['search_value'],
ENT_QUOTES);
If you're casting to something other than a string (such as int) than you're
safe and you don't have t
On 3/22/07, Jeff <[EMAIL PROTECTED]> wrote:
I want to thank you all for clearing me up on setting the register_globals
to ON issue!! I have refrained from doing so and my code is running great
with the $_GET.
I am having NO trouble passing my "single" variable to the next page using..
echo "Edi
Thank you Chris!
"Chris" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Jeff wrote:
>> I want to thank you all for clearing me up on setting the
>> register_globals to ON issue!! I have refrained from doing so and my code
>> is running great with the $_GET.
>>
>> I am having NO t
Jeff wrote:
I want to thank you all for clearing me up on setting the register_globals
to ON issue!! I have refrained from doing so and my code is running great
with the $_GET.
I am having NO trouble passing my "single" variable to the next page using..
echo "Edit";
as when the next page tha
I want to thank you all for clearing me up on setting the register_globals
to ON issue!! I have refrained from doing so and my code is running great
with the $_GET.
I am having NO trouble passing my "single" variable to the next page using..
echo "Edit";
as when the next page that load actuall
On Wed, March 14, 2007 9:14 pm, Jeff wrote:
> I've read and the wrote back and told me that they use suPHP to parse
> php
> files and I have the option of using custom php.ini files. That I
> could
> create a .htaccess file or put individual php.ini files in the folder
> that
> contains the files i
Ok, all I am new to PHP & MySQL. (please don't let this scare you off)
I had my site hosted with Gisol.com and due to their very poor service and
tech support I left them for Lunarpages.com who so far have a better service
and their tech support is excellent!! But my pages won't pass variables any
Every HTTP request is separate.
Nothing is preserved from one to the next unless you program it to be
preserved.
You can pass around hidden inputs.
You can use sessions.
You can store stuff in the DB.
You can use shared memory.
But ain't nothing gonna get shared that you don't make it be shar
On Wed, 25 Oct 2006 10:19:24 +0200, Max Belushkin wrote:
> Whatever form information you want to pass has to be part of the form.
>
>> WILLEMS Wim (BMB) wrote:
>>
>
> In the second script, the value of this will be in $_POST["database"].
... which will contain absolutely nothing, since you hav
http://google.com/search?q=phpmyadmin
phpmyadmin has all the functionality you are trying to build - and it
implements it securely - even if you are writing the code/tool mentioned below
as a learning exercise (as opposed to writing it because you need to
be able to execute arbitrary queries easil
Whatever form information you want to pass has to be part of the form.
WILLEMS Wim (BMB) wrote:
In the second script, the value of this will be in $_POST["database"].
$wim isn't part of your form - it will /not/ get saved into the next PHP
script. You can handle it through input type hid
WILLEMS Wim (BMB) wrote:
Dear all,
I am trying to pass variables from one php-file to another but that
doesn't seem to work. Anyone an idea what I am doing wrong?
The first file shows a dropdown with all the databases on the server
(only 1 for me). You have to select a database and put an S
Dear all,
I am trying to pass variables from one php-file to another but that
doesn't seem to work. Anyone an idea what I am doing wrong?
The first file shows a dropdown with all the databases on the server
(only 1 for me). You have to select a database and put an SQL query in
the textarea.
Pus
At 4:44 PM +0300 6/8/06, William Stokes wrote:
>I have a form that a user can use to edit www pages. Page content is stored
>in DB as a HTML code. First user has to select, from menu, which
>page to edit. Then the selected page content html is retrieved to a
> where it can be edited with tinyMCE
My Humble suggestion is possibly:
upon preview, actually post the edited data to a temp table, and then
pull the HTML from the temp table to display the preview page.
Currently you are passing the original content to the preview page.
And You might want to look to see if javascript has any fun
Hello,
I've used like 3 hours to get this done but I can't figure this out. Hope
someone here can help.
I have a form that a user can use to edit www pages. Page content is stored
in DB as a HTML code. First user has to select, from menu, which
page to edit. Then the selected page content ht
PHP has those variables in $argv
$argc tells you how many args there were.
$argv[0] is the actual script name, eg, myscript.php
On Sat, April 8, 2006 2:58 pm, Alan Schneider wrote:
> What is the best way to pass a variable value from one script to
> another?
>
> In unix or dos all I would need
What is the best way to pass a variable value from one script to another?
In unix or dos all I would need to do would be to add them just after the
name of the script
such as myscript.bat
thanks
Alan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
AndreaD wrote:
[ snip ]
just say I have a page index.php and that is doing a calucualtion and
creating a couple of variables called $age and $height.
How so I make these variables globally available and how do all the other
pages show/retrieve them??
Andrea:
What you are looking for are sessio
1 - 100 of 282 matches
Mail list logo