php-general Digest 7 Feb 2006 16:33:20 - Issue 3950
Topics (messages 230024 through 230048):
Re: Is this the most effient to do with php an mysql?
230024 by: Ligaya Turmelle
230026 by: Peter Lauri
230027 by: Oliver Grätz
230028 by: Peter Lauri
Re: Making Php
php-general Digest 8 Feb 2006 06:26:31 - Issue 3951
Topics (messages 230049 through 230065):
PHP Application Vuln. Testing
230049 by: Jason Gerfen
230050 by: Richard Davey
230051 by: Jason Gerfen
230053 by: John Nichel
230059 by: Matt Stone
Gustavo Narea wrote:
Hello everybody.
I'm trying to use the Advanced PHP Debugger (APD), but it generates no
output. Actually, It does generate a file, but with no content.
What's going on?
1.- I installed the APD by running `pear install APD` with no problem.
2.- Setup my php.ini file the
Oliver Grätz wrote:
Just for the laugh: You could send a redirection to a page that causes
the browser to crash ;-) No client side scripting involved *g*.
OLLi
Or fill up the buffer till browser crashes ^_^
--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)
--
Hello,
Now I need to use curl to connect to a secure website,
I have three certificates files, two .cer files and one .pfx file.
After I import the certificates into IE browser, the visit is OK.
However, when I use curl_setopt to configure the certificates, it failed.
Can anybody help me?
Thanks.
Chris wrote:
check your SMTP settings in the PHP.ini file.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
should it not be:-
G:\\test\ssl\mes1.cer'
notice how I changed the path to reflect a proper windows drive path!
James
lhb wrote:
Hello,
Now I need to use curl to connect to a secure website,
I have three certificates files, two .cer files and one .pfx file.
After I import the
Bruno B B Magalhães wrote:
Hi Jochem,
well, thanks for the code... it's working perfect, but it seams a
little bit slow as it's using while... doesn't?
slow as compared to what? - its a very basic loop.
maybe a foreach loop would run quicker but unless you we're calling
this method 10,000s
Justin Cook wrote:
Before I came to my company, they created a Redhat server for our web server. Of course they let the redhat installer install PHP. It all works great but now I need to compile a module into php. Is this possible to do without causing havok? Bascially we really can't have more
At 03:42 AM 2/7/2006, Labunski wrote:
It can'tbe done with PHP, cause it must be client side script, aka
Javascript:
javascript: window.close();
--
Actually, expand it a little bit, and you avoid the JS Alert.
function close_opener(){
parentwin = window.self; // Make
Hello, Jochem.
Thanks for your response.
I just filled a bug report because I realized there are many bugs like
the one I have, specially with PHP v5.0.3.
Cheers!
Jochem Maas wrote:
Gustavo Narea wrote:
Hello everybody.
I'm trying to use the Advanced PHP Debugger (APD), but it generates
Angelo Zanetti wrote:
Ok I take it, it will be something like this:
$mail = new htmlMimeMail();
$mail-setHeader(Return-Path, $proxy_from);
$mail-setHeader(Reply-To, $proxy_from);
??
Correct.
--
Richard Heyes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Richard Heyes wrote:
Angelo Zanetti wrote:
Ok I take it, it will be something like this:
$mail = new htmlMimeMail();
$mail-setHeader(Return-Path, $proxy_from);
$mail-setHeader(Reply-To, $proxy_from);
??
Correct.
yip it worked thanks!!
--
PHP General Mailing List (http://www.php.net/)
I am having great difficulty understanding dates and times with PHP and
MySql.
As far as I understand them, the PHP date and time construct is timezone
and DST aware, but MySql's DATETIME and TIMESTAMP fields are not. I
believe that this is where my confusion originates from.
After
Stephen Martindale wrote:
I am having great difficulty understanding dates and times with PHP and
MySql.
As far as I understand them, the PHP date and time construct is timezone
and DST aware, but MySql's DATETIME and TIMESTAMP fields are not. I
believe that this is where my confusion
On 7 Feb 2006, at 11:13, Jochem Maas wrote:
in theory your done, in practice something might bite you in the
ass ...
oh and then there is the issue of making sure that the redhat
package manager really
won't overwrite your handbuilt php install (cannot for the life of
me remember what you
Stephen Martindale [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I am having great difficulty understanding dates and times with PHP and
MySql.
As far as I understand them, the PHP date and time construct is timezone
and DST aware, but MySql's DATETIME and TIMESTAMP fields are
I have a question which as of yet I am unable to find any information
about from googling. Lets say you have just written a fairly robust
PHP/MySQL application and would like to put it on your production server.
For reasons of clarification lets say this application handles sensitive
On 7 Feb 2006, at 16:54, Jason Gerfen wrote:
Is there any product available, commercial or free which performs
source code auditing which *specificly searches PHP code for SQL,
XSS type of attacks or vulnerabilities? TIA.
No. But there are people who can perform the service for you
Richard Davey wrote:
On 7 Feb 2006, at 16:54, Jason Gerfen wrote:
Is there any product available, commercial or free which performs
source code auditing which *specificly searches PHP code for SQL,
XSS type of attacks or vulnerabilities? TIA.
No. But there are people who can perform
On 2/7/06, Miles Thompson [EMAIL PROTECTED] wrote:
Actually, expand it a little bit, and you avoid the JS Alert.
function close_opener(){
parentwin = window.self; // Make handle for current
window named parentwin
parentwin.opener = window.self;// Tell
Jason Gerfen wrote:
I have a question which as of yet I am unable to find any information
about from googling. Lets say you have just written a fairly robust
PHP/MySQL application and would like to put it on your production server.
For reasons of clarification lets say this application
From a textarea on a web form I'm attempting to convert all returns(\r),
from the users input, to br /, for db INSERT, and then back again for
display in the textarea. (They remain as br /s for normal HTML web page
display.)
code:
// From textarea to db UPDATE
function addBR($tv) {
$tv =
http://us3.php.net/manual/en/function.nl2br.php
Instead of using br / I would use p/p tags. That's just me though. :)
On 2/7/06 12:38 PM, Sam Smith [EMAIL PROTECTED] wrote:
From a textarea on a web form I'm attempting to convert all returns(\r),
from the users input, to br /, for db
Hi,
I currently use the date function as follows:
?php
$day= date(l);
?
so I can then use this to call records from a database where todays day
matches that of a record, however I would also like to call records for
tomorrow, is there a way in which I could use the date function to add one
day
Khristian Hamilton-Bailey wrote:
Hi,
I currently use the date function as follows:
?php
$day= date(l);
?
so I can then use this to call records from a database where todays day
matches that of a record, however I would also like to call records for
tomorrow, is there a way in which I could
John Nichel wrote:
Khristian Hamilton-Bailey wrote:
Hi,
I currently use the date function as follows:
?php
$day= date(l);
?
so I can then use this to call records from a database where todays day
matches that of a record, however I would also like to call records for
tomorrow, is there a
- Original Message -
From: Jason Gerfen [EMAIL PROTECTED]
To: PHP General (E-mail) php-general@lists.php.net
Sent: Tuesday, February 07, 2006 4:54 PM
Subject: [PHP] PHP Application Vuln. Testing
Is there any product available, commercial or free which performs source
code auditing
On Tue, Feb 07, 2006 at 10:38:37AM -0800, Sam Smith wrote:
From a textarea on a web form I'm attempting to convert all returns(\r),
from the users input, to br /, for db INSERT, and then back again for
display in the textarea. (They remain as br /s for normal HTML web page
display.)
You
Have you looked over phpsec.org site? read over the security guide, and
the various articles?
Jason Gerfen wrote:
Richard Davey wrote:
On 7 Feb 2006, at 16:54, Jason Gerfen wrote:
Is there any product available, commercial or free which performs
source code auditing which *specificly
Hi,
I have a site with images that I want people to download but not have
the direct path to. ie. I do not want them to be able to just view the
source, find the dir and then download everything or direct link to
them.
However I can see no way to do this other than keeping the images on
disk,
Thanks for your input.
However, I still can't get it work.
Do you have success examples?
I really don't know how to set the curl options.
I am confusing to the options of CURLOPT_CAINFO, CURLOPT_SSLCERT,
CURLOPT_SSLKEY, etc.
lhb
James Benson [EMAIL PROTECTED] wrote in message
news:[EMAIL
Agreed - try to think of it as a filter and less of something that needs to
be computed both ways... much easier in the long run, and more efficient :)
On 2/7/06, Curt Zirzow [EMAIL PROTECTED] wrote:
On Tue, Feb 07, 2006 at 10:38:37AM -0800, Sam Smith wrote:
From a textarea on a web form
I am trying to track down which version of php4 has the fix for bug
29922.
I am running 4.3.11 which came out after the bug was fixed in CVS,
but I seem to be having the problem listed in the bug.
For various reason, I can't upgrade to a later version very easily.
thanks
- daniel
--
PHP
Hi there, please dont bite, but we are looking for an open source or
commercial php product for ticket support and another for project
managent. I have already googled a bit and what ive seen isnt so good.
For our ticketing we mostly require a hosting style ticket system for
server support and
On Tue, Feb 07, 2006 at 03:43:38PM -0800, Curt Zirzow wrote:
On Tue, Feb 07, 2006 at 10:38:37AM -0800, Sam Smith wrote:
// output to html, removing xxs ablity and add html br's
I mean XSS (Cross Site Scripting)
Curt.
--
cat .signature: No such file or directory
--
PHP General Mailing List
hbeaumont hbeaumont wrote:
Hi,
I have a site with images that I want people to download but not have
the direct path to. ie. I do not want them to be able to just view the
source, find the dir and then download everything or direct link to
them.
However I can see no way to do this other than
37 matches
Mail list logo