[PHP] Aspect Oriented framework

2007-12-22 Thread php mail
Hi All, Anyone ever use this tools ? If so, which one is more recommended ? - http://www.aophp.net/ - http://phpaspect.org/ Regards, Feris

Re: [PHP] Assign variable to a block of html code

2007-12-22 Thread php mail
Hi Everyone, Thanks for pointing me to heredoc syntax. I've got it working out nicely now ;) Regards, Feris On 12/20/07, Daniel Brown <[EMAIL PROTECTED]> wrote: > > On Dec 19, 2007 10:38 PM, php mail <[EMAIL PROTECTED]> wrote: > > Hi All, > > > > Is it

[PHP] Profiling PHP App

2007-12-19 Thread php mail
Hi All, Is there any tool to profiling PHP app ? Regards, Feris

[PHP] Rejecting File Upload

2007-08-04 Thread php mail
Hi All, How do I prior check file's size in server side before the upload process begin ? Regards, Feris

RE: [PHP] system('bell'); ?

2006-02-04 Thread php-mail
Suppose someone had to :) -Original Message- From: Dan Harrington [mailto:[EMAIL PROTECTED] Sent: 04 February 2006 19:50 To: php-general@lists.php.net Subject: RE: [PHP] system('bell'); ? Ask not for whom the bell tolls, it tolls for thee! -Original Message- From: Gerry Danen

RE: [PHP] Regular expression

2006-02-03 Thread php-mail
Ok I may actually have an answer here... Gives: hubble, bubble, toil and trouble Accepts spaces before and/or after commas or neither... preserves spaces Hope this one works (and that I've read the post right :-/) Dan -- -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTE

RE: [PHP] Truncate words in multiple paragraphs

2006-02-03 Thread php-mail
Nuts Missed the need to preserve line breaks Sorry Dan -Original Message- From: tedd [mailto:[EMAIL PROTECTED] Sent: 03 February 2006 23:06 To: php-general@lists.php.net Subject: Re: [PHP] Truncate words in multiple paragraphs >Hi :) > >I am using the following function (that I found

RE: [PHP] Truncate words in multiple paragraphs

2006-02-03 Thread php-mail
Would this work? This returns: This is my test string Isn't it nice? I quite like Of course, the return doesn't preserve line breaks :) HTH Dan http://chrome.me.uk -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: 03 February 2006 21:45 To: Verdon Vai

RE: [PHP] Sessions

2006-01-19 Thread php-mail
ver config but I'm getting there :) -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: 20 January 2006 00:33 To: php-mail Cc: [EMAIL PROTECTED]; php-general@lists.php.net Subject: RE: [PHP] Sessions On Thu, January 19, 2006 5:52 pm, php-mail wrote: > Just tried

RE: [PHP] Sessions

2006-01-19 Thread php-mail
ailto:[EMAIL PROTECTED] Sent: 19 January 2006 23:30 To: PHP Mail Cc: php-general@lists.php.net Subject: Re: [PHP] Sessions You changed php.ini back to 'user' instead of 'file' for the session handling? You re-started the web-server? (Apache, IIS, whatever) If it's

[PHP] Sessions

2006-01-19 Thread PHP Mail
Hi My site is running a custom session handler (into MySQL 3.28). all was well until I needed to test session in files. it was only a 5 minute test Now I can't get the DB sessions active. Absolutely nothing is registering in the DB PHP version is 4.3.10. Help please because I can't figu

RE: [PHP] Help with regular expressions

2006-01-17 Thread php-mail
I tested this with $t = "string string"; preg_replace('/\s/', '', $t); echo $t; And the replace left a space... so then I tried this $t = "string string"; $t = preg_replace('/\s/', '', $t); echo $t; And the output was spaceless (spaced out?)... maybe worth a try? HTH Dan --

RE: [PHP] Printing to a buffer

2005-11-12 Thread php-mail
-Original Message- From: Jasper Bryant-Greene [mailto:[EMAIL PROTECTED] [snip] application/text isn't a MIME-Type, is it? Do you mean text/plain? [/snip] Or maybe text/html? Sent: 12 November 2005 22:46 To: Todd Cary Cc: php-general@lists.php.net Subject: Re: [PHP] Printing to a buffer

RE: [PHP] Help correcting a form mailer problem...

2005-08-17 Thread php-mail
I do apologise... it's been one of those days and the form I was thinking of didn't actually have any values attached to the checkbox Ignore me :) -Original Message- From: Jordan Miller [mailto:[EMAIL PROTECTED] Sent: 17 August 2005 22:28 To: [EMAIL PROTECTED] Cc: php-general@lists.php.n

RE: [PHP] Help correcting a form mailer problem...

2005-08-17 Thread php-mail
Hi If the checkbox exists in the array it is selected... if it isn't there it's not selected That's my experience :) -Original Message- From: zedleon [mailto:[EMAIL PROTECTED] Sent: 17 August 2005 21:30 To: php-general@lists.php.net Subject: Re: [PHP] Help correcting a form mailer probl

RE: [PHP] Help correcting a form mailer problem...

2005-08-17 Thread php-mail
Sorry I should clarify... checkboxes don't send their values through they send their names and states... so if you have the array: Name="qmev[1]"... name="qmev[2]"... name="qmev[3]" And your array contains [1] => on : [3] => on 1 and 3 are selected -Original Message- From: zedleon [mai

[PHP] How much should this cost Or ...

2002-08-01 Thread PHP mail
If anyone responds to this thanks a lot because this is a lot to ask. I've never coded anything for a paying customer. I'll be using Apache, MySQL and php of course. Or... how about this application already exists somewhere?? Requirements/Design --- 1. Any page requiring authen

[PHP] Install on Darwin fix?

2001-11-10 Thread PHP Mail
Apple broke the GCC on Mac OS X 10.0 Running make on PHP install produces this error: /usr/bin/ld: -undefined error must be used when -twolevel_namespace is in effect Here's the fix from Apple but it's over my head. http://developer.apple.com/techpubs/macosx/ReleaseNotes/TwoLevelNamespaces. htm

[PHP] Where does mysql keep the records data

2001-10-29 Thread PHP Mail
On my system the mysql and test databases are created in /var/db/mysql/ I created a database called publish and it likewise was stored in /var/db/mysql/publish. I needed to start over with the work on publish so I deleted the publish directory. #rm -R /var/db/mysql/publish. BUT after re-creat

Re: [PHP] How do I prevent remote loading of jpegs from my site

2001-10-28 Thread PHP Mail
With Apache this goes in the block. # Turn on the rewrite engine RewriteEngine on # The next line means ignore lines without a referrer RewriteCond %{HTTP_REFERER} !^$ # Then ignore lines that the referrer was any host at "our_domain.com" (the good guys). RewriteCond %{HTTP_REFERER} !^http://.

[PHP] form posting problem - $variables get padded with spaces

2001-05-22 Thread Tommyo - PHP - mail account
Can anyone help? Here is my problem, I am submitting a lot of hidden variables using a and they come over padded with a space on the left. I know that I can trim() them but in case I am working with that might be more trouble then its worth. This does not happin on another installation of P