[PHP-WIN] Re: can't view php

2002-04-19 Thread joey
ok well since my page works great on my hosting server which uses Linux i'm just gonna install linux. My version of Windows just doesn't support it. "Joey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > yes i've tried that too *sigh* :( i've read the manual o

php-windows Digest 20 Apr 2002 03:33:26 -0000 Issue 1102

2002-04-19 Thread php-windows-digest-help
php-windows Digest 20 Apr 2002 03:33:26 - Issue 1102 Topics (messages 13190 through 13204): A Breath fo Fresh Air -- Bandwidth Waster 13190 by: R.S. Herhuth mysql_fetch_array() 13191 by: Guilherme Dávalos Creating dynamic variables and assigning values in a while statement

[PHP-WIN] Re: can't view php

2002-04-19 Thread joey
yes i've tried that too *sigh* :( i've read the manual over and over again and installed it a few times and added all those lines ppl suggested but still no luck. I'm about to just give up. I know how to work PHP but I just can't find where this problem comes from. Maybe it's a windows thingy who

[PHP-WIN] Upload Help

2002-04-19 Thread Waldemar Brand Neto
Hi, I am a newbie in php. I have to upload an Image to a BLOB field in Mysql. But when I insert the field it save the path of the image file and not the image itself. This is the code: Upload.php Kompatscher & Cia Ltda "; echo ""; echo ""; echo "Código"; echo ""; echo ""; $i=$linha['

[PHP-WIN] inclusion error

2002-04-19 Thread Bryan Maynard
I believe that I am close to getting this to work but now I am getting the following error when trying to view .php files in my browser: Warning: Failed opening '/wwwroot/[directory]/time.php' for inclusion (include_path='c:\php4\pear') in Unknown on line 0, where [directory] is the directory of m

[PHP-WIN] Security Risk w/ PHP and Apache 1.3.x

2002-04-19 Thread Benjamin Scherrey
I'm working with a company doing internet intrusion detection and there is an exploit known in PHP that I am trying to detect. See http://www.securiteam.com/windowsntfocus/5ZP030U60U.html for details about it. Basically if someone does something like "http://www.example.com/php/php.exe?d:\winnt

[PHP-WIN] Re: mssql, query and schoolboy error

2002-04-19 Thread Nicole Amashta
Here is your problem: below is your code: $result = mssql_query($query,$link); file://JUST CRASHES ON THIS LINE $r = mssql_rows_affected ( $link); The 2nd line there: $r = mssql_rows_affected( $link ); should be $r = mssql_rows_affected( $result ); AND, you do not need to pass t

[PHP-WIN] Re: mssql, query and schoolboy error

2002-04-19 Thread Nicole Amashta
Here is your problem: below is your code: $result = mssql_query($query,$link); file://JUST CRASHES ON THIS LINE $r = mssql_rows_affected ( $link); The 2nd line there: $r = mssql_rows_affected( $link ); should be $r = mssql_rows_affected( $result ); AND, you do not need to pass t

[PHP-WIN] Re: .php unrecognizable extension

2002-04-19 Thread Nicole Amashta
Ooops, I'm sure you've figured this one out by now ... 3+ months later. -- Nicole Amashta Web Application Developer www.aeontrek.com "Dion" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am running Apache 1.3 on WindowsXP just for some developement stuff

[PHP-WIN] Re: Creating dynamic variables and assigning values in a while statement

2002-04-19 Thread Nicole Amashta
>>> $counter = "0"; This line may work in your code, but if you are assigning numbers, you don't need to put quotes around them since they are numbers and not strings. If you then want to use that number as part of a string, do like you did: $temp="ydata$counter"; or do like so: $temp

[PHP-WIN] Re: can't view php

2002-04-19 Thread Nicole Amashta
Keep reading the documentation ... if that's the only line you added, you aren't done. -- Nicole Amashta Web Application Developer www.aeontrek.com "Joey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Ok i'm using Apache 1.3.24 and PHP 4.1.2 and the windows

[PHP-WIN] Re: .php unrecognizable extension

2002-04-19 Thread Nicole Amashta
Did you read your documentation on setting up Apache and PHP with Apache? You have several files to configure in order to get PHP working with Apache and vice versa When in doubt, RTFM :) http://www.php.net http://www.apache.org If you need further help, let me know. -- Nicole Amashta We

RE: [PHP-WIN] Re: can't view php

2002-04-19 Thread Dash McElroy
Joey, It sounds like PHP is not telling apache that is a Content-type of text/html. See this line in PHP.ini (which should be in c:\). default_mimetype = "text/html" Also, try adding a line in your httpd.conf for .html files like this: AddType application/x-httpd-php .html and then see if

[PHP-WIN] Re: can't view php

2002-04-19 Thread joey
Ok i'm using Apache 1.3.24 and PHP 4.1.2 and the windows platform is XP home edition yes i've added this line in my httpd.conf file AddType application/x-httpd-php .php "Joey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Everytime i try to view a php file o

[PHP-WIN] Creating dynamic variables and assigning values in a while statement

2002-04-19 Thread Robert Trembath
Good morning everyone, Kinda got stuck here. Must be brain dead this morning. I'm trying to loop thru a results set from a mysql query that will always return an array of 13 results. I need to loop thru using a while statement and create dynamic variables $temp1 - $temp13 and $tempcolor1 - $tempc

[PHP-WIN] mysql_fetch_array()

2002-04-19 Thread Guilherme Dávalos
Hi folks, I'm trying to run an application, made on PHP3/LINUX, on PHP 4.1.2/Windows in module scheme. But its seems be reclaiming that mysql_fetch_array() function doesn't work at 4.1.2 version. How can i fix it? [ ]'s Pajé

[PHP-WIN] A Breath fo Fresh Air -- Bandwidth Waster

2002-04-19 Thread R.S. Herhuth
I just want to say that after two weeks of working with PHP I'm finally getting it (thanks to this list and it's contributors!). PHP rocks! Ron -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-windows Digest 19 Apr 2002 11:43:30 -0000 Issue 1101

2002-04-19 Thread php-windows-digest-help
php-windows Digest 19 Apr 2002 11:43:30 - Issue 1101 Topics (messages 13183 through 13189): can't view php 13183 by: joey 13184 by: Steff Re: Connecting to a remote database 13185 by: Steff Re: Apache 2.0.35 & php 4.2.0 RC4 includes 13186 by: Steff fastcgi

[PHP-WIN] write text with MING error...

2002-04-19 Thread Franky
It does not work. Can somebody to help me!?!?!? Each time I try to write with ming it does not work. I have Popup: The instruction At "0x00b907fc" referenced memory At "0x00abc000". The memory could not Be "written". I maked a file .mdb by my self (if the file would not be portable...) I u

[PHP-WIN] Fwd: fastcgi under iis

2002-04-19 Thread Jean-Philippe Palha
here are the gifs... -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] fastcgi under iis

2002-04-19 Thread Jean-Philippe Palha
Hi php dev, First, sorry for my bad english! Second, i'm using PHP with IIS (ISAPI & CGI) for months on production servers and all work fine :-) Third, i'm trying to parse php files via fastcgi, but i have the "server error" message you can find in the gif files the settings for the registry an