php-windows Digest 5 Mar 2002 13:44:00 -0000 Issue 1030

Topics (messages 12455 through 12465):

PHP Compile Error
        12455 by: Apocalypse

Re: t1lib
        12456 by: think a Bit

Re: cannot write to mySQL database
        12457 by: Kriegers Horst

Output of PHP ist truncated
        12458 by: Rolf
        12461 by: Piotr Pluciennik

How can I use PHP4 module for Apache Win32 ????
        12459 by: hei

mysql_fetch_object() error
        12460 by: Claudio Fedel

File corruption during HTTP Upload
        12462 by: Stevens, Julian C

session probs
        12463 by: secrgb
        12464 by: Richard Black
        12465 by: secrgb

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 ---
I am trying to compile PHP on windows for version 4.1.2 ... but I 
am getting a strange error that I have no idea how to solve.  I 
am using Visual C++ 6 on a windows xp machine.  The error I 
am getting is:

 SOMEFILENAME(line) : fatal error C1083: Cannot open include 
file: 'arpa/inet.h': No such file or directory

I am getting this error 16 times during the compile, and I can't 
even find a directory named arpa.

I am new at this, so don't yell at me!

Thanks,
Jeff


--- End Message ---
--- Begin Message ---
Still get the same or similiar results ...

$ ./configure --with-t1lib
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... make: not found
no
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles...
no
checking host system type... i686-pc-cygwin
checking for gawk... gawk
checking for bison... bison -y
checking bison version... 1.27 (ok)
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

---

what about all those other things missing? I only found (lots of)
aclocal.m4 files, but none of the others.
What about this make-thing (got no make.exe either, really ... just
(again lots of) makefile.in files)

greetings,

oliver!

-----Ursprüngliche Nachricht-----
Von: Pac mon [mailto:[EMAIL PROTECTED]] 
Gesendet: Dienstag, 05. März 2002 02:30
An: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Betreff: Re: AW: [PHP-WIN] t1lib

Did you try doing the ./configure -with-t1lib yet?

----Original Message Follows----
From: "think a Bit" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: AW: [PHP-WIN] t1lib
Date: Tue, 5 Mar 2002 00:33:12 +0100

Ooops, sorry, i found cl.exe in

C:\Programme\Microsoft Visual Studio\VC98\Bin

And added that to $path

But it didn't change anything ;-(

Any other ideas?

Thanx,

oliver!

-----Ursprüngliche Nachricht-----
Von: Pac mon [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 04. März 2002 23:14
An: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Betreff: Re: [PHP-WIN] t1lib

Well here's the big problem:
configure: error: no acceptable cc found in $PATH
cc is the compiler so you need to make sure that the c++ compiler: is
believe it's cl.exe is in the enviroment variable PATH.


----Original Message Follows----
From: "think a Bit" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: [PHP-WIN] t1lib
Date: Mon, 4 Mar 2002 20:45:41 +0100

After finally having succeeded compiling php4.1.2 on my win2k-system
with vc++6.0 and even getting it (i.e. php.exe, php4ts.dll and
php4ts.lib) to work with apache1.3.23 i don’t know how to get on getting
t1lib in there.

Please help!

Do i have to start ./configure –with-t1lib=... in cygwin? Or can that
–with- stuff be done somewhere else as well?

I get the error:

$ ./configure
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... make: not found
no
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles...
no
checking host system type... i686-pc-cygwin
checking for gawk... gawk
checking for bison... bison -y
checking bison version... 1.27 (ok)
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

what’s wrong? And what then?

Thanx in advance,

Oliver!


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com



_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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


--- End Message ---
--- Begin Message ---
Sorry if you receive this mail for a second time.
I don't know if my first sending was OK.

---------------------------------------------------------------------
Hi,
I'm new on this ML and PHP. But if I can help ...

It seems you forgot a $ in your 'description' request in the '$sql' query.

$sql = "INSERT INTO tbl1 (name,location,length,size,description) VALUES
('$name','$location','$length','$size','description')";


Horst

> -----Message d'origine-----
> De:   pilotdave [SMTP:[EMAIL PROTECTED]]
> Date: lundi, 4. mars 2002 18:27
> À:    [EMAIL PROTECTED]
> Objet:        Re: [PHP-WIN] cannot write to mySQL database
> 
> 
> "Nicole Amashta" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Could you post the code you are trying to use to do this? It may just be
> a
> > coding issue and not MySQL at all.
> >
> 
> 
> Sure.  The database is called movies1db, username is movies, password is
> database.  This definitely could be an issue with how i set up the user or
> something.  Here's the code for one form I'm trying:
> -------
> <html>
> <body>
> <?php
> 
> if ($submit) {
> 
>   // process form
> 
>   $db = mysql_connect("localhost", "movies","database");
> 
>   mysql_select_db("movies1db",$db);
> 
>   $sql = "INSERT INTO tbl1 (name,location,length,size,description) VALUES
> ('$name','$location','$length','$size','description')";
> 
>   $result = mysql_query($sql);
> 
>   echo "Thank you! Information entered.\n";
> 
> } else{
> 
>   // display form
> 
>   ?>
> 
>   <form method="post" action="<?php echo $PHP_SELF ?>">
> 
>   Name:<input type="Text" name="name"><br>
> 
>   Location:<input type="Text" name="location"><br>
> 
>   Length:<input type="Text" name="length"><br>
> 
>   Size:<input type="Text" name="size"><br>
> 
>   Description:<input type="Text" name="description"><br>
> 
>   <input type="Submit" name="submit" value="Enter information">
> 
>   </form>
> 
>   <?php
> } // end if
> ?>
> </body>
> </html>
> ------
> 
> Here's more info.  I checked my apache error log and found that when I
> open
> that page, I get the following errors:
> [Mon Mar 04 12:14:27 2002] [error] PHP Warning:  Undefined variable:
> submit
> in c:\homepage\phptest\dataform2.php on line 11
> [Mon Mar 04 12:14:27 2002] [error] PHP Warning:  Undefined variable:
> PHP_SELF in c:\homepage\phptest\dataform2.php on line 37
> 
> I get the same errors when I hit the submit button.  Hope this helps!
> 
> Dave
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hello,

im trying to use PHP on W2k ADV Server with phprojekt.
Everytime i call an php script the output is truncated on the screen.
i just see some input fields, but no text.

Can anybody help me?
    Rolf

  

-- 
bis die mails
Rolf                          mailto:[EMAIL PROTECTED]

- ---o<-----o<-----o<-----o<-----o<-----o<-----o<-----o<-----o<--
 /°\   --- MACH MIT!!! ---
 \ /  ASCII ribbon campaign -
  X        gegen HTML
 / \    in Mail und News
- ---o<-----o<-----o<-----o<-----o<-----o<-----o<-----o<-----o<--


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

1)
check exactly what html content is generated by your
script. Look at "page source" in your broser, you will
see what one is receiving... Problem is probably in
wrong html code.

2)
If your php code is embeded in html - check, if it's
correctly nested and all of your code is executed.

HTH
Piotr 

--- Rolf <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> im trying to use PHP on W2k ADV Server with
> phprojekt.
> Everytime i call an php script the output is
> truncated on the screen.
> i just see some input fields, but no text.
> 
> Can anybody help me?
>     Rolf
> 
>   
> 
> -- 
> bis die mails
> Rolf                          mailto:[EMAIL PROTECTED]
> 
> -
>
---o<-----o<-----o<-----o<-----o<-----o<-----o<-----o<-----o<--
>  /°\   --- MACH MIT!!! ---
>  \ /  ASCII ribbon campaign -
>   X        gegen HTML
>  / \    in Mail und News
> -
>
---o<-----o<-----o<-----o<-----o<-----o<-----o<-----o<-----o<--
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
--- End Message ---
--- Begin Message ---
How can I use PHP4 module for Apache Win32 ????
_________________________________________ wai wing hei ICQ#:102663005
Current ICQ status: SMS: (Send an SMS message to my ICQ): +2783142102663005
More ways to contact me: http://wwp.icq.com/102663005
_________________________________________


--- End Message ---
--- Begin Message ---
Hi there,
I have a strange (for me) problem with a php script running on win2k and
apache.
 
I have to query a MySQL db. I use a database abstraction class.
When I call the method query or connect or fetch_array everything works
fine. When I try to use the fetch_object method, I get the following error:
 
Fatal error: Call to undefined function: fetch_object() 
 
I tried to use the mysql_fetch_object() functions instead of using the class
but I get this error:
 
Fatal error: Call to undefined function: mysql_fetch_object() 
 
Why I can use the fetch_array and not the fetch_object? any idea please?
 
thx
 
</Flaudio>
I'm a street walking cheetah with a heart full of napalm
I'm a runaway son of the nuclear A-bomb
I am a world's forgotten boy
The one who searches and destroys

 
--- End Message ---
--- Begin Message ---
I am running PHP 4.1.1 with Apache 1.3.20 on Windows NT, and have recently 
started observing a bizarre file corruption effect.
I first noticed this when transferring an RTF file with an embedded image. On 
arriving at the web server, the image disappeared and, after examining the 
file I found 4 very small differences - the file size was not altered at all.

Now I have found that zip files are becoming corrupted in transit. A perfectly 
good zip file appears on the webserver with various CRC errors!

I'm using a simple http form to upload the files, and the problem only seems 
to occurr if the files are fairly large (typically 2Mb or more).
However, I need to be able to transfer much larger files than these (intranet 
only).

Please can anyone suggest where this apparent corruption could be coming from.

Thanks,

Julian Stevens
--




********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
--- End Message ---
--- Begin Message ---
hey
i have apache with php 4.1.1
the problem is that i cant use:
session_start();
session_register("mysession");

The problem is that an error comes by using them...

Can somebody help me?

Jaan aga Secrgb


--- End Message ---
--- Begin Message ---

What error do you get?? 

Can you copy us the error message, and maybe a snipplet of code???

Richy

==========================================
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: [EMAIL PROTECTED] 

-----Original Message-----
From: secrgb [mailto:[EMAIL PROTECTED]]
Sent: 05 March 2002 12:32
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] session probs


hey
i have apache with php 4.1.1
the problem is that i cant use:
session_start();
session_register("mysession");

The problem is that an error comes by using them...

Can somebody help me?

Jaan aga Secrgb



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
[Tue Mar 05 15:42:00 2002] [error] [client 127.0.0.1] Premature end of
script headers: c:/php/php.exe

this is the error from error.log
now after reinstalling apache has php.exe an error ...


"Richard Black" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED].;
>
> What error do you get??
>
> Can you copy us the error message, and maybe a snipplet of code???
>
> Richy
>
> ==========================================
> Richard Black
> Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
> Tel: 0141 435 3504
> Email: [EMAIL PROTECTED]
>
> -----Original Message-----
> From: secrgb [mailto:[EMAIL PROTECTED]]
> Sent: 05 March 2002 12:32
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] session probs
>
>
> hey
> i have apache with php 4.1.1
> the problem is that i cant use:
> session_start();
> session_register("mysession");
>
> The problem is that an error comes by using them...
>
> Can somebody help me?
>
> Jaan aga Secrgb
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---

Reply via email to