php-windows Digest 31 Aug 2003 04:00:39 -0000 Issue 1893

Topics (messages 21279 through 21282):

Re: MS SQL questions
        21279 by: Svensson, B.A.T. (HKG)

download function
        21280 by: Ignatius Reilly

Help me!
        21281 by: Leskó József

calling sqlite method from class kills apache
        21282 by: Simon Wheeler

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
It is not clear what you want to do? Do you want
to export data from  MSSQL to MySQL or connetc to
a MSSQL server, or both?

To export data:

Then use the shell command bcp.exe (Bulk CoPy) to copy data
out from the tables of MSSQL to the file system, and then use
the corresdponding buck program with MySQL. However this I
would think that you would getter better answers from the MySQL
mailing list in the precis details on bulk copy data with MySQl.

To connect to MSSQL:

There is a good ducumentation on how to do this at
the www.php.net pages. Check out this link:

http://nl.php.net/mssql_connect


>From there on you should be able to find any thing you
might need in order to connect to MS SQL server.

-----Original Message-----
From: BhongOng
To: [EMAIL PROTECTED]
Sent: 28-8-03 15:09
Subject: [PHP-WIN] MS SQL questions

Hi,

I'm using MSSQL for my database application and not yet
ready to transfer my data to MySQL because of the file limit.
We have a very huge database.

MS SQL 7
Windows2000 Adv. Server
IIS 5
PHP 4.3.0
MySQL with MyODBC
Visual Basic & MS Access as client

We are developing a web application to access our data from
MS SQL.. what are the softwares or driver do we need?

Can somebody give me some code samples? I tried to use
mssql_connect() syntax but it returns some error..

Thanks.

Calixto Ong II

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
Hello,

I have the following problem:

I want users to download content that is stored in a private directory, as a
downloadable file.
So I do:

<code>
header( "Content-type: octet/stream" ) ;
header( "Content-Length: ".filesize( $file_path ) ) ;
header( "Content-Disposition: attachment; filename={$filename}" ) ;
header( "Content-transfer-encoding: binary" ) ;
echo "\n" ;
readfile( $file_path ) ;
</code>

Everything works just fine, except that the main IE (5.5) windows underneath
the download box shows a "The page cannot be displayed" error, which I would
just as well replace by
my own content.

How can I do?
Thanks

Ignatius

--- End Message ---
--- Begin Message ---
Hello,

 I am a 17 years old boy from Hungary, and I have problem with PHP. I hope that you 
can help. 
The problem: I ask the width and height of the screen with JavaScript, and when the 
JavaScript give the values to the PHP they become string, so I can't use the values as 
a number. I tried to change the type, but it's bad, too.
I want that if the screen is bigger, the image is bigger. 
I enclose a file, which show the problem.

I hope that you understand my problem, and sorry about the mistakes.

                                                                                       
                                 Leskó Dániel

--- End Message ---
--- Begin Message ---
Hi , trying to call a class method like so
   sqlite_create_function( $this->db ,  'link_keywords' ,  array($this ,
'linkers') ,  1 ) ;   /*(tried &$this as well)*/

kills apache (MS kills it b4 apache gets to write an error)

the same call to a normal function is fine
   sqlite_create_function( $this->db ,  'link_keywords' ,   'linkers' ,  1 )
;

is this a bug or am I just calling it incorrectly ?

Regards,
Simon Wheeler

--- End Message ---

Reply via email to