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 - 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
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
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:[
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
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
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
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
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
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
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]
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
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 - 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
[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
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
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:
>
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
18 matches
Mail list logo