Smarty sucks. Mixing presentation and logic is never good idea. I know
Smarty is very popular, but big popularity doesn't always mean quality.
Back to original question: If you decided to reinvent the wheel, please
don't reinvent square wheel without tire.
Mixing presentation and logic is
Petr Smith wrote:
Smarty sucks. Mixing presentation and logic is never good idea. I know
Smarty is very popular, but big popularity doesn't always mean quality.
Back to original question: If you decided to reinvent the wheel,
please don't reinvent square wheel without tire.
Mixing
John Taylor-Johnston wrote:
Patience please :)
See my html below. Basically, if type=checkbox is checked, I'm trying to
build $to string in mail().
parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING
or T_VARIABLE or T_NUM_STRING line 4
How do I rebuild this peice of
John Taylor-Johnston wrote:
Patience please :)
See my html below. Basically, if type=checkbox is checked, I'm trying to
build $to string in mail().
parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING
or T_VARIABLE or T_NUM_STRING line 4
How do I rebuild this peice of
I am backing up a file (the path filename of which are stored in $original;
the path filename of the copy are stored in $bkup). I would also like to
copy the file modification time of $original, so, after copying the file
itself, I use:
touch($bkup, filemtime($original));
However,
On Sun, 2005-11-06 at 05:11, Petr Smith wrote:
Smarty sucks. Mixing presentation and logic is never good idea. I know
Smarty is very popular, but big popularity doesn't always mean quality.
Back to original question: If you decided to reinvent the wheel, please
don't reinvent square wheel
Can we use some function with GD to make text italic, bold and/or underline?
http://php.net/imagettftext
I see we can change size and font, but not style
it's not possible in PHP?
Thanks in advance
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Ok been looking into in and know a bit of terminology now.
I have an SMB share on my mac which is my WWWROOT folder on my windows
computer. These files have all permissions enabled so I can edit in
dreamweaver (on mac). All I want to so is setup PHP/Apache so it recognises
the WWWROOT folder
I don't mean the php.ini file, I mean the extension directive setting in
php.ini
On Sunday 06 November 2005 12:14, the author Unknown Unknown contributed to
the dialogue on-
Re: [PHP] PGP 5 start up issue:
I don't mean the php.ini file, I mean the extension directive setting in
php.ini
Yep I thought that was what you meant -- it is not the cause.. I should have
posted
Hi there just wondering when there may be a php 5.1 release ? I just
went into the downloads on the php site and the link to RC1 has been
removed ??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All,
I'm building a site on a new web host and am currently working on
feedback forms.
I'm using the mail() function to send the feedback to the destination
mail account, and I'm having problems getting the body of the email to
line break.
I've tried constructing the body with both
On Mon, 2005-11-07 at 12:20 +1000, Murray @ PlanetThoughtful wrote:
Example code:
$body = 'From: ' . $name . '\r\n\r\n';
$body .= 'Email:' . $email . '\r\n\r\n';
$body .= 'IP Address: ' . $_SERVER['REMOTE_ADDR'] . '\r\n\r\n';
$body .= 'Feedback:\r\n\r\n';
$body .=
Hi Murray,
Try doing something like this:
---
$body = From: $name
Email: $email
IP Address: $_SERVER['REMOTE_ADDR']
Feedback:
$feedback
;
$fromaddr = $email
Reply-To: $email
X-Mailer: PHP/ . phpversion();
mail([EMAIL PROTECTED],
While I think this is primarily a mysql syntax problem I have asked on the
mysql forum but not got a reply. I am trying using php to set up a system for
loading a new data base using the Load Data Infile statement. I could not get
it to work properly with php so I thought I would try some
Jasper Bryant-Greene wrote:
On Mon, 2005-11-07 at 12:20 +1000, Murray @ PlanetThoughtful wrote:
Example code:
$body = 'From: ' . $name . '\r\n\r\n';
$body .= 'Email:' . $email . '\r\n\r\n';
$body .= 'IP Address: ' . $_SERVER['REMOTE_ADDR'] . '\r\n\r\n';
$body .=
Andy,
try that one: /^[a-zA-Z]{3}|\p{Sc}$/u
You don't want to put \p{Sc} in square brackets as \p{Sc} itself already
is a character class. Umm.. Kinda don't make myself clear here, do I?
You just don't want to, it's 5am in the morning here I gotta go to the
next bed ;p
Regards,
Niels
Andy
Hi PHP-ers,
Here's an easy one:
Q: How can I make a function available from within another php script?
Eg. B.php contains:
?php include .../fns.php ?
Which has a function fn($x);
Later on, I want to include this function in B.php somewhere.
In short: B.php wants to use fn($x) found in
Hi all:
I wan't to use php_mcrpyt to encrypt data,but have a problem in it !
Hint:
Warning: mcrypt_encrypt(): Size of key is too large for this algorithm
Algorithm : 3DES
Key: 48bit
?php
// Designate string to be encrypted
$string =3D Applied Cryptography, by Bruce Schneier, is a wonderful
One idea that you might try. is XSL.
instead of doing %var1% and doing a replace. you can do things like
xsl:value-of select=var1/
Doing this also completely separates presentation logic from the code.
you can do other fun things like loops also.
I will warn you by saying that XSL in the beginning
20 matches
Mail list logo