Re: [PHP] Homesite

2002-02-19 Thread Jeff Van Campen

What exactly are you looking for?  I think that syntax coloring is 
automatic for any file with a .php file extension since Homesite 4.

If you are looking for the PHP Manual formatted for HS or an expression 
builder, check out:
http://www.wilk4.com/asp4hs/php4hs.htm

HTH
-jeff

At 09:50 19/02/02 +0100, you wrote:
There was a plugin for homesite to work with PHP,
can somebody help me please?

Jeroen


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




Re: [PHP] Simple problem

2002-02-19 Thread Jeff Van Campen

  I need insert some variable ito log.txt file but every item (variable) must
  be on other line
  how to do this ?

If I am understanding your question correctly, you need to add a newline 
character (\n) at then end every line.  Like so:

$fp1 = Fopen(D:\\log.txt,a+);
fwrite($fp1,$start\n);
fwrite($fp1,$array[0]\n);
fwrite($fp1,$array[1]\n);
.
fwrite($fp1,$end);
Fclose($fp1);

HTH
-jeff


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




Re: [PHP] IE and Netscape

2002-02-19 Thread Jeff Van Campen

 The following code shows exactly what I want in IE5 but does not in
 Netscape. I have tried various combinations of slashes and quotes but can't
 get it to display properly. Can anyone show me the changes I need to make.

HTML entities begin with a  (ampersand) and end with a ; (semicolon).
You are going to want to replace nbsp with nbsp;

-jeff


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




Re: [PHP] variable function call (Re: [PHP] unset a function?)

2002-01-31 Thread Jeff Van Campen

Hey Bas,

BVBut i would prefer something like
BV$temp=make_$wat($this);

I think you might want something along these lines:
eval(make_$wat($this););

HTH
-jeff


-- 
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] Sendmail

2002-01-28 Thread Jeff Van Campen


The system have to send mail automatically to the username stored in
mysql table.I am having the details of usermailid,date.By using php script
how do i go about with this

To send the mail, use the mail function:
http://www.php.net/manual/en/function.mail.php


-- 
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] Mysql / PostgreSQL with PHP

2002-01-28 Thread Jeff Van Campen


Do you know where I can find a recent and objective study comparing both
with PHP to connect to it.

http://phpbuilder.com/columns/tim2705.php3

HTH
-jeff



-- 
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] How do I use a confirm box to confirm before deletion from a database

2002-01-28 Thread Jeff Van Campen


When a user clicks upon a delete link that deletes a record from a 
database, I would like to be able to give them the option to OK or Cancel 
this action.

I have tried coding the browsers built in confirm box (I can bring up 
this) but am unable to combine it with php or a combination of php and a 
javascript funtion

I've done something similar.  Here is the code that I used:

?php
echo a href=\web_clients.php?type=deleteidClient=$idClient\ 
onclick=\return confirm('Are you sure that you want to delete this 
client?')\delete/a
?

HTH
-jeff



-- 
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] delete a file from the server

2002-01-24 Thread Jeff Van Campen


How can i delete a file from the server in PHP

unlink(/file/path/filename.txt);
http://www.php.net/manual/en/function.unlink.php


-- 
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]