Re: [PHP] How to call a vc++ dll from a HTML form

2009-11-17 Thread James McLean
On Wed, Nov 18, 2009 at 3:21 PM, Peter wrote: > Thanks to All. > > I want to call a vc++ dll from a HTML form. The dll need to be triggered on > a button click in the HTML form. > > I want to access the dll from the client end(javascrript) without using the > server. > > Tell me whether its possib

[PHP] How to call a vc++ dll from a HTML form

2009-11-17 Thread Peter
Thanks to All. I want to call a vc++ dll from a HTML form. The dll need to be triggered on a button click in the HTML form. I want to access the dll from the client end(javascrript) without using the server. Tell me whether its possible to call dll directly or through any interface ? Pleas

Re: [PHP] Pear include path problem

2009-11-17 Thread Al
Jim Lucas wrote: Al wrote: I've got script that uses the pear Mail class and have had problems on some shared hosts with the include path to Mail. E.g., Blue Host insists the site owner must change the php.ini file. I'd rather not expect them to do that. Can you folks critique this approach f

Re: [PHP] Pear include path problem

2009-11-17 Thread Jim Lucas
Al wrote: > I've got script that uses the pear Mail class and have had problems on > some shared hosts with the include path to Mail. E.g., Blue Host insists > the site owner must change the php.ini file. I'd rather not expect them > to do that. > > Can you folks critique this approach for me. >

[PHP] Pear include path problem

2009-11-17 Thread Al
I've got script that uses the pear Mail class and have had problems on some shared hosts with the include path to Mail. E.g., Blue Host insists the site owner must change the php.ini file. I'd rather not expect them to do that. Can you folks critique this approach for me. if(EMAIL_MODE=='smtp'

[PHP] Re: How to make the PHP know the real SCRIPT_FILENAME?

2009-11-17 Thread Dong Wang
ur... you mean use this in the php script? but the php-cgi still doesn't know which scriptfile to execute, isn't it? php-cgi tries to find the aimed script using SCRIPT_FILENAME, but this variable is changed by the mod_proxy_fcgi, so php-cgi can not find the real scriptfile, that's the point, I th

Re: [PHP] PHP httpd debug question

2009-11-17 Thread Nathan Rixham
John Beaulaurier -X (jbeaulau - Advanced Network Info at Cisco) wrote: > That’s sounds like what I’m looking for. I don’t want to interfere with the > current httpd process serving content while running the debug. > http://www.google.com/search?q=multiple+apache+instances note: setting only th

RE: [PHP] PHP httpd debug question

2009-11-17 Thread John Beaulaurier -X (jbeaulau - Advanced Network Info at Cisco)
Hi Devendra That’s sounds like what I’m looking for. I don’t want to interfere with the current httpd process serving content while running the debug. Thanks -John From: Devendra Jadhav [mailto:devendra...@gmail.com] Sent: Tuesday, November 17, 2009 5:57 AM To: John Beaulaurier -X

Re: [PHP] PHP httpd debug question

2009-11-17 Thread Devendra Jadhav
Hi, I am not getting what are you asking but if you want to run two httpd then you have to run those on different ports. For this you can change "Listen 80" to "Listen 2020" from httpd.conf file. So that one server will run on 80 and other will run on 2020. you can change 2020 to whatever port you

[PHP] Re: How to call DLL in Javascript

2009-11-17 Thread Nathan Rixham
Peter wrote: > Hi All, > > I want to call dll in javascript > > I tried the following script, but i got the error message 'ActiveXObject > is undefined' > (Note : i have the feedback.dll in the same path only) > > > > > > function comEventOccured() > { > >try{ >var myobject; >

[PHP] Re: How to make the PHP know the real SCRIPT_FILENAME?

2009-11-17 Thread Nathan Rixham
Dong Wang wrote: > I am trying to use PHP as backend, which communicate with apache-2.3's > mod_proxy_fcgi > > But I have noticed that the SCRIPT_FILENAME has been changed to > "proxy:balancer://xx", it cann't be recognized by the remote PHP > backend. So the request failed. > In my opinion,

Re: [PHP] How to call DLL in Javascript

2009-11-17 Thread Phpster
I don't think you can di this with client side js. It would have to run outside the security sandbox and that is a bug no-no. If the dll is in the server, you could potentially call the server via Ajax to instantiate the dll and have it's output sent to the browser Bastien Sent from my iPo

[PHP] Re: [php] & [mysql] select and subselect

2009-11-17 Thread Nisse Engström
On Mon, 16 Nov 2009 14:21:41 -0800, Allen McCabe wrote: > I have an order table that keeps track of the order_id, the date, the > status, etc. I also have an order_lineitem table that is the contents of the > order. This has a one-to-many structure (without foreign keys because it is > mysql).

Re: [PHP] How to call DLL in Javascript

2009-11-17 Thread Ashley Sheridan
On Tue, 2009-11-17 at 17:58 +0530, Peter wrote: > Hi All, > > I want to call dll in javascript > > I tried the following script, but i got the error message 'ActiveXObject > is undefined' > (Note : i have the feedback.dll in the same path only) > > > > > > function comEventOccured() > { >

[PHP] How to call DLL in Javascript

2009-11-17 Thread Peter
Hi All, I want to call dll in javascript I tried the following script, but i got the error message 'ActiveXObject is undefined' (Note : i have the feedback.dll in the same path only) function comEventOccured() { try{ var myobject; myobject = new ActiveXObject("feedback.d

[PHP] Re: [php] & [mysql] select and subselect

2009-11-17 Thread David Robley
Allen McCabe wrote: > I have a page on my site where I can optionaly filter by certain fields > (order by filesize or file category), but I am implementing a shopping > cart type of idea where users can submit an order. > > As administrators, my coworkers and I need to be able to filter orders by

Re: [PHP] Shoutbox suggestion needed

2009-11-17 Thread Michael Kubler
The main issue with these systems is updating the client on a regular enough basis. If the content is time critical, like with Facebook chat, then you need to do long polling. However for a Shoutbox, because it's more like an IRC channel with people 'shouting' to a channel, you can probably ju