[PHP-WIN] Output of PHP ist truncated

2002-03-04 Thread Rolf
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<-

RE: [PHP-WIN] cannot write to mySQL database

2002-03-04 Thread Kriegers Horst
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

AW: AW: [PHP-WIN] t1lib

2002-03-04 Thread think a Bit
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..

[PHP-WIN] PHP Compile Error

2002-03-04 Thread Apocalypse
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 suc

php-windows Digest 5 Mar 2002 01:29:46 -0000 Issue 1029

2002-03-04 Thread php-windows-digest-help
php-windows Digest 5 Mar 2002 01:29:46 - Issue 1029 Topics (messages 12430 through 12454): shell commands... 12430 by: crizz 12436 by: Nicole Amashta 12437 by: Scott St. John Mail with php and w2k 12431 by: Mike Schmid Re: error query 12432 by: DL N

Re: AW: [PHP-WIN] t1lib

2002-03-04 Thread Pac mon
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 An

Re: [PHP-WIN] t1lib

2002-03-04 Thread Pac mon
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 PROTE

[PHP-WIN] Reading cookies set by PHP/WIN using ASP

2002-03-04 Thread Krane, John
I'm having trouble reading cookies with ASP that are set with PHP's setcookie() on a win2k (PHP 4.1.1) platform. When setting a cookie on win2k using PHP, that cookie CANNOT be read by either PHP or ASP running on that same win2k machine. If I set the cookie using PHP (PHP 4.0.5) on a unix box,

Re: [PHP-WIN] cannot write to mySQL database

2002-03-04 Thread Nicole Amashta
In that case, you probably could have accessed your variables like so: $HTTP_POST_VARS["action"] or $HTTP_GET_VARS["me"] Depending on how the variables were submitted (POST or GET). Nicole www.aeontrek.com Pilotdave <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED].; > Woohoo, the

Re: [PHP-WIN] cannot write to mySQL database

2002-03-04 Thread pilotdave
Woohoo, the problem seems to have been register_globals being off. In reading the php.ini info about it, it sounds like having it on can be dangerous. I tried following the instructions in the manual about using variables with register_globals off but couldnt get it to work so i just turned it o

[PHP-WIN] t1lib

2002-03-04 Thread think a Bit
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

Re: [PHP-WIN] Warning: Undefined variable

2002-03-04 Thread DL Neil
Crizz, You have had two good answers to your original question. One telling you to turn errmsgs completely off, and another telling you how to turn them on for debugging. Since then the water has been muddied by all sorts of 'jumping in'. If you have completed your debugging (my interpretation)

RE: [PHP-WIN] cannot write to mySQL database

2002-03-04 Thread Athene McGregor-Macdonald
if you are using a high version of php (say 4.1.1) you will need to reference variables in the url by $_GET['me'] and post variables by $_POST['action'] -Original Message- From: pilotdave [mailto:[EMAIL PROTECTED]] Sent: 04 March 2002 18:54 To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] can

Re: [PHP-WIN] cannot write to mySQL database

2002-03-04 Thread pilotdave
Ok, making progress. My updated code is below. with full error checking, i get no errors on loading the page. I do get an error when i attempt to submit. It does not recognize $action as being a variable: [Mon Mar 04 13:46:33 2002] [error] PHP Warning: Undefined variable: action in c:\homepa

[PHP-WIN] mail() is sometimes very slow

2002-03-04 Thread Athene McGregor-Macdonald
hi, i am having a problem with mail() function being very slow but only on some days. the network traffic on these days doesn't seem to be higher than normal and the mail server (exchange server 5.5, SP4, located on another machine) is working fine through outlook. i tried connecting to another m

Re: [PHP-WIN] cannot write to mySQL database

2002-03-04 Thread Nicole Amashta
Also, for the sake of testing, replace with the actual script name. Nicole www.aeontrek.com "Nicole Amashta" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED].; > Another thing I suggest is, instead of relying on the value from $submit > (your submit button), create a hidden field an

Re: [PHP-WIN] cannot write to mySQL database

2002-03-04 Thread Nicole Amashta
Sorry, i lost the { in my code. Below it is corrected. If ( $action == "submit" ) { ## do your insert query here } else { ## display the form } "Nicole Amashta" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED].; > Another thing I suggest is, in

Re: [PHP-WIN] cannot write to mySQL database

2002-03-04 Thread Nicole Amashta
Another thing I suggest is, instead of relying on the value from $submit (your submit button), create a hidden field and call it "action" or whatever you want that makes sense to you. This hidden field will store the value of the action you will take when the form is submitted. For example, you ca

Re: [PHP-WIN] cannot write to mySQL database

2002-03-04 Thread Nicole Amashta
OK, go to your php.ini file and change your error_reporting level to this: error_reporting = E_ALL & ~E_NOTICE See if that at least yields different "error" or "warning" messages. Let me know what happens. Nicole www.aeontrek.com "Pilotdave" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PR

Re: [PHP-WIN] PHP 4.1.2 for Win32 - File Upload Exploit

2002-03-04 Thread Rasmus Lerdorf
There are no known win32 exploits for this particular bug. At some point we will have a Windows version of 4.1.2, but the Windows version always lags behind by a bit. You will just have to wait. As far as I am concerned, an ISP running a Windows web server has much bigger problems than this par

Re: [PHP-WIN] cannot write to mySQL database

2002-03-04 Thread pilotdave
"Nicole Amashta" <[EMAIL PROTECTED]> wrote in message 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

[PHP-WIN] PHP 4.1.2 for Win32 - File Upload Exploit

2002-03-04 Thread Fabio De Martin
Where can I find a documentation about the PHP exploit regarding file uploads that excludes the WIN32 version from this problem? On e-matters security advisory (http://security.e-matters.de/advisories/012002.html), this information is not clear and what I can understand is that all servers running

Re: [PHP-WIN] shell commands...

2002-03-04 Thread Scott St. John
I am doing an exex on Windows to power my mp3 jukebox, something like this: exec('winamp.exe M100101.mp3'); You may have to tweak around and check the php.net docs. Pay close attention to the part about sending the output to null. -Scott On Mon, 4 Mar 2002, crizz wrote: > How can execut

[PHP-WIN] Re: shell commands...

2002-03-04 Thread Nicole Amashta
exec() system() For more detailed info on using these php functions, go to php.net here: http://www.php.net/manual/en/ref.exec.php Hope this puts you on the right track. Good luck, Nicole www.aeontrek.com "Crizz" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED].; > How can execute a

Re: [PHP-WIN] cannot write to mySQL database

2002-03-04 Thread Nicole Amashta
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. Nicole www.aeontrek.com "Pilotdave" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED].; > I don't think that's it. Here's more info if it helps... I can input data > from the

Re: [PHP-WIN] Warning: Undefined variable

2002-03-04 Thread Nicole Amashta
Haha, that's what I'm saying! Why do people need to be so ambiguous and beat around the bush? Hehe. nix0r. www.aeontrek.com "Mike Flynn" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED].; > Duh, just let him know the proper setting: > > error_reporting = E_ALL & ~E_NOTICE > > That

Re: [PHP-WIN] Warning: Undefined variable

2002-03-04 Thread Nicole Amashta
error_reporting = E_ALL & ~E_NOTICE "Crizz" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED].; > No, now it's ok, my scripts works . It doesn't show any Warnings, but the > bad is that it will probably, won't show any error when exist, right. So, > I'd like a good value for error_repor

Re: [PHP-WIN] Re: error query

2002-03-04 Thread DL Neil
Mark, I seem to be jumping in part-way, but... I seem to have isolated my problem. My code will only work with non-numerical tables for some reason, which is kind of a pain. =Why do you say that? Is there any way to use php to connect to a mysql table that has a numerical value as its name (1,2

[PHP-WIN] Mail with php and w2k

2002-03-04 Thread Mike Schmid
Hi NG how you have configured your php.ini (mail point) and your windws to mail? Thanks -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] shell commands...

2002-03-04 Thread crizz
How can execute a shell command through PHP? A small example will be great! -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-windows Digest 4 Mar 2002 12:25:16 -0000 Issue 1028

2002-03-04 Thread php-windows-digest-help
php-windows Digest 4 Mar 2002 12:25:16 - Issue 1028 Topics (messages 12426 through 12429): Re: Warning: Undefined variable 12426 by: crizz Re: Counter in PHP and System Variables 12427 by: Matt Hillebrand PHP - INGRES II Functions 12428 by: Ismini Tsichli or

[PHP-WIN] oracle + php + apache +w2k

2002-03-04 Thread quebe
Hi when I'm trying to connect to my oracle db with "; $db = "authors"; $c1 = ocilogon("pawel","pawel",$db); function select_data($conn) { $stmt = ociparse($conn,"select * from pawel.authors"); ociexecute($stmt,OCI_DEFAULT); echo $conn."selecting\n\n"; while (ocifetch($stmt)){ echo o