Re: What's more common: CGI or module installation?

From: Date: Tue, 01 Aug 2000 02:55:18 +0000
Subject: Re: What's more common: CGI or module installation?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-9343@lists.php.net to get a copy of this message
yeah, that's a newbie question! but im one of them too... onload is a client-side event handler - you can use it to call javascripts, but if you did onLoad="http://murphatnight.com/hello.php3", then all you'd get would be a javascript syntax error php is server-side, so client-side functions and methods and properties are beyond its reach sorry about that it looks like you might want to do <body> <?php include("http://murphatnight.com/hello.php3"); ?> </body> chris "Murph" <murph@murphatnight.com> wrote in message news:003c01bffb61$40525400$25549318@ne.mediaone.net... > > At the least,l you should be able to call it as you would any cgi - > > something like > > > > http://your.host/path/to/php/path/to/test.htm > > > > Depending on the server and the cooperative nature of the ISP, it may > > also be possible to add .htaccess file(s) to your web structure to allow > > selected, or all, files to be parsed by the php cgi. > --- > > > That's reasonable enough and I've had some email from Bruce Christensen that > shows exactly how my host should configure their system. I shot them a copy > of his message and they're obviously mulling it over. They usually get back > to me within 30 minutes even late in the evening on a Sunday. They're pretty > good and I like the folks at Hostway.com. With Bruce's message, though, it's > been over a few hours and still nothing. I suppose I'll have to wait until > the morning when their crack staff get in before I hear back on something > this technical. > > ANYWAY... > > If I can call PHP as any other CGI script, I think I'm stumped as to how to > do something like this: > > <!-- http://www.murphatnight.com/test.html --> > <HTML> > <BODY > onLoad="http://murphatnight.com/hello.php3"> > (hello.php3 echoes "Hello, World!" back into test.html) > </BODY> > </HTML> > > Is that a newbie question? I dunno. I *am* fairly new to this but I've > crawled all over all kinds of books, docs, and manuals and haven't found the > answer. I thought fopen() was the answer but it doesn't quite give the > effect I'm looking for. > > I own (and read) "Professional PHP Programming" from Wrox and have scoured > the online PHP manual to no avail. I have this mailing list going and have > done the search engine thing with AltaVista. I don't mind buying and reading > books but which ones? > > This one, simple problem is killing me and keeping me up all hours of the > night. My work is suffering and my girlfriend can't remember my name so I > had to buy a nametag. > > Am I going down a dead-end or should I keep plugging away looking through > more stuff to find what I'm looking for? Got any pointers? > > Yours in Massachusetts, USA, > Murph > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#9343) next »