php-windows Digest 1 Sep 2001 03:34:00 -0000 Issue 731

Topics (messages 9149 through 9161):

Re: Can PHP and Java work together?
        9149 by: Benjamin Lupu
        9152 by: Robin Bolton
        9153 by: Robin Bolton

Opt-In Request Re:  [EMAIL PROTECTED]
        9150 by: abundantliving.aolms.com

Re: [PHP] Can PHP and Java work together?
        9151 by: Alfredeen, Johan

Re: [PHP] RE: [PHP-WIN] Can PHP and Java work together?
        9154 by: Alfredeen, Johan

Parsing PDF files
        9155 by: Paul Meagher
        9157 by: Alain Samoun
        9158 by: Paul Meagher
        9159 by: Bob Kaehms
        9160 by: Paul Meagher

Error using domxml_dumpmem()
        9156 by: Alessio Bernesco Lāvore

Email Processors Wanted!
        9161 by: skyward_7.yahoo.com

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]


----------------------------------------------------------------------


Jack,

You can either check your text field with JavaScript before submitting your
form or
after on server-side with PHP. I prefer to use JavaScript because it saves a
back
and forth.

here an example of that :

http://1ppl.free.fr/scripts/javascript16.htm

For the printing function, check that :

http://1ppl.free.fr/scripts/javascript04.htm

Enjoy :-)


"Jack" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Dear all
> I want to ask if i want to perform two task after the user had click a
> button,
> 1 is the task perform by PHP
> 2 is the task perform by JavaScript
> is it possible to do so?
>
> I'm actually fresh on JavaScript, before i would call the JavaScript, what
> should i do first or what should i set before though?
>
> Thx
> Jack
> [EMAIL PROTECTED]
>
>






If you're talking about a form, then what you can do is set the properties
for the button like so:


> -----Original Message-----
> From: Jack [mailto:[EMAIL PROTECTED]]
> Sent: August 31, 2001 2:13 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: [PHP-WIN] Can PHP and Java work together?
>
>
> Dear all
> I want to ask if i want to perform two task after the user had click a
> button,
> 1 is the task perform by PHP
> 2 is the task perform by JavaScript
> is it possible to do so?
>
> I'm actually fresh on JavaScript, before i would call the JavaScript, what
> should i do first or what should i set before though?
>
> Thx
> Jack
> [EMAIL PROTECTED]
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>





My apologies for the previous message not being complete (for some reason
CTRL-V occasionally sends the message in Outlook!).

Let's try this again.

If you're talking about a form, then what you can do is set the properties
for the button like so:

<form name="formname" method="post" action="script.php">
<input type="submit" name="Submit" value="Submit"
onClick="js_function('arguments')">
</form>

This won't work if you're thinking of using JavaScript to validate the form
before it gets sent to the server, but it's good if you want to submit the
form and perform a JS action at the same time.

Also, if you are considering using JavaScript to validate your form, you may
want to reconsider doing it in PHP as JavaScript is easy to circumvent.


-- Robin


> -----Original Message-----
> From: Robin Bolton [mailto:[EMAIL PROTECTED]]
> Sent: August 31, 2001 8:49 AM
> To: Jack; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] Can PHP and Java work together?
>
>
> If you're talking about a form, then what you can do is set the
> properties for the button like so:
>
>
> > -----Original Message-----
> > From: Jack [mailto:[EMAIL PROTECTED]]
> > Sent: August 31, 2001 2:13 AM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: [PHP-WIN] Can PHP and Java work together?
> >
> >
> > Dear all
> > I want to ask if i want to perform two task after the user had click a
> > button,
> > 1 is the task perform by PHP
> > 2 is the task perform by JavaScript
> > is it possible to do so?
> >
> > I'm actually fresh on JavaScript, before i would call the
> JavaScript, what
> > should i do first or what should i set before though?
> >
> > Thx
> > Jack
> > [EMAIL PROTECTED]
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >





This is a one-time mailing only. You are receiving this message because you recently 
submitted to one of our websites -- this is simply an attempt to update our files by 
verifying your email address  [EMAIL PROTECTED]  at  206.43.192.76      
*********************************************************** 

Dear Patron,

By popular request, we have designed a FREE newsletter titled . . .

"Abundant Living Online"

 . . containing information on a wide variety of topics designed to enhance your
experiences both online and offline, including:

=> useful and innovative websites
=> highest-rated homebased businesses
=> incredible travel deals
=> important health & nutrition tips 
=> freebies
=> and much more!

We would like to invite you to subscribe to this FREE newsletter, and
enjoy a free vacation weekend as our thank-you gift. Simply click on the
following link and fill out the form on the website (there are
absolutely NO strings attached):

http://aolms.vacation-4-free.com/abundantliving/

For business questions or comments, we can be reached at:
[EMAIL PROTECTED]

Sincerely, 

Abundant Living

*********************************************************** 
NOTE: This email is sent in compliance with our strict 
anti-abuse regulations. We are attempting to verify your 
email address. This message is only a request to verify. 
It is not in any way to be construed as a commercial message. 
If you do not wish to receive any mail from our servers, do 
not reply to this email nor click on any of the above links. 
If you wish to have your email address permanently blocked 
from our servers from further verification requests please 
go to http://inetekk.com/abuse.html

Thank you, Abundant Living





Jack,
 Yes this is possible. I assume you want to use a javascript onClick event
function. Then in your javasript code, just execute your PHP code. You can
run PHP code within a javascript block. For example, on my site I assign a
javascript variable to the value held in a PHP variable like this:

var jstitle = <? print("\"" . $article_array[1][0] . "\""); ?>;

Good luck,

Johan
Which World?
www.pongworld.com


-----Original Message-----
From: Jack [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 31, 2001 2:13 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] Can PHP and Java work together?


Dear all
I want to ask if i want to perform two task after the user had click a
button,
1 is the task perform by PHP
2 is the task perform by JavaScript
is it possible to do so?

I'm actually fresh on JavaScript, before i would call the JavaScript, what
should i do first or what should i set before though?

Thx
Jack
[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Jack,
  My apologies. Disregard my earlier example - it only works because the PHP
variable is "passed" to the javascript variable during onLoad when
everything is executed. But in your case, the page has already been sent to
the client and PHP can only be called by calling the server again.

Johan


> > -----Original Message-----
> > From: Jack [mailto:[EMAIL PROTECTED]]
> > Sent: August 31, 2001 2:13 AM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: [PHP-WIN] Can PHP and Java work together?
> >
> >
> > Dear all
> > I want to ask if i want to perform two task after the user had click a
> > button,
> > 1 is the task perform by PHP
> > 2 is the task perform by JavaScript
> > is it possible to do so?
> >
> > I'm actually fresh on JavaScript, before i would call the
> JavaScript, what
> > should i do first or what should i set before though?
> >
> > Thx
> > Jack
> > [EMAIL PROTECTED]
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Wondering if anyone has tried to parse out a table of information from a
PDF file?

Is it a matter of opening the file, looping through its contents
line-by-line looking for tags that demarcate table cell boundaries and
extracting the relevant cell values?

I figured if Google can index PDF content it must be possible to pull the
content out something like one would an HTML file.

Mostly wondering how much work might be involved and if there are any
tricks that I should be aware of before I begin...

Regards,
Paul











I think that you can extract pretty easily the header, like: Subject,
Creator, Author etc... But extracting values in a table may not that be so
easy as the objects creation in the file are dependent on the file history
and in addition the pdf file may be in a binary form.
Alain

On Fri, Aug 31, 2001 at 12:16:38PM -0300, Paul Meagher wrote:
> Wondering if anyone has tried to parse out a table of information from a
> PDF file?
> 
> Is it a matter of opening the file, looping through its contents
> line-by-line looking for tags that demarcate table cell boundaries and
> extracting the relevant cell values?
> 
> I figured if Google can index PDF content it must be possible to pull the
> content out something like one would an HTML file.
> 
> Mostly wondering how much work might be involved and if there are any
> tricks that I should be aware of before I begin...
> 
> Regards,
> Paul
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]




Thanks Alain,

I was a little worried that it might be in binary format.   I will probably
create a script to try to read a PDF file just to see what happens.

Regards,
Paul

> I think that you can extract pretty easily the header, like: Subject,
> Creator, Author etc... But extracting values in a table may not that be
so
> easy as the objects creation in the file are dependent on the file
history
> and in addition the pdf file may be in a binary form.
> Alain
>
> On Fri, Aug 31, 2001 at 12:16:38PM -0300, Paul Meagher wrote:
> > Wondering if anyone has tried to parse out a table of information from
a
> > PDF file?
> >
> > Is it a matter of opening the file, looping through its contents
> > line-by-line looking for tags that demarcate table cell boundaries and
> > extracting the relevant cell values?
> >
> > I figured if Google can index PDF content it must be possible to pull
the
> > content out something like one would an HTML file.
> >
> > Mostly wondering how much work might be involved and if there are any
> > tricks that I should be aware of before I begin...
> >
> > Regards,
> > Paul
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail:
[EMAIL PROTECTED]
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>





We did a pretty nice article on the PDF document format while I was at 
Web Techniques.  You might want to look at the article by Nassib Nassar:
http://www.webtechniques.com/archives/1998/10/nassar/



On Fri, 31 Aug 2001, Alain Samoun wrote:

> I think that you can extract pretty easily the header, like: Subject,
> Creator, Author etc... But extracting values in a table may not that be so
> easy as the objects creation in the file are dependent on the file history
> and in addition the pdf file may be in a binary form.
> Alain
> 
> On Fri, Aug 31, 2001 at 12:16:38PM -0300, Paul Meagher wrote:
> > Wondering if anyone has tried to parse out a table of information from a
> > PDF file?
> > 
> > Is it a matter of opening the file, looping through its contents
> > line-by-line looking for tags that demarcate table cell boundaries and
> > extracting the relevant cell values?
> > 
> > I figured if Google can index PDF content it must be possible to pull the
> > content out something like one would an HTML file.
> > 
> > Mostly wondering how much work might be involved and if there are any
> > tricks that I should be aware of before I begin...
> > 
> > Regards,
> > Paul
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > -- 
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 






Thanks Bob,

The article looks like it will be relevant to what I am doing.

Regards,
Paul


----- Original Message -----
From: "Bob Kaehms" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 31, 2001 2:20 PM
Subject: Re: [PHP-WIN] Parsing PDF files


> We did a pretty nice article on the PDF document format while I was at
> Web Techniques.  You might want to look at the article by Nassib Nassar:
> http://www.webtechniques.com/archives/1998/10/nassar/
>
>
>
> On Fri, 31 Aug 2001, Alain Samoun wrote:
>
> > I think that you can extract pretty easily the header, like: Subject,
> > Creator, Author etc... But extracting values in a table may not that be
so
> > easy as the objects creation in the file are dependent on the file
history
> > and in addition the pdf file may be in a binary form.
> > Alain
> >
> > On Fri, Aug 31, 2001 at 12:16:38PM -0300, Paul Meagher wrote:
> > > Wondering if anyone has tried to parse out a table of information
from a
> > > PDF file?
> > >
> > > Is it a matter of opening the file, looping through its contents
> > > line-by-line looking for tags that demarcate table cell boundaries
and
> > > extracting the relevant cell values?
> > >
> > > I figured if Google can index PDF content it must be possible to pull
the
> > > content out something like one would an HTML file.
> > >
> > > Mostly wondering how much work might be involved and if there are any
> > > tricks that I should be aware of before I begin...
> > >
> > > Regards,
> > > Paul
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail:
[EMAIL PROTECTED]
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail:
[EMAIL PROTECTED]
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>





Hi,
using domxml_dumpmem() (and some other php domxml commands) generates a
system error both using Apache or IIS as web server.
Using php as ISAPI modules i receive "PHP has encountered an Access
Violation at 011110AD" error in web page
Using as CGI it pop's up a sistem windows with "php.exe has generated an
error..."

Actually i use the last release from www.php4win.de.

Some one could help me?

Thanks a lot,

Alessio.






Dear [EMAIL PROTECTED],

EMAIL PROCESSING COMPANY LOOKING FOR 
EMAIL PROCESSORS IMMEDIATELY, TO SUSTAIN 
EXPLOSIVE GROWTH.  EARN $2,000-$6,000 
(PART-TIME) AND $5,000-$10,000 (FULL TIME) 
MONTHLY.  FREE START-UP, NOT MLM, NO 
EXPERIENCE NECESSARY.
 
SEND AN EMAIL TO: [EMAIL PROTECTED]
WITH SUBJECT: "SHOW ME".

WE WANT SERIOUS INQUIRIES FROM PEOPLE 
WHO WANT TO MAKE SERIOUS MONEY!

*I apologise if you have been offended. If you'd like to be removed, simply reply
with REMOVE in the subject line and you will be removed immediately and receive no 
further
mailings. This message is sent in compliance of the new email Bill HR 1910. Under Bill 
HR 1910
passed by the 106th US Congress on May 24, 1999, this message cannot be considered 
SPAM as
long as I include a valid return address and the way to be removed.


Reply via email to