Re: [PHP] Decryption

2002-01-13 Thread Steve Maroney



On Sun, 13 Jan 2002, John Cuthbert wrote:

 Is there a method for decrypting encrypted things by md5?



 --
 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]



Brute force.

MD5 is a one way hashing Algorithm which means it was NOT designed for
encryption but it can be used that way.

Thank you,
Steve Maroney





-- 
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]




Re: [PHP] echo problem NEW

2002-01-08 Thread Steve Maroney



I simply use single quotes for html and double quotes for PHP.

echo table border='1' cellpadding='0' cellspacing='0' width='620';

works for me.


Steve


On Tue, 8 Jan 2002, Steven Cayford wrote:

 On 2002.01.09 02:00:55 -0600 universal2001 wrote:

  so I tired to use (echo) like this:
 
  echo table border=0 cellpadding=0 cellspacing=0 width=639
tr
  tdimg src=img_heading/spacer.gif width=25 height=1
  border=0/td
/tr
tr
  td colspan=11img name=index_r1_c1
  src=img_heading/index_r1_c1.gif width=639 height=5 border=0/td
  tdimg src=img_heading/spacer.gif width=1 height=5
  border=0/td
/tr
tr
  td rowspan=5img name=index_r2_c1
  src=img_heading/index_r2_c1.gif width=25 height=43 border=0/td

 Try to think like a computer program. It sees the command:
 echo table border=
 followed by a (meaningless to it) 0 and more quoted text, and another 0,
 etc...

 The first and last quotes are really part of your command to php, the
 others should be treated as harmless text and passed on to the browser as
 part of your html. You can tell php to treat quotes as text by escaping
 them: putting a \ in front of them like this:

 echo table border=\0\;

 Or you could drop out of php mode entirely to do your html like this:

 ?php
 ...php stuff here ...
 ?

 table border=0

 ?php
 ...more php stuff...
 ?

 One of these methods should get you going.

 -Steve

 --
 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]










Thank you,
Steve Maroney





-- 
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]




Re: [PHP] How to run a PHP script on the UNIX command line

2002-01-07 Thread Steve Maroney


Read this --- http://www.php.net/manual/en/commandline.php

On Mon, 7 Jan 2002, Carlos Fernando Scheidecker Antunes wrote:

 Hello all,

 I would like to have some PHP scripts to do DB maintanance. There are
 not intended for web CGI.

 How can I run a script on my UNIX machine command line?

 I want to include it on my crontab.

 I know how to make it happen with Perl which is quite easy but I do not
 know how to do it in PHP.

 Can anyone help me with that?

 Thank you,

 Carlos Fernando Scheidecker Antunes.


 --
 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]










Thank you,
Steve Maroney





-- 
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]




[PHP] Formats with PHP

2001-12-28 Thread Steve Maroney



Hey guys,

Im need to generate an email and Im trying  to keep the  exact spacing
I use when I define the body of the email. When the email is sent and i
view it with Outlick Express or simply use Pine, the spacing is all out
of wack. (Too many spaces here, not enough spaces there)

I think i need something like  Perl's Format features but not sure.

Any advice ?


Thank you,
Steve Maroney





-- 
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]




[PHP] Not PHP but MYSQL

2001-12-27 Thread Steve Maroney



Sorry for the OT, but im trying to figure out something with mysql and
need some help.

Does anyone know how set the auto_increment value to some other number
than 0. I have an order_number coloumn and I want to start it at 1000.
So the first record would 1001.








Thank you,
Steve Maroney





-- 
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]




Re: [PHP] faxing in PHP

2001-12-24 Thread Steve Maroney


There are many different fax daemons for unix and windows. Thier command
line tools are differnt. In the past, I have sent a fax by opening a
process to the command line tools provided by the fax software. I simply
use PHP variables as arguments.

Hope this helps.
Steve
On Mon, 24 Dec 2001, LDL Enterprise wrote:

 Hi,

 Is there a way to send to a fax machine like you would a email address
 in PHP.


 Thanks for any help you can give. :-)









Thank you,
Steve Maroney





-- 
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]




[PHP] sessions and authentication

2001-12-21 Thread Steve Maroney



Hey guys,

I know this has been brought up several times but can't find it in the
archives of this list.

I have some PHP 4 scripts that check the value of a logged in variable.
if the user authenticates him/her self, then the logged in variable gets
set and registered with the session.  How can I stop some evil person from
passing that variable to my script using GET or POST methods ?

I tried:
 $HTTP_POST_VARS[user_authenticated] = ;
 $HTTP_GET_VARS[user_authenticated] = ;

and:
unset($HTTP_POST_VARS[user_authenticated]);
unset($HTTP_GET_VARS[user_authenticated]);

but that didn't do me any good. Please advise.

Thank you,
Steve Maroney





-- 
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]




Re: [PHP] Re: some body flood mypage how can I prevent them ?

2001-12-21 Thread Steve Maroney


some good packet filtering rules should take care all of that.
On Fri, 21 Dec 2001, Daniel Masur wrote:

 at least you have to tell what is getting flooded...
 db?
 apache?
 logs?
 pings?


 Alawi [EMAIL PROTECTED] schrieb im Newsbeitrag
 00cd01c18a1a$05063440$b084a2d4@mcsh2l7jqy8bgj">news:00cd01c18a1a$05063440$b084a2d4@mcsh2l7jqy8bgj...
 some body flood mypage how can I prevent them ?





 --
 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]










Thank you,
Steve Maroney





-- 
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]




[PHP] What kind of looping ?

2001-11-27 Thread Steve Maroney


Hey guys,

I cant figure out what functions and/or looping I need to use for what I
need to do. Im reading a directory and pushing all the file names in the
directory into an arrary.

I want to be able print out each element(file name) in the array into an
HTML table while limiting a certain number of elements for each row.

Example:
$image_dir = opendir(../images/bullets/);
while ($file = readdir($image_dir)) { $file_list[] = $file; };

 Now $file_list[] has some number a file names. I want print 4 file names
into a row. Each file name has to be in its on cell.

 table
  tr tdFILE 0/td tdFILE 1/td tdFILE 2/td tdFILE 3/td /tr
  tr tdFILE 4/td tdFILE 5/td tdFILE 6/td tdFILE 7/td /tr
 /table

I would image I would use a for loop, but I cant figure it out.
Can somone assist me ?

Thanks,
Steve


-- 
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]




[PHP] PHP Arrays conflicting with Javascript, PLease advise?!?

2001-11-21 Thread Steve Maroney



Hey guys,

Im have a couple of form elements with the names of php arrays. Instead of
just using input type=text name=myArray[], Im defining the array keys.
Before the form is submitted to the PHP script, Im using javascript to
modify the element values. The array brackets that are part of the element
name  are conflicting with JavaScript. I can't figure out how to get
JavaScript to take form elemenets literly. Below is some of my code for
further detail:

 // THIS CODE WAS FORMATTED TO FIT YOUR TV SCREEN :)

script
  !-- Hide code from Old browsers
   function billing_is_shipping() {
  if (document.customer_info.shipto_billto.value == true) {
customer_info.customer_info[shipto_address_line1].value = 
customer_info.customer_info[billto_address_line1].value;
customer_info.customer_info[shipto_address_line2].value = 
customer_info.customer_info[billto_address_line2].value;
customer_info.customer_info[shipto_city].value = 
customer_info.customer_info[billto_city].value;
customer_info.customer_info[shipto_state].value = 
customer_info.customer_info[billto_state].value;
customer_info.customer_info[shipto_zipcode].value = 
customer_info.customer_info[billto_zipcode].value;
  };
   };
  // Done --
  /script


 form name=customer_info action=index.php method=post 
onSubmit=javascript:billing_is_shipping();
  input type=hidden name=check_out_stage value=1
  input type=hidden name=action value=Check Out
  center
table border=1 width=450 cellpadding=0 cellspacing=0 
bgcolor=#D2trtd wdith=450 align='center'font size=4bBilling 
Information/b /font /t$
br
table border=1 width=450 cellpadding=0 cellspacing=0 bgcolor=#D2
tr
td

table border=0 cellpadding=2 cellspacing=0 width=450
trtd align='right' width=130bName:/b/td td width=320input 
type=text name=customer_info[billto_name] size=40/td/tr
trtd align='right' width=130bAddress:/b/td td width=320input 
type=text name=customer_info[billto_address_line1] size=40/td/tr
trtd nbsp /td   td width=320input 
type=text name=customer_info[billto_address_line2] size=40/td/tr
trtd align='right' width=130bCity:/b/td td width=320input 
type=text name=customer_info[billto_city] size=40/td /tr
trtd align='right' width=130bState:/b/td td width=320select 
name=customer_info[billto_state]

   -- OTHER CODE SNIPPED --




Thank you,
Steve Maroney








-- 
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]




Re: [PHP] Form's : making me sick!

2001-11-17 Thread Steve Maroney

Thats sounds right becasuse anything between form ... /form can only
will be passeed only to one script.

Steve

On Tue, 13 Nov 2001, George Pitcher wrote:

 I don't think that you can nest forms.

 George

 - Original Message -
 From: De Necker Henri [EMAIL PROTECTED]
 To: PHP-General (E-mail) [EMAIL PROTECTED]
 Sent: Tuesday, November 13, 2001 1:09 PM
 Subject: [PHP] Form's : making me sick!


  I just want to know how to make a form inside a form get to respond or
  dont make any browser errors?
 
  It looks someting like this :
 
  form
  input type = text
  input type = text
  form
  select onchange = this.form.submit();   //This must
  change the next select values !
  /select
  /form
  select
  //this values must be cahnge
  /select
  /form
 
  Everthing is working fine but i just cant get the two forms to work
  together.If i only can get some ideas on what action,or onchange values to
  change it will be greatfull!
 
 
  --
  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]


 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com


 --
 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]










Thank you,
Steve Maroney





-- 
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]




Re: [PHP] ***Get a piece of the #1 CASH MACHINE on the net***

2001-06-20 Thread Steve Maroney


Hmmm.. a porn site writen with PHP ?



On Wed, 20 Jun 2001, [EMAIL PROTECTED] wrote:


 SEX SELLS!!!

 Enjoy the riches of the most lucrative business in the world without being in the 
business.

 If you are in need of money quickly, This is for you.  You don't have to access the 
website if you do not wish, just take the money it will generate for you.

 Believe me it will be a short time until you will receive hundreds, then thousands 
each month.  Would you like to be earning $10,000 a month within 6 months. It costs 
nothing to check it out but it could change your life forever, as it did mine.

 For full details e-mail me:
 mailto:[EMAIL PROTECTED]

 For further details reply with 'MORE DETAILS'
 in the subject line. If you want to be
 removed from my email database please reply
 with 'REMOVE' in the subject line






 --
 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]




-- 
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]




Re: [PHP] Really easy question

2001-05-06 Thread Steve Maroney


create a new php file. If you call the function phpinfo(), you should get
a bunch of useful information. If you're getting an error message
complianing about PHP not being enabled, then check out your configuration
file.

I think there is an line something like enable engine. That might be
turned off, but it should be on by default.

Hope this helps,
Steve Maroney
[EMAIL PROTECTED]




On Sun, 6 May 2001, biscut wrote:

 How can i check to see if PHP has been enabled, I enabled the modules etc
 after they were compiled and i have managed to get Apache working properly
 again but now even when i do the basic tutorial stuff then I get a blank
 page rather than what I am supposed to get, the tutorial page is no help as
 all it says is see your network admin to get PHP enabled this is only on
 my home machine so I guess I am the network admin...kind of anyway...can
 someone please help...

 thanks very much
 biscut





-- 
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]




Re: [PHP] What's wrong with Apache + php + mysql on Windows?

2001-04-26 Thread Steve Maroney



I think the question should be what's wrong with
Windows?  :)

Sorry, I can't give you more of an intelligent answer


Steve


On Thu, 26 Apr 2001, Mig wrote:

 Hello, I can't understand the reason apache server running locally on my
 Win98 machine delays so much to respond browser when accesing php
 scripts in the form

 http://localhost/myscript.php

 When I transfer php scripts to host server via FTP, script execution is
 immediate, even remote server being in another continent.

 I was running apache + php + mysql on Win95 and delay was terrible. Now
 I moved to Win98 and delay became still worse.

 I know some parameter in httpd.conf or php.ini should be changed, but
 how to kwow which parameter?.

 Thanks for any idea.

 Mig



 --
 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]




-- 
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]




[PHP] Re: Method Not Allowed

2001-04-23 Thread Steve Maroney


I just deleted a post that I wanted to reply to.



Try reading the FAQ on apache.org


Click here or go here  - http://httpd.apache.org/docs/misc/FAQ.html#POSTnotallowed


Hope this helps,
Steve



-- 
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]




Re: [PHP] Connecting to a MS Access database

2001-04-22 Thread Steve Maroney


This brings up a question that I always wondered.

Does Access have server functionality? Where do you configure these
settings ?


Thanks,
Steve


On Sat, 21 Apr 2001, Andrew Hill wrote:

 The Access native driver IS an ODBC driver.
 That is, I believe, your only option.

 Best regards,
 Andrew
 
 Andrew Hill - OpenLink Software
 Directory of Technology Evangelism
 Internet Data Integration Technology
 http://www.openlinksw.com

 On Saturday, April 21, 2001, at 07:00 PM, Søren Soltveit wrote:

  How can I connect to a Microsoft Access database, whitout using ODBC??
 
 
  --
  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]
 
 


 --
 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]




--
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]