Re: [PHP] What's wrong with Apache + php + mysql on Windows?

2001-04-27 Thread Ivan Porro

Hi,

I've a w2k installation with Apache and it's a very fast and reliable
environment. Ok, still prefer Linux but... My machine is a celeron433
(just pushed to 507) and 128M ram, w2kpro eng. Hope this help you,

bye


Steve Maroney wrote:
> 
> I think the question should be what's wrong with
> Windows?  :)
> 
> Sorry, I can't give you more of an intelligent answer
> 
> Steve
> 
> On Thu, 26 Apr 2001, Mig wrote:
> 
> > Hello, I can't understand the reason apache server running locally on my
> > Win98 machine delays so much to respond browser when accesing php
> > scripts in the form
> >
> > http://localhost/myscript.php
> >
> > When I transfer php scripts to host server via FTP, script execution is
> > immediate, even remote server being in another continent.
> >
> > I was running apache + php + mysql on Win95 and delay was terrible. Now
> > I moved to Win98 and delay became still worse.
> >
> > I know some parameter in httpd.conf or php.ini should be changed, but
> > how to kwow which parameter?.
> >
> > Thanks for any idea.
> >
> > Mig
> >
> >
> >
> > --
> > PHP General 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]
> >
> >
> 
> --
> PHP General 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]

-- 
(p)Ivan

Student 
DIST Bio-Lab
Viale Causa 13
16145 Genoa - Italy
 
tel: +39 010 3532789
e-mail: [EMAIL PROTECTED]

-- 
PHP General 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]




Re: [PHP] PHP Book?

2001-04-27 Thread Ivan Porro

Hi,

i suggest three:

o) Beginning PHP4 by Chris Lea et. al. Editors ISBN and so on at:

www.amazon.com/exec/obidos/search-handle-form/107-8101819-4534115

o) PHP poket reference by Rasmus Leedorf, O'Reilly. OK 4 a brief fuction
reference and fundamentals (it's the best choice when you learn
something about php but u dn.t want to go out with a 5 inch manual.


o) www.phpbuilder.com  they have tutorials from beginners (i.e. php
programming with MySQL) to advanced (page caching & compression). I've
learned a lot of php on Web.


Hamed Nik wrote:
> 
> Hey everyone...
> 
> I've been programming in perl for about 3 years now, i have installed php
> and have been working on it for about three weeks. I started by converting
> some of the programs I've written in Perl to PHP it seems its pretty
> similar to Perl and not very hard to learn for a perl programmer... but i
> need some reference book with some practical examples so i could work
> with... and probably something that gives me ideas on different types of
> programs and things that i could do in PHP... something that covers
> everything in PHP... and is NOT copied from the manual! :))
> 
> I am sure most of you in this group have got some sort of a PHP book... can
> you please tell me out of your experience which ones are good for me to buy?
> 
> Regards
> Hamed Nik
> 
> --
> PHP General 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]

-- 
(p)Ivan

Student 
DIST Bio-Lab
Viale Causa 13
16145 Genoa - Italy
 
tel: +39 010 3532789
e-mail: [EMAIL PROTECTED]

-- 
PHP General 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]




[PHP] a (simple) question?

2001-04-27 Thread Ivan Porro

Hi,

anyone know a simple way to realize multiple-upload at once (something
like Msoft CTRL-multiple selection when browsing and uniqe Upload
button). I've found only a multiple file input field in a form but the
numbers of file I'had to upload is unknow.

TIA
-- 
(p)Ivan

Student 
DIST Bio-Lab
Viale Causa 13
16145 Genoa - Italy
 
tel: +39 010 3532789
e-mail: [EMAIL PROTECTED]

-- 
PHP General 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]




Re: [PHP] PHP+MS Access and/or MS SQL

2001-04-27 Thread Ivan Porro

Hi,

www.mysql.com, and check the website for a myaccess or myodbc doc's. I
know (I dwnloaded it) that exist a myaccess plugin to save access dB to
mysql structure files.

>From php side you have a lot of classical dbfunction to access MSAccess
dB, simply using odbc_function and creating a ODBC Data Source Name
using Manage ODBC data source in Control Panel on the 'db server'
machine. Notice that These odbc with MSAccess work ONLY LOCALLY (in
lan,not remotely). U have to use MSSQL server to realize remote dB
storage.

Good Luck,

Ivan

[EMAIL PROTECTED] wrote:
> 
> just point your browser to phpbuilder.net. Alternatively, just send me an email =)
> 
> Date: Wed, 25 Apr 2001 19:02:12 -0700 (PDT)
> From: John Monfort <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Message-ID: <[EMAIL PROTECTED]>
> MIME-Version: 1.0
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> Subject: PHP+MS Access and/or MS SQL
> 
>  Hello everyone,
> 
>  I'm looking for information on PHP+ MS Access , and PHP+MS SQL.
> 
>  Any recommendations?
> 
>  Thx in advance!
> 
> __John Monfort_
> _+---+_
>  P E P I E  D E S I G N S
>www.pepiedesigns.com
> "The world is waiting, are you ready?"
> -+___+-
> 
> On Thu, 26 Apr 2001, Ben Quinn wrote:
> 
> > Hi all,
> >
> > I am trying to copy an image from an external server and save it to my own.
> > I have the following script to do this for a txt file and it works great!
> >
> > ?>
> >
> > $page  = "../temp/yep.txt";
> >
> > $date = date("http:/www.example.com/yep.txt");
> >
> > $cartFile = fopen("$page","a");
> > fwrite($cartFile,$date,strlen($date));
> > fclose($cartFile);
> >
> > ?>
> >
> > But i can't get it to work for image files - the images are saved and
> > displayed on screen as a whole bunch of rubbish.
> >
> > I'd appreciate any help you can give me
> >
> >
> >
> > --
> > PHP General 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]
> >
> >
> 
> k.e.l.v.i.n c.h.a.n
> the open web technology company
> www.eXtropia.com
> [EMAIL PROTECTED]
> Tel: 7738550

-- 
(p)Ivan

Student 
DIST Bio-Lab
Viale Causa 13
16145 Genoa - Italy
 
tel: +39 010 3532789
e-mail: [EMAIL PROTECTED]

-- 
PHP General 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]




Re: [PHP] What is this??

2001-04-27 Thread Ivan Porro

try

error_reporting(E_ERROR);

on top of script. PHP 4 don't like variable (such i.e. variable checked
in if() ) before u declare or set them (i.e. in one-page only form
management.

by.

(note: u must be sure that the variable is used correctly! this only
kill the annoyng warning)

Manesh wrote:
> 
> where is that?
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jack
> Dempsey
> Sent: Thursday, April 26, 2001 10:38 PM
> To: Manesh
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] What is this??
> 
> Manesh wrote:
> >
> > Warning: Undefined variable
> >
> > How do i get rid of this???
> >
> > --
> > PHP General 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]
> 
> if you're sure that its because you didn't initialize first before
> using, then look in your php.ini file...there are options there where
> you can error strictness...
> 
> --
> PHP General 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]

-- 
(p)Ivan

Student 
DIST Bio-Lab
Viale Causa 13
16145 Genoa - Italy
 
tel: +39 010 3532789
e-mail: [EMAIL PROTECTED]

-- 
PHP General 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]




Re: [PHP] PHP+MS Access and/or MS SQL

2001-04-27 Thread Ivan Porro

10X a lot !!!

Bye.


Andrew Hill wrote:
> 
> Hi,
> 
> A small correction, remote ODBC DSNs work fine with Access.
> It's simply a question of installing appropriate drivers.
> 
> Best regards,
> Andrew
> --
> Andrew Hill - OpenLink Software
> Director Technology Evangelism
> Universal Data Access Integration
> http://www.openlinksw.com
> 
> >
> >
> > Hi,
> >
> > www.mysql.com, and check the website for a myaccess or myodbc doc's. I
> > know (I dwnloaded it) that exist a myaccess plugin to save access dB to
> > mysql structure files.
> >
> > >From php side you have a lot of classical dbfunction to access MSAccess
> > dB, simply using odbc_function and creating a ODBC Data Source Name
> > using Manage ODBC data source in Control Panel on the 'db server'
> > machine. Notice that These odbc with MSAccess work ONLY LOCALLY (in
> > lan,not remotely). U have to use MSSQL server to realize remote dB
> > storage.
> >
> > Good Luck,
> >
> > Ivan
> >
> > [EMAIL PROTECTED] wrote:
> > >
> > > just point your browser to phpbuilder.net. Alternatively, just
> > send me an email =)
> > >
> > > Date: Wed, 25 Apr 2001 19:02:12 -0700 (PDT)
> > > From: John Monfort <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Message-ID:
> > <[EMAIL PROTECTED]>
> > > MIME-Version: 1.0
> > > Content-Type: TEXT/PLAIN; charset=US-ASCII
> > > Subject: PHP+MS Access and/or MS SQL
> > >
> > >  Hello everyone,
> > >
> > >  I'm looking for information on PHP+ MS Access , and PHP+MS SQL.
> > >
> > >  Any recommendations?
> > >
> > >  Thx in advance!
> > >
> > > __John Monfort_
> > > _+---+_
> > >  P E P I E  D E S I G N S
> > >www.pepiedesigns.com
> > > "The world is waiting, are you ready?"
> > > -+___+-
> > >
> > > On Thu, 26 Apr 2001, Ben Quinn wrote:
> > >
> > > > Hi all,
> > > >
> > > > I am trying to copy an image from an external server and save
> > it to my own.
> > > > I have the following script to do this for a txt file and it
> > works great!
> > > >
> > > > ?>
> > > >
> > > > $page  = "../temp/yep.txt";
> > > >
> > > > $date = date("http:/www.example.com/yep.txt");
> > > >
> > > > $cartFile = fopen("$page","a");
> > > > fwrite($cartFile,$date,strlen($date));
> > > > fclose($cartFile);
> > > >
> > > > ?>
> > > >
> > > > But i can't get it to work for image files - the images are saved and
> > > > displayed on screen as a whole bunch of rubbish.
> > > >
> > > > I'd appreciate any help you can give me
> > > >
> > > >
> > > >
> > > > --
> > > > PHP General 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]
> > > >
> > > >
> > >
> > > k.e.l.v.i.n c.h.a.n
> > > the open web technology company
> > > www.eXtropia.com
> > > [EMAIL PROTECTED]
> > > Tel: 7738550
> >
> > --
> > (p)Ivan
> >
> > Student
> > DIST Bio-Lab
> > Viale Causa 13
> > 16145 Genoa - Italy
> >
> > tel: +39 010 3532789
> > e-mail: [EMAIL PROTECTED]
> >
> > --
> > PHP General 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]
> >
> >
> 
> --
> PHP General 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]

-- 
(p)Ivan

Student 
DIST Bio-Lab
Viale Causa 13
16145 Genoa - Italy
 
tel: +39 010 3532789
e-mail: [EMAIL PROTECTED]

-- 
PHP General 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]