[PHP-WIN] Phpinfo.php

2003-06-20 Thread Mathias
I use Microsoft Windows XP Pro, and PHP4. Im reading the book Sams teach
yourself PHP, Mysql and Apache.
I setup mysql apache2 and php4. I cannot get  to work. Can
anyone HELP PLEASE?!?!???



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



[PHP-WIN] Installing Apache 2.0.43

2003-06-21 Thread Mathias
Hello,
Im trying to set up apache, mysql and php. the first time installing
anything nothing went wrong. Then I dont know what i did but the apache2
service wouldnt start. This is my nineth time installing apache. and i cant
get the server. It says "No Services Installed". Can anyone help me please?

Thankyou,
Mathew



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



[PHP-WIN] Re: Installing Apache 2.0.43

2003-06-21 Thread Mathias
Never mind i got it! I had to delete the folder thx
"Mathias" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
> Im trying to set up apache, mysql and php. the first time installing
> anything nothing went wrong. Then I dont know what i did but the apache2
> service wouldnt start. This is my nineth time installing apache. and i
cant
> get the server. It says "No Services Installed". Can anyone help me
please?
>
> Thankyou,
> Mathew
>
>



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



[PHP-WIN] Using PHP4

2003-06-22 Thread Mathias
Hello,
Now when I make a php file why can't I open it? Can anyone please help?


Mathias



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



[PHP-WIN] http Upload corrupts my files on winXP with Apache

2002-07-08 Thread Mathias B

Hello

I use: Apache 2.0.36 and PHP 4.2.1 on WinXP

I have major problems when trying to upload files with the following code:

HTML code:



">


Going to the PHP handler:

  if (is_uploaded_file($data))
  {
 $realname = $_FILES['data']['name'];

echo "data: $data
run:".move_uploaded_file($_FILES['data']['tmp_name'],
"c:\\windows\\temp\\php\\".$realname);
   }

The program prints: data: C:\WINDOWS\TEMP\php19C.tmp run:1
Everything goes fine if it is just a small text file. And everything seems
to also go fine for larger binary files (e.g. a word document), the document
gets copied to the temp directory. The problem is just that the file gets
completely scrambled on the way. The file almost doubles in size and the
binary data is not the same at all. seems like there is put some kind of
formatting in on the way. (Looks like it gets alot of \0 instead of NULL
bytes everywhere like some others on this group and on php.net has
experienced, but i just can't get it solved...)

I have these set in the php.ini file

magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off

Please Help... :)

/Mathias Bertelsen



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




[PHP-WIN] http Upload corrupts my files on winXP with Apache

2002-07-08 Thread Mathias B

Hello again

My message below was labeled spam?!?!? So i should send it again i was
told... sorry for the inconvenience...

/Mathias

---original message ---
Hello

I use: Apache 2.0.36 and PHP 4.2.1 on WinXP

I have major problems when trying to upload files with the following code:

HTML code:



">


Going to the PHP handler:

  if (is_uploaded_file($data))
  {
 $realname = $_FILES['data']['name'];

echo "data: $data
run:".move_uploaded_file($_FILES['data']['tmp_name'],
"c:\\windows\\temp\\php\\".$realname);
   }

The program prints: data: C:\WINDOWS\TEMP\php19C.tmp run:1
Everything goes fine if it is just a small text file. And everything seems
to also go fine for larger binary files (e.g. a word document), the document
gets copied to the temp directory. The problem is just that the file gets
completely scrambled on the way. The file almost doubles in size and the
binary data is not the same at all. seems like there is put some kind of
formatting in on the way. (Looks like it gets alot of \0 instead of NULL
bytes everywhere like some others on this group and on php.net has
experienced, but i just can't get it solved...)

I have these set in the php.ini file

magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off

Please Help... :)

/Mathias Bertelsen









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




[PHP-WIN] Fopen on ascii files

2002-07-17 Thread Mathias B

Hello

Quick question: what happens if i try to open a ascii-file/text-file with
fopen($file, 'wb'); on a windows system? does the file get scrambled because
of the 'b' or is the 'b' just ignored?

/Mathias



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