Hello,
My web server hdd just crashed, and I have replaced and rebuilt it with a
new drive.
All of my websites have been transferred over the the new site from
backup, and I am having a problem with PHP seeing GET variables.
My searching says that I should look in the php.ini file, but cannot
register_globals
On Tue, 21 May 2002, Stavros Patiniotis wrote:
Hello,
My web server hdd just crashed, and I have replaced and rebuilt it with a
new drive.
All of my websites have been transferred over the the new site from
backup, and I am having a problem with PHP seeing GET variables.
Hello,
Great stuff!
Thank you!
Kind Regards,
0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0
escape net
m a k i n g t h e n e t w o r k f o r y o u
465b South Road ph 8293 2526
KESWICK SA 5035
Hello everyone,
I'm starting to work with Informix 9.3 and I was wondering if someone has
created a class in the phplib way using the same methods.
My knowledge of Informix is less than zero, so if you could point me to
another DB abstraction system that uses Informix and classes, I will
Hi all,
anybody knows how to configure PHP (.ini) so I can use include() from any directory
instead of declaring specified paths in php.ini?
I'm currently using php 4.05 with apache 1.3 something on a winXP test machine
regards. Wilbert
-
Pas de Deux
Van
Miguel Cruz wrote:
In short, I believe it's an OS rather than a PHP thing.
time zones can be a messy and tricky beast. all the PHP functions rely on
the underlying OS implementation of time zone information. sometimes this
is controlled by the TZ environment variable, sometimes it is
Hi there.
When an array is 'used' with something like do while I can't re-access it
later in the page. It is as if the array gets used up and doesn't exist.
The array is from a select statement using myself. I have inserted a
duplicate array with a different name to get around this but figure
Hi
You just need to reset the array pointer with reset($array_name)
Tom
At 07:47 PM 21/05/2002, Web wrote:
Hi there.
When an array is 'used' with something like do while I can't re-access it
later in the page. It is as if the array gets used up and doesn't exist.
The array is from a select
Hi
I use this at the start of my pages, it adds the original path to the extra
one: (keeps the include files out of the web servers view :)
ini_set (include_path,ini_get(include_path).:../include);
Tom
At 06:47 PM 21/05/2002, Wilbert Enserink wrote:
Hi all,
anybody knows how to configure
This isn't a one hundred percent PHP Q but here I
go.
If I have the following query:
$query = "SELECT code FROM links WHERE ".$text." like '".$l."%' ORDER BY
sort_text";
and define the letter a letter i.e x.
it works fine.
I am not sure what to do if I want to say get
something that
Hi,
try something like this:
select [fields] from [table(s)] where [fieldtosearch] regexp
^([1-9]{1}|10);
~James
[EMAIL PROTECTED] wrote in message
003901c200b2$27ccff40$0100a8c0@JohnH">news:003901c200b2$27ccff40$0100a8c0@JohnH...
This isn't a one hundred percent PHP Q but here I go.
If I
How can I reverse the date coming out of
mySQL?
ie 2002-05-21
becomes 21-05-2002
Can do it in the mySQL query or do I need to use
PHP?
Thanks in advance,
JJ Harrison[EMAIL PROTECTED]www.tececo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hello,
use DATE_FORMAT
select date_format(datefield, '%d-%m-%Y') as mydate from table;
~James
[EMAIL PROTECTED] wrote in message
005e01c200b5$194184c0$0100a8c0@JohnH">news:005e01c200b5$194184c0$0100a8c0@JohnH...
How can I reverse the date coming out of mySQL?
ie 2002-05-21
becomes
Hello:
I would like to perform XML transformations on my website, I have the
xml file in a string and the xsl file in another string, I have tested
sablotron, but it give me parse and encoding problems. Is there any good
solution out there?
By good I mean portable and reliable solutions,
Im just double checking on the use of clearstatcache.
I have a function that checks whether a file exists and loads it like so
function foo($bar)
{
if (file_exists($bar))
{
include($bar);
}
}
According to clearstat cache, its use is for files that change often.
In my
Hello,
I am experiencing problems with receiving form data into my
scripts. The phpinfo() function shows me:
PHP_SELF
_POST[Action] checkEmail
_POST[emailAddress] st
_POST[submit] Next
_COOKIE[uid]
_COOKIE[emailAddress]
_COOKIE[testCookie]
Hi,
I have just written a module for PHP (in C, linked with PHP statically).
Now I need to access session variables and other globals from whithin my
module. But I can't find how I should do this, I see documentation on how
to call user functions, and how to create new global varables, but now
Hi,
I have just written a module for PHP (in C, linked with PHP statically).
Now I need to access session variables and other globals from whithin my
module. But I can't find how I should do this, I see documentation on
how
to call user functions, and how to create new global varables, but now
anyone ther eused dbase with php.
was looking for best pratices on
searching... any code snippets appreciated.
thanks...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am experiencing problems with receiving form data into my
scripts. The phpinfo() function shows me:
PHP_SELF
_POST[Action] checkEmail
_POST[emailAddress] st
_POST[submit] Next
_COOKIE[uid]
_COOKIE[emailAddress]
Are the and operators identical in semantics to those
operators in C? In particular, do they handle sign extension in
the same manner?
--
JR
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi for all.
I have php+apache+win2000+client oracle in my machine.
I configured my php.ini with:
extension_dir and uncomment extensions in php_oci8.dll
But, when I restart my apache, I receive the following error:
Unable to load dynamic library c:\php\extensions/php_oci8.dll. It was not
possible
Use regular expressions or LEFT. This might work
SELECT code FROM links WHERE LEFT($text,1) IN (1,2,3,4,5,6,7,8,9,0);
Check the manual for regular expression examples. They will probably
work better.
---John Holmes.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Hi all,
maybe this is a stupid Q, but lately I'm diving into OOP. Below you can see a piece of
example code from the manual.
my Q: what does the sign do in functioncb_modify( $item,$key) ??
I noticed this sign is used more, so it should be handy, but hwat does it do?
thx Wilbert
Hi,
is it possible to use methods of a class as a handlers in
xml_set_element_handler(...)? How it can be done?
TIA,
M.N.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
And you can also use ODBC Drivers, after linking --with-iodbc as per the
HOWTO's on www.iodbc.org. You may obtain drivers from OpenLink.
Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Access Virtuoso Universal Server
Its a Reference Operator. You can use it to reference variables to one
another, like $a = $b; meaning that anytime you change the value of $a it
would change the value of $b
Used for functions works in the same way. Its a way of improving the scope
of a variable. Instead of passing a value
Hi,
We have developed a client-server application where the server
needs to send asynchronous data to the client. Now since we are
using Apache/PHP/MySQL, the client needs to poll the server
periodically for information.
I was thinking if there was some way to get around this basic
Dear Mirek,
This is how we use the handler for our XML class.
Hope it helps!
class XML
{
function parseXML()
{
/
Parse string XML data.
Hello friends,
I use the following code, but it does not work. Is there something wrong?
If
(ereg('^[-!#$%\'*+\\./0-9=?A-Z^_`a-z{|}~]+'.'@'.'[-!#$%\'*+\\/0-9=?A-Z^_`a
-z{|}~]+\.'.'[-!#$%\'*+\\./0-9=?A-Z^_`a-z{|}~]+$',
$email_address))
){
Print (Sorry, the email address seems to be invalid.);
Hello,
On 05/21/2002 10:20 AM, Vinod Panicker wrote:
Does the solution sound very outlandish? Are there any pitfalls? And
finally, how do i get hold of the socket?
Why don't you just use echo and flush() like PHP chat programs do?
--
Regards,
Manuel Lemos
--
PHP General Mailing
I need to store equations in a DB for later use. For example,
something like the following might appear in one of the fields:
(( 2 * 3 ) + 7 ) / ( 8 / 4 )
So I want to eval() *only* equations. However, there is nothing
stoping someone from entering in a valid PHP command that
accesses the
What do I set cgi_redirect var in the php.ini if I install php 4.2.1 under
win2k/iis5.
Ryan Conover
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.pitt.edu/~rscst25/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
I'm looking for an answer to your questions as well, so if you do find a
solution on other lists, could you please post it here as well?
Regarding the issue, your proposal wouldn't make for full-duplex as far
as I understand since I don't see how the client would be able to send
any data
You'll have to come up with a regular expression to check for bad
characters. How complex are the equations? If they are like your example,
you can just check that the equation doesn't have any letters and is only
made up of [0-9+*-/()] characters.
---John Holmes...
- Original Message -
I was wondering if anyone uses php to call enterprise javabeans?
I wrote a java class that is accessed by some php code. This java class
calls an EJB and gets a custom object returned to the java class called
report. When I returned the custom object to php to reference, everything I
try to
Hi,
Tx for your very prompt reply.
Yeah, I'll post the solution as soon as I find it someplace.
Let me outline the problem in more detail -
Client (VC++) calls a PHP script on the server, specifies the
connection type as Keep-Alive. The PHP script, somehow (still a
big question) gets the
You'll have to come up with a regular expression to check for bad
characters. How complex are the equations? If they are like your example,
you can just check that the equation doesn't have any letters and is only
made up of [0-9+*-/()] characters.
It's pretty complex. What I gave was a
i run a install.php, the server says the following statement,
Warning: Undefined index: install in d:\wwwroot\program_files\install.php on
line 14
the strange things is when i install the php program, it does not have
outputted this warning, but this warning occurs when i put all the files to
a
Are you sure you have to run it through eval()? It sounds like you're
creating a query. Couldn't you just create the query dynamically, then put
it in a mysql_query() function? (or whatever DB you're using) Then, even if
they try some kung fu on you, it'll just result in a bad query, not some
Are you sure you have to run it through eval()? It sounds like you're
creating a query. Couldn't you just create the query dynamically, then put
it in a mysql_query() function? (or whatever DB you're using) Then, even if
they try some kung fu on you, it'll just result in a bad query, not some
Erich:
On Tue, May 21, 2002 at 10:22:10PM +0800, erich wrote:
Warning: Undefined index: install in d:\wwwroot\program_files\install.php
on line 14
Undefined index means that the index you requested from an array doesn't
exist.
?php
$install = $HTTP_POST_VARS[install];
That's line 14.
php-general Digest 21 May 2002 15:58:17 - Issue 1358
Topics (messages 98557 through 98607):
Re: MySQL and sorting
98557 by: Miguel Cruz
98558 by: Tyler Longren
98559 by: Jason Wong
98562 by: David Freeman
Smart quote algorithm
98560 by: Miguel Cruz
Hi,
started playing with Mcrypt and just wanted to ask which encryption method
makes the stronger encryption?
(I can supply the necesary keylength).
Should I go for MCRYPT_BLOWFISH or MCRYPT_TWOFISH? Or no fish at all :)
So what do I need it for? I'm going to use it encrypting files, sizes
Hello PHP'ers
I am currently using the very cool PHPSlideshow(1)
This gives me URLs that look like this:
http://www.tntluoma.com/show.php?directory=nursery/
I would like to be able to have simpler URL like this:
http://www.tntluoma.com/show/directory=nursery/
I was
Hi Baba
I've been trying to get as much info on this as
possible and you are right it is quite messy.
Thanks for that link, I'm going to take a look at
your code.
-Original Message-
From: Baba Buehler [mailto:[EMAIL PROTECTED]]
Sent: May 21, 2002 5:37 AM
To: [EMAIL PROTECTED]
Subject:
On Wednesday 22 May 2002 00:37, Timothy J. Luoma wrote:
Hello PHP'ers
I am currently using the very cool PHPSlideshow(1)
This gives me URLs that look like this:
http://www.tntluoma.com/show.php?directory=nursery/
I would like to be able to have simpler URL like this:
I had a similar issue, for a thing I'm doing for a Messageboard I am writing
I need the timezones and offsets, so I compiled the best I could off
different sites and info, and created a Mysql Table with all the timezones
and offsets. there are duplicate offsets but since people know their TZ as
hiya,
twofish runs at just over 25MB/sec when compiled into a test VC++
application,
blowfish runs at 18MB/sec.
As far as I remember,
if you use the same keylenght (256 or 128) then you should get around the
same level of encryption (probably not exact, but if one was that much
weaker there'd be
Here's what I was just thinking. This timezone
seems too complicated and what do you guys think
about me just displaying all the times in GMT and
then allow the user to set to their local time by
selecting a pulldown list of all the times GMT -11
to GMT +12.
set local time to 1:10pm
set local
I am very new to PHP about two hours. I have a search page that I post back
to the same URL. When the form is loaded I check to see if the seach
variable is set ($srch is the name of the text box on the form) and then
determine what function to call. I either call a welcome message function
to
I don't think I am using the syntax correctly, I have been looking at this
function on php.net and everything I have seen says my code should be
working.
A form allows the user to upload a file:
form name=img1 method=post action=upload_done.php
enctype=multipart/form-data
input type=file
Looks good Tim.
if you're going to do it this way, make sure register_globals is set on in
your php.ini. also you check isset($srch) AND strlen(trim($srch)). in most
cases, both checks won't be necessary. unless you have high error
reporting, and php will complain if you check a variable
-Original Message-
From: Chris Boget [mailto:[EMAIL PROTECTED]]
Subject: Re: [PHP] Secure eval();
Are you sure you have to run it through eval()? It sounds
like you're
creating a query. Couldn't you just create the query
dynamically, then put
it in a mysql_query() function?
On Wednesday 22 May 2002 01:45, Jas wrote:
I don't think I am using the syntax correctly, I have been looking at this
function on php.net and everything I have seen says my code should be
working.
What version of php are you using? In PHP versions before 4.2.0 needle was not
allowed to be an
FYI: MS SQL Server 7 and greater, Varchar is a max of 8000 characters so it
sounds like there is some limitation in the PHP functions that is limiting
this.
Niklas lampén [EMAIL PROTECTED] wrote in message
008901c1fa7b$14539d30$ba93c5c3@Niklas">news:008901c1fa7b$14539d30$ba93c5c3@Niklas...
The
Hi ppl,
Can you tell me what does this mean?
if (substr($text, -1) == .)
{$test = substr($text, 0, -1);}
I know the if part searches the $text from the starting for the .
I am just confused about what the second and third arguement does in the
substr. (Second line)
I know that this is an easy
On Tue, 21 May 2002, Jimmy Lantz wrote:
Hi,
started playing with Mcrypt and just wanted to ask which encryption method
makes the stronger encryption?
(I can supply the necesary keylength).
Should I go for MCRYPT_BLOWFISH or MCRYPT_TWOFISH? Or no fish at all :)
So what do I need it for?
-1 is the index of the char number you want to examine.
http://www.php.net/manual/en/function.substr.php
So that code is checking the last char of the string
to see if its ., if it is, it returns everything *except*
the ..
Please consult the online manual in the future...
it wants to be your
On Tue, 21 May 2002, Denis L. Menezes wrote:
I use the following code, but it does not work. Is there something wrong?
If
(ereg('^[-!#$%\'*+\\./0-9=?A-Z^_`a-z{|}~]+'.''.'[-!#$%\'*+\\/0-9=?A-Z^_`a
-z{|}~]+\.'.'[-!#$%\'*+\\./0-9=?A-Z^_`a-z{|}~]+$',
$email_address))
One problem (syntax
Yesterday, I read in the archives somewhere that in PHP, class
attributes are all static attributes (class variables), not instance
variables. (Figures, I can't find it again, so I can't provide a
link.) In other words, the attributes apply to every single instance of
an object. This
On Tue, 21 May 2002, Gerard Samuel wrote:
I have a function that checks whether a file exists and loads it like so
function foo($bar)
{
if (file_exists($bar))
{
include($bar);
}
}
According to clearstat cache, its use is for files that change often.
In my case
Try it out for yourself. :-
class Test{
var $x = '';
function Test(){}
}
$x = new Test();
$y = new Test();
$x-x = Way;
$y-x = No;
print $y-x . $x-x;
---
Scott Hurring
Systems Programmer
EAC Corporation
[EMAIL PROTECTED]
Voice: 201-462-2149
Fax: 201-288-1515
-Original Message-
From:
Hi,
Thanks for the help,
To answer your question and suggestion,
The reason I didnt know that is coz i am not going by the online manual but
by a book called PHP blackbook Its pretty good but just a bit hazy here
and there.
Thanks again.
-Ryan
--
PHP General Mailing List (http://www.php.net/)
On Wed, 22 May 2002, r wrote:
To answer your question and suggestion,
The reason I didnt know that is coz i am not going by the online manual but
by a book called PHP blackbook Its pretty good but just a bit hazy here
and there.
You should definitely download or use the online manual. It
when you loop through a mysql result set you move the pointer up one place.
you need to use the mysql_data_seek($results, 0); to reset the pointer
Jim Lucas
- Original Message -
From: Web [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: Tuesday, May 21, 2002 2:47 AM
Subject: [PHP] array
A long time ago I had this problem and discovered a checkbox in the ODBC
configuration wizard with NT where you could specify how many chars of a
varcar to return...
you might look there...
On Mon, 20 May 2002, Tim Greenleaf wrote:
FYI: MS SQL Server 7 and greater, Varchar is a max of 8000
I am trying to use the smtp class from phpguru.org with a mysql database
using PHP. My question is this. I understand that I can send out email to
multiple email addresses using this class. How can I populate these arrays
with the email addresses. The fields that would have all of the
http://php.net/array_push
miguel
On Tue, 21 May 2002, Steve Buehler wrote:
I am trying to use the smtp class from phpguru.org with a mysql database
using PHP. My question is this. I understand that I can send out email to
multiple email addresses using this class. How can I populate
- Original Message -
From: Steve Buehler [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: Tuesday, May 21, 2002 2:34 PM
Subject: [PHP] smtp
I am trying to use the smtp class from phpguru.org with a mysql database
using PHP. My question is this. I understand that I can send out
Adding a mail() step to my page increases the page load time from an average
of about 2 seconds to nearly 8 seconds. That would be OK if the page
completed displaying all the text and then just kind of hung there while the
mail() function finished. The page I am using, by the way, is a
What platform and MTA are you using? Your MTA may be trying to handle the
message while-u-wait rather than queuing it properly.
miguel
On Tue, 21 May 2002, Wesley Furgiuele wrote:
Adding a mail() step to my page increases the page load time from an average
of about 2 seconds to nearly 8
I'm attempting to use the printer_open function in php, and am getting the
following error:
Fatal error: Call to undefined function: printer_open() in c:\program
files\apache group\apache\htdocs\new\aview.php on line 209
I've tried commenting and uncommenting the extension=php_printer.dll
line
Hiya!,
Have you tried adding this line in the very top of your script (just inside
the opening ? ):
DL(php_printer.dll);
(this call to load a dynamic extension must occur before any printer_
related functions, if it works at all)
Usually that works for me, if it doesn't work for you then check
I am in a shared hosting environment. Here's the info I grab from
phpinfo():
SunOS admin 5.7 Generic_106541-16 sun4u sparc SUNW,UltraAX-MP
sendmail_path: /usr/lib/sendmail -t
SMTP: localhost
I don't yet know what the -t flag means on the Sendmail path. Also, I
included the SMTP value but I am
The result I'm looking for is like the CGI script at netscape for downloading
NS6 - it takes you to a page which says aomething like The download should
start automatically and then the download begins. I'm having trouble figuring
out how to do this in PHP - I suspect through ignorance of the
Restart your web server when you make changes to php.ini.
Also, note that these functions are for the printer on the server, i.e.
where the code is running.
---John Holmes...
- Original Message -
From: Sqlcoders.com Programming Dept [EMAIL PROTECTED]
To: php general [EMAIL PROTECTED]
D. D. Brierton wrote:
The result I'm looking for is like the CGI script at netscape for downloading
NS6 - it takes you to a page which says aomething like The download should
start automatically and then the download begins. I'm having trouble figuring
out how to do this in PHP - I suspect
Use PHP to write a META-REFRESH to the file that's going to be downloaded,
or a php file that controls the download. Basically, you show them an HTML
page that says the download will begin, the META tag refreshes after X
seconds to the actual file, and the download box pops up.
---John Holmes...
(cross-posted to php.dev)
Hi - I don't know whether I'm looking in the right place for information,
but I figured it couldn't hurt. We have our website hosted at a place that
uses PHP. We have several forms that users submit information to us with.
Just lately the email that we receive is
Hi,
Here's the shell of a script I wrote a while back to do exactly what you
want:
?php
header(Content-Type: multipart/mixed; boundary=\-Boundary-12399\);
print ---Boundary-12399\r\n;
print Content-Type: text/html\r\n;
print \r\n;
// Your HTML code goes here
print \n;
print
On 21 May 2002 at 20:37, D. D. Brierton wrote:
The result I'm looking for is like the CGI script at netscape for
downloading NS6 - it takes you to a page which says aomething like
The download should start automatically and then the download
begins. I'm having trouble figuring out how to do
On Tue, 21 May 2002 20:57:46 +0100, 1lt John W. Holmes wrote:
Use PHP to write a META-REFRESH to the file that's going to be downloaded,
or a php file that controls the download. Basically, you show them an HTML
page that says the download will begin, the META tag refreshes after X
seconds
I wish they had noted this in the PHP manual. Does anyone know of a way to
manipulate the client computer's printer orientation?
J. Wharton
1lt John W. Holmes [EMAIL PROTECTED] wrote in message
From what it looks like, R, this code:
if (substr($text, -1) == .)
{$test = substr($text, 0, -1);}
checks to see if there is a period at the end of text. If there is, it
simply assigns $test to be $text without the '.' .
I'm rather new at this, so if someone has a counterclaim to what this
On Tue, 2002-05-21 at 21:02, Billy S Halsey wrote:
Here's the shell of a script I wrote a while back to do exactly what you
want:
Thanks, Billy! That's really helpful. I'm curious as to the significance
of the number 12399. Is this just a random number used as a separator,
or does it indicate
I'm in charge of setting up a web site/community for a non-profit group. We
are looking for a few key features: weblog, forums, a calendar, possibly
web-mail (not all of these need to be offered in the same package, of
course). Other features may be added as time goes on. To start with, I'm
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
What about MD5?
Jimmy Lantz wrote:
| Hi,
| started playing with Mcrypt and just wanted to ask which encryption
| method makes the stronger encryption?
| (I can supply the necesary keylength).
| Should I go for MCRYPT_BLOWFISH or MCRYPT_TWOFISH? Or
MD5 is not that secure compared to blowfish or twofish or the other
types of encryption available with mcrypt...
Thanks,
Ray Hunter
-Original Message-
From: Javier [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 21, 2002 2:43 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Mcrypt:
On Tue, 21 May 2002, Ray Hunter wrote:
MD5 is not that secure compared to blowfish or twofish or the other
types of encryption available with mcrypt...
Thanks,
Ray Hunter
How does MD5 relate to encrypting the file? It's just used as a hash function.
--thalis
-Original
hiya,
there's not that much you can do directly (i.e.: without some activeX
controls which the client has to accept and then only work on IE),
you can print a document in JavaScript with window.print();
Something like this would work if you wanted to print the document on
screen:
(in the body
What about MD5?
MD5 is a message digest I believe,
something akin to the oldstyle CRC32.
Then again I haven't used it much (just to verify a client's credit card
number without revealing the CC number).
HTH,
Dw.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I missed the part that talked about encrypting files. I thought it was
just for a password.
Sorry.
Thalis A. Kalfigopoulos wrote:
| On Tue, 21 May 2002, Ray Hunter wrote:
|
|
|MD5 is not that secure compared to blowfish or twofish or the other
I imagine he would want to un-encrypt his files at some point and MD5 is a
one-way method and not an encryption technique at all...
---John Holmes...
- Original Message -
From: Javier [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 21, 2002 4:43 PM
Subject: [PHP] Re: Mcrypt:
It is a one way hash that many people use for simple
encryption...however, it should not be used for encrypting sensitive
information...some people have used it for encrypting data contained in
files...
For example do a md5 hash then encrypt the hash
Thanks,
Ray Hunter
-Original
And yes...md5 is a message digest hashing utility for compact digital
signatures for an arbitrarily long stream of binary data.
MD5 website...
Thanks,
Ray Hunter
-Original Message-
From: Sqlcoders.com Programming Dept [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 12:47
For your specific problem, I think Mr. Lemos has provided a viable
solution (using print() or echo() and flush() whenever you need to,
instead of grabbing the socket and write() to it). My problem however is
how you envision solving the communication the other way around (i.e.
when the CLIENT
Hi there!,
I've been testing some code for a company and I'm encountering something
which I've never found before,
right after making a call to a simple DB abstraction class which basically
just makes a call to odbc_connect, then odbc_do, and then loops through the
data saving the value of any
I've an array $layer in php, I pass this to javascript, JS can then
add/remove elements and I get it back in php. I do this using:
layerDesStr = '?=serialize($layerDes)?'; // php to JS
// JS to php
for(var i = 1; i layer.length; i++) {
goURL = goURL + layer[]= + layer[i];
}
I just thought that members of this list following this thread might
like to know the results of my experimenting with this technique:
All tests on Linux (testing on Windows 98 tomorrow):
* Mozilla 0.9.9 worked perfectly.
* Netscape 4.78 appeared to work but downloaded file was
1 - 100 of 120 matches
Mail list logo