php-general Digest 17 Mar 2008 21:45:44 -0000 Issue 5353
Topics (messages 271677 through 271694):
Re: How to get error context
271677 by: Zoltán Németh
help on using 'request_uri' to make a front-end site
271678 by: Donn Ingle
271686 by: Shawn McKenzie
271692 by: Donn Ingle
Re: GD / Pixel Font Rendering
271679 by: Børge Holen
271681 by: Jochem Maas
271682 by: Børge Holen
Detecting \u0000 in a string...
271680 by: Mikey
Re: __halt_compiler()
271683 by: Mikey
271684 by: Daniel Brown
271687 by: Shawn McKenzie
271688 by: Mikey
Re: Is this the best way?
271685 by: Jason Pruim
PHP Hosting - Coupon
271689 by: Daniel Brown
271690 by: Daniel Brown
271691 by: tedd
Semantic Web enabled Web applications with PHP
271693 by: Sören Auer
Help for openssl_pkcs7_verify function
271694 by: Carlo Carbone
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
2008. 03. 14, péntek keltezéssel 10.03-kor It Maq ezt írta:
> Here is the error message captured by my error
> handling function:
>
> mysql_connect() [function.mysql-connect]: Access
> denied for user 'admin'@'localhost' (using password:
> YES)
>
> i put a wrong password and username
the manual also says this, which I too did not notice earlier:
"Note: You can suppress the error message on failure by prepending a @
to the function name."
this implies that error message is raised on error, but don't ask me
why ;)
greets,
Zoltán Németh
> --- Zoltán Németh <[EMAIL PROTECTED]> wrote:
>
> > 2008. 03. 14, péntek keltezéssel 07.40-kor It Maq
> > ezt írta:
> > > For example "mysql_connect" reprted automatically
> > the
> > > error but in the manual
> > >
> >
> http://us3.php.net/manual/en/function.mysql-connect.php
> > > all they give as information is the return:
> > "Returns
> > > a MySQL link identifier on success, or FALSE on
> > > failure.", where can i see if it throws an error,
> > and
> > > when you say throwing do you mean that i can catch
> > the
> > > error without throwing it myself?
> >
> > hmm actually what error did mysql_connect throw?
> > because if it just fails connecting, it returns
> > false. on the other
> > hand, if you provide it wrong arguments (e.g. less
> > arguments, or wrong
> > data type, or whatever) that raises a php error and
> > the function does
> > not even run.
> > this is true for most functions which return false
> > on error. the
> > returning false means there was some error with the
> > action itself, while
> > php errors are raised when the action can not be
> > executed because of
> > some error in the code itself.
> >
> > greets,
> > Zoltán Németh
> >
> > >
> > > --- Zoltán Németh <[EMAIL PROTECTED]> wrote:
> > >
> > > > 2008. 03. 14, péntek keltezéssel 07.20-kor It
> > Maq
> > > > ezt írta:
> > > > > So i'm wondering if there are some rules
> > > > > that can help me know if an error will be
> > reported
> > > > > automatically or not.
> > > >
> > > > there is no general rule for that. you have to
> > check
> > > > the manual for each
> > > > function, some of them just returns false on
> > error,
> > > > others throw
> > > > warnings/notices/errors...
> > > >
> > > > greets,
> > > > Zoltán Németh
> > > >
> > > >
> > >
> > >
> > >
> > >
> >
> ____________________________________________________________________________________
> > > Never miss a thing. Make Yahoo your home page.
> > > http://www.yahoo.com/r/hs
> > >
> > >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
>
>
> ____________________________________________________________________________________
> Looking for last minute shopping deals?
> Find them fast with Yahoo! Search.
> http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>
>
--- End Message ---
--- Begin Message ---
Hi,
I have been trying to get a little templating thing going and I want
everything to pass through a single index.php file which then decides what
page is wanted and includes them.
The scheme is to go to a url like [http://localhost/~donn/blah/] which
serves index.php in that dir. That includes 'home.php'
home.php has a link to 'use1.php'
The problem I am having is that as I click back and forth between home and
use1 the url starts growing...
I get things like [http://localhost/~donn/blah/index.php/index.php/use1] and
it just keeps getting longer.
I include my code below, very much shortened. I am sure I am missing some
obvious way to control links in this weird situation where every page is
*really* index.php but I still need to link from page to page.
[code]
[index.php]
<?php
$expl = explode("/",$_SERVER["REQUEST_URI"]);
$resource = $expl[count($expl)-1];
if ($resource=="") $resource="home";
if (file_exists($resource.".php") ) {
include $resource.".php";
} else {
echo "No such file.";
}
?>
[home.php]
<h1>home</h1>
<a href="index.php/use1">link to use1</a>
[use1.php]
<h1>use1</h1>
<a href="index.php/home">Back</a>
The overall idea is to have clean urls without a bunch of htaccess stuff
(which mystifies me). I want to be able to bookmark
[http://localhost/~donn/blah/index.php/somepage] and have stuff like
[http://localhost/~donn/blah/index.php/gallery:showpic1]
Thanks for reading.
\d
--- End Message ---
--- Begin Message ---
UsDonn Ingle wrote:
> Hi,
> I have been trying to get a little templating thing going and I want
> everything to pass through a single index.php file which then decides what
> page is wanted and includes them.
>
> The scheme is to go to a url like [http://localhost/~donn/blah/] which
> serves index.php in that dir. That includes 'home.php'
>
> home.php has a link to 'use1.php'
>
> The problem I am having is that as I click back and forth between home and
> use1 the url starts growing...
>
> I get things like [http://localhost/~donn/blah/index.php/index.php/use1] and
> it just keeps getting longer.
>
> I include my code below, very much shortened. I am sure I am missing some
> obvious way to control links in this weird situation where every page is
> *really* index.php but I still need to link from page to page.
>
> [code]
> [index.php]
> <?php
> $expl = explode("/",$_SERVER["REQUEST_URI"]);
> $resource = $expl[count($expl)-1];
> if ($resource=="") $resource="home";
>
> if (file_exists($resource.".php") ) {
> include $resource.".php";
> } else {
> echo "No such file.";
> }
> ?>
>
> [home.php]
> <h1>home</h1>
> <a href="index.php/use1">link to use1</a>
>
> [use1.php]
> <h1>use1</h1>
> <a href="index.php/home">Back</a>
>
> The overall idea is to have clean urls without a bunch of htaccess stuff
> (which mystifies me). I want to be able to bookmark
> [http://localhost/~donn/blah/index.php/somepage] and have stuff like
> [http://localhost/~donn/blah/index.php/gallery:showpic1]
>
> Thanks for reading.
> \d
>
>
>
Use /index.php instead of index.php maybe...
--- End Message ---
--- Begin Message ---
Shawn McKenzie wrote:
> Use /index.php instead of index.php maybe...
I assume you meant in the <a> tag. I tried that and the URL (when you
mouse-over the link) becomes [http://localhost/index.php] which is not
anywhere near where the files live.
I must say I am rather confused by this situation, but I can fix it by
always using absolute urls - which is a bit of a pain.
\d
--- End Message ---
--- Begin Message ---
On Monday 17 March 2008 09:25:36 Jochem Maas wrote:
> nihilism machine schreef:
> > I am trying to render an 8 pixel pixel font without anti aliasing to
> > look crisp (silkscreen) in 8pt with gd. the font is huge and ugly:
> >
> > <?php
> > // Set the content-type
> > header("Content-type: image/png");
> >
> > // Create the image
> > $im = imagecreatetruecolor(400, 30);
> >
> > // Create some colors
> > $white = imagecolorallocate($im, 255, 255, 255);
> > $grey = imagecolorallocate($im, 128, 128, 128);
> > $black = imagecolorallocate($im, 0, 0, 0);
> > imagefilledrectangle($im, 0, 0, 399, 29, $white);
> >
> > // The text to draw
> > $text = 'Testing...';
> > // Replace path by your own font path
> > $font = 'silkscreen.ttf';
> >
> > // Add some shadow to the text
> > imagettftext($im, 20, 0, 11, 21, $grey, $font, $text);
> >
> > // Add the text
> > imagettftext($im, 20, 0, 10, 20, $black, $font, $text);
> >
> > // Using imagepng() results in clearer text compared with imagejpeg()
> > imagepng($im);
> > imagedestroy($im);
> > ?>
> >
> >
> > -- any ideas?
>
> don't post twice.
I recon he didn't.
This list has the tendancy to send double posts from time to time.
> use '8' instead of '20' for the fontsize.
--
---
Børge Holen
http://www.arivene.net
--- End Message ---
--- Begin Message ---
Børge Holen schreef:
On Monday 17 March 2008 09:25:36 Jochem Maas wrote:
nihilism machine schreef:
I am trying to render an 8 pixel pixel font without anti aliasing to
look crisp (silkscreen) in 8pt with gd. the font is huge and ugly:
<?php
// Set the content-type
header("Content-type: image/png");
// Create the image
$im = imagecreatetruecolor(400, 30);
// Create some colors
$white = imagecolorallocate($im, 255, 255, 255);
$grey = imagecolorallocate($im, 128, 128, 128);
$black = imagecolorallocate($im, 0, 0, 0);
imagefilledrectangle($im, 0, 0, 399, 29, $white);
// The text to draw
$text = 'Testing...';
// Replace path by your own font path
$font = 'silkscreen.ttf';
// Add some shadow to the text
imagettftext($im, 20, 0, 11, 21, $grey, $font, $text);
// Add the text
imagettftext($im, 20, 0, 10, 20, $black, $font, $text);
// Using imagepng() results in clearer text compared with imagejpeg()
imagepng($im);
imagedestroy($im);
?>
-- any ideas?
don't post twice.
I recon he didn't.
maybe, maybe not. I get punished for stuff I didn't do all the time ... why
shouldn't he ;-)
This list has the tendancy to send double posts from time to time.
it does? haven't noticed that. I'll be more vigilant (well I'll try)
use '8' instead of '20' for the fontsize.
--- End Message ---
--- Begin Message ---
On Monday 17 March 2008 13:10:20 Jochem Maas wrote:
> Børge Holen schreef:
> > On Monday 17 March 2008 09:25:36 Jochem Maas wrote:
> >> nihilism machine schreef:
> >>> I am trying to render an 8 pixel pixel font without anti aliasing to
> >>> look crisp (silkscreen) in 8pt with gd. the font is huge and ugly:
> >>>
> >>> <?php
> >>> // Set the content-type
> >>> header("Content-type: image/png");
> >>>
> >>> // Create the image
> >>> $im = imagecreatetruecolor(400, 30);
> >>>
> >>> // Create some colors
> >>> $white = imagecolorallocate($im, 255, 255, 255);
> >>> $grey = imagecolorallocate($im, 128, 128, 128);
> >>> $black = imagecolorallocate($im, 0, 0, 0);
> >>> imagefilledrectangle($im, 0, 0, 399, 29, $white);
> >>>
> >>> // The text to draw
> >>> $text = 'Testing...';
> >>> // Replace path by your own font path
> >>> $font = 'silkscreen.ttf';
> >>>
> >>> // Add some shadow to the text
> >>> imagettftext($im, 20, 0, 11, 21, $grey, $font, $text);
> >>>
> >>> // Add the text
> >>> imagettftext($im, 20, 0, 10, 20, $black, $font, $text);
> >>>
> >>> // Using imagepng() results in clearer text compared with imagejpeg()
> >>> imagepng($im);
> >>> imagedestroy($im);
> >>> ?>
> >>>
> >>>
> >>> -- any ideas?
> >>
> >> don't post twice.
> >
> > I recon he didn't.
>
> maybe, maybe not. I get punished for stuff I didn't do all the time ... why
> shouldn't he ;-)
THAT on the other hand is a perfectly good reason to kick the shit out of
someone =D
>
> > This list has the tendancy to send double posts from time to time.
>
> it does? haven't noticed that. I'll be more vigilant (well I'll try)
>
> >> use '8' instead of '20' for the fontsize.
--
---
Børge Holen
http://www.arivene.net
--- End Message ---
--- Begin Message ---
Hi!
I was wondering if anyone here had experienced a simliar problem to mine.
I am updating an Oracle XMLType column with XML built using DOM that is
populated with values from an Excel spreadsheet saved out as a CSV.
My problem is that for certain (apparently) random rows the xml updated
will fail with the error:
Warning: oci_execute(): OCIStmtExecute: ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00217: invalid character 0 (\u0000)
Error at line 1
ORA-06512: at "SYS.XMLTYPE", line 5
ORA-06512: at line 1
in /path/ob/fu/scated/archive.inc on line 1374
I have googled around and a Java fix for the problem seemed to revolve
around a null char being left on the end of the XML string, so I tried
stripping the last char from the string but this did not help. I then
used an ordUTF8 function I found in the manual notes to see if I could
find the null in the string - again, no luck.
So my question is whether or not anyone here has a reliable way of
detcting and removing \u0000 chars from strings?
regards,
Mikey
--- End Message ---
--- Begin Message ---
Casey wrote:
> Hi list!
>
> __halt_compiler(). Does anyone use it?
>
> I've used it obsessively in my past two "projects" to store data
> (specifically CSV) in the PHP files. These two "projects" consisted of
> only one file, and I didn't want to clutter everything and involve
> databases and/or XML files.
>
> Your thoughts?
>
> -Casey
(Apologies for not sending this to the list)
I personally think that keeping your data in the same file as your code
is asking for trouble further down the line.
Of course, YMMV and it is all personal taste (before the flames start)
but what is the problem with opening and parsing a CSV file in your
script? That way your code is more modular and a lot easier to
understand for other developers.
Mikey
--- End Message ---
--- Begin Message ---
On Sun, Mar 16, 2008 at 4:18 PM, Casey <[EMAIL PROTECTED]> wrote:
> Hi list!
>
> __halt_compiler(). Does anyone use it?
>
> I've used it obsessively in my past two "projects" to store data
> (specifically CSV) in the PHP files. These two "projects" consisted of
> only one file, and I didn't want to clutter everything and involve
> databases and/or XML files.
>
> Your thoughts?
In my opinion, if you're distributing open source scripts or the
like, and wanted to send out a really simple installer package, that
would be fine. All-in-all, you want to evaluate the scope of your
code, the knowledge level of your user base, the means by which the
code will be shared, et cetera. It's really up to your best educated
judgment on a per-project basis.
Now, the world don't move to the beat of just one drum. What
might be right for you may not be right for some: a man is born, he's
a man of means. Then along come two and they've got nothing but their
genes, but they've got Diff'rent Strokes. It takes Diff'rent Strokes.
It takes Diff'rent Strokes to move the world.
Everybody's got a special kind of story. Everybody finds their
way to shine. It don't matter that you got not a lot; so what?
They'll have theirs and you'll have yours and I'll have mine. And
together, we'll be fine! 'Cause it takes Diff'rent Strokes to move
the world.
Yes, it does, it takes Diff'rent Strokes to move the world.
--
</Daniel P. Brown>
Forensic Services, Senior Unix Engineer
1+ (570-) 362-0283
--- End Message ---
--- Begin Message ---
Daniel Brown wrote:
> On Sun, Mar 16, 2008 at 4:18 PM, Casey <[EMAIL PROTECTED]> wrote:
>> Hi list!
>>
>> __halt_compiler(). Does anyone use it?
>>
>> I've used it obsessively in my past two "projects" to store data
>> (specifically CSV) in the PHP files. These two "projects" consisted of
>> only one file, and I didn't want to clutter everything and involve
>> databases and/or XML files.
>>
>> Your thoughts?
>
> In my opinion, if you're distributing open source scripts or the
> like, and wanted to send out a really simple installer package, that
> would be fine. All-in-all, you want to evaluate the scope of your
> code, the knowledge level of your user base, the means by which the
> code will be shared, et cetera. It's really up to your best educated
> judgment on a per-project basis.
>
> Now, the world don't move to the beat of just one drum. What
> might be right for you may not be right for some: a man is born, he's
> a man of means. Then along come two and they've got nothing but their
> genes, but they've got Diff'rent Strokes. It takes Diff'rent Strokes.
> It takes Diff'rent Strokes to move the world.
>
> Everybody's got a special kind of story. Everybody finds their
> way to shine. It don't matter that you got not a lot; so what?
> They'll have theirs and you'll have yours and I'll have mine. And
> together, we'll be fine! 'Cause it takes Diff'rent Strokes to move
> the world.
>
> Yes, it does, it takes Diff'rent Strokes to move the world.
>
What you talk'n about Willis?
--- End Message ---
--- Begin Message ---
Shawn McKenzie wrote:
Daniel Brown wrote:
On Sun, Mar 16, 2008 at 4:18 PM, Casey <[EMAIL PROTECTED]> wrote:
Hi list!
__halt_compiler(). Does anyone use it?
I've used it obsessively in my past two "projects" to store data
(specifically CSV) in the PHP files. These two "projects" consisted of
only one file, and I didn't want to clutter everything and involve
databases and/or XML files.
Your thoughts?
In my opinion, if you're distributing open source scripts or the
like, and wanted to send out a really simple installer package, that
would be fine. All-in-all, you want to evaluate the scope of your
code, the knowledge level of your user base, the means by which the
code will be shared, et cetera. It's really up to your best educated
judgment on a per-project basis.
Now, the world don't move to the beat of just one drum. What
might be right for you may not be right for some: a man is born, he's
a man of means. Then along come two and they've got nothing but their
genes, but they've got Diff'rent Strokes. It takes Diff'rent Strokes.
It takes Diff'rent Strokes to move the world.
Everybody's got a special kind of story. Everybody finds their
way to shine. It don't matter that you got not a lot; so what?
They'll have theirs and you'll have yours and I'll have mine. And
together, we'll be fine! 'Cause it takes Diff'rent Strokes to move
the world.
Yes, it does, it takes Diff'rent Strokes to move the world.
What you talk'n about Willis?
(tugs on cheeky cheeks!)
--- End Message ---
--- Begin Message ---
On Mar 14, 2008, at 7:44 PM, Jim Lucas wrote:
Jason Pruim wrote:
On Mar 14, 2008, at 5:03 PM, TG wrote:
----- Original Message -----
From: Jason Pruim <[EMAIL PROTECTED]>
To: TG <[EMAIL PROTECTED]>
Cc: "PHP General List" <[EMAIL PROTECTED]>
Date: Fri, 14 Mar 2008 14:56:32 -0400
Subject: Re: [PHP] Is this the best way?
On Mar 14, 2008, at 1:44 PM, TG wrote:
What error are you getting? Maybe there's some way to fix that
too.
The error I get without checking the row count is this:
You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to
use
near 'order by LName' at line 1
Ok so the next thing to check is your query. Maybe echo it out so
you can
see what's actually attempting to execute.
echo from my actual query
SELECT * FROM current WHERE loginName='japruim' AND
loginPassword='mybadpassword' LIMIT 0,1;
obviously it isn't this SQL statement that is causing the problem,
it doesn't have the ORDER BY piece that is failing.
I don't see an "ORDER BY" in the SQL listed below.
The ORDER BY actually comes from a different query that should ONLY
be done AFTER successful login... It's actually related to the
sorting of the records that should be retrieved.
Somehow it is getting to this statement and the variable that you
are using just before the ORDER BY part is empty, Why don't you
show us that statement.
Requested statement below:
$query = "SELECT * from ".$linkauth['table']." order by ".$sortOrder;
The $linkauth['table'] is returned when the authentication is
successful. Otherwise it's not written so that you have to log in to
see the contents of the database.
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."
Twelfth Night, Act II, Scene V
by William Shakespeare
--
Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424-9337
www.raoset.com
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
As some of you are aware, my hosting company, PilotPig, has been
struggling a lot with phishers and fraud. Stolen PayPal accounts used
to pay for hosting accounts on my servers. As a result - and in
celebration of the only holiday that I actually give a damn about -
I'm doing a 50% off coupon for monthly, quarterly, semi-annual, and
annual subscriptions on 10GB/75GB Developer accounts and 50GB/150GB
reseller accounts.
I'm finally fed up. Since this time last year, it's cost me
literally thousands. After today, I'm pulling the plug on public
sales and will only set up new accounts manually until I'm ready to
deal with the BS of these jackasses again. I'm by no means cutting
out the hosting service - there's no worry about that. I'm only
ceasing automated public sales.
Basically, the two reasons I'm doing this are (1) because it's
Saint Paddy's Day - Lá Fhéile Pádraig Sona Duit! And (2) because I'd
like to get at least a single-digit positive number for reporting for
Q1 2008 for my accounting. So far, my losses for 2008 look like I
stuck a mirror up to someone's paycheck. I just had two homeless
gentlemen laugh and point at me and tell me my family is poor.
Anyway, it's 50% off, comes with SSH/unlimited
databases/blah/blah/blah. Ask for references here on the list and I
don't think it'll be a problem to get some honest feedback from our
peers here. Check it out (and don't mind the layout.... I'm a
programmer, not a designer).
http://pilotpig.net/
Thanks for passing by. Any questions, you know what to do.
--
</Daniel P. Brown>
Forensic Services, Senior Unix Engineer
1+ (570-) 362-0283
--- End Message ---
--- Begin Message ---
On Mon, Mar 17, 2008 at 11:45 AM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> As some of you are aware, my hosting company, PilotPig, has been
> struggling a lot with phishers and fraud. Stolen PayPal accounts used
> to pay for hosting accounts on my servers. As a result - and in
> celebration of the only holiday that I actually give a damn about -
> I'm doing a 50% off coupon for monthly, quarterly, semi-annual, and
> annual subscriptions on 10GB/75GB Developer accounts and 50GB/150GB
> reseller accounts.
[snip!]
By the way, the coupon is: stpaddy08
For right now, the automated setup thing is still active. I'm
going to kill it tonight or tomorrow morning. And I'll be out of the
office today from 1:00p EDT today. Any questions can be sent to my
Treo by SMS or email at +1-570-362-0283 or [EMAIL PROTECTED]
--
</Daniel P. Brown>
Forensic Services, Senior Unix Engineer
1+ (570-) 362-0283
--- End Message ---
--- Begin Message ---
At 11:45 AM -0400 3/17/08, Daniel Brown wrote:
Anyway, it's 50% off, comes with SSH/unlimited
databases/blah/blah/blah. Ask for references here on the list and I
don't think it'll be a problem to get some honest feedback from our
peers here. Check it out (and don't mind the layout.... I'm a
programmer, not a designer).
http://pilotpig.net/
To all:
<unsolicited endorsement>
As a very happy customer, I vouch for his service -- really a great deal.
</unsolicited endorsement>
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--- End Message ---
--- Begin Message ---
Hi all,
The largest obstacle for the uptake of the Semantic Web is still the
lack of semantically represented data, information and knowledge. On the
other hand the majority of Web pages already now is generated by
database driven Web applications containing structured data (many of
them written in PHP). Triplify now aims at revealing such data and make
it accessible using next generation semantic technologies.
Triplify is a small plugin (<300 LoC) for database driven Web
applications which:
* exposes RDF, Linked Data and JSON,
* is extremely simple to configure - just provide some SQL queries,
selecting the information to be exposed,
* is complemented by a light-weight registry for RDF data sources.
We hope Triplify will make a significant contribution to get *more* data
and semantics on the Web. But Triplify needs your contribution too -
please consider donating some minutes to provide a Triplify
configuration for a popular Web application. Such configurations will be
shared on Triplify.org to make the "semantification" of Web applications
even for novices a *no brainer*.
More information about Triplify can be found at: http://triplify.org
--Sören
[1] http://aksw.org
--------------------------------------------------------------
Dr. Sören Auer - University of Leipzig, Computer Science Dept.
http://www.informatik.uni-leipzig.de/~auer, +49 (32) 222201209
--- End Message ---
--- Begin Message ---
I need help for this function to verify a p7m file . The funcion return
always error value ( -1 ) this is the sintax that I use to verify the sign
on the file
openssl_pkcs7_verify("prova.p7m", PKCS7_BINARY ,"prova.pdf",
array("c:\cert.pem") );
I 'm a winXP user and the path of PHP is place in the system path as
mentioned in the setup note
why it don't work ? where is the problem ? somebody could help me ?
--- End Message ---