Re: [PHP-WIN] Php interact with Dreamwaver

2001-06-19 Thread Johan Lundqvist
Hi Jack, Jack wrote: > > I'm fresh on the php, but i just want to ask what should i do to let my > existing Dreamwaver Made homepage to interact with Php, which means i had > used dreamwave to draw the layout, using firework for the image, then i want > to provide some function for the user like

php-windows Digest 19 Jun 2001 22:18:54 -0000 Issue 618

2001-06-19 Thread php-windows-digest-help
php-windows Digest 19 Jun 2001 22:18:54 - Issue 618 Topics (messages 7936 through 7949): Basic Authentication 7936 by: Thomas Dedeyne 7940 by: Johan Lundqvist 7943 by: Thomas Dedeyne 7944 by: Thomas Dedeyne Re: cosine and sin in PHP on Win2K & IIS 5

[PHP-WIN] RE:[PHP-WIN] Php interact with Dreamwaver

2001-06-19 Thread Brian Paulson
Yep http://www.interakt.ro/ (php server model for Dreamweaver4-Ultra dev) This will make you a very happy person. Used it on a few projects and works great. You might also go look around the extensions area at macromedia there is some php stuff in there that is worth getting as well. Thank Y

RE: [PHP-WIN] cosine and sin in PHP on Win2K & IIS 5

2001-06-19 Thread Kelvin Luck
Hi, your problem is probably because php expects your angle to be expressed in radians and you are expressing it in degrees... To covert you can use these equations: degrees=radians*(180/PI) radians=degrees*(PI/180) hth, Kelvin. -Original Message- From: Bradley J Bristow-Stagg [mailto:[

Re: [PHP-WIN] Php interact with Dreamwaver

2001-06-19 Thread Scott
What version of Dreamweaver are you using? Usually Dreamweaver will leave your code alone. I think Dreamweaver 3 and 4 will both open PHP files with no trouble. It will NOT write PHP code for you though. I can tell you that I have used Dreamwever to modify the layouts on a PHP page and have

RE: [PHP-WIN] Php interact with Dreamwaver

2001-06-19 Thread Brian Paulson
Yep http://www.interakt.ro/ (php server model for Dreamweaver4-Ultra dev) This will make you a very happy person. Used it on a few projects and works great. You might also go look around the extensions area at macromdia there is some php stuff in there that is worth getting as well. Thank Yo

Re: [PHP-WIN] Php interact with Dreamwaver

2001-06-19 Thread Clint Tredway
You need to use a text based editor to add the php to your pages. Dreamweaver may not like your PHP code. -- Original Message -- From: "Jack" <[EMAIL PROTECTED]> Date: Tue, 19 Jun 2001 18:45:00 +0800 Dear All I'm fresh on the php, but i just want to ask w

Re: [PHP-WIN] Basic Authentication

2001-06-19 Thread Thomas Dedeyne
Thanks for the help, but in fact I don't use authentication to open a file, but I use it for writing in a folder. So, people who are logged in get write access, other people (who are not logged in) can only view the folder. But I'll give it a try with your suggestion. :) Thanks again. "Johan L

Re: [PHP-WIN] Basic Authentication

2001-06-19 Thread Johan Lundqvist
Hi, You could use fopen and read the file n then parse it to the reader. $fp = fopen ("http://username:[EMAIL PROTECTED]/folder/file.html";, "r"); Have a closer look at fopen() and the "Filesystem" section in PHP manual. Just a warning: Be very, VERY careful when dealing with usernames and pas

RE: [PHP-WIN] cosine and sin in PHP on Win2K & IIS 5

2001-06-19 Thread Gu Weidong-a1923c
Use cos(270/360*2*pi()) instead of cos(270). -Original Message- From: Bradley J Bristow-Stagg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 19, 2001 1:16 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] cosine and sin in PHP on Win2K & IIS 5 Hey guys, I am currently dabbling in a little

Re: [PHP-WIN] cosine and sin in PHP on Win2K & IIS 5

2001-06-19 Thread Phil Driscoll
PHP, like every other programming language I have ever come across, uses radians for its trig functions. you need 3*pi/2 for 270 degrees see deg2rad and rad2deg in the manual. Cheers -- Phil Driscoll -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP-WIN] cosine and sin in PHP on Win2K & IIS 5

2001-06-19 Thread Piotr Pluciennik
Hi, use arguments of trigonometric functions in radians, not degrees. Everything is ok in your example. Put as an argument for example pi/2... it will work. Greetings Piotr --- Bradley J Bristow-Stagg <[EMAIL PROTECTED]> wrote: > Hey guys, > I am currently dabbling in a little graphics > ge

[PHP-WIN] Basic Authentication

2001-06-19 Thread Thomas Dedeyne
Hello, I have a folder with some restrictions on. Now I want to give some people access to this folder and some not from within my webpage. When I use basic authentication, I get a window where I can enter my username and password. That's OK, for a bit. :) I want to get rid of that window and giv

php-windows Digest 19 Jun 2001 10:04:55 -0000 Issue 617

2001-06-19 Thread php-windows-digest-help
php-windows Digest 19 Jun 2001 10:04:55 - Issue 617 Topics (messages 7930 through 7935): Uploading problem with PHP 7930 by: BWW cosine and sin in PHP on Win2K & IIS 5 7931 by: Bradley J Bristow-Stagg 7933 by: Johan Lundqvist 7935 by: Bradley J Bristow-Stagg

Re: [PHP-WIN] cosine and sin in PHP on Win2K & IIS 5

2001-06-19 Thread Bradley J Bristow-Stagg
[EMAIL PROTECTED] (Johan Lundqvist) wrote in news:3B2F0C33.5AE1B074 @noatun.org: > deg2rad(270); > Thanks Johann, that worked a treat =) Regards Bradley J Bristow-Stagg -- /\ \ "Luminous beings are we.. not this crude ma

[PHP-WIN] Truncated pages with PHP 4.0.6-dev & IIS 5.0

2001-06-19 Thread Alessio Bernesco Làvore
Hi, Installing PHP 4.0.6-dev (and others versions) on a new machine with Win 2K pro & IIS 5.0 the pages are created truncated. I.e. phpinfo shows just the first 20 rows... On the same machine is installed Apache on port 8080 and the same pages works well. It's not the first time i install PHP und

Re: [PHP-WIN] cosine and sin in PHP on Win2K & IIS 5

2001-06-19 Thread Johan Lundqvist
Hi, That's correct, since PHP cos() and sin() uses radians and not degrees. This can be solved by first using deg2rad(). This would make your code look like this: $i = deg2rad(270); print "cos:".cos($i); print "sine:".sin($i); cos:0 sin:-1 /Johan Bradley J Bristow-Stagg wrote: >

[PHP-WIN] cosine and sin in PHP on Win2K & IIS 5

2001-06-19 Thread Bradley J Bristow-Stagg
Hey guys, I am currently dabbling in a little graphics generation with gd_lib in PHP on my Win2K box with IIS 5. Up until now I have had ZERO problems and am really loving working with PHP. My problem then? Well I am rotating a polygon around a point and PHP is not giving me correct values fo