php-windows Digest 4 Jun 2003 20:00:43 -0000 Issue 1761

Topics (messages 20181 through 20191):

Re: Deleting users from htpasswd
        20181 by: Cristian MARIN

Report Generator for PHP
        20182 by: irwan nurwandi
        20186 by: Mikey
        20191 by: Manuel Lemos

why seesions always lost
        20183 by: yuegong
        20189 by: Radovan Radic

Getting Started
        20184 by: Kevin Bachelder
        20185 by: Ed Gorski

exif_read_data
        20187 by: John Ellingsworth
        20188 by: John Ellingsworth

Need assistance
        20190 by: Ron Ackerman

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Remove the line of the user from the .htpasswd. You can do it manually or a php script 
can do it for you.



-- 
-------------------------------------------------
Cristian MARIN
InterAKT Online (www.interakt.ro)
+4021 411 2610 
[EMAIL PROTECTED]

  "Guru P Chaturvedi" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
  Hi,
  i am storing all users for accessing apache resources in a file called
  my.users i am able to add/modify users and passwords using the htpasswd
  utility. But not able to remove a particular user... are there anyways of
  doing it? can u please help...

  with Warm Regards,
  Guru.
  ---------------------------------------
  Phone: (+91)9845290270
  URL: www.gangarasa.com
  Yahoo IM: guru4vedi
  MSN: [EMAIL PROTECTED]
  ---------------------------------------



--- End Message ---
--- Begin Message ---
does anybody know the report generator for php??
like crystal report for asp??



=====
============================================================
kemanapun takdir Engkau pergilirkan
kan kurindu slalu pertemuan dengan-Mu

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

--- End Message ---
--- Begin Message ---
If I recall correctly, Crystal Reports are a series of COM objects, and if
that is the case then you could carry on using that...

HTH,

Mikey

> -----Original Message-----
> From: irwan nurwandi [mailto:[EMAIL PROTECTED]
> Sent: 04 June 2003 11:12
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Report Generator for PHP
>
>
> does anybody know the report generator for php??
> like crystal report for asp??
>
>
>
> =====
> ============================================================
> kemanapun takdir Engkau pergilirkan
> kan kurindu slalu pertemuan dengan-Mu
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> http://calendar.yahoo.com
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--- End Message ---
--- Begin Message --- Hello,

On 06/04/2003 07:11 AM, Irwan Nurwandi wrote:
does anybody know the report generator for php??
like crystal report for asp??

You may want to try this class:


Class: phpreports
http://www.phpclasses.org/phpreports


There is also Agata Report which is a PHP GUI driven application.


--

Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/


--- End Message ---
--- Begin Message ---
Hi ;
    I set a intranet App by PHP and Mysql; when i test on my NootBook it is ok . but 
when i move it into the network , the seesions always lost, then users must relogon, 
it is carking.
can anybody tell me why? I have set the session.cookie_lifetime   = 0.
    Thanks


--- End Message ---
--- Begin Message ---
maybe session_trans_sid is set to 0 on server, and in your installation is
1. Dont rely on automatic url encoding, add session manually to url.

"Yuegong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi ;
>     I set a intranet App by PHP and Mysql; when i test on my NootBook it
is ok . but when i move it into the network , the seesions always lost, then
users must relogon, it is carking.
> can anybody tell me why? I have set the session.cookie_lifetime   = 0.
>     Thanks
>
>



--- End Message ---
--- Begin Message --- Hello all,

We will be deploying a custom software package from a vendor and part of what they require on our IIS server is PHP v4 or higher. I have never worked with PHP so I am looking for recommendations on good books or other resources to learn a little bit about PHP.

Thanks in advance,

Kevin

------------------
Kevin Bachelder

Microsoft Certified Systems Engineer - Windows NT 4.0 (MCSE)
Microsoft Certified Professional - Windows 2000 (MCP)
Citrix Certified Administrator (CCA)
CompTIA A+ Certified Computer Repair Technician (A+)



--- End Message ---
--- Begin Message ---
The Wrox series of books are usually pretty good for beginners:

http://www.amazon.com/exec/obidos/ASIN/1861006918/qid=1054735752/sr=2-1/ref=
sr_2_1/103-7575618-4662261

They lie more to the programming side of things, if you need help with the
install on IIS just look at the docs that come with the PHP binary.

Hope this helps,

ed

-----Original Message-----
From: Kevin Bachelder [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 04, 2003 9:56 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Getting Started


Hello all,

We will be deploying a custom software package from a vendor and part of 
what they require on our IIS server is PHP v4 or higher.  I have never 
worked with PHP so I am looking for recommendations on good books or other 
resources to learn a little bit about PHP.

Thanks in advance,

Kevin

------------------
Kevin Bachelder

Microsoft Certified Systems Engineer - Windows NT 4.0 (MCSE)
Microsoft Certified Professional - Windows 2000 (MCP)
Citrix Certified Administrator (CCA)
CompTIA A+ Certified Computer Repair Technician (A+)  


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
Has anyone gotten this function to work with virtual directories?

This is my setup:

C:\apache\Apache2\htdocs
c:\php

Virtual Directory:

d:\photos

I have a script with this (modified) example function in it (from the
documentation).

This works:




$origpath = "\photos\010202\010202_001.jpg";

$exif = exif_read_data ($origpath,0,true);
echo "test2.jpg:<br />\n";
foreach($exif as $key=>$section) {
    foreach($section as $name=>$val) {
        echo "$key.$name: $val<br />\n";
    }
}




Thanks,

John Ellingsworth


--- End Message ---
--- Begin Message ---
Does anyone know of a workaround for this problem?

The doc for exif_read_data function says filename cannot be a url.
I need a way to get the non-functioning example to work.
Thanks in advance.


\\This works:

$exif = exif_read_data('\photos\010202\010202_001.jpg',0,true);
foreach($exif as $key=>$section) {
    foreach($section as $name=>$val) {
        echo "$key.$name: $val<br />\n";
    }
}

\\THIS DOES NOT:


$origpath = "\photos\010202\010202_001.jpg";
$exif = exif_read_data($origpath,0,true);
foreach($exif as $key=>$section) {
    foreach($section as $name=>$val) {
        echo "$key.$name: $val<br />\n";
    }
}


Thanks,

John Ellingsworth 

--- End Message ---
--- Begin Message ---
First, I want to thank whoever takes this on ahead of time.

I'm just starting to learn php and have set up some sites using Geeklog. But
I need to automate email subscriptions.

I need to connect to a mail server using mail.myserver.com then take
variables from my input form that will create a mailbox and password. The
company that wrote the mail server software has an ASP script that does
this. However my server doesn't do asp and I'm not even sure that the script
they gave me even works.

Basically there are 2 files. I called them signup.htm and signup.php
(originally signup.asp) here are the files.

First the user will see an html file or we could change this to a php file I
guess.
----------------------------------------------------------------------------
--
<HTML>
<HEAD>
    <TITLE>Sign up</TITLE>

    <SCRIPT LANGAUGE="Javascript">

        function OnSubmit()
        {
            var pForm = document.forms["frm"];

            if ("" == pForm["Mailbox"].value)
                alert("Please enter your email name.");
            else if (pForm["Password1"].value !=
                    pForm["Password2"].value)
            {
                alert("Passwords do not match!  Please retype them.");
            } else if ("" == pForm["Password1"].value)
                alert("Please enter a password.")
            else
                pForm.submit();
        }

    </SCRIPT>
</HEAD>

<BODY>
    <FORM ID=frm METHOD=POST ACTION="signup.php">
        <TABLE>
            <TR>
                <TD>Email Name:</TD>
                <TD><INPUT TYPE=TEXT ID=Mailbox NAME=Mailbox></TD>
            </TR>
            <TR>
                <TD>New Password:</TD>
                <TD><INPUT TYPE=PASSWORD ID=Password1 NAME=Password1></TD>
            </TR>
            <TR>
                <TD>Retype New Password:</TD>
                <TD><INPUT TYPE=PASSWORD ID=Password2 NAME=Password2></TD>
            </TR>
        </TABLE>

        <HR>
        <INPUT TYPE=BUTTON VALUE=Submit onClick=OnSubmit();>
    </FORM>
</BODY>
</HTML>
-------------------------------------------------------------------------
Then we post to "signup.php" but originally it was "signup.asp" here is the
asp script and the what I've got started with the php script.
-------------------------------------------------------------------------
<%
    '
    ' Connect to the mail server.
    '
    Set MailAdmin = CreateObject("1CIS.MailAdmin")
    MailAdmin.Server = "mail.myserver.com"
    MailAdmin.Domain = "mydomain.com"
    MailAdmin.Password = "mypassword"
    MailAdmin.Connect

    '
    ' Create a new mailbox.
    '
    Set Mailbox = CreateObject("1CIS.Mailbox")
    Mailbox.Email = Request.Form("Mailbox")
    Mailbox.Password = Request.Form("Password1")

    '
    ' Save the mailbox.
    '
    MailAdmin.Update(Mailbox)

    '
    ' Disconnect from the mail server.
    '
    Set Mailbox = nothing
    MailAdmin.Disconnect
    Set MailAdmin = nothing
%>

<HTML>
<HEAD>
    <TITLE>Sign up</TITLE>
</HEAD>

<BODY>
    Your mailbox was created successfully.
</BODY>
</HTML>
--------------------------------------------------------
Now here is the "signup.php" that I've got started and I think you can see
that I'm am not a php programmer yet. You'll see I've commented out some
things trying to get this to work.
--------------------------------------------------------
<?php
//
// Connect to the mail server.
//

$MailAdmin = New COM("1CIS.MailAdmin");

$MailAdmin->Server="mail.myserve.com";
$MailAdmin->Domain="mydomain.com";
$MailAdmin->Password="mypassword";
$MailAdmin->Connect;

//
// Create a new mailbox.
//

$MailBox = New Com("1CIS.MailBox");
$MailBox->Email=$_POST["Mailbox"];
$MailBox->Password=$_POST["Password1"];

//
// Save the mailbox.
//
$MailAdmin->Update($Mailbox);

//
// Disconnect from the mail server.
//
// $Mailbox=null;

// $MailAdmin->Disconnect;
// $MailAdmin=null;

?>

<HTML>
<HEAD>
    <TITLE>Sign up</TITLE>
</HEAD>

<BODY>
    Your mailbox was created successfully.
</BODY>
</HTML>



--- End Message ---

Reply via email to