Ask a Question related to Macromedia Dreamweaver, Design and Development.
-
Gary White #1
Re: Invoking perl and .cgi scripts
"kferrans" <webforumsuser@macromedia.com> wrote in message
news:bfc18g$bdt$1@forums.macromedia.com...>
>Is there a way to invoke a perl script from my
>html using relative path addressing? Currently
>a visitor clicks on a link, a new widow opens
>and the script begins. In Dreamweaver, I've
>accomplished by adding an action
>(OpenBrowserWindow) on Event (OnClick). The
>current OpenBrowserWindow asks for the URL,
>thus I've entered
>'http://www.mystuff.com/cgi-bin/script.pl' and
>everything works fine.
I don't understand why you're using the full address. Why not just use a
relative (either document or site root) one?
Gary
Gary White Guest
-
Query on invoking remote java webservices from a Perl Client
Hi all, We are working on a Perl client, which should be able to invoke a method exposed by remote Java webservice (Eg. JMXConnector) deployed... -
Effeciency question - perl scripts v's perl exe's
Max Adams wrote: The only existing Perl compiler is part of perl. Anything else is just a packager that puts a perl, required modules, and the... -
ENV variables in perl scripts called from perl.
The subject says it all. I am doing a: I have a perl script in which I am using a ReadParse routine that parses the $ENV{'QUERY_STRING'} or... -
Invoking Win32 dll from Perl.
Hi all, I am trying to invoke a function in kernel32.dll from my perl program which looks like this - use Win32::API; $GetPID = new... -
include ASP scripts in PERL
In article <dcd2e192.0307010249.4747ccf7@posting.google.com>, "wimf" <wimf@gmx.de> wrote: Hi, Perl is not capable of parsing and executing... -
kferrans webforumsuser@macromedia.com #2
Re: Invoking perl and .cgi scripts
Gary,
I have tried using a relative address. Maybe I've done something wrong, but the OpenBrowserWindow action requires (or seems to) a URL address. One can not enter [url]http://../../myscripts.pl[/url]
When I enter just '../../myscripts.pl' upon invoking the script with a browser the browser shows the actual script text. When invoked via [url]http://www.mydomain.com/cgi-bin/myscripts.pl[/url] it runs the script. I'm looking for a way to both 'Open a New Window' and invoke the script with a relative address.
-kjf
Ken Ferrans, Jr.
"At the start of every day
a child begins to play,
and all we need to know
is that the future is a friend of yours and mine" -Anderson
kferrans webforumsuser@macromedia.com Guest
-
Gary White #3
Re: Invoking perl and .cgi scripts
On Sun, 20 Jul 2003 01:23:31 +0000 (UTC), "kferrans"
[email]webforumsuser@macromedia.com[/email] wrote:
Hmmm... I've converted all my server side code to PHP and it's been a>I have tried using a relative address. Maybe I've done something
>wrong, but the OpenBrowserWindow action requires (or seems to) a URL
>address. One can not enter [url]http://../../myscripts.pl[/url]
>
>When I enter just '../../myscripts.pl' upon invoking the script with
>a browser the browser shows the actual script text. When invoked via
>[url]http://www.mydomain.com/cgi-bin/myscripts.pl[/url] it runs the script. I'm
>looking for a way to both 'Open a New Window' and invoke the script
>with a relative address.
while since I've used Perl, but I'll have to try that. I don't
remember it being a problem. It will be tomorrow before I can test it
though.
Gary
Gary White Guest
-
Gary White #4
Re: Invoking perl and .cgi scripts
"kferrans" <webforumsuser@macromedia.com> wrote in message
news:bfcquj$c6d$1@forums.macromedia.com...but the OpenBrowserWindow action requires (or seems to) a URL address. One>
> I have tried using a relative address. Maybe I've done something wrong,
can not enter [url]http://../../myscripts.pl[/url]
No. If you enter the "http://" then you MUST enter the domain name.
browser the browser shows the actual script text. When invoked via> When I enter just '../../myscripts.pl' upon invoking the script with a
[url]http://www.mydomain.com/cgi-bin/myscripts.pl[/url] it runs the script. I'm
looking for a way to both 'Open a New Window' and invoke the script with a
relative address.
Here's where I don't see the problem. I don't have DW here, so I cannot use
the actual MM Open Browser Window, but all it does is call a JavaScript
window.open method. This simple example opens a simple Hello World Perl
script and appears to work for me using either site root relative, or
document relative addressing:
[url]http://apptools.com/newsgroup/perl.html[/url]
Gary
Gary White Guest
-
kferrans webforumsuser@macromedia.com #5
Re: Invoking perl and .cgi scripts
Gary,
Thanks. The open.window code works great. This board continues to be a great source of help.
Ken Ferrans, Jr.
"At the start of every day
a child begins to play,
and all we need to know
is that the future is a friend of yours and mine" -Anderson
kferrans webforumsuser@macromedia.com Guest



Reply With Quote

