php-windows Digest 11 Oct 2001 14:02:54 -0000 Issue 799

Topics (messages 9793 through 9803):

Re: Data from local PC MySQL (or MSAccess) to remote UN IX ISP MySQL
        9793 by: Corn Vollney-R7019C

Re: windows compile - tsrm.lib error
        9794 by: Simon Benjamin

Re: Exec() again
        9795 by: CJD

Re: Help with Php4.06 installation
        9796 by: Chen Wei, Lian
        9798 by: Steve Yates

Re: php_mcrypt.dll
        9797 by: Brian Gleason
        9801 by: mates
        9803 by: Brian Gleason

Re: crash on shutdown in php4ts.dll
        9799 by: Steve Yates

Re: upload files problem
        9800 by: Steve Yates

Re: Getting The Name Of A Form Within A Script
        9802 by: _lallous

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 ---
What you need to do is download DBTools for windows at http://dbtools.vila.bol.com.br 
. You can then connect to your ISP's Mysql server and transfer you access database. 

Voll

-----Original Message-----
From: Tome [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 10, 2001 10:11 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Data from local PC MySQL (or MSAccess) to remote UNIX
ISP MySQL 


How to get the data from my local PC MySQL database (or MSAccess) to the
remote UNIX ISP MySQL database.  There must be a simple method for this?

I am new to OpenSource and programming.

I have been an NT administrator, and made the jump to OpenSource.  Some of
the simple things to do in SQLServer seem complicated using MySQL.

I set up phpAdmin 2.2.0 on my remote ISP's UNIX box:  I am able to browse
the phpAdmin 2.2.0 Welcome page,  and have protected the folder with
.htaccess.

I remotely created a table in the database which mimics the table I have on
my local Windows2000 PC. Locally, the table and data had originally been
created in MSAccess and was exported to my local MySQL database. That was a
menu-driven one step procedure.

Now, I am trying to figure out how to get the data from my local PC MySQL
database (or MSAccess) to the remote ISP MySQL database.  There must be a
simple method for this.  I am new to OpenSource, so I need step-by-step
instructions.

Should I give up?



-- 
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]
--- End Message ---
--- Begin Message ---
> I following the build instructions:
> ( http://www.php.net/manual/en/install-windows.php#install.windows.build )
>
> When loading php4ts workspace (.dsw) or project (.dsp)
> PHP 4.0.5 or 4.0.6 compile i get error message:
>
> 'LINK : fatal error LNK1104: cannot open file "TSRM.lib"'

I download the latest cvs and php compiled.

bye, Benjamin


--- End Message ---
--- Begin Message ---
exec() will execute the app as the system, not a user, so cannot interact
with the desktop.

One way of getting around this would be (for NT) to use the exec() command
to create an AT schedule for 1 min in the future and set it to /interactive
which would cause the app to load and interact with the desktop of the
logged in user (if there was one). This is theory, by may just work.....



"Yaroukh" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This works:
> Exec("mkdir myDirectory");
> ... this doesn't:
> Exec("C:\\Program Files\\WinAmp\\winamp.exe");
>
>


--- End Message ---
--- Begin Message ---
Hi Mihail,

I believe it's ur script problem. Can you show us what ur script is doing?


-- 
regards,
chen wei (http://www.cw213.net)
===================================
Solutions Developer of Earth9.com
===================================


Thursday, October 11, 2001, 3:00:50 AM, you wrote:

MB> Hello,

MB> I am trying to install php4.06 on windows98 machine with PWS and I ran
MB> into difficulties.
MB> I installed the php using the binary php4.06 installer from the php
MB> website, in the directory c:/PHP. I made all the necessary adjustments (I
MB> think) as described in the online documentation. The whole php4.06 binary
MB> package was extracted in the c:/PHP. I've copied the php.ini in the
MB> windows directory and made the changes (suppose those are correct) and the
MB> php4inst.dll in the /system directory. I've checked the permissions and
MB> those are correct. I also ran php.exe -i and the executable appaers to
MB> run.
MB> Still, when I try to run a simple php scripts, the output is the CGI
MB> Error:"The specified CGI application misbehaved by not returning a
MB> complete
MB> set of HTTP headers. The headers it did return are:"

MB> the path I try to access through Netscape
MB> is: http://ppp/scripts/database/test.php

MB> I'd like to ask your help in installing and setting up correctly the PHP.

MB> Thanks for your help.

MB> Mihai

--- End Message ---
--- Begin Message ---
MB> Error:"The specified CGI application misbehaved by not returning a
MB> complete
MB> set of HTTP headers. The headers it did return are:"

    I do remember encountering this at one point, but unfortunately
don't recall my solution.  :-/  Make sure that you have modified the
registry so PWS will execute PHP properly.  Have test.php include
something simple like just a call to phpinfo().  Or, have it be plain
html, no PHP code.  When PHP parses it, it should just output the plain
html.  Have you made sure the temporary directory in php.ini exists?  I
seem to recall it was something along these lines.

MB> the path I try to access through Netscape
MB> is: http://ppp/scripts/database/test.php

    Is "ppp" the name of your server?

 - Steve Yates
 - SRT Enterprises
 - Before you criticize someone, you should walk a mile in their shoes.
That way, when you criticize them, you're a mile away and you have their
shoes.

/ Taglines by Taglinator - www.srtware.com /



--- End Message ---
--- Begin Message ---
No cigar. It was not compiled in that release. I tried to compile the dll 
myself and got as far as just needing "libmcrypt.lib". I can not find 
that file anywhere on the net, so i can't compile the php_mcrypt.dll.

Thanks though.

If anyone knows where I can get php_mcrypt.dll or libmcrypt.lib so i can 
compile the DLL, it would be greatly appreciated...

TIA

Brian Gleason

-----Original Message-----
From: Jonathan David Edwin Wright <**************>
To: "Brian Gleason" <[EMAIL PROTECTED]>
Date: Thu, 11 Oct 2001 02:14:23 +0100
Subject: Re: [PHP-WIN] php_mcrypt.dll

> You could try the PHP version at www.php4win.com. They've probably got
> it 
> compiled in the zip. As for setting up, just set it up like any other 
> extension. The functions should then be available to you in the manual.
> 
> At 11:08 10/10/2001 -0500, you wrote:
> >Does anyone know where to find the php_mcrypt.dll or how to setup
> >libmcrypt for a apache installation on a windows machine. I have
> looked
> >all over the web and have not been able to find anything on it....
> >
> >TIA
> >
> >
> >
> >--
> >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]
> 
> /***
>   * Jonathan Wright
>   * *********************
>   * ICQ 21961373
>   ***/
> 
> 


--- End Message ---
--- Begin Message ---
hi,

i'm not sure whether this'll help or not, but you may give it a try. i
struggle to compile a dll myself (freetype). i downloaded mingw in order to
do that. in the documentation you'll find the following:

***
The third file needed for DLL creation is the library file that programs
will link with in order to access the functions in the DLL. This file can be
created by giving the -l option to dlltool when it is creating or reading in
a .def file
***

hope this'll help.

my problem with freetype is that i don't know what to do next to get the
dll. i ended up with freetype.a, .def, .lib, and export file (as described
in the mingw docs). any idea?

i must say that i'm a bit new to compiling, so if this is of no use, i can't
say much more than "sorry for the trouble".



Brian Gleason <[EMAIL PROTECTED]> píše v diskusním
příspěvku:[EMAIL PROTECTED]
> No cigar. It was not compiled in that release. I tried to compile the dll
> myself and got as far as just needing "libmcrypt.lib". I can not find
> that file anywhere on the net, so i can't compile the php_mcrypt.dll.
>
> Thanks though.
>
> If anyone knows where I can get php_mcrypt.dll or libmcrypt.lib so i can
> compile the DLL, it would be greatly appreciated...
>
> TIA
>
> Brian Gleason
>
> -----Original Message-----
> From: Jonathan David Edwin Wright <**************>
> To: "Brian Gleason" <[EMAIL PROTECTED]>
> Date: Thu, 11 Oct 2001 02:14:23 +0100
> Subject: Re: [PHP-WIN] php_mcrypt.dll
>
> > You could try the PHP version at www.php4win.com. They've probably got
> > it
> > compiled in the zip. As for setting up, just set it up like any other
> > extension. The functions should then be available to you in the manual.
> >
> > At 11:08 10/10/2001 -0500, you wrote:
> > >Does anyone know where to find the php_mcrypt.dll or how to setup
> > >libmcrypt for a apache installation on a windows machine. I have
> > looked
> > >all over the web and have not been able to find anything on it....
> > >
> > >TIA
> > >
> > >
> > >
> > >--
> > >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]
> >
> > /***
> >   * Jonathan Wright
> >   * *********************
> >   * ICQ 21961373
> >   ***/
> >
> >
>
>


--- End Message ---
--- Begin Message ---
As before, this gets me one step closer to creating the php_mcrypt.dll. 
BUT now I am not able to locate a "libmcrypt.c" file in order to create 
the .lib file...

Anyone have these files.

php_mcrypt.dll
libmcrypt.lib
libmcrypt.c

Someone, somewhere has to have them....

TIA

Brian "Squirre1" Gleason
Mid-West Gaming League
http://www.mwgl.org


-----Original Message-----
From: "mates" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Thu, 11 Oct 2001 08:25:27 +0200
Subject: Re: [PHP-WIN] php_mcrypt.dll

> hi,
> 
> i'm not sure whether this'll help or not, but you may give it a try. i
> struggle to compile a dll myself (freetype). i downloaded mingw in
> order to
> do that. in the documentation you'll find the following:
> 
> ***
> The third file needed for DLL creation is the library file that
> programs
> will link with in order to access the functions in the DLL. This file
> can be
> created by giving the -l option to dlltool when it is creating or
> reading in
> a .def file
> ***
> 
> hope this'll help.
> 
> my problem with freetype is that i don't know what to do next to get
> the
> dll. i ended up with freetype.a, .def, .lib, and export file (as
> described
> in the mingw docs). any idea?
> 
> i must say that i'm a bit new to compiling, so if this is of no use, i
> can't
> say much more than "sorry for the trouble".
> 
> 
> 
> Brian Gleason <[EMAIL PROTECTED]> píše v diskusním
> příspěvku:[EMAIL PROTECTED]
> > No cigar. It was not compiled in that release. I tried to compile the
> dll
> > myself and got as far as just needing "libmcrypt.lib". I can not find
> > that file anywhere on the net, so i can't compile the php_mcrypt.dll.
> >
> > Thanks though.
> >
> > If anyone knows where I can get php_mcrypt.dll or libmcrypt.lib so i
> can
> > compile the DLL, it would be greatly appreciated...
> >
> > TIA
> >
> > Brian Gleason
> >
> > -----Original Message-----
> > From: Jonathan David Edwin Wright <**************>
> > To: "Brian Gleason" <[EMAIL PROTECTED]>
> > Date: Thu, 11 Oct 2001 02:14:23 +0100
> > Subject: Re: [PHP-WIN] php_mcrypt.dll
> >
> > > You could try the PHP version at www.php4win.com. They've probably
> got
> > > it
> > > compiled in the zip. As for setting up, just set it up like any
> other
> > > extension. The functions should then be available to you in the
> manual.
> > >
> > > At 11:08 10/10/2001 -0500, you wrote:
> > > >Does anyone know where to find the php_mcrypt.dll or how to setup
> > > >libmcrypt for a apache installation on a windows machine. I have
> > > looked
> > > >all over the web and have not been able to find anything on it....
> > > >
> > > >TIA
> > > >
> > > >
> > > >
> > > >--
> > > >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]
> > >
> > > /***
> > >   * Jonathan Wright
> > >   * *********************
> > >   * ICQ 21961373
> > >   ***/
> > >
> > >
> >
> >
> 
> 
> 
> -- 
> 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]
> 
> 


--- End Message ---
--- Begin Message ---
"Steve Yates" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>     I have a problem that has been nagging me for a while.  If I load
> any php page from my machine, when I shut down Windows I get an error
in
> php4ts.dll.  If I have not loaded any php pages then it shuts down
fine.

    OK, finally got around to remembering to write down the message.  :)

"INETINFO caused an invalid page fault in module php4ts.dll at
017f:01d7b434 ..."

 - Steve Yates
 - SRT Enterprises
 - Can I be excused?  My brain is full.

/ Taglines by Taglinator - www.srtware.com /




--- End Message ---
--- Begin Message ---
"Camelia Moldovan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Unable to create '/img//tmp/php7C2cMh': No such file

    You have two //'s here.  Also you weren't clear if this was hosting
by you or at a hosting service.  They may need the true path, in other
words should something come before "/img"?

 - Steve Yates
 - SRT Enterprises
 - <BABY ON BOARD> -- All right!  Five more points!

/ Taglines by Taglinator - www.srtware.com /




--- End Message ---
--- Begin Message ---
as far as I know there is no way to do that.

therefore create a hidden field in the form that holds the form name,
ie:
<form name='registrationform' action=blah>
<input type='hidden' name='formname' value='registrationform'>
.
.
.
</form>
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> When you set up a form in HTML whose action is a .php script (ie: <form
name=blah action="dosomething.php">), is there some way to get the name of
the form within the .php script?
>
> Eric
>
> _______________________________________________________
>


--- End Message ---

Reply via email to