> -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 viewin
> -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 viewin
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-
>
> -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 Pa
> -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 wou
> -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 kn
> -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
just wait till we have spambots with AI and emotion subroutines ;-)
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.
Ve
e regex also is true 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 t
may be more mistakes but I thought I'd point this one 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]
If it helps here's the code I use to redirect
';
} else { // no headers sent... much nicer header redirect
header('location: ' . $url);
die();
}
}
?>
HTH
Dan
---------
Dan Parry
I have had some issues with sessions and IE in the past and used the
following code to start the session
Now, though, I always use a DB to store sessions... Much nicer
HTH
Dan
-
Dan Parry
Senior Developer
Virtua Webtech Ltd
http
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
ositive
Or am I wrong?
Dan
---------
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: [PH
[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
Virt
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
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 G
_rows() evaluated to false but the
number of records is 1 return true
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
-Origin
>> 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
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 1
s_table
. " WHERE ses_time < $ses_life";
$session_res = @mysql_query ($session_sql, $this->dblink);
if (!$session_res) $this->localError('c1(ses)',
mysql_error() . ' - SQL: ' . $session_sql . 'Click here to build session tables (for
time. in Unknown 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 Par
This works for me:
' . $arr['sender_name']; ?>
That routine should create variables with the names of the arguments as well
as an associative array of the string
HTH
Dan
-Original Message-
From: zedleon [mailto:[EMAIL PROTECTED]
Sent: 13 February 2006 14:38
To: php-general@lists.php.n
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: [P
(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] sugge
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 car
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 uploa
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 pro
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] c
[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 REMOTE_ADDRES
[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 P
Hi
[snip]
[/snip]
Try:
while($ouput_row = mysql_fetch_array($result, MYSQL_ASSOC))
[snip]
[/snip]
You have missed the ; (semicolon) after ["projTitle"] also
Dan
-Original Message-
From: Paul Jinks [mailto:[EMAIL PROTECTED]
Sent: 09 December 2005 11:51
To: php-general@lists.php.net
ave been: "How can PHP
help protect web content?"
Best,
Jason
On 12/5/05, 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
>
37 matches
Mail list logo