-Original Message-
From: Wolf [mailto:[EMAIL PROTECTED]
Sent: 17 December 2007 16:00
To: [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Subject: Re: [PHP] Securing your Sites
Funny, they should all be PHPS, source only and my last check only did
them on the source viewing. None
-Original Message-
From: Wolf [mailto:[EMAIL PROTECTED]
Sent: 17 December 2007 16:00
To: [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Subject: Re: [PHP] Securing your Sites
Funny, they should all be PHPS, source only and my last check only did
them on the source viewing. None
Can I please interject and say that I vastly respect Tedd(ddd) and Rob(bb?)
and their opinions
Dsn
--
Dan Parry
Senior Developer
Virtua Webtech Ltd
Company Number: 5078356
Vat Number: 827044536
[EMAIL PROTECTED]
www.virtuawebtech.co.uk
01745 354924
-Original Message-
From
-Original Message-
From: Daniel Brown [mailto:[EMAIL PROTECTED]
Sent: 21 September 2007 23:27
To: Stut
Cc: Eric Lommatsch; php-general@lists.php.net
Subject: Re: [PHP] Access name of variable in $_POST array
On 9/21/07, Stut [EMAIL PROTECTED] wrote:
Please include the list when
-Original Message-
From: Jeff Cohan [mailto:[EMAIL PROTECTED]
Sent: 23 September 2007 00:02
To: php-general@lists.php.net
Subject: Re: [PHP] MAX_FILE_SIZE not working with file uploads
Chris wrote:
[error] = 2
And also gives you an error code.
Yes, I know and knew that.
-Original Message-
From: Jeff Cohan [mailto:[EMAIL PROTECTED]
Sent: 23 September 2007 02:45
To: php-general@lists.php.net
Subject: Re: [PHP] MAX_FILE_SIZE not working with file uploads
Dan Parry wrote:
I might be wrong but this would be classed as
'exploitable
-Original Message-
From: Ray [mailto:[EMAIL PROTECTED]
Sent: 23 September 2007 02:25
To: php-general@lists.php.net
Subject: Re: [PHP] MAX_FILE_SIZE not working with file uploads
On Saturday 22 September 2007 7:44:55 pm Jeff Cohan wrote:
Dan Parry wrote:
I might be wrong
snip
just wait till we have spambots with AI and emotion subroutines ;-)
/snip
It'll be worse if we get spammers with actual intelligence...
--
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
--
No virus found in this outgoing message.
Checked by AVG Free Edition
for text that does not start with
_a infront of the number?
Thank you for any help,
Merlin
[/snip]
How about this:
(\w)+(_a){1}(\w)+\.htm$
Worked for me :)
HTH
Dan
--
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
--
No virus found in this outgoing message
out :)
HTH
Dan
--
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
-Original Message-
From: Dave M G [mailto:[EMAIL PROTECTED]
Sent: 26 May 2006 10:26
To: php-general@lists.php.net
Subject: [PHP] Why does this preg_replace function not work?
PHP List
';
} else { // no headers sent... much nicer header redirect
header('location: ' . $url);
die();
}
}
?
HTH
Dan
-
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
a DB to store sessions... Much nicer
HTH
Dan
-
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
-Original Message-
From: Dallas Cahker [mailto:[EMAIL PROTECTED]
Sent: 04 April 2006 16:19
To: php-general
I can see a pattern emerging here...
Chaos? You had chaos? All we had was this sodding great explosion...
:-)
Dan
-
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
-Original Message-
From: Duncan Hill
Maybe use Jacascript to create and populate hidden inputs?
They will show up in the $_POST array then
HTH
Dan
-
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
-Original Message-
From: Lorca [mailto:[EMAIL
[snip]
$conn=mysql_connect( );/*with the required parameters*/
if(!conn)
{
[/snip]
You are testing conn in your if condition... should that not be $conn?
Dan
-
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
-
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
-Original Message-
From: sathyashrayan [mailto:[EMAIL PROTECTED]
Sent: 21 March 2006 12:45
To: Dan Parry; php-general@lists.php.net
Subject: Re: [PHP] Inserting data at runtime (php
The value doesn't show up in the URL as you are redirecting the user back to
the referring URL... so only the referrer will be shown (unless the
redirecting script breaks :) )
Dan
-
Dan Parry
Senior Developer
Virtua Webtech Ltd
http
Why are you passing the POST array? As it's superglobal why not just work
directly on it within the function?
Dan
-
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
-Original Message-
From: Jason Gerfen
() evaluated to false but the
number of records is 1 return true
/solution
And there we have it... nearly drove me nuts but I got there in the end
Cheers
Dan
-
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk
-Original
what kind of mushrooms?
rainbow colored ones =)
Think they're illegal in the UK...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on line 0
I've contacted my hosting company regarding this but currently they don't
seem to know the cause
I've Googled but I can't find anything I can use
Thanks in advance :-)
Dan
-
Dan Parry
Senior Developer
Virtua Webtech
: [PHP] Session problems
What is the code that generates this?
-Original Message-
From: Dan Parry[EMAIL PROTECTED]
Sent: 16/02/06 4:50:51 PM
To: php-general@lists.php.netphp-general@lists.php.net
Subject: [PHP] Session problems
Hi all
I've been
Submit the data to a page that just inserts it into the DB (validating it
first, natch) then do a header(location) to the thank you (or whatever) page
This also fixes 'page expired' warnings
HTH
Dan
-Original Message-
From: Mike Tuller [mailto:[EMAIL PROTECTED]
Sent: 16 February 2006
This works for me:
?
$temp = 'sender_name=zedleon[EMAIL PROTECTED]
sender_msg=This+is+a+testSubmit=Submit';
$arr = array();
foreach (explode('', $temp) as $v) {
$split = explode('=', $v);
// urldecode content for readability
$arr[$split[0]] = urldecode($split[1]); //
Also when specifying the field list (and table name) it may be a better idea
to wrap the values in backticks (`) rather than quotes (')
Always works for me
Dan
-Original Message-
From: Barry [mailto:[EMAIL PROTECTED]
Sent: 10 February 2006 10:31
To: php-general@lists.php.net
Subject:
Zen Cart
http://www.zen-cart.co.uk/
Open source and very well supported... lots of user contributions too
Dan
-Original Message-
From: Ross [mailto:[EMAIL PROTECTED]
Sent: 08 February 2006 13:08
To: php-general@lists.php.net
Subject: [PHP] suggest a cart...
Hi,
I am looking for a
(I hope this message works... mail server has been playing up)
Zen Cart
http://www.zen-cart.com
Open source, great support and user contribs
HTH
Dan
-Original Message-
From: Ross [mailto:[EMAIL PROTECTED]
Sent: 08 February 2006 13:08
To: php-general@lists.php.net
Subject: [PHP]
I would have thought this was standard behaviour... Different browsers [can]
store their cookies in different locations on the drive don't they?
It's my experience that cookies are always handled autonomously and
asynchronously by browsers (ie set a cookie in one browser and another won't
see it)
Or my sense of sailing to deadlines :)
-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED]
Sent: 18 January 2006 16:11
To: php-general@lists.php.net
Subject: Re: [PHP] help me pllzz
Jay Blanchard wrote:
[snip]
i am having 2 combo box one for city another one
for
I would say this is what you need
http://uk2.php.net/manual/en/function.getimagesize.php
Dan
-Original Message-
From: William Stokes [mailto:[EMAIL PROTECTED]
Sent: 11 January 2006 12:22
To: php-general@lists.php.net
Subject: [PHP] Image size?
Hello,
Can I get pixel sizes from a
Check this out
http://uk2.php.net/reserved.variables
DOCUMENT_ROOT will give you the root of your site
-Original Message-
From: Nuno Trancoso [mailto:[EMAIL PROTECTED]
Sent: 09 January 2006 14:56
To: php-general@lists.php.net
Subject: [PHP] include() problem
This may sound dumb, but i
Hi
I'm having some trouble with sessions and was wondering if anyone could give
me some insight
Background:
We have experienced some difficulties previously with sessions which were
fixed(ish) by using ini_set(session.save_handler, files); and manually
dropping a cookie with the
WHERE id IN (1,2,3)
Is the same as saying WHERE id = 1 OR id = 2 OR id = 3
Few more details in this link
http://www.w3schools.com/sql/sql_in.asp
HTH
Dan
-Original Message-
From: Ross [mailto:[EMAIL PROTECTED]
Sent: 20 December 2005 12:07
To: php-general@lists.php.net
Subject: [PHP]
[snip]
In short, it cannot really be trusted.
notice the last 7 words
[/snip]
Any external data introduced into a script can't be trusted... including
$_GET and $_POST
That doesn't mean they shouldn't be used... just used carefully
Also if you want to use the IP address maybe
Hi
[snip]
?
while($ouput_row = mysql_fetch_array($result)) {
?
[/snip]
Try:
while($ouput_row = mysql_fetch_array($result, MYSQL_ASSOC))
[snip]
?=$output_row[projTitle]?br /
[/snip]
You have missed the ; (semicolon) after [projTitle] also
Dan
-Original Message-
From: Paul
[snip]
Hi Paul,
Why you are closing your connection before finishing your work on
the database?
Zareef Ahmed
[/snip]
I think Zareef has spotted the most important problem here
Try removing the mysql_close() and trying it
Dan
-Original Message-
From: Paul Jinks [mailto:[EMAIL
, Chirantan Ghosh [EMAIL PROTECTED] wrote:
Hi Jason,
You sound offended...Happy Christmas to you too!
If you really wanted to know what I was addressing please read what Dan
(Parry) wrote.
Keep smiling after all its Dec,
C
- Original Message -
*From:* Jason Petersen [EMAIL PROTECTED
37 matches
Mail list logo