Re: [PHP] Calling a Windows Com object or an Extended Fetch?
Or you could just look at the phpbuilder.com column on using COM objects in php, or you could RTFM at the php.net site. just type in php.net/com and see what happens. We use php and com here a lot, and while the implementation lacks a few features of the asp/vb implementation it's handy when migrating from NT/ASP to NT/PHP. On Tue, 9 Jan 2001, Miles Thompson wrote: > I don't know, but I was glancing through an article on PHP in the current > issue of Dr. Dobb's Journal last week. At the very end I *think* there was > an example of calling a COM object. It was a VbScript <-> PHP comparision. > Have a look, might help. > > Miles > > (Yes, I've been known to make notes while in the newsstand.) > > At 10:01 AM 01/09/2001 -0600, Paulson, Joseph V. \"Jay\" wrote: > >Hello everyone-- > >I was wondering if PHP can call Windows COM objects in memory? If PHP can > >do this does anyone know how to do it or can you point me in the direction > >were I can pissibly figure it out. Also, does anyone know if PHP can call > >an Extended Fetch? > >Thanks, > >Jay Paulson > > > >-- > >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]
Re: [PHP] SSH file transfers
the people who make putty (my favorite ssh client for windows) also make a command line scp program. this could be included as an exec() in a script I would think... -- 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] sorry, btw
sorry, btw about my wraps. vi, pine and I are having a bit of a disagreement at the moment and I keep forgetting to hit return. -- 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]
Re: [PHP] PHP vs JSP
> I've worked on a couple of projects with JSP, and decided to use PHP to > build binarycloud. 'nuff said :) > ok, that's ONCE today.. =) -- 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]
Re: [PHP] Modifying arrays
try this one.. seems to easy though. Maybe I'm missing something?? Cheers, Brad On Mon, 15 Jan 2001, Catalin Borcea wrote: > How do I modify the value of the current element of an array? > > -- Catalin Borcea -- > \\\|/// > \\ - - // >( @ @ ) > -oOOO(_)OOOo > > > > > -- 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]
Re: [PHP] Forcing renaming of download file (want output from a phpfile being saved as some particular file by browser)
On Wed, 17 Jan 2001, Pankaj Gupta wrote: > Forcing a download is easy, but how can I tell the browser to name that file > to something particular, say data1.txt > Is there a header for that? There sure is: header("Content-disposition: filename=data1.txt"); BTW, I've been using that for a while, but I'm pretty sure I originally got it from reading the user comments on http://php.net/header. You can learn a lot from the people who post comments there. Whenever I look up syntax, I ALWAYS check them. Cheers, brad -- 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]
Re: [PHP] Why won`t this work??
Try this... alert('Please enter a User Name.'); self.history.back(); Cheers, Brad On Sun, 21 Jan 2001 [EMAIL PROTECTED] wrote: > Hi, > > Can anyone tell me before I rip my hair out, why this won`t work?? > > if (!UN) > { > printf("alert('Please enter a User > Name.');self.history.back();"); > } > > TIA > Ade > > -- 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]
Re: [PHP] Why won`t this work??
On Sun, 21 Jan 2001, Alexander Wagner wrote: > [EMAIL PROTECTED] wrote: > > Hi, > > > > Can anyone tell me before I rip my hair out, why this won`t work?? > > > > if (!UN) > > { > > printf("alert('Please enter a User > > Name.');self.history.back();"); > > } > > > > TIA > > Ade > > An undefined constant will return true. You have to explicitly define > it as 0 to make this work. > I guess this is becauese PHP interpretes it as a string, and all > strings but '' are true. It has to, because it doesn't know it is a > constant. > > Wagner > Plus, this is PHP, not javascript. Variables look like this, "$UN" not this, "UN". Brad -- 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]
Re: [PHP] url hide
If you're using apache, try mod_rewrite. I'm pretty sure you have to run something on the server side to do this. JavaScript runs client-side and will therefore be useless. Cheers, Brad On Mon, 22 Jan 2001, AJDIN BRANDIC wrote: > Perhaps not related to php but I was wandering, is it possible to hide > site's real url and replace it with something else (some other URL). ie. > someone clicks on a link on www.blah.co.uk which takes the user to an > designated area (ie. /house-search/) on www.foo.co.uk. I want > the user still to see www.blah.co.uk. This is just for aesthetic reasons > since ones the user finishes the search for houses (on > www.foo.co.uk/house-search/) he/she will return to www.blah.co.uk. > > I have tried www.javascripts.com but no success?? > > Thanks > > Ajdin > > -- 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]
Re: [PHP] Hello! PHP
If you want to e mail me privately I'll go into greater detail. But, to be brief, let me just say this. DON'T DO IT. Use jsp or python or anything else that talks to java. I've tried every available permutation of php/java on SEVERAL different plat- forms with simlilarly bad results on all of them. Just say NO. Brad On Fri, 16 Mar 2001, Celestino Roberto Alejandro wrote: > Hello, i'm working with PHP, and i need use a classes that this company have >developed in java, can i use it from php? > ...yes, i know that i can, but, when i make the configuration of the php.ini, run >the hello example, all rights, but, when i make a class > that use a frame of awt, for show a window, doesn't work, WHY?, the errors are, of >Null pointer, and not found classes, but?, i need copy all classes of the basic >structure of java, in my java.classpath?...where i can found more info? > :-) > Robert > -- 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] Re: Lists are back up
ditto that. On Mon, 18 Jun 2001, John Donagher wrote: > > Any chance we can get the [LISTNAME] subject prefixing so all my filters > don't break? :) > > John > > On Mon, 18 Jun 2001, Rasmus Lerdorf wrote: > > > We have re-enabled the PHP mailing lists. They are now running from a > > temporary machine sitting on the floor of my spare bedroom. A more > > permanent home is in the works. > > > > -Rasmus > > > > > > -- If society fits you comfortably enough, you call it freedom. -- Robert Frost
Re: [PHP] multiple & array problem
hello! > option1|option2|option3etc > i used implode function. > > But how to make in other way ! I mean to get result from Mysql and form to s > elect it > > I use this and i have an array ... but what next ? > $wyp = explode("|", $wyposazenie); > I haven't used explode for a while, but I believe it creates an array? you want to turn the array into an html select box? that would be this... $wyp_value HTML; } ?> have fun! I hope I understood the question. =) Cheers, Bard > > > Thank you for your help. > > > Teqilaman -- [EMAIL PROTECTED] > > > -- -- NOWPRINT. NOWPRINT. Clemclone, back to the shadows again. - The Firesign Theater -- 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]
Re: [PHP] How to connect Excel as a database from mysql
nope. go with COM. On Mon, 10 Sep 2001, Ing. Lalka Peter wrote: > Try ODBC connection... > - Original Message - > From: "Balaji Ankem" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, September 10, 2001 1:00 PM > Subject: [PHP] How to connect Excel as a database from mysql > > > > Hi, > > I am generating a report in exel sheet. > > For this i am planing to use exel as a data base. > > can you send the statements to connect exel sheet as a database and > > relate queries. > > Thanks in advance. > > Regards > > Balaji > > > > > > > > > > > > > > -- > > 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]