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
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://.
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
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
Hi All,
Is there any tool to profiling PHP app ?
Regards,
Feris
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
Hi All,
Anyone ever use this tools ? If so, which one is more recommended ?
- http://www.aophp.net/
- http://phpaspect.org/
Regards,
Feris
Hi All,
How do I prior check file's size in server side before the upload process
begin ?
Regards,
Feris
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
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
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
-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
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
--
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
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
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
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
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
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
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
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
21 matches
Mail list logo