Tjena Martin,
How did you set it up?
Where's the PHP doc that generates the error located?
What's in the script?
Did you check user rights?
/Johan
"Martin Skjöldebrand" wrote:
>
> I've installed PHP and MySQL on my Win2K Pro box according to
> a doc I got (thanks).
> Accessing a php-doc resul
Your'e correct.
When using PHP as ISAPI there's still problems with program execution
(exec, system et.c.) in ver. 4.0.6
CGI version still works better...
/Johan
BAMHA Mostafa Ftmms wrote:
>
> Hi all,
> I'm using the ISAPI version of PHP-4.0.6 on Win2K but the Exec command still
> doesn't
> wor
Pete,
Look at UPDATE or REPLACE (chap. 7.22 & 7.24 in MySql manual).
Then you might rewrite your SQL query to fit your needs.
/Johan
Pete Kuczynski wrote:
>
> I want to prevent duplicate entries into my mysql database which holds
> invertory of all network eqpt at my site. Engineers access it
rtfm
Hi, Jason
Have a look at:
http://www.php.net/manual/en/ref.session.php ("Session handling
functions" from PHP manual)
And some articles:
http://www.phpbuilder.com/columns/ying2602.php3
http://www.phpbuilder.com/columns/mattias2312.php3
http://www.phpbuilder.com/columns/mattias2
t; the server pointing to "localhost/website/etc..". The fact is how to allow
> the remote administrator to launch the application remotely.
>
> What do you think?
>
> Thanks a lot.
>
> Alessio.
>
> "Johan Lundqvist" <[EMAIL PROTECTED]> ha scritto
Hi,
That's a tricky one... dunno if it really could be done without many
security issues and ugly workarounds.
I think you got it a bit backwards...
If I ask you like this:
What is it that you need in the batch file, that can't be done in PHP?
/Johan
"Alessio Bernesco Làvore" wrote:
>
> Hi,
Michael wrote:
>
> Dear Johan
>
> In answer to your questions
>
> A) I have restarted Apache
Good..
> B) I stored it in the htdocs file within the Apache installation directory
That's like "c:\program files\apache group\apache\htdocs\", ok?
> C) I was not aware that I had to change anything o
Just to check the obvious
A: You have restarted Apache?
B: Where did you store phpinfo.php?
C: You have set "short_open_tag = On" in php.ini?
/Johan
Michael wrote:
>
> Please help
>
> I am having some serious problems. I have used a text editor to write the
> following code and saved it with
Hi Cengiz,
Are u running PHP as ISAPI? Then try CGI instead.
All "Program Execution functions" (LXIII in PHP manual, exec, system and
passthru) doesn't work well on Windoze platform in ISAPI-mode, or
doesn't work at all...
You might get it to work in CGI-mode, but there's still possible
problems
Hi Jack,
Jack wrote:
>
> I'm fresh on the php, but i just want to ask what should i do to let my
> existing Dreamwaver Made homepage to interact with Php, which means i had
> used dreamwave to draw the layout, using firework for the image, then i want
> to provide some function for the user like
Hi,
You could use fopen and read the file n then parse it to the reader.
$fp = fopen
("http://username:[EMAIL PROTECTED]/folder/file.html";, "r");
Have a closer look at fopen() and the "Filesystem" section in PHP
manual.
Just a warning: Be very, VERY careful when dealing with usernames and
pas
Hi,
That's correct, since PHP cos() and sin() uses radians and not degrees.
This can be solved by first using deg2rad(). This would make your code
look like this:
$i = deg2rad(270);
print "cos:".cos($i);
print "sine:".sin($i);
cos:0
sin:-1
/Johan
Bradley J Bristow-Stagg wrote:
>
U R right Zak, I'm a bit dizzy today, thanx.
--
PHP Windows 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]
This is a way of doing it:
$s = time() + 10;
for ($i = time(); $i <= $s; $i++) {
print $i;
}
Will run for about ten seconds...
/Johan
Brendan Gogarty wrote:
>
> hi,
> just wondering if there was any easy way to break/escape from a loop
> (for loop) if the loop exceeds a maximum time.
> I r
Sounds to me like it might be the firewall messing things up.
Are the clients connecting with https? What's the workload on the
firewall?
You said that the web server is in the DMZ. Where are the clients? On
the Private or Public side of the firewall?
/Johan
"Asendorf, John" wrote:
>
> I don't
Hi there,
I need to find a way of getting out a report on paper from the web
server (php,apache and WinNT/W2000). The app I'm developing will run on
several servers, so it has to be simple and standard.
What's the easiest way to do this? Do a copy of a file to LPT1:?
When will php_priner.dll com
Well, that depends on what you wanna do?
>
> Is it possible to set up a DNS server in a web server ?
A server acting as web server can also host a DNS server. It's just 2
different services/deamons running on different IP ports (http/web
commonly uses port 80 and DNS querys uses port 53).
If yo
I once had a similar problem with a few users monopolizing a database
server with looong running querys. The OS was NetWare with Oracle on a
2x500MhZ PII, 1Gb RAM and about 4-6Gb database.
When optimizing performance on this system I finally found that if I
split the main server into two different
Get in contact with some SPAM people... they all seem to get it done...
afan wrote:
>
> Hi all,
> there is my problem: I have a large text file with a lot of email addresses included
>in text. I have to extract just email addresses from a whole text.
> What's the way to do that?
>
> Thanks for
Well, well...
PC-Mag, as most ZD-Net and IDG mag's, are in my opinion too dependant on
Micro$oft advertising to make any "real" reviews on anything.
And, as Joe Brown said, their target readers are windows-users. The
"normal" windows user can't possibly read and/or understand ASCII code
in an edit
Have you checked the "extension_dir" in php.ini??
I got fed up with the path statements, so I simply put the dll's I need
in system32, and it works fine. Not a good lookin solution, but it works
in my test environment (in production we use Linux).
/Johan
macky wrote:
>
> Im using Win2K (w/serv
Hi there,
I'm lookin into some code a friend of mine wrote and we got in to this
arguement:
Is there any differens in performance when using "echo" vs "print"??
I belive print is, more or less, an alias for echo, he doesn't.
Someone got any answer to this???
/Johan
--
PHP Windows Mailing Lis
Not sure, but it sounds like php_crypt.dll would do the trick.
Seth Cox wrote:
>
> Hey! I just installed PHP on my Sambar server. It works great but I have
> one question. While reading a book to learn the PHP scripting language,
> it talks about having the encrypt() and decrypt() options with a
out Strings.
Happy hunting
/Johan
Giro De Roover wrote:
>
> How is that done and where ??
>
> "Johan Lundqvist" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hi Giro,
> >
> > You'll have to type c:\\Win
Hi Giro,
You'll have to type c:\\Windows\\Temp\\phpC021.TMP
/Johan
Giro De Roover wrote:
>
> Hi everyone,
>
> I am experiencing problem with mysql trying to import a text file with data
> into a table, i am using phpmyadmin in order to do that, going to insert
> textfiles into table and after
Yes Mike, but if it's a larger database you might wanna use the
functions in MySQL instead. Then you will save time and memory by not
selecting everything everytime and then process it in php.
Take a look at 7.4.9 in MySQL doc
(http://www.mysql.com/doc/M/a/Mathematical_functions.html).
/Johan
M
This is normal when something is very wrong in php.ini
Check the syntax in all lines in your ini-file.
Ermanno Iannacci wrote:
>
> I get a strange error when i use php with Apache on NT4
> If i run phpinfo() i get this error:
> "Could not attach to the application
> win NT error code = 87"
>
>
Tom's answer is correct, but...
I just HAVE to comment on the security issue in allowing telnet access
at all. You should think more than twice before open up any system, in
any way...
You might wanna think SSH, firewall or maybe VPN... I dunno.
/Johan
Tom Mathews wrote:
>
> 1) Command line con
In php.ini just enable LDAP in "Dynamic Extensions" section by entering
the line extension=php_ldap.dll and restart the web-server (if ISAPI
module) and off you go...
Joel Gilbert wrote:
>
> Thanks for the info. Just one more thing, is it possible to set up LDAP in
> PHP for Win2K & IIS, and if
> Hi,
> I'm trying to set up user-specific site settings with authentication. I need
> to be able to validate accounts to a Win2K Active Directory server, as there
> are several hundred accounts active, and they change on a regular basis. I
> have the IIS authentication working fine, but I want to
30 matches
Mail list logo