because i just know oho,vb and pascal
and i only know how to use VB to write server
^^
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 27/1/2003
--
PHP Windows Mailing List (http://www
1. You have a mysql database sitting on your windows server
2. your ISP has mySQL sitting on his (unix? windows?) server
3. you can get to his sql server using perhaps phpMyAdmin or a simple PHP
script such as
$db = mysql_connect("servername", "username", "password");
- are all the above true
I already have the database made.
I want to put the database on the server.
They told me that I must do a Dump and then run some kind of script that I
dont quite get it.
The problem is that I don't know how to run/make the script.
Thanks
"Cam Dunstan" <[EMAIL PROTECTED]> escreveu na mensagem
0055
Not sure if I fully understand your problem Rui but I would think your ISP
means an SQL statement type dump - that is, the data you have is put in the
form of a giant SQL statement - a collection of INSERT statements, one for
each record you want to insert. Perhaps this might need to be preceeded
You need to select the Database either in your script or via command line.
If you're doing it via the command line, it would be this:
use dbname
where dbname is the name of your database. If you're using a script, drop
this in:
$db = mysql_connect("$host", "$user","$pass");
mysql_select_db("$db
First of all, I must thank all the people who tried to help me in the
earlier prob.
Now I know how to make dump's.
The problem now is that I don't know how should I send the database.
I tried to make a dump > data.TXT and also tried data.sql. Both were in
vain.
I must run some kind of script but
php-windows Digest 10 Feb 2003 20:11:43 - Issue 1581
Topics (messages 18424 through 18439):
Re: If statement inside of for statement
18424 by: Stan McCowan
newbie:sql update
18425 by: Apollo
18430 by: Svensson, B.A.T. (HKG)
Re: how to make php4ts.dll act as a module
Oddly enough on the first build of this box 6 months or so ago, PHP
installed perfectly onto the C: drive. I rebuilt the network, but
saved the C drive for later data retrieval and formatting, so
another drive was placed into the system and rebuilt under
the E: drive.
This installation of PHP has
Sorry... I think I'm going blind :p
chris kranz
fatcuban.com
-Original Message-
From: news [mailto:[EMAIL PROTECTED]]
Sent: 10 February 2003 16:49
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] I get a "File Download" dialogue box
I am trying to configure run PHP4 on Apache on Windows XP.
Need a bit more info to say for sure...
But check that PHP is setup properly on the web server, follow the
install instructions...
What server you running? Have you followed the config instructions
fully?
chris kranz
fatcuban.com
-Original Message-
From: news [mailto:[EMAIL PROTECTED]]
Copy of message sent out last time someone had a similar problem:
Chances are you've not put the commands in the correct place, instead just
copy and pasted them into the config
file.
LoadModule php4_module C:\PHP\sapi\php4apache.dll
This has to be in the same place as all the other LoadModule co
You need to do two things (assuming you are not using the SAPI) in your
httpd.conf;
-Defin a PHP doc
AddType application/x-httpd-php .php .phtml
-Define what you do with a PHP doc
Action application/x-httpd-php /php/php-cgi.exe
-Original Message-
From: news [mailto:[EMAIL PROTECTED]]
Sen
I am trying to configure run PHP4 on Apache on Windows XP.
When I type http://localhost/ all I get is a "File Download" dialogue box,
instead of the normal Apache server page.
Does anyone know whats is going on here?
Please tell me if you need any more information.
-Nelson
--
PHP Windows
I feel the qweston become offtopick soon ;-)))
1. Look into permissions of the user you set to run web service
2. Use simple code to look at real values your php
enviroment varibles have.
3. Check
[mail function]
; For Win32 only.
SMTP = < smtp.somewhere.go >
; For Win32 only.
sendmail_from
Hi,
I'm new to php. I have downloaded and installed PHP 4.3.0 on a Windows
NT 4.0 server. I have tested the configuration and changed the
parameters in php.ini to fit my environment.
The basic code works fine, but one of the things I'd like to do is to
send mails. I have found the sample code a
> and i use vb to write a server
Why?
Implement it in a decent language like C/C++ instead.
Pascal or, good forbid, Java would had been a better
choice than VB.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
There exists an know bug with ODBC that generates
SQL STATE S1000 (== General Error). I think a
workarounds can be found (somewhere) at www.MSDN.com.
> -Original Message-
> From: Apollo [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 10, 2003 10:05 AM
> To: [EMAIL PROTECTED]
> Subject
[EMAIL PROTECTED] wrote:
we need example for site navigation (for database, we use odbc and MSSQL
7),
Be more specific. What kind of site navigation? A javascript menu, a
HTML site map or something else?
What kind of help are you looking for, a table design?
--
Best regards,
Per Lundberg
parvez Soobhany wrote:
to cofingure my apache and php to use php dom...where do I type this command
--with -dom
When you compile PHP. But you probably have it compiled already, as a
module, if you're using the binary archive from php.net. Look in
php.ini for the extension lines. There shou
cmkpl wrote:
i just want to use this dll to do input of php pages
and get the output
Look in the source code of the CGI or CLI sapi (in sapi/cli or sapi/cgi
in the PHP source distribution) for an example of how to do it in C. I
have no idea of how to call C libraries from within Visual Basic;
no one can help?
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 27/1/2003
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I'm trying out some few things about updating a database...
$connection = odbc_pconnect("OpusDB","","",SQL_CUR_USE_ODBC);
// define the rows that are going to be extracted
odbc_exec($connection,"UPDATE DeptMaster SET Counter=Counter+1
WHERE DeptDesc='$mydepartment'");
here's the e
22 matches
Mail list logo