Hey all, it is possible to parse capcha's in php? I'm not asking how
to do it, nor have I any need, it's just something that I was
discussing with a friend. My stand was that ImageMagik could crack
them. She says no way. What are your opinions?
Thanks.
Dotan Cohen
http://what-is-what.com
Using ImageMagick, ray tracing algorithms, an OCR library, and fourier
transforms, I bet that you could parse Capchas.
Dan
-Original Message-
From: Dotan Cohen [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 11, 2006 12:29 AM
To: PHP General (E-mail)
Subject: [PHP] Parsing images
Hey
There are often easier solutions due to poor design.
Seen many sites setting the value in cookies, or hidden form elements, etc.
Sites made by people who can't do their jobs in other words :)
Regards,
Peter Hoskin
Dan Harrington wrote:
Using ImageMagick, ray tracing algorithms, an OCR library,
Others have mentioned that the browser timeout could be a problem. So
I'm wondering if your script really was completing all the way, but
the browser just gave up on waiting. Could you try a little test to
take the spaces back out, and write the output of
connection_status()
Edward Vermillion wrote:
On May 10, 2006, at 10:54 AM, Rolf Wouters wrote:
Yet another update.
Strange thing happened. I fixed the problem... It's not a clean
solution, it's not the right solution, but for now, it'll (have to)
do :-)
I changed my little test-script to include
On 5/11/06, Peter Hoskin [EMAIL PROTECTED] wrote:
There are often easier solutions due to poor design.
Seen many sites setting the value in cookies, or hidden form elements, etc.
Sites made by people who can't do their jobs in other words :)
Regards,
Peter Hoskin
I know what you mean. But
Hello,
Is there any posibility to extract all text from a PDF file? (I have
read all the documentation about PHP PDF-Lib but no answer...)
Thanks in advance,
cajbecu
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Have a look at the iText java class. I use it in conjuction with php for
file splitting and concatenation, but it has a whole host of other features.
It's accessible via sourceforge or from the author at
www.lowagie.com/iText/.
Hope it helps
George
-Original Message-
From: cajbecu
On 11/05/06, Jochem Maas [EMAIL PROTECTED] wrote:
Ginger Cheng wrote:
Hello, PHP gurus,
I have a command that I want to run using system function. The
command exploits temporary named pipes in the place of temporary files.
my command is
paste (cut -f1 file1) (cut -f2
I use twiki.
Twiki search sucks.
Someone wrote a Plucene based search engine.
They wanted to be able to search attachments.
Including Pdf files.
They used ...
something out of xpdf - pdf2text or pdftotext
On 5/11/06, George Pitcher [EMAIL PROTECTED] wrote:
Have a look at the iText
Chris wrote:
Schalk wrote:
Chris wrote:
Chris wrote:
actually if it's only one variable, this might do it for you:
$content = str_replace('?php echo _root ?', _root, $content);
but that's still a bad way to do this.
Chris,
This works:
$breadcrumb = $row_pathway['pathway'];
[snip]
Might I make a suggestion for an addition to the newbie email - in the
where to find more information section - add a link either to the
manual security section or phpsec.org
[/snip]
Cool idea, let's get that info together and I'll add it and throw it up
on my server...
--
PHP General
Hi,
I have made a apache setup with PHP running as FastCGI (apache 2.0.58,
mod_fastcgi 2.4.2, php 5.1.4)
PHP is called directly as FastCGI without a wrapper script.
On a given moment the PHP FastCGI application reaches
dynamicMaxClassProcs. After that happens the PHP FastCGI application
On 5/11/06, Frank de Bot [EMAIL PROTECTED] wrote:
Hi,
I have made a apache setup with PHP running as FastCGI (apache 2.0.58,
mod_fastcgi 2.4.2, php 5.1.4)
PHP is called directly as FastCGI without a wrapper script.
On a given moment the PHP FastCGI application reaches
dynamicMaxClassProcs.
Look at is that i found.
http://community.livejournal.com/php/295413.html
Hope help.
cajbecu [EMAIL PROTECTED] escreveu na mensagem
news:[EMAIL PROTECTED]
Hello,
Is there any posibility to extract all text from a PDF file? (I have
read all the documentation about PHP PDF-Lib but no
Dotan Cohen wrote:
On 5/11/06, Peter Hoskin [EMAIL PROTECTED] wrote:
There are often easier solutions due to poor design.
Seen many sites setting the value in cookies, or hidden form elements,
etc.
Sites made by people who can't do their jobs in other words :)
Regards,
Peter Hoskin
I
blackwater dev wrote:
would like
to put the search form somewhere else on their site (it is currenly all on
my page within the iframe) and then call their search page to do the
search,
(This is an html/DOM thing, not PHP.)
That's what the 'target' property of the form tag does: the response
Schalk Neethling wrote:
Chris wrote:
Schalk wrote:
Chris wrote:
Chris wrote:
actually if it's only one variable, this might do it for you:
$content = str_replace('?php echo _root ?', _root, $content);
but that's still a bad way to do this.
Chris,
This works:
$breadcrumb =
If any of you guys want to know when I get another shell caught on my
site, email me off-list and I'll set you up as a mailing list personally.
This new one is the r57shell and is picked up by Symantec
Wolf
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I have been searching, but does anyone know of a BDC to ASCII conversion
tool for PHP right off the top of their head? If not, I'll have to write
one
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 8:35 PM -0500 5/4/06, Richard Lynch wrote:
Synopsis:
You could just Javascript and browser info to dynamically layout
text to fit available space and word-wrap nicely.
Find me anybody on the planet who has actually successfully done this.
Even easier: Point to ONE existing website
At 10:03 AM -0500 5/11/06, Jay Blanchard wrote:
I have been searching, but does anyone know of a BDC to ASCII conversion
tool for PHP right off the top of their head? If not, I'll have to write
one
If you're on a Mac, just use the calculator.
If not, you might try version tracker:
If this is on a *nix box, I would suggest using the pdf2text command
within shell_exec. It should work as long as the PDF isn't a scanned
image. Obviously it won't get text off the images, and you'd want to
make sure that any input to filenames (if they're dynamic) are verified
and scrubbed
blackwater dev wrote:
On 5/11/06, *John Hicks* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
blackwater dev wrote:
would like
to put the search form somewhere else on their site (it is
currenly all on
my page within the iframe) and then call their search page to
At 9:28 AM +0300 5/11/06, Dotan Cohen wrote:
Hey all, it is possible to parse capcha's in php? I'm not asking how
to do it, nor have I any need, it's just something that I was
discussing with a friend. My stand was that ImageMagik could crack
them. She says no way. What are your opinions?
Hello everyone,
Say, if I have a paragraph like this:
==
h1John Smith/h1
Dr. Smith is the directory of a href=http://some.center.com;Some
Center/a . His research interests include bWireless Security/b
==
Any functions that can help remove all the HTML tags in it? What about
just removing
Hello everyone,
Say, if I have a paragraph like this:
==
h1John Smith/h1
Dr. Smith is the directory of a href=http://some.center.com;Some
Center/a . His research interests include bWireless
Security/b
==
Any functions that can help remove all the HTML tags in it?
What
Bing Du wrote:
Say, if I have a paragraph like this:
==
h1John Smith/h1
Dr. Smith is the directory of a href=http://some.center.com;Some
Center/a . His research interests include bWireless Security/b
==
Any functions that can help remove all the HTML tags in it? What about
just
At 5:43 PM +0100 5/10/06, IraqiGeek wrote:
Hi all,
I'm somewhat new to php, though I have played a bit with the
language. I'm currently learning the language, and I'm having a
problem passing variables through URL query.
The following will show you how to do post and get :
On Thursday 11 May 2006 9:51 am, Bing Du wrote:
Any functions that can help remove all the HTML tags in it? What about
just removing selected tags, like b/b?
Looks like strip_tags() will do the trick for you:
http://us3.php.net/manual/en/function.strip-tags.php
--
Joe Henry
Jay Blanchard wrote:
I have been searching, but does anyone know of a BDC to ASCII conversion
tool for PHP right off the top of their head? If not, I'll have to write
one
I haven't heard of BDC. Did you mean BCD (binary coded decimal)? Or
possibly EBCDIC? (What platform is this data
[snip]
I haven't heard of BDC. Did you mean BCD (binary coded decimal)? Or
possibly EBCDIC? (What platform is this data coming from?)
If it's EBCDIC data, there are plenty of translation tables you can use,
(but you won't find a one-to-one correspondence in their character
sets).
[/snip]
On Thu, 2006-05-11 at 11:47, tedd wrote:
At 9:28 AM +0300 5/11/06, Dotan Cohen wrote:
Hey all, it is possible to parse capcha's in php? I'm not asking how
to do it, nor have I any need, it's just something that I was
discussing with a friend. My stand was that ImageMagik could crack
them. She
Yes...typo...I am a dyslexic dog
In dog we trust ;)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thursday 11 May 2006 10:08 am, Jim Moseby wrote:
In dog we trust
Am partial to Dog is my co-pilot
--
Joe Henry
www.celebrityaccess.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, May 11, 2006 10:09 am, tedd wrote:
At 8:35 PM -0500 5/4/06, Richard Lynch wrote:
Synopsis:
You could just Javascript and browser info to dynamically layout
text to fit available space and word-wrap nicely.
Find me anybody on the planet who has actually successfully done
this.
On Thu, May 11, 2006 1:28 am, Dotan Cohen wrote:
Hey all, it is possible to parse capcha's in php? I'm not asking how
to do it, nor have I any need, it's just something that I was
discussing with a friend. My stand was that ImageMagik could crack
them. She says no way. What are your opinions?
On Wed, May 10, 2006 10:49 pm, blackwater dev wrote:
I have a small site which provides search functionalities. My search
sites
are framed in my clients sites via iframe. I have a client who would
like
to put the search form somewhere else on their site (it is currenly
all on
my page
On Wed, May 10, 2006 9:32 pm, Schalk wrote:
I have the following problem. I load certain links and breadcrumbs
from
the database into a external .php file which I include on various
pages
within the site. Due to this I have defined a constant '_root' and
precede all links with this to ensure
[snip]
In dog we trust
Am partial to Dog is my co-pilot
[/snip]
You must be a member of the First United Universal House of Dog
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 1:02 AM +1000 5/11/06, Peter Hoskin wrote:
Despite common belief, SQL is not suited to the storage of binary files.
SQL is based on ASCII.
Store your files on the filesystem, not SQL.
How is it not suited?
I stopped using mySQL to store images because of
browser refresh problems, but
Wolf mailto:[EMAIL PROTECTED]
on Thursday, May 11, 2006 8:01 AM said:
If any of you guys want to know when I get another shell caught on my
site, email me off-list and I'll set you up as a mailing list
personally.
This new one is the r57shell and is picked up by Symantec
What is a
At 12:11 PM -0400 5/11/06, Robert Cummings wrote:
On Thu, 2006-05-11 at 11:47, tedd wrote:
At 9:28 AM +0300 5/11/06, Dotan Cohen wrote:
Hey all, it is possible to parse capcha's in php? I'm not asking how
to do it, nor have I any need, it's just something that I was
discussing with a
new-more-constructive-way-of-saying-RTFM with-thanks-to=Richard Lynch
obviously by now you know the function strip_tags().
given that your a university student don't you think we
could expect a little more research ability on your part?
I already knew the strip_tags() function but for fun I
On Thu, May 11, 2006 12:44 pm, Chris W. Parker wrote:
Wolf mailto:[EMAIL PROTECTED]
on Thursday, May 11, 2006 8:01 AM said:
If any of you guys want to know when I get another shell caught on
my
site, email me off-list and I'll set you up as a mailing list
personally.
This new one is
On Thu, 2006-05-11 at 13:48, tedd wrote:
At 12:11 PM -0400 5/11/06, Robert Cummings wrote:
On Thu, 2006-05-11 at 11:47, tedd wrote:
At 9:28 AM +0300 5/11/06, Dotan Cohen wrote:
Hey all, it is possible to parse capcha's in php? I'm not asking how
to do it, nor have I any need, it's just
It turns out that what I want is sort of there...
http://catb.org/~esr/faqs/smart-questions.html#id266392
However, put me down for +1 on adding Security section of php.net
and/or phpsec.org to the NEWBIE doc. :-)
I still think we, as a community, should focus on giving better
answers as
Does this qualify?
http://xn--ovg.com/ajax_page
Well, on page 1, I can't get it to re-size at all...
So, no, it doesn't qualify. :-)
You didn't say it must be re-sizable.
Okay, let me get this right.
If the page could be resized, and the text would dynamically fill the
space, and
Ligaya Turmelle wrote:
here is the link for the improved newbie doc -
http://zirzow.dyndns.org/php-general/NEWBIE
Might be nice to see a link to the NEWBIE information in the footer of
the PHP list emails... know what I mean?
--
PHP General Mailing List (http://www.php.net/)
To
Google: c99 r57 tung and PHP shell scripts
They are hack scripts for your servers to try to take them over. Since
modifying my upload area in November I have caught 4 separate shell
scripts and have been using them to harden my apache and php installs.
Wolf
--
PHP General Mailing List
strip_tags
On 11/05/06, Bing Du [EMAIL PROTECTED] wrote:
Hello everyone,
Say, if I have a paragraph like this:
==
h1John Smith/h1
Dr. Smith is the directory of a href=http://some.center.com;Some
Center/a . His research interests include bWireless Security/b
==
Any functions that can
Yeah, to think we used to have English Majors as the wait-staff in
restaurants and drive-thrus so you at least were understood when giving
your food and drink order...
Richard Lynch wrote:
SNIP
PHP *has* lowered the entry barrier ridiculously low, to the point
where we've got idiots and English
I am attempting to send SMS via an e-mail messageand it works!
*phew* phonenumber@sms.myserver.com
Problem is that the reply to or from field on the device always shows
[EMAIL PROTECTED] regardless of what I have set the Replay-To: or
From: headers. PHP runs as nobody, so this makes
[snip]
Send us some source code and we can help you out!
[/snip]
Always reply to the list and please do not top post.
$poot = ini_set(sendmail_from, '[EMAIL PROTECTED]');
$smsTo = $_POST['smsPhone'] . '@sms.myserver.com';
$to = $smsTo;
$subject = $_POST['smsSubject'];
$message
On 5/11/06, Jay Blanchard [EMAIL PROTECTED] wrote:
[snip]
Send us some source code and we can help you out!
[/snip]
Always reply to the list and please do not top post.
$poot = ini_set(sendmail_from, '[EMAIL PROTECTED]');
$smsTo = $_POST['smsPhone'] . '@sms.myserver.com';
$to =
Hey,
So far this is what I have done:
-
1) read the files from a directory, discard the files
with a .php extention and the directories (eg: . and
.. )
2) put the files into an array ($the_files[])
3) put it into a while loop and display the files like
so:
echo
Jay Blanchard wrote:
$poot = ini_set(sendmail_from, '[EMAIL PROTECTED]');
$smsTo = $_POST['smsPhone'] . '@sms.myserver.com';
$to = $smsTo;
$subject = $_POST['smsSubject'];
$message = $_POST['smsMessage'];
$headers = 'From: '. $poot . \r\n .
Ryan A wrote:
echo $the_files[$i] . date(F d Y H:i:s.,
filectime($directory_with_files.$the_files[$i]));
The next step is, I want to only echo the files that
are over x minutes (or x hours) old, ignore anything
below, I am using mktime() along with date() to format
it accordingly...but am
On 5/11/06, Ryan A [EMAIL PROTECTED] wrote:
Hey,
So far this is what I have done:
-
1) read the files from a directory, discard the files
with a .php extention and the directories (eg: . and
.. )
2) put the files into an array ($the_files[])
3) put it into a while
[snip]
$fromaddress = '[EMAIL PROTECTED]';
mail($to, $subject, $message, $headers, '-f'.$fromaddress);
[/snip]
Cool...worked like a champeene race dog! (Say it with a Southern drawl)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Wolf wrote:
Google: c99 r57 tung and PHP shell scripts
They are hack scripts for your servers to try to take them over. Since
modifying my upload area in November I have caught 4 separate shell
scripts and have been using them to harden my apache and php installs.
hi Wolf,
Im sure Im not
Hey,
First, thank you Eric and Stut, your answers and this
article that I found on the web
http://www.phpbuilder.com/columns/akent2610.php3?print_mode=1
put my mind back on the right tracksometimes its
so damn silly how things you use for ages suddenly get
muddled up in the head.
Thanks
cajbecu [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
Is there any posibility to extract all text from a PDF file? (I have
read all the documentation about PHP PDF-Lib but no answer...)
If it is in the form of text within the PDF file then yes. If it's in the
form of an
tedd wrote:
At 1:02 AM +1000 5/11/06, Peter Hoskin wrote:
Despite common belief, SQL is not suited to the storage of binary files.
SQL is based on ASCII.
Store your files on the filesystem, not SQL.
How is it not suited?
I stopped using mySQL to store images because of browser refresh
For years I was lulled into thinking I understood php include functions...
I have always used relative paths in my include and related functions,
for instance:
include_once (lib/included.php);
However, I am now needing to switch to absolute paths:
include_once (/lib/included.php);
This
On Thu, May 11, 2006 3:37 pm, Ryan A wrote:
So far this is what I have done:
-
1) read the files from a directory, discard the files
with a .php extention and the directories (eg: . and
.. )
2) put the files into an array ($the_files[])
3) put it into a while
Richard Lynch [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Thu, May 11, 2006 10:09 am, tedd wrote:
At 8:35 PM -0500 5/4/06, Richard Lynch wrote:
But maybe I've just missed the boat. Has been known to happen. :-)
Does this qualify?
http://xn--ovg.com/ajax_page
Well,
Here is what I have used for mktime..
$unix_date_33 = mktime(0,0,0,date(m),date(d)-33,date(Y));
I am getting the current month, day, and year from the system.
I am subtracting 33 days from the current day.
The result is compared to a date value from the database.
Jef
-Original
Hey Rich,
1) read the files from a directory, discard the
files
with a .php extention and the directories (eg: .
and
.. )
2) put the files into an array ($the_files[])
3) put it into a while loop and display the files
like
so:
//Only do files over 2 hours old:
if ((time()
On Thu, May 11, 2006 3:16 pm, Jay Blanchard wrote:
I am attempting to send SMS via an e-mail messageand it works!
*phew* phonenumber@sms.myserver.com
Problem is that the reply to or from field on the device always shows
[EMAIL PROTECTED] regardless of what I have set the Replay-To: or
All,
I'm really having a hard time making sense of PECL and PEAR. My
understanding is that PECL is for PHP extensions (written in C using the
extension API) and that PEAR is a repository of PHP modules (classes
written in PHP using the PEAR-approved framework).
PEAR VS PECL COMMANDS
On my
Steven Stromer wrote:
For years I was lulled into thinking I understood php include functions...
I have always used relative paths in my include and related functions,
for instance:
include_once (lib/included.php);
this is what should work given you ini path. maybe check the file
Steven Stromer wrote:
For years I was lulled into thinking I understood php include
functions...
I have always used relative paths in my include and related functions,
for instance:
include_once (lib/included.php);
However, I am now needing to switch to absolute paths:
include_once
On Thu, May 11, 2006 3:17 pm, Steven Stromer wrote:
For years I was lulled into thinking I understood php include
functions...
I have always used relative paths in my include and related functions,
for instance:
include_once (lib/included.php);
However, I am now needing to switch to
On Thu, May 11, 2006 1:20 pm, tedd wrote:
Does this qualify?
http://xn--ovg.com/ajax_page
Well, on page 1, I can't get it to re-size at all...
So, no, it doesn't qualify. :-)
You didn't say it must be re-sizable.
Okay, let me get this right.
If the page could be resized, and the
On Thu, May 11, 2006 1:03 pm, Robert Cummings wrote:
Edge detection, noise suppression, and data analysis don't quite
equate
to recognition. Also 30 years of OCR still requires that the sample be
good quality and conform to fairly detectable patterns. If this is so
trivial, I await the
All,
I installed an extension via PECL and it seems to have plopped the
extension into it's own extension directory instead of the one in my
PHP.ini file.
pecl install memcache
/usr/lib/php/extensions/no-debug-non-zts-20050922/memcache.so
But my PHP.ini file says to use:
grep
Hi,
I need to send an array of data to a remote site from
my script, the array will contain anything from 1 to
5000 entries of less than 150 alpha numeric characters
each.
Can you suggest the best method of doing this?
Am looking at serialize() or a normal POST using some
of the publicly
Ryan A wrote:
Hi,
I need to send an array of data to a remote site from
my script, the array will contain anything from 1 to
5000 entries of less than 150 alpha numeric characters
Ok dude, braindump coming up - just some random thoughts and ideas,
no concrete answers:
5000 * 100 = 50
Hey,
Thanks for replying.
Ok dude, braindump coming up - just some random
thoughts and ideas,
no concrete answers:
Thats ok, still in the planning stage, not a line of
code written so am open to ideas instead of just
concrete answers.
5000 * 100 = 50 bytes - i.e. on average about
On Thu, 2006-05-11 at 18:11, Richard Lynch wrote:
On Thu, May 11, 2006 1:03 pm, Robert Cummings wrote:
Edge detection, noise suppression, and data analysis don't quite
equate
to recognition. Also 30 years of OCR still requires that the sample be
good quality and conform to fairly
Hi
I am trying to get the body text from a number of different emails
using mimeDecode [Pear]
Unfortunately, it appears that the body text could be in any number
of locations in the stdClass Object depending on which email is
processed.
At this point, I can only access the node by looking
I am now needing to switch to absolute paths:
include_once (/lib/included.php);
why do you need to do that? that include will bypass the include_path
and only look in the /lib dir on your machine - which is not what you
want I think.
Thanks everyone for your great responses. What was my
If you are using PHP 5, you might have some fun with the __autoload()
function. I use something like this in production:
//--
function __autoload($class_name) {
require_once ($class_name..php);
}
function push_libs() {
D. Dante Lorenso wrote:
All,
I installed an extension via PECL and it seems to have plopped the
extension into it's own extension directory instead of the one in my
PHP.ini file.
pecl install memcache
/usr/lib/php/extensions/no-debug-non-zts-20050922/memcache.so
But my PHP.ini file
I've recently upgraded to PHP 5.1.4 from 5.1.2 and noticed that in 5.1.3
there were changes made to SimpleXML. Now, when I touch an element
which didn't used to exist, instead of acting like it didn't exist, it
creates it! That's horrible!
Well, this used to work:
?php
$xmlstr =
The new browser based editor of PHP.INI files on Windows, phpEditIni, has
moved to a new site: http://phpeditini.net Download it today!
--
info at phpeditini dot net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
87 matches
Mail list logo