Hi,
I took a look to Smarty and Savant templating systems, and I like a few
things from both of them.
However, none of them are satisfactory.
I don't like Smarty because it needs another language and I find Savant more
easy to use.
I would like to have a templating system that:
1. Separates:
-
From: "raditha dissanayake" <[EMAIL PROTECTED]>
> i think you are looking for something like turck mmcache.
>
Do you know if Turck MMCache works with PHP 5.0?
Teddy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hannes Magnusson wrote:
First of, do not mail me directly, post to the news group!
Hannes,
when someone mails you direct to request additional help the only
acceptable response IMHO is the cold shoulder.
--
Raditha Dissanayake.
--
Louie Miranda wrote:
no free tools?
did you type in turck mmcahce into google before sending this?
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP ap
$cmd = $_GET['cmd'];
Reference:
http://www.php.net/variables.predefined
Respectfully,
Ligaya Turmelle
yawstick wrote:
That cured my problem also had to add similar command for all post variables
I also have some links to directly remove a record
$linkname
is there a similar command for allowing t
try this:
http://turck-mmcache.sourceforge.net/
--
Louie Miranda
http://www.axishift.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Why did you reply me directly?
Anyway. I suppose you can find similar programs for free, just google'em
From: "Watty" <[EMAIL PROTECTED]>
To: "'Hannes Magnusson'" <[EMAIL PROTECTED]>
Subject: RE: [PHP] Re: Compile
Date: Mon, 16 Aug 2004 01:58:37 +0100
X-Mailer: Microsoft Outlook, Build 10.0.2616
First of, do not mail me directly, post to the news group!
2nd: http://www.php.net/manual/en/function.mime-content-type.php
[snip]
mime_content_type
(PHP 4 >= 4.3.0, PHP 5)
[/snip]
Which mean: You need *at least* PHP4.3.0 for this extension.
3rd:
http://www.php.net/manual/en/ref.mime-magic.php
[s
On Mon, 16 Aug 2004 09:01:54 +0800
[EMAIL PROTECTED] (Louie Miranda) wrote:
> no free tools?
I belive there are some, don't know there name thou. Ask google, should take more then
2min to find out there names.
>
> On Mon, 16 Aug 2004 02:37:48 +0200, Hannes Magnusson <[EMAIL PROTECTED]> wrote:
>
On 15/08/2004, at 7:02 AM, Octavian Rasnita wrote:
Hi all,
I have seen that there are many templating systems for PHP. Which is
the
most used and the best you have found?
Can you recommend me a free and good templating system?
Ultimately it depends on who is going to be building those templates.
no free tools?
On Mon, 16 Aug 2004 02:37:48 +0200, Hannes Magnusson <[EMAIL PROTECTED]> wrote:
> http://www.zend.com/store/products/zend-encoder.php
>
> On Mon, 16 Aug 2004 01:12:14 +0100
> [EMAIL PROTECTED] (Watty) wrote:
>
> > Is it possible to compile a PHP script? And if so, how?
> >
> > Wat
Christian Stocker wrote:
http://cvs.php.net/php-bugs-web/
Thanks!
Now, is there any installation documentation? ;) Can't seem to find any
under php-bugs-web.
Jc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What happend to "RTFM" ? Is that not "cool" anymore?
http://www.php.net/manual/en/ref.mime-magic.php now, R-T-F-M !
- Hannes
On Sun, 15 Aug 2004 18:18:29 -0600
[EMAIL PROTECTED] (C.F. Scheidecker Antunes) wrote:
> Hello,
>
> Is there any function where I can pass a file name like "file.png" and
http://www.zend.com/store/products/zend-encoder.php
On Mon, 16 Aug 2004 01:12:14 +0100
[EMAIL PROTECTED] (Watty) wrote:
> Is it possible to compile a PHP script? And if so, how?
>
> Watty
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
C.F. Scheidecker Antunes wrote:
Hello,
Is there any function where I can pass a file name like "file.png" and
get return the string of its type 'image/png' ?
Basically it is a funcion that takes a file name and returns a string
of its mime type.
I have used mime_mail to send attachments but the
Watty wrote:
Is it possible to compile a PHP script? And if so, how?
i think you are looking for something like turck mmcache.
Watty
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com/
This mail probably shows how little you know about matt wright's
FormMail more than anything else - just to give you an idea it's banned
on all shared servers of our ISP.
Juan Nin wrote:
Hannes Magnusson wrote:
Are we just suppost to know "Matt Wright's FormMail.pl" ?
Matt Wright's FormMail.p
Hello,
Is there any function where I can pass a file name like "file.png" and
get return the string of its type 'image/png' ?
Basically it is a funcion that takes a file name and returns a string of
its mime type.
I have used mime_mail to send attachments but the I need when I am
attaching the
Is it possible to compile a PHP script? And if so, how?
Watty
On Sun, 15 Aug 2004 16:36:42 -0300
[EMAIL PROTECTED] (Juan Nin) wrote:
> Hannes Magnusson wrote:
>
> > Are we just suppost to know "Matt Wright's FormMail.pl" ?
>
> Matt Wright's FormMail.pl script is a very well known script, that's
> been used by thousands of people for several years. So it
* Thus wrote Kim Steinhaug:
> Just a quick question,
>
> Did you alter the upload_max_filesize to 500MB
> and the post_max_size to say 510MB and you succesfully
> upload 500MB files from one machine to the server?
>
> I never testes with filesizes that large, but It would be nice to
> hear if it
On Sun, 2004-08-15 at 13:01, Kim Steinhaug wrote:
> Just a quick question,
>
> Did you alter the upload_max_filesize to 500MB
> and the post_max_size to say 510MB and you succesfully
> upload 500MB files from one machine to the server?
>
> I never testes with filesizes that large, but It would be
Just a quick question,
Did you alter the upload_max_filesize to 500MB
and the post_max_size to say 510MB and you succesfully
upload 500MB files from one machine to the server?
I never testes with filesizes that large, but It would be nice to
hear if it accually works without tweaking to much.
I
That cured my problem also had to add similar command for all post variables
I also have some links to directly remove a record
$linkname
is there a similar command for allowing this to work
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hannes Magnusson wrote:
Are we just suppost to know "Matt Wright's FormMail.pl" ?
Matt Wright's FormMail.pl script is a very well known script, that's
been used by thousands of people for several years. So it was very
likely that many of the people who read the e-mail knew what I was
talking ab
On 14 Aug 2004 14:42:19 -, PHPDiscuss - PHP Newsgroups and mailing
lists <[EMAIL PROTECTED]> wrote:
> Codes attached.
> In this page i used filetype instead of is_dir.
>
> $dir = "jdkcoders/";
> function getfiles($dir)
> {
> if (is_dir($dir)) {
> if ($dh = opendir($dir)) {
> whi
which tells you if the locale where the server is was in DST or not on that
date - atleast if I understand the PHP documentation right... since the
timestamps don't contain locale info ... I wanna know if a specific locale
was in DST on that given date
I hate having to work with dates ... I
Assuming you're using post, add
$cmd = $_POST["cmd"];
Before you use $cmd and see if that makes a difference. If it does,
register globals is likely disabled which is good.
> -Original Message-
> From: yawstick [mailto:[EMAIL PROTECTED]
> Sent: Sunday, August 15, 2004 7:58 AM
> To: [E
sorry if this gets posted twice, previous attempt had an invalid email
address
I have several scripts that worked on early version of php4 mysql.
They are all similar in that I use a switch($cmd) command to perform save,
edit, delete, and update based on the value of $cmd in the submit buttons.
I'v
Chris Shiflett wrote:
If you do write this, please don't call it a password generator, else
people might use these things for passwords. :-)
Excellent point. This is for creating one-time invitation codes for
users to participate in surveys and not for actual passwords.
Thanks to a link posted by
Thanks,
I change the "post_max_size" variable in php.ini and it worked !
"Rosen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hi,
> I try to upload a .zip file via PHP. I change directive
"upload_max_filesize
> = 500M".
> The first file is about 5 MB and no problems with upload.
From: <[EMAIL PROTECTED]>
> Hi all,
>
> I am working on a small php script which should do the
> following. I want all the links in the page to be
> preceded by first character and first two characters
> of the link.Please look into the example below for
> more
> clarification.
>
> eg.
> link here
On Sunday 15 August 2004 23:14, Rosen wrote:
> I try to upload a .zip file via PHP. I change directive
> "upload_max_filesize = 500M".
> The first file is about 5 MB and no problems with upload.
> The second file is about 17 MB and script doesn't do nothing - no upload :(
Have you read the chapte
Rosen wrote:
Hi,
I try to upload a .zip file via PHP. I change directive "upload_max_filesize
= 500M".
The first file is about 5 MB and no problems with upload.
The second file is about 17 MB and script doesn't do nothing - no upload :(
Can someone help with this ?
upload_max_filesize setting al
Hi,
I try to upload a .zip file via PHP. I change directive "upload_max_filesize
= 500M".
The first file is about 5 MB and no problems with upload.
The second file is about 17 MB and script doesn't do nothing - no upload :(
Can someone help with this ?
Thanks in advance!
--
PHP General Mailing
Sweet, that solves my problem. Thanks for the help.
-Brent
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 15, 2004 9:53 AM
Subject: Re: [PHP] Need help with some logic and how to do it in PHP
> On Sunday 15 August 2004 22:44, Bre
On Sunday 15 August 2004 22:44, Brent Clements wrote:
> I have 7 string values, if any number of them are the same, I need to ouput
> that value, if they are all different, I need to output a blank string "".
> How would I do this in php outside of writing a huge if/then statement?
> This is a var
Hi all,
I am working on a small php script which should do the
following. I want all the links in the page to be
preceded by first character and first two characters
of the link.Please look into the example below for
more
clarification.
eg.
link here to be
replaced as
link here
I guess, this i
I have the following problem.
I have 7 string values, if any number of them are the same, I need to ouput that
value, if they are all different, I need to output a blank string "". How would I do
this in php outside of writing a huge if/then statement? This is a variation of my
"String compare
Oh thank you for this information. This is very important for me to know.
> Yes, this is another thing that I mention in the talk but failed to
> include in the workbook. When this approach is being applied to a shared
> hosting environment, you want to put the Include directive within a
> Virtual
--- Octavian Rasnita <[EMAIL PROTECTED]> wrote:
> I have also read that pdf document and I have found another
> interesting advice.
>
> The author says that a good way of hiding the username/password
> is to put a file that exports 2 environment variables in a directory
> that can be read only by
I have also read that pdf document and I have found another interesting
advice.
The author says that a good way of hiding the username/password is to put a
file that exports 2 environment variables in a directory that can be read
only by the root, then include a call to that file in httpd.conf in
--- Burhan Khalid <[EMAIL PROTECTED]> wrote:
> Most of the stuff was common sense to me (and I was glad I
> was doing those things unconsciously).
That's good to hear. :-)
Most of the people that have heard me give this talk (which is a few
hundred now) have realized several vulnerabilities in th
--- John Holmes <[EMAIL PROTECTED]> wrote:
> Anyone know of a PHP english word password generator? Something
> that'll produce easy to read and remember codes like "buffalo_candy"
> or "shipment+plant", etc?
>
> I had a look on phpclasses.org, but didn't find anything like this.
>
> Or, as an alt
I'm sorry Hannes, I have seen now that I email only to you and not to the
PHP list.
Sorry.
Thanks.
- Original Message -
From: "Hannes Magnusson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 14, 2004 7:26 PM
Subject: [PHP] Re: [PHP-General List] - Cron or script like C
Grant wrote:
I'm running Gentoo Linux, and emerged (installed)
squirrelmail which automatically installed all of its
dependencies including PHP and (I think) mod_php. PHP
doesn't seem to be working though, as I always end up
looking at the raw PHP code in a browser. I do have
apache and apache2 i
John Holmes wrote:
Anyone know of a PHP english word password generator? Something that'll
produce easy to read and remember codes like "buffalo_candy" or
"shipment+plant", etc?
I had a look on phpclasses.org, but didn't find anything like this.
Or, as an alternative, I'll code it myself if anyo
-{ Rene Brehmer }- wrote:
hi gang
I'm trying to find a simple way to determine if a given date/time is with
DST for a given locale at any point in time ... the point is basically to
convert date strings into accurate GMT timestamps for storage in the
database...
http://www.php.net/date
I (capital i
Jay Blanchard wrote:
[snip]
Is there any function in PHP that changes html in a string from to ? (e.g. adding the double quotes)
[/snip]
Nah, but you could write a function to add quotes to attributes of any
tag that you would like.
Tidy [ http://tidy.sf.net ] can do this
"Tidy inserts quote mark
Matthew Runo wrote:
I am working on a project that requires Kerberos authentication,
however - we are unable to use the apache module that one would
normally use [sys admin.. *grumble*].
I searched the archives to find a script that would authenticate a user
against a Kerberos server, and found
"-{ Rene Brehmer }-" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> hi gang
>
> I'm trying to find a simple way to determine if a given date/time is with
> DST for a given locale at any point in time ... the point is basically to
> convert date strings into accurate GMT timestamps fo
51 matches
Mail list logo