Re: [PHP] Multiple Login in a single PC should not be possible

2010-09-06 Thread Karl DeSaulniers
On Sep 7, 2010, at 12:47 AM, Robert Cummings wrote: On 10-09-07 01:21 AM, Karl DeSaulniers wrote: @Jagdeep Singh Hi Jagdeep, I know it has been a while now, but I thought I'd let you know. Setting up a database with a session login and some checks and balances will allow you to do what you we

Re: [PHP] Multiple Login in a single PC should not be possible

2010-09-06 Thread Robert Cummings
On 10-09-07 01:21 AM, Karl DeSaulniers wrote: @Jagdeep Singh Hi Jagdeep, I know it has been a while now, but I thought I'd let you know. Setting up a database with a session login and some checks and balances will allow you to do what you were wanting with controlling a user using multiple brows

Re: [PHP] Multiple Login in a single PC should not be possible

2010-09-06 Thread Karl DeSaulniers
@Jagdeep Singh Hi Jagdeep, I know it has been a while now, but I thought I'd let you know. Setting up a database with a session login and some checks and balances will allow you to do what you were wanting with controlling a user using multiple browsers on the same machine. I just finished my

RE: [PHP] PHP, Soap, and WDSL

2010-09-06 Thread SBS Computers
One more question. How would I parse the data below so that I only display the section -> information="info_2" I've read a few articles on xml name spaces and none have helped. http://schemas.xmlsoap.org/soap/envelope/"; xmlns="http://nowhere.com/wsdl";> /response> I tried the following

[PHP] workflow system design

2010-09-06 Thread gato chlr
Hi, i know it is not the right place, but, does anybody know a workflow system development process? or methodology? thanks!

Re: [PHP] Hi

2010-09-06 Thread chris h
On Mon, Sep 6, 2010 at 1:45 PM, chris h wrote: > Per PHPdocs on $_FILES['userfile']['type']... > > "The mime type of the file, if the browser provided this information. An > example would be "image/gif". This mime type is however not checked on the > PHP side and therefore don't take its value fo

Re: [PHP] Hi

2010-09-06 Thread a...@ashleysheridan.co.uk
As far as I can remember It's supplied by the client user agent, hence the big issue with jpeg images uploaded by IE, as it uses a different type to all the other browsers. Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: "Richard Quadling" Date: Mon, Sep 6, 2010 16:

Re: [PHP] Hi

2010-09-06 Thread Richard Quadling
On 6 September 2010 15:04, a...@ashleysheridan.co.uk wrote: > I think you should not focus so much on the file extension, as that is mostly > meaningless if someone wanted to attack your system. > > Instead, you could wrap a call to the command line 'file' command, which > gives mostly accurate

Re: [PHP] Hi

2010-09-06 Thread a...@ashleysheridan.co.uk
I think you should not focus so much on the file extension, as that is mostly meaningless if someone wanted to attack your system. Instead, you could wrap a call to the command line 'file' command, which gives mostly accurate information about a file. Basically it reads the first few bytes to s

Re: [PHP] Hi

2010-09-06 Thread Richard Quadling
On 6 September 2010 14:46, Jordan Jovanov wrote: > Hi All > > I need me a little help. > I create scripte for upload file is work very good but the problem is next: > I neet to upload only .zip file i need to disable some user to shoise to > upload another file Extensions. > > Can somebody help me

Re: [PHP] Hi

2010-09-06 Thread chris h
You can check the extension of the uploaded file http://www.php.net/manual/en/features.file-upload.post-method.php But to be sure that it's truly a zip file you could actually open the file with php's zip function. http://php.net/manual/en/ref.zip.php Chris. On Mon, Sep 6, 2010 at 9:46 AM, Jo

Re: [PHP] Hi

2010-09-06 Thread kranthi
use some thing like http://uploadify.com u can always check for the uploaded file extension/mime-type on the server side -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Hi

2010-09-06 Thread Jordan Jovanov
Hi All I need me a little help. I create scripte for upload file is work very good but the problem is next: I neet to upload only .zip file i need to disable some user to shoise to upload another file Extensions. Can somebody help me. Thanks a lot. -- PHP General Mailing List (http://www.php

[PHP] PHP Modular application

2010-09-06 Thread Abah Joseph
I appreciate you all. the php community is a wonderful community. i`m developing an application that i need to support plugin for additional features, i have used joomla and prestashop. i love the way module interface on prestashop and i have been looking into the classes but i did not understand

Re: [PHP] Error in initialising XML parser

2010-09-06 Thread Sridhar Pandurangiah
Thanks, PHP is now able to include the class file Best regards Original Message Subject: Re: [PHP] Error in initialising XML parser From: a...@ashleysheridan.co.uk (a...@ashleysheridan.co.uk) To: Date: Mon Sep 06 2010 13:56:39 GMT+0530 (IST) PHO won't automatically include a

Re: [PHP] Error in initialising XML parser

2010-09-06 Thread a...@ashleysheridan.co.uk
PHO won't automatically include a class file by default. You either need to manually include it with a require, include it or require_once line, or use an automagical include script. As it stands, you're getting the error because php doesn't know where your class is. Thanks, Ash http://www.ashl

[PHP] Error in initialising XML parser

2010-09-06 Thread Sridhar Pandurangiah
Hi I am writing a PHP snippet to display invoices that is generated by another computer application. The use case is as follows 1. The other computer application generates the invoices for the month in XML and puts it in a common dirctory. So at anytime there could be multiple files. Each fi