I think there should not be a problem to do it just with a global variable
or you can pass
variables from external script to the (internal) script just by post or
get-methods. but what, if
the scripts are on different domains?


i have the problem that netscape 4.6 and more can't allow access to
scripts/documents at another domain
(javascript error). anyway i have a checking_status-script on domain
first.xxx.xx which calls a script on domain second.yyy.yy, ie and netscape
4.0 work quit well with this...
but not 4.6 and more. error: not allowed/disaccess script on other domain...

now i was thinking to manage it with a
(global?)php-variable (same php-modul running on the domains) to communicate
to  the script in the second domain...
can somenone help or have some tips?

greetings
tom


At 11:34 20.03.01 +0100, you wrote:
>On Tue, 20 Mar 2001 [EMAIL PROTECTED] wrote:
>
>> I think you didn't get what I meant,
>> 
>> I need a script such that I can change the content of database.inc from an
>> external script (form or whatever)
>
>Have you tried with global variables (see array $GLOBALS) ?
>
>--
>Ben
>Committee, n.: A group of men who individually can do nothing but as a
>group decide that nothing can be done. -- Fred Allen
>
>> ----- Original Message -----
>> From: "Stewart Taylor" <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>> Sent: Tuesday, March 20, 2001 5:57 PM
>> Subject: RE: [PHP] Editing Variables from another script.
>> 
>> > include "database.inc"
>> > .
>> > .
>> > .
>> > .
>> > $dbhost='localhost';
>> >
>> > -Stewart
>> >
>> > -----Original Message-----
>> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>> > Sent: 20 March 2001 09:26
>> > To: Jason Stechschulte
>> > Cc: 'PHP General List. (E-mail)'
>> > Subject: Re: [PHP] Editing Variables from another script.
>> >
>> > Okay, basically,
>> >
>> > I'm trying to create a script such that it will change the variables
>> inside
>> > of my .inc page.
>> >
>> > Something like
>> >
>> > lets say I have this file called "database.inc"
>> > Inside it I have :
>> >
>> > $dbhost = 'blah'
>> > $dbuser= 'blah'
>> > $dbpass= 'blah'
>> >
>> > I would like to make a script such that I can modify the $variables into
>> > something else like, $dbhost into localhost.
>> >
>> > How can it be done?
>> > ----- Original Message -----
>> > From: "Jason Stechschulte" <[EMAIL PROTECTED]>
>> > To: <[EMAIL PROTECTED]>
>> > Cc: "'PHP General List. (E-mail)'" <[EMAIL PROTECTED]>
>> > Sent: Monday, March 19, 2001 11:03 PM
>> > Subject: Re: [PHP] Editing Variables from another script.
>> >
>> >
>> > > On Sun, Mar 18, 2001 at 01:06:34PM +0800, [EMAIL PROTECTED] wrote:
>> > >
>> > > > I'm trying to create a form whereby I can edit the variables with just
>> > the form.
>> > > >
>> > > > It will be something like a form for me to change the database
>> > details(username,server,password) in a .inc I'm using.
>> > > >
>> > > > Is there anyway for me to pass information into another file's
>> variable
>> > and have it saved in there?
>> > > >
>> > > > If anyone have seen Newspro (CGI) before, when you edit some parts in
>> a
>> > form, the information will be saved. How can it be done in PHP?
>> > >
>> > > There is probably a hundred or more ways this can be done.  For me to be
>> > > able to give you specifics, you will have to be more specific with what
>> > > you are doing and what you have tried.
>> > >
>> > > --
>> > > Jason Stechschulte
>> > > [EMAIL PROTECTED]
>> > > --
>> > > Well, I think Perl should run faster than C.  :-)
>> > >              -- Larry Wall in <[EMAIL PROTECTED]>
>> > >
>> > > --
>> > > PHP General Mailing List (http://www.php.net/)
>> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > > For additional commands, e-mail: [EMAIL PROTECTED]
>> > > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>
>-- 
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>



---------------------------------------------------------
---------------------------------------------------------
-foerderverein kunst und internet e.V.
-lothringerstr. 23
-D-52062 aachen

thomas schneider
----------------
   tel:    +49 241.33686        (buero)
   mobil:  +49 179.4548 234
   fax:    +49 241.33636

'kulturraum raststaette'
'kulturserver heimat.de'
'kulturdatennetzwerk culturebase.org'

----------------------------------------------------------




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to