[PHP-WIN] Re: setup of MSSQL with PHP

2004-07-06 Thread hubo
> > $db = mssql_connect("WIN2KSRV","sa","xyzxyz") ; > Try $db = mssql_connect("localhost","sa","xyzxyz") ; -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Hardcore Database?

2004-06-20 Thread hubo
You might want to have a look at www.tpc.org "CBQ - GMX.at" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Hi @ everybody. > >Ok, here is the thing! > >Just try to imaging, you have to save something >like 4 - 5 Mio. Database entries (lengh could be >between

[PHP-WIN] Do not delete cookies; use php sessions

2004-05-31 Thread hubo
When you use php you do not need to deal with cookies explicitely. Instead use just php's sessions. Set a session variable to the username after the password validation. When logging out just set this session variable to "". (Or, in a more object-oriented manner, create an user object after valida

[PHP-WIN] Re: PHP IIS 5 problem

2004-04-12 Thread hubo
Just put index.php into the list of "standard documents" beside default.htm, default.asp and so on. "DUSTIN RICH" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > I have set up a site using PHP that works fine when using apache. Under > IIS, I get to the initial logon page, but

[PHP-WIN] Re: accessing files from mapped drive from another server

2004-04-12 Thread hubo
"M.Staiger" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Meanwhile I got the hint, that the IIS does not accept mounted drive > letters. The path to the other machine (\\server\path1..) must be used > instead. I didn't test it so far. Of course IIS does accept mapped drive

[PHP-WIN] Re: Tuning mySQL, php and apache

2004-04-10 Thread hubo
You might want to have a look at (persistent connections) http://www.mysql.com/news-and-events/newsletter/2002-11/a86.html and (connection pooling) http://www.mysql.com/news-and-events/newsletter/2003-05/a000173.html or http://dev.mysql.com/doc/connector/odbc/en/faq_3.html#Connectio

[PHP-WIN] Re: accessing files from mapped drive from another server

2004-04-09 Thread hubo
Actually it is a security issue, too. You have to be an authetified user (and not this anonymous one: IUSR_) to have access to any remote directory. Just uncheck the option "anonymous login" within you IIS admin for your php script (and enter you username and password when asked). "M.Staiger" <[EM

[PHP-WIN] Re: Major apache start error!!

2004-03-23 Thread hubo
It is not a bad idea to update to Apache 1.3.2x. > > Anyway, here's the poop. With Apache 1.3.14 for windows (php said working > with Apache2 was experimental so I went with version that was not) and php > 4.3.4 for win and I have these lines enabled in the httpd.conf (as per php > install.txt): >

[PHP-WIN] Re: MSSQL inserting into a table with a valid result set

2004-03-12 Thread hubo
You might want to try the SQL insert into sometable select * from someothertable where something = somethingelse "Gerardo Rojas" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] I have a valid result set from running a simple query. Is there a way of inserting this into an exis

[PHP-WIN] Re: Working with Base64 data

2004-02-18 Thread hubo
> > When I attempt to view the generated test.jpg in a browser, it is unable to > display. Same with photoshop and the windows built-in pic viewer. > I know that the base64 data is not corrupted, since I can get it to display > properly in netscape with the following code: > > echo ''; > > > Unfor

[PHP-WIN] Re: Emailing via mail(), secondary servers

2004-02-11 Thread hubo
"Paul J. Smith" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] Hi, At the moment you only seem able to send mail via a specific host specified in the ini file.I want some resilience so I can send emails even if the first mail server cannot accept email. Problem 1 As far as

[PHP-WIN] Re: IMAGES IN DB

2004-02-08 Thread hubo
> A comment on storing binary content in an RDBMS's: > > QUESTION: Is it possible to do a SELECT on an image that makes sence. > ANSWER: no! > My answer is: Yes! Have you never heard about the algorithm to compare and to sort (!) pictures not only using their meta data but also by analyzing th

[PHP-WIN] Re: Session Variables Problem (Missing)

2004-01-13 Thread hubo
e that the directory exists and is writeble for the PHP processes. "Brad Lawryk" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Thanks Hubo, > When I make a page with that code ... it always says 'New Session'. No > matter what I do the 

[PHP-WIN] Re: Session Variables Problem (Missing)

2004-01-10 Thread hubo
The code shown below is a complete php script for you. Save these lines into a file, for example, 1.php, and try to visit it from a browser. "Brad Lawryk" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Thanks Hubo, > > Where would I nsert that cod

[PHP-WIN] Re: Session Variables Problem (Missing)

2004-01-09 Thread hubo
To be sure that there is no coding error, just try this simple code: ' Begin == '== End == I have got no problem about the session variables on my W2K system with both IIS and Apache installed. By the way, since the php.ini is the same both for IIS

[PHP-WIN] Re: php.ini & smtp (php 4.3.4)

2004-01-09 Thread hubo
Do you really mean "sendmail_to" and not "sendmail_from"? Does it make sense to set a global "sendmail_to" in your php.ini? "Igor Pustylnick" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > I'm trying to change values in php.ini corresponding to SMTP and > sendmail_to. whatev

[PHP-WIN] Re: Session Problem

2004-01-06 Thread hubo
Be sure that it is a problem about session. Sometimes the page shown is just from the cache of your browser. "Meteorlet" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > > Hi,everyone! > I got a problem about SESSION.When we use Seesion to store information, > we hope that the s

[PHP-WIN] Re: Help with xslt on windows

2003-11-19 Thread hubo
Well, you must change your php.ini file to indicate that you do want to use the module php_xslt. "Myles Parker" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > an someone help me out with xslt on windows? > I have copied the 3 dll's in to the c:\WINDOWS\SYSTEM32 directory > (sa

[PHP-WIN] Re: php with MS Acces

2003-10-11 Thread hubo
Which line is the #13 (and #21, #25 resp.) in your code? "Masterblue" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > I tried the code below but i got an error , > Im on a win2000 machine and I use php 4.3.3 > Could someone help me out please!!! > > - Code - > $db = '\\

[PHP-WIN] Re: XML->HTML using PHP

2003-09-30 Thread hubo
Hi, you might want to have a look at the function xslt_process in your PHP Manual. There ist very easy sample. Ciao Hu Bo "Thijs Koerselman" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Hi, > > I'm new to this list and php so probably this is going to be a "newbie" que

[PHP-WIN] Re: PHP -> ODBC -> Remote Access

2003-09-12 Thread hubo
There is no way to access a remote MS-Access Database over the internet. Try to switch to mysql or any other database system which is *not* designed for desktop access only. "Aidal" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Hi everyone. > > I'm trying to figure out how t