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
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
>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
>> 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 >>>
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
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
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
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/)
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
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
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
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
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!
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
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 ?!?
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
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
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
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
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
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
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
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
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
$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
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
26 matches
Mail list logo