Re: [PHP] PHPTriad and php error

2008-02-25 Thread Daniel Brown
On Sun, Feb 24, 2008 at 1:53 PM, hE [EMAIL PROTECTED] wrote:
 hi to all,
  I set up phptriad on my computer running windows xp. When I tried to
  test php with the following program I got an error Parse error: parse
  error, expecting `','' or `';'' in C:\apache\htdocs\mytest.php on line 10

This is line 10:

  echo This is a PHP line;

Note the quotes you're using instead of any kind of fancy
quotes, just use double quotes (which will allow you to translate
$variables and special characters like \n) or single quotes (which use
the literal form: $variable is not translated, but would echo as
$variable and \n would not echo a newline, but rather the literal \n).

-- 
/Dan

Daniel P. Brown
Senior Unix Geek
? while(1) { $me = $mind--; sleep(86400); } ?

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



[PHP] PHPTriad and php error

2008-02-24 Thread hE

hi to all,
I set up phptriad on my computer running windows xp. When I tried to 
test php with the following program I got an error Parse error: parse 
error, expecting `','' or `';'' in C:\apache\htdocs\mytest.php on line 10


html
head
titlePHP Test/title
/head
body
pThis is an HTML line
p
?php

echo “This is a PHP line”;
phpinfo();
?
/body/html

what is the reason?

p.s. phpinfo.php which comes with the installation executes correctly.

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



Re: [PHP] PHPTriad and php error

2008-02-24 Thread hE
thanks for the help. I am a C/C++ programmer and decide to learn php and 
mysql to develop web pages. is it the correct place to ask questions 
similar to this? or is there any other group suitable for this?


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



RE: [PHP] PHPTriad and php error

2008-02-24 Thread Bastien Koert

 To: php-general@lists.php.net Date: Sun, 24 Feb 2008 20:53:03 +0200 From: 
 [EMAIL PROTECTED] Subject: [PHP] PHPTriad and php error  hi to all, I set 
 up phptriad on my computer running windows xp. When I tried to  test php 
 with the following program I got an error Parse error: parse  error, 
 expecting `','' or `';'' in C:\apache\htdocs\mytest.php on line 10  
 html head titlePHP Test/title /head body pThis is an HTML 
 line p ?php  echo “This is a PHP line”; phpinfo(); ? 
 /body/html  what is the reason?  p.s. phpinfo.php which comes with 
 the installation executes correctly.  --  PHP General Mailing List 
 (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php 
 
Use proper quotes (single or double as long as you are consistent) to wrap the 
text. That is what the error is telling you.
 
Note that when using quotes, double quotes will eveluate php variables 
correctly, while single quotes treat them as text.
 
bastien
_



RE: [PHP] PHPTriad and php error

2008-02-24 Thread Bastien Koert

This is a good place, other include various forums and the manual
 
bastien To: php-general@lists.php.net Date: Sun, 24 Feb 2008 21:21:01 +0200 
From: [EMAIL PROTECTED] Subject: Re: [PHP] PHPTriad and php error  thanks 
for the help. I am a C/C++ programmer and decide to learn php and  mysql to 
develop web pages. is it the correct place to ask questions  similar to this? 
or is there any other group suitable for this?  --  PHP General Mailing List 
(http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php 
_



[PHP] PHPTriad on Windows XP?

2002-10-01 Thread Stephen

Just wondering but is it possible to install and use PHPTriad on Windows XP 
Professional? I had it on my Windows 98 machiene but then formatted and went up to 
Windows XP Pro.

Thanks,
Stephen


Re: [PHP] PHPTriad on Windows XP?

2002-10-01 Thread Stephen

Is this even out yet? I have PHPTriad 2.2 I'm pretty sure.

- Original Message - 
From: Tyler Longren [EMAIL PROTECTED]
To: Stephen [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 01, 2002 5:20 PM
Subject: Re: [PHP] PHPTriad on Windows XP?


 Did you even try to find the answer by yourself?  You could have found
 the answer to this on the PHPTriad(now called Sokkit) homepage:
 http://www.phpgeek.com/sokkit/
 
 The answer is listed under Sokkit Requirements.
 
 tyler
 
 On Tue, 1 Oct 2002 17:19:13 -0500
 Stephen [EMAIL PROTECTED] wrote:
 
  Just wondering but is it possible to install and use PHPTriad on
  Windows XP Professional? I had it on my Windows 98 machiene but then
  formatted and went up to Windows XP Pro.
  
  Thanks,
  Stephen
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 

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




Re: [PHP] PHPTriad on Windows XP?

2002-10-01 Thread Tyler Longren

Did you even try to find the answer by yourself?  You could have found
the answer to this on the PHPTriad(now called Sokkit) homepage:
http://www.phpgeek.com/sokkit/

The answer is listed under Sokkit Requirements.

tyler

On Tue, 1 Oct 2002 17:19:13 -0500
Stephen [EMAIL PROTECTED] wrote:

 Just wondering but is it possible to install and use PHPTriad on
 Windows XP Professional? I had it on my Windows 98 machiene but then
 formatted and went up to Windows XP Pro.
 
 Thanks,
 Stephen

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




Re: [PHP] PHPTriad on Windows XP?

2002-10-01 Thread J Wynia

PHPTriad 2.2 will work on XP. No, Sokkit is not out yet. Sokkit will 
most definitely work on XP as that's what I'm developing it on.
Stephen wrote:
 Is this even out yet? I have PHPTriad 2.2 I'm pretty sure.
 
 - Original Message - 
 From: Tyler Longren [EMAIL PROTECTED]
 To: Stephen [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Tuesday, October 01, 2002 5:20 PM
 Subject: Re: [PHP] PHPTriad on Windows XP?
 
 
 
Did you even try to find the answer by yourself?  You could have found
the answer to this on the PHPTriad(now called Sokkit) homepage:
http://www.phpgeek.com/sokkit/

The answer is listed under Sokkit Requirements.

tyler

On Tue, 1 Oct 2002 17:19:13 -0500
Stephen [EMAIL PROTECTED] wrote:


Just wondering but is it possible to install and use PHPTriad on
Windows XP Professional? I had it on my Windows 98 machiene but then
formatted and went up to Windows XP Pro.

Thanks,
Stephen

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


 


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




[PHP] PHPTriad

2002-04-21 Thread Mantas Kriauciunas

Hey PHP General List,

  Im using PHPTriad as webserver. And i am having some problems. It
  goes ok but sometimes after mutch requests. server freezes nobody
  can access it until i restart apache. What could be wrong? Well i
  have cam page that refreshes every 5 seconds it shows my cam. Maybe
  that makes too mutch requests. Any suggestions? thanks

:--:
Have A Nice Day! 
 Mantas Kriauciunas A.k.A mNTKz

Contacts:
[EMAIL PROTECTED]
Http://mntkz-hata.visiems.lt


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




[PHP] PHPTriad error in Windows XP.

2002-03-23 Thread Peter Ruan

Hi,
  I installed PHPTriad under Windows XP and I keep getting this error:




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




[PHP] PHPTriad Error in Windows XP.

2002-03-23 Thread Peter Ruan

Hi,
  I installed PHPTriad under Windows XP and I keep gettting the
following error:

Warning: MySQL Connection Failed: Can't connect to MySQL server on
'localhost' (10061) in C:\apache\htdocs\phpmyadmin\lib.inc.php on line
255


It worked before under Windows ME.  WinMySQLadmin1.0 works fine as well
as MySQL when I ran it in the cmd-line mode.  What's the remedy?

Thanks in advance,
-Peter



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




[PHP] Phptriad

2002-03-22 Thread Karina Trincado


Hi,

I´m new to php. I have installed phptriad in Windows2000 using also IIS5 as an 
alternative web server.

I have tried to test some http authentication scritps but they don´t seem to work. 
(Using apache I got an internal error and using IIS, i sucessfully show the 
authentication dialog box, but later the server gets blocked)

I have some questions:

- does the phptriad install php as an apache module or as a cgi? How could I know the 
difference?

- Using php as a cgi what kind of http authentication i should use? I have read that 
the http authentication could only be used when PHP is installed as a module. Also I 
have read that the IIS has a limitation with this.

What would you recommend me? Any answer would be greatly appreciated.

Kary



-
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®


[PHP] phpTriad

2002-02-14 Thread mm fernandez

hi, can someone please help? i've installed phpTriad on my pc here at the 
office. i've tried it at home and everything works fine. here in the office 
though, i can only run the apache server. but i cannot start the mySQL 
server. i don't get any error messages...just that nothing happens whenever 
i click on start MySql. i've tried reinstalling it but still the same. what 
can possibly be wrong?

// MM

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


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




[PHP] phptriad / apache on windows question

2001-11-19 Thread christian calloway

Hi everyone,

I just downloaded phptriad, which installs apache/php/mysql/perl on a win
system. Im not sure on the language, but I want to be able to define virtual
directories. Currently everything under /apache/htdocs/ is accessible from
the browser, ie test.php located at c:\apache\htdocs\test.php can be
accessed on the browser url at http://localhost/test.php. Now if I wanted to
define say the directory web located at d:\code\web so that I could type
http://localhost/web/somephpfile.php in my browser how would I go about
making that association. Thanks,

Christian



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] phptriad / apache on windows question

2001-11-19 Thread Brian Clark

Hi Christian,

@ 6:15:59 PM on 11/19/2001, christian calloway wrote:

cc I just downloaded phptriad, which installs apache/php/mysql/perl on a win
cc system. Im not sure on the language, but I want to be able to define virtual
cc directories. Currently everything under /apache/htdocs/ is accessible from
cc the browser, ie test.php located at c:\apache\htdocs\test.php can be
cc accessed on the browser url at http://localhost/test.php. Now if I wanted to
cc define say the directory web located at d:\code\web so that I could type
cc http://localhost/web/somephpfile.php in my browser how would I go about
cc making that association. Thanks,

Try this after your main document root Directory in httpd.conf:

Directory D:/code/web
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
/Directory

Alias /web D:/code/web

Been a while but I think that'll do it. If you don't want the
directory listing take out Options Indexes.

--
 -Brian Clark | PGP is spoken here: 0xE4D0C7C8
  Please, DO NOT carbon copy me on list replies.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] PHPTriad users

2001-08-02 Thread Kyle Smith

Could someone please help me sort out a database on this so i can find out if php 
works, OR could you people please send me any scripts you have cause i just got php 
working on my pc and i wanna know what its capable of.


-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666