RE: Converting CGI+Perl to PHP Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The manual (http://www.axis.com/files/manuals/28909.pdf) talks about Event
Servers on page 23. I guess that's what you are using?

"Event Servers

Event Servers are used to receive, e.g. uploaded image files and/or
notification messages. To set up Event server connections in your camera, go
to Setup > Event Configuration > Event Servers and enter the required
information for the required server type.

For details on each setting, please see the online help available from each
web page."


The manual doesn't give any detail about these, but does talk about 'buffers'
(page 24). Have you tried changing this.

I would also suggest changing the upload type to FTP instead of HTTP. At
least you will have more control.

Robert.

-----Original Message-----
From: php-objects@xxxxxxxxxxxxxxx [mailto:php-objects@xxxxxxxxxxxxxxx] On
Behalf Of Ali Jamali
Sent: 24 November 2008 16:34
To: php-objects@xxxxxxxxxxxxxxx
Subject: Re:  Converting CGI+Perl to PHP Help

The Camera Model is AXIS 211W :

Here is the link of  the camera`s website :

http:// www. axis .com /products / cam_211w / index. htm



thanks 
Ali 



________________________________
From: "Atkinson, Robert" <ratkinson@xxxxxxxxxxxxx>
To: php-objects@xxxxxxxxxxxxxxx
Sent: Monday, November 24, 2008 4:51:03 PM
Subject: RE:  Converting CGI+Perl to PHP Help


>From what I can see, the ASP code simply takes whatever binary stream is sent
to the server and puts it into the Application buffer ready for use
elsewhere.

The equivalent for PHP is :-
http://uk.php. net/manual/ en/function. getallheaders. php 

However, the fact that you can change the image filename on the camera leads
me to think that you have more options available to you.

Please can you send me the camera model details, so I can look at the user
guide for it.

Rob.

-----Original Message-----
From: php-objects@ yahoogroups. com [mailto:php-objects@ yahoogroups. com] On
Behalf Of Ali Jamali
Sent: 24 November 2008 11:14
To: php-objects@ yahoogroups. com
Subject: Re:  Converting CGI+Perl to PHP Help

Also the same program in ASP is
____________ _________ _________ _________ ___

<%

biData = Request.BinaryRead( Request.TotalByt es)

if len(bidata) > 0 then 

Application( "imageSize" ) = LenB(biData) 
Application( "theImage" ) = biData 

end if

%>
<html>
<body>
File uploaded successfully!
</body>
</html>

____________ _________ _________ _________ _______

************ ********* ********* ********* ********* ********* *********
********* ********
Any opinions expressed in email are those of the individual and not
necessarily those of the company. This email and any files transmitted with
it are confidential and solely for the use of the intended recipient 
or entity to whom they are addressed. It may contain material protected by
attorney-client privilege. If you are not the intended recipient, or a person
responsible for delivering to the intended recipient, be advised that you
have received this email in error and that any use is strictly prohibited.

Random House Group + 44 (0) 20 7840 8400
http://www.randomho use.co.uk
http://www.booksatt ransworld. co.uk 
http://www.kidsatra ndomhouse. co.uk
Generic email address - enquiries@randomhou se.co.uk

Name & Registered Office:
THE RANDOM HOUSE GROUP LIMITED
20 VAUXHALL BRIDGE ROAD
LONDON
SW1V 2SA
Random House Group Ltd is registered in the United Kingdom with company No.
00954009, VAT number 102838980
************ ********* ********* ********* ********* ********* *********
********* ********

    


      

[Non-text portions of this message have been removed]


------------------------------------

Are you looking for a PHP job? Join the PHP Professionals directory Now!
http://www.phpclasses.org/professionals/Yahoo! Groups Links




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux