I am having some problem working with my script on session
stuffs. Well, i have a login page which authenticates users by
using sql script then if login is successful i have
PHP Code:
$_SESSSION['logged in']=true; and $_SESSION[userid]=$userid
and when login is true i have included the page bas
Hey all,
I get the feeling from not finding an argument for
the path on the client's machine for the complete
path of a file in $_FILES that it might not be
available for security reasons?
The reason I am interested in this is to restore
the value of a input type='file' field in a form if
Hi,
I am running apache-2.2.4 and php5-5.2.1-2
and I am find some php related errors accumulating in
/var/log/messages - look below.
I've rebuilt php5 and apache2.2.4 and still the same issues. what else
could be going on here.
also 'apache restart' is fine but 'apache graceful' core du
Haha,
This reminds me of a story about some IRC chat somewhere where someone was
asking how to control a media player thru the command line. It ended up with
him executing rm -rf / as root and then complaining that the machine was
slow when he executed it, and then he disappeared from the IRC... I
Hi,
I am executing exec('some cool command', $stdout, $exitcode);
That is fine. I get what I in the beginning wanted. However, now I need to
catch the STDERR that the command is generating as well. Some of you might
tell me to redirect STDERR to STDOUT, but that is not possible as I need to
use t
Denis L. Menezes wrote:
Dear friends.
I have a site where I have news headers. I wish to count the clicks on the
news headers so that I can see how many times each of the the news has been
viewed. This way I can show the "most viewed" news.
Can one of you please advise hwo this can be done?
I am running PHP 4.4.4 on Slackware 10.
> -Original Message-
> From: Vahan Yerkanian [mailto:[EMAIL PROTECTED]
> Sent: February 17, 2007 11:58 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] LOL, preg_match still not working.
>
> Are you running under FreeBSD 6.2 and/or upgraded
Hello Brad,
Saturday, February 17, 2007, 4:22:22 PM, you wrote:
> Denis L. Menezes wrote:
>> Dear friends.
>>
>> I have a site where I have news headers. I wish to count the clicks on the
>> news headers so that I can see how many times each of the the news has been
>> viewed. This way I can show
It's 6.2 but PHP 4.4.4.
Basically, I'm not getting any error. The expression just don't match. I
don't know if it should or not.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Beauford wrote:
> Hi,
>
> I previously had some issues with preg_match and many of you tried to help,
> but the same problem still exists. Here it is again, if anyone can explain
> to me how to get this to work it would be great - otherwise I'll just remove
> it as I just spent way to much time o
Correcting myself before my reply damages someone's box:
Vahan Yerkanian wrote:
rm -rf /usr/local/lib/*
This indeed should be:
rm -rf /usr/local/lib/php/*
instead ;)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Are you running under FreeBSD 6.2 and/or upgraded recently from 5.2.1 to
5.2.2?
I had the same problem on FreeBSD 6.2, with php5 installed from ports
collection after I portupgraded to 5.2.1.
For me it appeared to be some kind weird misconfiguration problem that
happened during the portupgra
Addendum: I encountered a problem when the string contains linebreaks. Maybe
adding \n\r into the brackets fixes your problem.
On Sat, Feb 17, 2007 at 09:27:59AM -0500, Beauford wrote:
> Hi,
>
> I previously had some issues with preg_match and many of you tried to help,
> but the same problem s
As far as I tested, the regular expression works how it is
intended to work.
Maybe this a touch easier to read line do it for you:
elseif (preg_match('|[EMAIL PROTECTED]&*();:_. /\t-]|', $comment))
On Sat, Feb 17, 2007 at 09:27:59AM -0500, Beauford wrote:
> Hi,
>
> I previously had some
I've been over this a thousand times with various users on this list and
escaping this and escaping that just doesn't matter.
The error is that it thinks valid characters are invalid. In the case of the
example I included, the ! and the period are invalid, which they should not
be.
The nocomments
Thanks very much Pete! Sound advice!
Peter Lauri wrote:
Hi,
No matter the size of a project using includes and config files are always a
good way to go.
--
Mike Shanley
~you are almost there~
"A new eye opens on March 5." -Omniversalism.com
--
PHP General Mailing List (http://www.php.net
Maybe you just copied it wrong, but nocomments and invalidchars are not
quoted, or they're constants.
I don't think you have to, but you might need to escape some of the
characters (namely * and .) in your regex. It's been a while, so I'd
have to look it up.
What's the error you are getting
Hi,
I previously had some issues with preg_match and many of you tried to help,
but the same problem still exists. Here it is again, if anyone can explain
to me how to get this to work it would be great - otherwise I'll just remove
it as I just spent way to much time on this.
Thanks
Here's the
Denis L. Menezes wrote:
Dear friends.
I have a site where I have news headers. I wish to count the clicks on the
news headers so that I can see how many times each of the the news has been
viewed. This way I can show the "most viewed" news.
Can one of you please advise hwo this can be done?
Dear friends.
I have a site where I have news headers. I wish to count the clicks on the
news headers so that I can see how many times each of the the news has been
viewed. This way I can show the "most viewed" news.
Can one of you please advise hwo this can be done?
Thanks
Denis
--
PHP Gen
Hello,
Now moving on into other aspects of security :P I was thinking of a way to
secure my login inputs the best way possible.
Seeing how many different types of injection attacks their is and while
observing different authentication systems I often notice the sha() function
being used for passwo
21 matches
Mail list logo