[PHP-WIN] Re: [PHP] Re: [PHP-WIN] Re: [PHP] Re: Question on virus/worms

2007-03-15 Thread Dave Goodchild
Turn off register_globals - if you pollute your scripts with global variables like that you are asking for trouble. If you can't make sure you clean the variable. Using include("$page.php") is asking for trouble. If you can get register_globals switched off (it's off by default in PHP5 for this

[PHP-WIN] Returning binary data - HOW?

2006-02-06 Thread Dave Brown
Hi - I've been stuck on this for 12 hours now and run out of ideas. Wondering if someone can help me? My PHP page calls a COM object which is supposed to return some binary data which is then sent back to the user. The problem I have is that once the call to my COM object is done, PHP thinks the r

[PHP-WIN] Re: FW: exec php.exe in windows

2006-01-23 Thread Dave Kennedy
>Env: IIS, Windows XP, PHP 4.3.10 (cgi-fcgi) >exec('c:\php\php -q Balance.php export=all branch= month= >login=admin password=admin >> export/Balance.html'); >This command works in Linux when launched by an HTTP server. >In Windows it works from the command line but hangs when launched from an

[PHP-WIN] Re: FW: exec php.exe in windows

2006-01-23 Thread Dave Kennedy
>> Env: >> Windows XP >> PHP 4.3.10 (cgi-fcgi) >> >> I am trying to capture the html output of Balance.php to a file: >> The code loops over > and > to build up a report in >> export/Balance.html >> >> exec('c:\php\php -q Balance.php export=all branch=> month=> >> login=admin password=admin >>>

[PHP-WIN] FW: exec php.exe in windows

2006-01-22 Thread Dave Kennedy
Env: Windows XP PHP 4.3.10 (cgi-fcgi) I am trying to capture the html output of Balance.php to a file: The code loops over and to build up a report in export/Balance.html exec('c:\php\php -q Balance.php export=all branch= month= login=admin password=admin >> export/Balance.html'); This comm

[PHP-WIN] PHP 5 - Apache2 - mysqli class not found

2005-02-17 Thread Dave Adler
I have an install of PHP 5 on Windows 2003 Server with Apache 2 and when I reference mysqli in my php code, I get an error that the mysqli class is not found. I looked at the php.ini file and I added a line for php_mysqli in the extensions section and I edited the extension_dir directive to poi

[PHP-WIN] Problem using Include Function with PHP5/Apache2.0/W2K3 Server

2005-02-16 Thread Dave Adler
I am new to PHP and Apache. I am trying to use the include function to include a file that has my web page header and menu, similar to what I used to do with SSI. So I have a file called menu.inc that is in the /includes folder off of the doc root. the file has HTML in it to display a menu and

Re: Res: [PHP-WIN] Need to do graph. Where do I start?

2004-12-06 Thread Ankur Dave
uld I start? > > I'm heading home now (12.30AM here) but looking forward to replies in the > morning. > > Thanks ... Ross > .. > .. Ross Honniball. JCU Bookshop Cairns, Qld, Australia. > .. > > -- > PHP Windows Mailing List (http://www.php.net/)

Re: [PHP-WIN] Re: PHP 5.0.0 Released!

2004-07-15 Thread Dave Wilcock
Thanks for that ... using ISAPI instead of CGI worked first time. However (there is always a however, aint there?), PHP executes the pages OK, but at the bottom of each page, I receive this message: "PHP has encountered an Access Violation at 010173CD" Anyone else? Permissions, perhaps? "Frank M

[PHP-WIN] Re: PHP 5.0.0 Released!

2004-07-14 Thread Dave Wilcock
Just Windows XP Pro, I was running 4.3.7 beautifuly without failure, then 5.0.0 comes along an throws a spanner into the works. I have exactly the same issue - php.exe just site there using a process and doesnt actually do anything... If you have any luck with this, let me know how you resolved it

[PHP-WIN] Re: configuration mime type problem

2004-05-28 Thread Dave Grijalva
try forcing an html header: header('Conent-Type: TEXT/HTML'); you want apache to recognize .php, but the browser should still see it as html (or xml or whatever format you want to use). -dave Tony Moore wrote: Hi, hoping someone can point me to the correct part of the FAQ or otherwi

Re: [PHP-WIN] Reading files from different user's

2003-11-19 Thread Dave Gardner
try using http file upload. there is a lot on this in the php manual. then you can send the file back by sending headers first and then sending the data (it will prompt user with "save file as..." dialogue). --- Gerardo Rojas <[EMAIL PROTECTED]> wrote: > I am running IIS with PHP. I want to

[PHP-WIN] SSL Handshake and PHP

2003-09-17 Thread Dave Fazio
Does anyone know the steps is takes to perform an SSL handshake, mainly in PHP. I need to establish an SSL connection with an external server, and it is my understanding that during the SSL handshake, a cypher is decided on and public keys are exchanged. But I don't know how to implement. Help!

[PHP-WIN] Re: No answers found - Why var and why & ?

2003-09-11 Thread Dave Dash
var $varname before a constructor is just conventional syntax when defining a class. class myClass { var $myThis; function myClass() { } } I'm sure you can do this another way, but it just makes reading the class very easy, and it defines those variables for the entire scope of the class. -dd

[PHP-WIN] Re: Subject: Parse error what's this, what to do?

2003-06-22 Thread Dave Malen
Hi Neil Thanks I needed that its been a long day lol Cheers Dave "Neil Smith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Dude - do you think we're telepathic or something ? How the hell are we > supposed to know what you have written on line 129 ?!?

[PHP-WIN] Unable to Fork error using exec() or system()

2003-03-24 Thread Dave Marr
here has to be a way around it! Thanks, Dave -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Redirecting to index.php

2003-01-27 Thread Dave
Hey guys, I am wondering how, when people go to my main site, http://splix.dyndns.org, they get redirected to index.php. I am used to using HTML, where the first page the user sees is index.html. How can I do this with PHP? Thank, Dave -- PHP Windows Mailing List (http://www.php.net/) To

[PHP-WIN] berkeley db3 on windows

2003-01-08 Thread Dave Viner
is actually created in the directory, with 0 length. has anyone seen this type of error or know how to fix it? thanks dave __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP Windows

Re: [PHP-WIN] Installing PHP for Apache on Windows XP

2002-06-24 Thread Dave
again, Dave "Steve Parrish" <[EMAIL PROTECTED]> wrote in message news:p05100301b93be18f57b7@[66.136.32.169]... > At 7:18 AM -0700 6/23/02, Dave wrote: > >I have been trying to install PHP for Apache on WinXP. I have added all of > >the necessary lines to the Apache C

[PHP-WIN] Installing PHP for Apache on Windows XP

2002-06-23 Thread Dave
I have been trying to install PHP for Apache on WinXP. I have added all of the necessary lines to the Apache Config file, although when i try to add LoadModule php4_module c:/php4/sapi/php4apache2.dll Apache wont restart. I copied all of the PHP .ini and .dll files into the appropriate directo

[PHP-WIN] PHP crash www service NT + IIS4

2002-04-04 Thread Dave
Hi, I have a problem with some php pages when I submit via post a form, www service crash! on the event log I have this message: The Open Procedure for service "ContentFilter" in DLL "QPerf.dll" Any ideas? Thanks in advance Bye, Dave -- PHP Windows Mailing List (htt

Re: [PHP-WIN] DLL problems

2002-02-03 Thread Dave
s:[EMAIL PROTECTED]...> 1) Did you enable the dll in php.ini (make sure that there is only one copy > of php.ini in path)? > 2) Did the dll have been compiled for your PHP version? > 3) Some other reasons ;) > A+ > Alain > > > -Original Message- > From: Dave [mai

[PHP-WIN] DLL problems

2002-02-01 Thread Dave
Hi, I'm using win 98, php 4.04, and apache 1.3.19. Have had no problems executing simple scripts, including some with mySql access. HVR, when I uncomment any of the php dll's in the php.ini file I get the following message (one for each dll): "unable to load dynamic library 'c:\windows\system\ph

[PHP-WIN] Uptime script

2001-07-13 Thread Dave Milford
his time it displays: d:\www> (that's my HTTPd root dir) How could I get this displaying my uptime, and maybe even resource usage? Any help would be appreciated. Thanks --- Dave Milford ICQ : 8516328 Email: [EMAIL PROTECTED] -- PHP Windows Mailing List (htt

[PHP-WIN] PHP4, WinNT, exec() (NOTHING HAPPENS!...please help!!)

2001-04-20 Thread Dave Faulkner
$img_location $img_location"); Im using imagemagick at this point to try and get the desired outcome. in before it copies the file to the directory. However this results in absolutely nothing being executed. The rest of the script still works fine, but none of the "convert" stuff looks l

[PHP-WIN] WinNT, PHP4, IIS4, exec() Nothing Happens at all!

2001-04-14 Thread Dave Faulkner
ible that i have missed something very simple as i have only been working with php (or any coding for that matter) for about two weeks now. Thanks in advnace for any help anyone can give me Regards Dave Faulkner -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL