Re: [PHP] PHP Access Violations

2006-09-05 Thread Chris
Christopher Watson wrote: Hi Wolf, Set up PHP error logging. Proceeded to do some regular development. Created some PHP errors in my code to test logging. Worked great. Expected errors occurred and got logged. Five minutes into the session, wham! This error is what comes up in the browser:

Re: [PHP] PHP Access Violations

2006-09-05 Thread Christopher Watson
Hi Wolf, Set up PHP error logging. Proceeded to do some regular development. Created some PHP errors in my code to test logging. Worked great. Expected errors occurred and got logged. Five minutes into the session, wham! This error is what comes up in the browser: "PHP has encountered an Ac

Re: [PHP] error_log does not work

2006-09-05 Thread Chris
Merlin wrote: Hi there, I can not find a way to get this working on one server of mine. The error_log() funciton does not result in an entry to this log. The log exists and php.ini is configured to write error warnings out (so it does on system warnings). The same thing workes excellent on an

Re: [PHP] PHP Access Violations

2006-09-05 Thread Wolf
First thing you need to do is log the boot through the crash of PHP, it sounds like something is getting hung in the processes and crapping out. Personally, I run Apache on windows and Linux machines. It has less tendency to die and gives a great log of when something happens. First step is gett

[PHP] JOB: Linux Perl/PHP/MySQL Programmer (ADELAIDE)

2006-09-05 Thread Damien Bezborodow
Hi all, Koala Telecom is seeking a full time programmer with experience with PHP5, Perl and SQL (MySQL). Core requirements are: - Experience developing projects in a team environment using a versioning system such as Subversion or CVS. - Design and analysis skills. - Experience with PHP5,

[PHP] Job: PHP/Perl Developer in ADELAIDE, South Australia

2006-09-05 Thread Damien Bezborodow
Hi all, Koala Telecom is seeking a full time programmer with experience with PHP5, Perl and SQL (MySQL). Core requirements are: - Experience developing projects in a team environment using a versioning system such as Subversion or CVS. - Design and analysis skills. - Experience with PHP5, Pe

[PHP] Re: Video uploading with PHP -> convert to flash on the fly?

2006-09-05 Thread Damien Bezborodow
Merlin wrote: Hi there, looks like video uploading goes mainstream. Loads of sites are adding video upload capabilities. That is what I would like to add to my webapp as well. Currently only picture upload is available via PHP and image functions. Can somebody please point me to a start on

Re: [PHP] Quotes?

2006-09-05 Thread J R
On 9/6/06, Gustav Wiberg <[EMAIL PROTECTED]> wrote: I want to save this to a string... var uri = 'http://impse.tradedoubler.com/imp/img/16352388/1122503?' + new String (Math.random()).substring (2, 11); docume

Re: [PHP] Format of Encrypted Password

2006-09-05 Thread Chris
Kevin Murphy wrote: The only thing I can find anywhere in the code is this: $auth_user = $_SERVER['PHP_AUTH_USER']; $auth_pw = $_SERVER['PHP_AUTH_PW']; $query = "select name from table where name = '$authuser' and password = password('$auth_pw')"; I've never seen that password('$auth_pw')

Re: [PHP] Format of Encrypted Password

2006-09-05 Thread Chris
Kevin Murphy wrote: I've inherited this website and there is an application that is running on it that has a bunch of passwords stored in a mysql table. The problem is, the previous webmaster didn't leave me any instructions on how they encrypted those passwords. I don't need to figure out what

Re: [PHP] Format of Encrypted Password

2006-09-05 Thread Kevin Murphy
The only thing I can find anywhere in the code is this: $auth_user = $_SERVER['PHP_AUTH_USER']; $auth_pw = $_SERVER['PHP_AUTH_PW']; $query = "select name from table where name = '$authuser' and password = password('$auth_pw')"; I've never seen that password('$auth_pw') part before. Is th

RE: [PHP] Format of Encrypted Password

2006-09-05 Thread Chris W. Parker
Kevin Murphy on Tuesday, September 05, 2006 3:27 PM said: > The passwords are called in the application by: > > $_SERVER['PHP_AUTH_PW'] > Is there any way to tell how these passwords were encrypted? Have you tried searching the entire codebase for that string? Mig

Re: [PHP] Format of Encrypted Password

2006-09-05 Thread Kevin Murphy
On Sep 5, 2006, at 4:14 PM, Robert Cummings wrote: On Tue, 2006-09-05 at 15:27 -0700, Kevin Murphy wrote: I've inherited this website and there is an application that is running on it that has a bunch of passwords stored in a mysql table. The problem is, the previous webmaster didn't leave me

Re: [PHP] Format of Encrypted Password

2006-09-05 Thread Robert Cummings
On Tue, 2006-09-05 at 15:27 -0700, Kevin Murphy wrote: > I've inherited this website and there is an application that is > running on it that has a bunch of passwords stored in a mysql table. > The problem is, the previous webmaster didn't leave me any > instructions on how they encrypted tho

[PHP] Format of Encrypted Password

2006-09-05 Thread Kevin Murphy
I've inherited this website and there is an application that is running on it that has a bunch of passwords stored in a mysql table. The problem is, the previous webmaster didn't leave me any instructions on how they encrypted those passwords. I don't need to figure out what the old passwor

Re: [PHP] Re: OT - PHP Hosting Service in UK?

2006-09-05 Thread Ryan A
Hey, I did try need-space.co.uk they were good for some time, then later sucked really bad, then insulted me via online support when i asked for my $$ back after hosting with them for just over a month... then later apoligised and got good again (and returned my $$), they say they have changed the

Re: [PHP] Quotes?

2006-09-05 Thread Dave Goodchild
Or use a heredoc? -- http://www.web-buddha.co.uk http://www.projectkarma.co.uk

Re: [PHP] Quotes?

2006-09-05 Thread Martin Marques
On Tue, 5 Sep 2006, Gustav Wiberg wrote: I want to save this to a string... var uri = 'http://impse.tradedoubler.com/imp/img/16352388/1122503?' + new String (Math.random()).substring (2, 11

[PHP] Quotes?

I want to save this to a string... var uri = 'http://impse.tradedoubler.com/imp/img/16352388/1122503?' + new String (Math.random()).substring (2, 11); document.write('hr

Re: [PHP] Is this unsecure?

At 12:10 PM -0500 9/5/06, Oscar Gosdinski wrote: On 9/5/06, tedd <[EMAIL PROTECTED]> wrote: At 4:48 PM +0200 9/5/06, Satyam wrote: It's my understanding that while MD5 has cannot be decrypted some encryption can be cracked by matching matching results. They don't have to work the code backwards.

Re: [PHP] Re: OT - PHP Hosting Service in UK?

At 6:20 PM +0100 9/5/06, Alex Turner wrote: tedd wrote: I use: http://websitters.co.uk/hosting.php AJ Interesting that they display compliance, but fail validation (89 errors?). tedd Are - the answer is that they recently updated all the pages, and the buttons for validation should only

Re: [PHP] Re: OT - PHP Hosting Service in UK?

tedd wrote: I use: http://websitters.co.uk/hosting.php AJ Interesting that they display compliance, but fail validation (89 errors?). tedd Are - the answer is that they recently updated all the pages, and the buttons for validation should only be on the front page. AJ -- www.deployview

[PHP] error_log does not work

Hi there, I can not find a way to get this working on one server of mine. The error_log() funciton does not result in an entry to this log. The log exists and php.ini is configured to write error warnings out (so it does on system warnings). The same thing workes excellent on another server o

Re: [PHP] Is this unsecure?

On 9/5/06, tedd <[EMAIL PROTECTED]> wrote: At 4:48 PM +0200 9/5/06, Satyam wrote: It's my understanding that while MD5 has cannot be decrypted some encryption can be cracked by matching matching results. They don't have to work the code backwards. For example, if I MD5 "apple" -- it will produce

Re: [PHP] Re: OT - PHP Hosting Service in UK?

tedd wrote: I use: http://websitters.co.uk/hosting.php AJ Interesting that they display compliance, but fail validation (89 errors?). tedd May I quickly say that I have no involvement in this company other than having sites hosted with them! (blush) I will raise it with them! Thanks for

[PHP] PHP Access Violations

OK, this is starting to get really annoying. I think it's time I posted this to php-general, and see if there is anything anyone knows about it. For a while now (about two years), I have been developing on a laptop configured as listed below. I'll provide the versions of software I am currently

[PHP] Re: OT - PHP Hosting Service in UK?

I use: http://websitters.co.uk/hosting.php AJ Interesting that they display compliance, but fail validation (89 errors?). tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

Re: [PHP] Is this unsecure?

I didn't mean to contradict anyone, I just meant to make sure that Peter knew that in this case it didn't matter. Satyam - Original Message - From: "tedd" <[EMAIL PROTECTED]> To: Sent: Tuesday, September 05, 2006 6:18 PM Subject: Re: [PHP] Is this unsecure? At 4:48 PM +0200 9/5/06

Re: [PHP] OT - PHP Hosting Service in UK?

At 10:41 AM -0400 9/5/06, John Nichel wrote: don't recommend places often, but if your client can accept a host outside of the UK, look at http://www.jtlnet.com Strange web site -- for Safari it pulses (i.e., get's larger and returns to normal size) about every three seconds. tedd -- --

Re: [PHP] OT - PHP Hosting Service in UK?

Rory Browne wrote: > > Why? If they're not hosting it in-house, why does it matter where on > the globe it is? Request latency due to distance and intermediate hops. The shorter the distance and fewer hops the faster those little images, stylesheets, and various other embedded media will load.

Re: [PHP] Is this unsecure?

At 4:48 PM +0200 9/5/06, Satyam wrote: It doesn't matter that MD5 is not secure or that it can be decripted (which, in fact, it cannot, since it is a one-way code), Not that you said otherwise. It's my understanding that while MD5 has cannot be decrypted some encryption can be cracked by mat

Re: [PHP] OT - PHP Hosting Service in UK?

> > Why? If they're not hosting it in-house, why does it matter where on > the globe it is? Request latency due to distance and intermediate hops. The shorter the distance and fewer hops the faster those little images, stylesheets, and various other embedded media will load. This won't be very n

[PHP] Re: OT - PHP Hosting Service in UK?

Miles Thompson wrote: I have a Canadian client, presently living in England, who is setting up a vary basic web site. The business is located in the UK, it makes sense to have the web hosting service in the UK as well. Would anyone who is happy with a UK hosting service offering PHP (prefe

Re: [PHP] Is this unsecure?

Peter Lauri wrote: Isn't that just to send a username and password with the request? Or is the username and password protected somehow in that process? -Original Message- From: Paul Scott [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 05, 2006 4:08 PM To: Peter Lauri Cc: php-genera

Re: [PHP] OT - PHP Hosting Service in UK?

On Tue, 2006-09-05 at 10:41 -0400, John Nichel wrote: > Miles Thompson wrote: > > > > I have a Canadian client, presently living in England, who is setting up > > a vary basic web site. The business is located in the UK, it makes > > sense to have the web hosting service in the UK as well. > >

Re: [PHP] Is this unsecure?

What you are doing is what banks have been doing for ages with wire transfers and it is called MAC, Message Authentication Code (not related to an Ethernet MAC address at all). Wire transfers are sent in clear text amongst banks. Each bank has set a 'signature' (a code) with each other. They

Re: [PHP] OT - PHP Hosting Service in UK?

Miles Thompson wrote: I have a Canadian client, presently living in England, who is setting up a vary basic web site. The business is located in the UK, it makes sense to have the web hosting service in the UK as well. Why? If they're not hosting it in-house, why does it matter where on

Re: [PHP] Is this unsecure?

Ruben Rubio wrote: md5 is unsecure. Use sha1 ( http://www.php.net/sha1 ) instead SHA1 has also been partially broken. Until more hash algorithms work their way into PHP, using both md5 and sha1 plus the remote IP as mentioned in a previous email would certainly add to the security of the syste

Re: [PHP] Is this unsecure?

-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > > $authstring = md5("asdf".$email."fdsa"); > md5 is unsecure. Use sha1 ( http://www.php.net/sha1 ) instead -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE/

[PHP] OT - PHP Hosting Service in UK?

I have a Canadian client, presently living in England, who is setting up a vary basic web site. The business is located in the UK, it makes sense to have the web hosting service in the UK as well. Would anyone who is happy with a UK hosting service offering PHP (preferably 5) and MySQL plea

Re: [PHP] How to add user to linux using php

J R wrote: 1. give user apache the addusser priviledge (which is very unsecure), then execute shell_exe as root would. 2. create a root process like a cron job which will start at boot of your server, then on your shell_exe pass your command to that process and have that root process execute tha

RE: [PHP] Re: Is this unsecure?

[snip] This seems the easiest for me: - Determine IP address of Server A. - At Server B: http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Is this unsecure?

On Tue, 05 Sep 2006 16:04:07 +0700, Peter Lauri wrote: > Hi, > > > > I have bumped into a problem. I need to use a web service that is located on > server B from server A. The server B will execute a script when the web > service is accessed and an email is sent as an parameter. The problem is

[PHP] PHP 5.1.6 - virtual_root_level

Hello, It seems that virtual_root_level is not working with PHP version 5.1.6! I tried to aply the patch designed for 4.3.4 but there was no changes.. Is there any patch for that designed for PHP version 5.1.x? How can I make virtual_root_level working on my server? Thanks in advance, cajbecu --

RE: [PHP] Is this unsecure?

Isn't that just to send a username and password with the request? Or is the username and password protected somehow in that process? -Original Message- From: Paul Scott [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 05, 2006 4:08 PM To: Peter Lauri Cc: php-general@lists.php.net Subjec

Re: [PHP] Is this unsecure?

On Tue, 2006-09-05 at 16:04 +0700, Peter Lauri wrote: > I have bumped into a problem. I need to use a web service that is located on > server B from server A. The server B will execute a script when the web > service is accessed and an email is sent as an parameter. The problem is, if > I only hav

[PHP] Is this unsecure?

Hi, I have bumped into a problem. I need to use a web service that is located on server B from server A. The server B will execute a script when the web service is accessed and an email is sent as an parameter. The problem is, if I only have the email as incoming parameter, anyone can just figu

RE: [PHP] Crazy behavior...

Yes - I see your point - however, when something does not work, I generally try and get is as close the accepted norms as possible and then work backwards. Alexander J Turner Ph.D. www.deployview.com www.nerds-central.blogspot.com www.project-network.com -Original Message- From: Jochem M