php-windows Digest 4 Feb 2003 02:50:14 -0000 Issue 1571

Topics (messages 18322 through 18343):

Re: Looping through the mysql_field_name function
        18322 by: Cam Dunstan
        18339 by: Davy Obdam

script not allowing login after generating new password
        18323 by: Beach, Jim
        18324 by: Svensson, B.A.T. (HKG)
        18341 by: Cam Dunstan

Re: sessions and global register
        18325 by: Brian 'Bex' Huff

Re: Problem closing COM object
        18326 by: Sven Schnitzke

Re: Apache service stalls
        18327 by: cybot

Re: php icon ????
        18328 by: toby z
        18329 by: Maxim Maletsky
        18330 by: toby z
        18332 by: Maxim Maletsky
        18334 by: toby z

Re: Apache 2.0.44; PHP 4.3.0; CGI implemented WinXP Home
        18331 by: Shaggy
        18333 by: toby z

Re: logo copyright [was: php icon [@PHP - WIN]]
        18335 by: toby z

Re: PHP .Net and a boat load of questions !!!
        18336 by: pingywon MCSE
        18337 by: Nick H. -- Technical Support Engineer

Re: PHP 4.3.0 vs 4.2.3
        18338 by: Norbert Grüttner

Re: [PHP-INST] php not executed, mime type problem? - Fixed :-)
        18340 by: Stephen Edmonds

Blank line for writing to a file
        18342 by: Brett Greiner
        18343 by: Brett Greiner

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

put this into a script and run it .......


$dbase = "somedatabase";    // change this to suit   !!


$db = mysql_connect("localhost", "root");       // change this also!!
mysql_select_db($dbase,$db);
$result = mysql_list_tables($dbase);
$rowcount = mysql_num_rows($result);

for ($j = 0; $j < $rowcount; $j++){

$tablenam = mysql_tablename($result, $j);
echo "<strong>".$tablenam."</strong> (";
$fieldresult =  mysql_list_fields($dbase, $tablenam);
$fieldcount =  mysql_num_fields($fieldresult);
echo $fieldcount." fields)<br>\n";

for ($k = 0; $k < $fieldcount; $k++){
$fieldnam = mysql_field_name($fieldresult, $k);
echo "&nbsp;&nbsp;&nbsp;".$fieldnam."&nbsp;&nbsp;<small>";
$fieldtyp = mysql_field_type($fieldresult, $k);
echo $fieldtyp." (";
$fieldsiz = mysql_field_len($fieldresult, $k);
echo $fieldsiz.") </small><br>\n";
}

echo "<hr>\n";

}


that should tell you everything you need to know about your database and how
to do it.




----- Original Message -----
From: "Davy Obdam" <[EMAIL PROTECTED]>
To: "PHP-WIN" <[EMAIL PROTECTED]>; "PHP" <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 5:24 AM
Subject: [PHP-WIN] Looping through the mysql_field_name function


> Hi ppl,
>
> I have a problem that probably very simple, but i cannot figure it out
> right now....
> I need to get the field names of my database. I have a query like select
> * from books and now i wanna have both the result and the field name. I
> have been trying with mysql_field_name, but not succesfully...
>
> $i = 0;
> for($a=0; $a < sizeof(mysql_field_name($db->sqlResult, $i)); $a++) {
>     echo mysql_field_name($db->sqlResult, $i)."<br />";
>     $i++;
> }
>
> Can anyone help me please.. Your help is greatly appreciated;-)
>
> Best regards,
>
> Davy Obdam
> mailto:[EMAIL PROTECTED]
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
Thanks Cam,

That was what i was trying to figure out.... i just didnt see it

Best regards,

Davy Obdam
mailto:[EMAIL PROTECTED]

Cam Dunstan wrote:

Davy

put this into a script and run it .......


$dbase = "somedatabase"; // change this to suit !!


$db = mysql_connect("localhost", "root"); // change this also!!
mysql_select_db($dbase,$db);
$result = mysql_list_tables($dbase);
$rowcount = mysql_num_rows($result);

for ($j = 0; $j < $rowcount; $j++){

$tablenam = mysql_tablename($result, $j);
echo "<strong>".$tablenam."</strong> (";
$fieldresult = mysql_list_fields($dbase, $tablenam);
$fieldcount = mysql_num_fields($fieldresult);
echo $fieldcount." fields)<br>\n";

for ($k = 0; $k < $fieldcount; $k++){
$fieldnam = mysql_field_name($fieldresult, $k);
echo "&nbsp;&nbsp;&nbsp;".$fieldnam."&nbsp;&nbsp;<small>";
$fieldtyp = mysql_field_type($fieldresult, $k);
echo $fieldtyp." (";
$fieldsiz = mysql_field_len($fieldresult, $k);
echo $fieldsiz.") </small><br>\n";
}

echo "<hr>\n";

}


that should tell you everything you need to know about your database and how
to do it.




----- Original Message -----
From: "Davy Obdam" <[EMAIL PROTECTED]>
To: "PHP-WIN" <[EMAIL PROTECTED]>; "PHP" <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 5:24 AM
Subject: [PHP-WIN] Looping through the mysql_field_name function



Hi ppl,

I have a problem that probably very simple, but i cannot figure it out
right now....
I need to get the field names of my database. I have a query like select
* from books and now i wanna have both the result and the field name. I
have been trying with mysql_field_name, but not succesfully...

$i = 0;
for($a=0; $a < sizeof(mysql_field_name($db->sqlResult, $i)); $a++) {
echo mysql_field_name($db->sqlResult, $i)."<br />";
$i++;
}

Can anyone help me please.. Your help is greatly appreciated;-)

Best regards,

Davy Obdam
mailto:[EMAIL PROTECTED]



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





--
--------------------------------------------------------------------
Davy Obdam - Obdam webdesign©
mailto:[EMAIL PROTECTED]   web: www.davyobdam.com
--------------------------------------------------------------------



--- End Message ---
--- Begin Message ---
Hi, I'm new in this list and to PHP and MySQL. I'd welcome any help you
can give.

 

I'm working on a simple application where a registered user submits a
"forgot my password" form. The script is supposed to generate a random
new password, write it to the database, and send it to the user. Then
they can log in with the new password and they're off and running.

 

Here's what happens now: The password generator works fine - it creates
a random string any length I want. The password field in the database
gets changed - not to the new random string but apparently to an
encrypted version of it via the MySQL password() function. The script
returns the user a notice of the new password. BUT, login with the new
password fails!

 

I'm reluctant to ask you to do my debugging but I'm almost brain dead
after hours of trying to figure this out. Can someone suggest where I
might look for the problem? I'll include my scripts in a reply if
needed.

 

Thanks very much in advance.

 

Jim

--- End Message ---
--- Begin Message ---
Stupid question: Are you returning the encrypted string to the "user"?

> -----Original Message-----
> From: Beach, Jim [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 03, 2003 4:46 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] script not allowing login after generating new
> password
> 
> 
> Hi, I'm new in this list and to PHP and MySQL. I'd welcome any help you
> can give.
> 
>  
> 
> I'm working on a simple application where a registered user submits a
> "forgot my password" form. The script is supposed to generate a random
> new password, write it to the database, and send it to the user. Then
> they can log in with the new password and they're off and running.
> 
>  
> 
> Here's what happens now: The password generator works fine - it creates
> a random string any length I want. The password field in the database
> gets changed - not to the new random string but apparently to an
> encrypted version of it via the MySQL password() function. The script
> returns the user a notice of the new password. BUT, login with the new
> password fails!
> 
>  
> 
> I'm reluctant to ask you to do my debugging but I'm almost brain dead
> after hours of trying to figure this out. Can someone suggest where I
> might look for the problem? I'll include my scripts in a reply if
> needed.
> 
>  
> 
> Thanks very much in advance.
> 
>  
> 
> Jim
> 
> 
--- End Message ---
--- Begin Message ---
There`s no such thing as a stupid question - unless of course we are trying
to dramatically reduce the number of posts on this list.

Jim, just echo the password before and after it gets inserted and
before/after comparison and you`ll soon see where you going wrong.

Echo - the greatest debugging tool of all.





----- Original Message -----
From: "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]>
To: "Beach, Jim" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, February 04, 2003 2:50 AM
Subject: RE: [PHP-WIN] script not allowing login after generating new
password


> Stupid question: Are you returning the encrypted string to the "user"?
>
> > -----Original Message-----
> > From: Beach, Jim [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, February 03, 2003 4:46 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] script not allowing login after generating new
> > password
> >
> >
> > Hi, I'm new in this list and to PHP and MySQL. I'd welcome any help you
> > can give.
> >
> >
> >
> > I'm working on a simple application where a registered user submits a
> > "forgot my password" form. The script is supposed to generate a random
> > new password, write it to the database, and send it to the user. Then
> > they can log in with the new password and they're off and running.
> >
> >
> >
> > Here's what happens now: The password generator works fine - it creates
> > a random string any length I want. The password field in the database
> > gets changed - not to the new random string but apparently to an
> > encrypted version of it via the MySQL password() function. The script
> > returns the user a notice of the new password. BUT, login with the new
> > password fails!
> >
> >
> >
> > I'm reluctant to ask you to do my debugging but I'm almost brain dead
> > after hours of trying to figure this out. Can someone suggest where I
> > might look for the problem? I'll include my scripts in a reply if
> > needed.
> >
> >
> >
> > Thanks very much in advance.
> >
> >
> >
> > Jim
> >
> >
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
First of all, you can make sessions automaticly turn on by setting "session.auto_start" in your php.ini file. Alternatively, you can set "output_buffering" to something... to buffer your response before sending it along.

Now, that error message you are getting is probably because you are trying to put one of the global variables into session. Its a complex issue, but basicly there are scoping problems with global variables and sessions. Im not sure why:

http://bugs.php.net/bug.php?id=21312

This problem was, in theory, fixed with 4.3, but a lot of people still see wierd problems.

You should just be sure to NEVER put a global object in a session... which means not putting ANYTHING in there from the $_SERVER superglobal, or even from things like the $_POST superglobal, unless you first alter its scope. The above URL has a trick to do this.

happy coding!

--

Brian 'Bex' Huff
[EMAIL PROTECTED]
Phone: 952-903-2023
Fax: 952-829-5424


Hi
I've been learning to get through sessions as it appears to be the hardest
part of PHP I've come across.

I found that includes must be stated underneath that of a session_start()
for example otherwise a warning will appear that it can't start a session
because a header has already been sent (or something to that effect).

But a new warning has arose where it is suggesting something, but please
note that the code actually executed okay. So, I want to clarify it's
meaning and is it safe to just turn of the warning(session.bug_compat_warn )
and do nothing else? (I'm using v 4.3)

Warning: Unknown(): Your script possibly relies on a session side-effect
which existed until PHP 4.2.3. Please be advised that the session extension
does not consider global variables as a source of data, unless
register_globals is enabled. You can disable this functionality and this
warning by setting session.bug_compat_42 or session.bug_compat_warn to off,
respectively. in Unknown on line 0

Regards, Pat


--- End Message ---
--- Begin Message ---
Hi,
I suppose 'ex' is the excel object in your code. Then you should 
use ex->Quit to get rid of it. 
That is - any unsaved altered Workbook produces a warning dialog 
and when you use an excel instance that has been opened by the 
user you can't close it anyway. But you wrote your clients machine 
gets cluttered with excel instances. So you seem to have the 
correct method of instantiation anyway.
As excel is unsurmountably tweakable there might exist Addins
on your clients machine that produce other alerts on termination
of excel.
You may want to do com_set(ex, "DisplayAlerts", false) to suppress
any questions just before the Quit. And to suppress unsolicited human 
interaction at all, you ca do com_set(ex, "Interactive", false) at 
appropriate points of your COM session. This of course has to be 
reverted just before any wanted user input.
A last unwanted hint: Changing lots of data usually means a lot
of writing to display: com_set(ex, "ScreenUpdating", false) before
any such task makes excel hurry up a lot.

Hope this helps,

Cheers, 
-- 
Sven Schnitzke


> -----Ursprüngliche Nachricht-----
> Von:  Chris Kranz [SMTP:[EMAIL PROTECTED]]
> Gesendet am:  Sonntag, 2. Februar 2003 15:26
> An:   [EMAIL PROTECTED]
> Betreff:      [PHP-WIN] Problem closing COM object
> 
> Hey there,
> 
> I've built a nice little app for a client that will open a COM object,
> and save data to an Excel spreadsheet. However, I'm having problems
> closing it. It seems to close fine on my laptop, but on my clients
> machine, the instance of Excel stays loaded, and multiple instances are
> loaded every time the script is run.
> 
> I've tried several different methods of closing it, that's why this code
> is a little longer than the examples around...
> 
> Code:
> 
> ...
> $ex->Application->ActiveWorkbook->Close("False");
> $wkb->Release();
> $ex->Quit();
> $ex->Release();
> unset($wkb);
> unset($ex);
> 
> chris kranz
> fatcuban.com
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
i have running apache very well since 2.0.39 on a win2k server

and apache 2.x should always be prefered before 1.3x

Wade wrote:
01302007 1410 CST

I couldnt get 2.0.43 to run on W2k either. Just use 1.3.26. Its stable and it just works. Unless you absolutly need something in 2.0.43 or just want to play with it, dont use it for anything developmental.

Wade

Pedro Mg wrote:

Hi,

i installed succesfully Apache 2.0.43 on a Win Millenium as a service.
The problem is that i can't stop the service using the command line, and
using the monitor. I cant even restart it.

If i delete the "process" using alt-ctrl-del, the computer stall for 1
minute, and after i get a new process for Apache.

When i want to restart the computer, it stalls with that "process" for 3
minutes and i have to manually delete the "process".

The rest is working well.
What can it be ?

--
Regards,
Pedro MG
www.tquadrado.com



--
Sebastian Mendel

[EMAIL PROTECTED]

www.sebastianmendel.de
www.tekkno4u.de
www.nofetish.com

--- End Message ---
--- Begin Message ---
thnx guyz .... a billion ....

but do tell me anothrthingg .... while we are at it ....
cant i uze sumthing of my own n then later in the appendex declare a
stereotype deffination ..... with all its declaration, defination and
constraints and all ?????
mmmm this is a doccumentation for my masters degree final project
..... n i really cant afford to screw this one up .... u no ....

thnx again .....
gratefull .....
toby ....

 --- Maxim Maletsky <[EMAIL PROTECTED]> wrote: > Yeah, but remember also
to read the copyrights. Design property is
> not
> GPL, but can be often used with the permission. Read the license on
> php.net.
> 
> 
> --
> Maxim Maletsky
> [EMAIL PROTECTED]
> 
> 
> 
> Luis Ferro <[EMAIL PROTECTED]> wrote... :
> 
> > In the site www.php.net there is a faveicon in the site that can
> be used 
> > as such:
> > 
> >     http://www.php.net/favicon.ico
> > 
> > 
> > Cheers,
> > 
> > Luis Ferro
> > 
> > Teladigital.net
> > 
> > 
> > 
> > toby z wrote:
> > 
> > >hi guys
> > >
> > >im at designing my project i couldnt find any free tools so im
> making
> > >my own stencil in ms visio
> > >i have got a list of uml articrafts from this book with icons
> for asp
> > >and java pages and scripts, but what i dont see there is an icon
> for
> > >a php page
> > >
> > >can and will anyone pleez tell me what a php page icon would or
> shud
> > >look like
> > >
> > >
> > >thnx a mill
> > >
> > >toby .....
> > >
> > >
> > >__________________________________________________
> > >Do You Yahoo!?
> > >Everything you'll ever need on one web page
> > >from News and Sport to Email and Music Charts
> > >http://uk.my.yahoo.com
> > >
> > >  
> > >
> > 
> > 
> > ---
> > [This E-mail scanned for viruses by Declude Virus]
> > 
> > 
> > -- 
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> > 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--- End Message ---
--- Begin Message ---
please, explain yourself better. Use what? Add what? ..to what?

--
Maxim Maletsky
[EMAIL PROTECTED]



toby z <[EMAIL PROTECTED]> wrote... :

> thnx guyz .... a billion ....
> 
> but do tell me anothrthingg .... while we are at it ....
> cant i uze sumthing of my own n then later in the appendex declare a
> stereotype deffination ..... with all its declaration, defination and
> constraints and all ?????
> mmmm this is a doccumentation for my masters degree final project
> ...... n i really cant afford to screw this one up .... u no ....
> 
> thnx again .....
> gratefull .....
> toby ....
> 
>  --- Maxim Maletsky <[EMAIL PROTECTED]> wrote: > Yeah, but remember also
> to read the copyrights. Design property is
> > not
> > GPL, but can be often used with the permission. Read the license on
> > php.net.
> > 
> > 
> > --
> > Maxim Maletsky
> > [EMAIL PROTECTED]
> > 
> > 
> > 
> > Luis Ferro <[EMAIL PROTECTED]> wrote... :
> > 
> > > In the site www.php.net there is a faveicon in the site that can
> > be used 
> > > as such:
> > > 
> > >   http://www.php.net/favicon.ico
> > > 
> > > 
> > > Cheers,
> > > 
> > > Luis Ferro
> > > 
> > > Teladigital.net
> > > 
> > > 
> > > 
> > > toby z wrote:
> > > 
> > > >hi guys
> > > >
> > > >im at designing my project i couldnt find any free tools so im
> > making
> > > >my own stencil in ms visio
> > > >i have got a list of uml articrafts from this book with icons
> > for asp
> > > >and java pages and scripts, but what i dont see there is an icon
> > for
> > > >a php page
> > > >
> > > >can and will anyone pleez tell me what a php page icon would or
> > shud
> > > >look like
> > > >
> > > >
> > > >thnx a mill
> > > >
> > > >toby .....
> > > >
> > > >
> > > >__________________________________________________
> > > >Do You Yahoo!?
> > > >Everything you'll ever need on one web page
> > > >from News and Sport to Email and Music Charts
> > > >http://uk.my.yahoo.com
> > > >
> > > >  
> > > >
> > > 
> > > 
> > > ---
> > > [This E-mail scanned for viruses by Declude Virus]
> > > 
> > > 
> > > -- 
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > 
> > 
> > 
> > -- 
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >  
> 
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com

--- End Message ---
--- Begin Message ---

well max ill try to explain what i can :$ 

as i rote in my first mail im making an scentcil of my own in ms
visio for uml design for a thin client web application (i add)

i have this book by booch and 2 more people ... designing web
applications with uml and it has these artifacts of  abondy objects,
entity objects and control objects 
then it has these for a web page, asp page, form, frameset, target
page, jsp page, scripts' and script liberaries page and all ......
and in the books appandex the guys have described all these as
stereotypes u know ....
with all thier defination, declaration, icon, constraints and all 

so im think since i cudnt find all these in rational rose 98 (the
only version of rose tha seeems to work A BIT here) 

ill do the same .... thatis make an appandex for these stereotypes
and declare em all there since im sure ill never find a tool which
HAS all these 



sighin deep n desprete ....
toby

my class is graduatiog on march 1st n the last date to register for
graduation is feb 8th i foundout today ......
i dont think ill b graduationg with em .....
does this happen to people or is it just me ? :( ?
 --- Maxim Maletsky <[EMAIL PROTECTED]> wrote: > please, explain
yourself better. Use what? Add what? ..to what?
> 
> --
> Maxim Maletsky
> [EMAIL PROTECTED]
> 
> 
> 
> toby z <[EMAIL PROTECTED]> wrote... :
> 
> > thnx guyz .... a billion ....
> > 
> > but do tell me anothrthingg .... while we are at it ....
> > cant i uze sumthing of my own n then later in the appendex
> declare a
> > stereotype deffination ..... with all its declaration, defination
> and
> > constraints and all ?????
> > mmmm this is a doccumentation for my masters degree final project
> > ...... n i really cant afford to screw this one up .... u no ....
> > 
> > thnx again .....
> > gratefull .....
> > toby ....
> > 
> >  --- Maxim Maletsky <[EMAIL PROTECTED]> wrote: > Yeah, but remember
> also
> > to read the copyrights. Design property is
> > > not
> > > GPL, but can be often used with the permission. Read the
> license on
> > > php.net.
> > > 
> > > 
> > > --
> > > Maxim Maletsky
> > > [EMAIL PROTECTED]
> > > 
> > > 
> > > 
> > > Luis Ferro <[EMAIL PROTECTED]> wrote... :
> > > 
> > > > In the site www.php.net there is a faveicon in the site that
> can
> > > be used 
> > > > as such:
> > > > 
> > > >         http://www.php.net/favicon.ico
> > > > 
> > > > 
> > > > Cheers,
> > > > 
> > > > Luis Ferro
> > > > 
> > > > Teladigital.net
> > > > 
> > > > 
> > > > 
> > > > toby z wrote:
> > > > 
> > > > >hi guys
> > > > >
> > > > >im at designing my project i couldnt find any free tools so
> im
> > > making
> > > > >my own stencil in ms visio
> > > > >i have got a list of uml articrafts from this book with
> icons
> > > for asp
> > > > >and java pages and scripts, but what i dont see there is an
> icon
> > > for
> > > > >a php page
> > > > >
> > > > >can and will anyone pleez tell me what a php page icon would
> or
> > > shud
> > > > >look like
> > > > >
> > > > >
> > > > >thnx a mill
> > > > >
> > > > >toby .....
> > > > >
> > > > >
> > > > >__________________________________________________
> > > > >Do You Yahoo!?
> > > > >Everything you'll ever need on one web page
> > > > >from News and Sport to Email and Music Charts
> > > > >http://uk.my.yahoo.com
> > > > >
> > > > >  
> > > > >
> > > > 
> > > > 
> > > > ---
> > > > [This E-mail scanned for viruses by Declude Virus]
> > > > 
> > > > 
> > > > -- 
> > > > PHP Windows Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > 
> > > 
> > > 
> > > -- 
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >  
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Everything you'll ever need on one web page
> > from News and Sport to Email and Music Charts
> > http://uk.my.yahoo.com
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--- End Message ---
--- Begin Message ---
So, in short, is your question stays in whetehr or not you could use the
PHP logo for the "thin client we application" or whatever your project
is?

I am not sure why, but I stil doubt I understood you right ... :)

--
Maxim Maletsky
[EMAIL PROTECTED]



toby z <[EMAIL PROTECTED]> wrote... :

> 
> 
> well max ill try to explain what i can :$ 
> 
> as i rote in my first mail im making an scentcil of my own in ms
> visio for uml design for a thin client web application (i add)
> 
> i have this book by booch and 2 more people ... designing web
> applications with uml and it has these artifacts of  abondy objects,
> entity objects and control objects 
> then it has these for a web page, asp page, form, frameset, target
> page, jsp page, scripts' and script liberaries page and all ......
> and in the books appandex the guys have described all these as
> stereotypes u know ....
> with all thier defination, declaration, icon, constraints and all 
> 
> so im think since i cudnt find all these in rational rose 98 (the
> only version of rose tha seeems to work A BIT here) 
> 
> ill do the same .... thatis make an appandex for these stereotypes
> and declare em all there since im sure ill never find a tool which
> HAS all these 
> 
> 
> 
> sighin deep n desprete ....
> toby
> 
> my class is graduatiog on march 1st n the last date to register for
> graduation is feb 8th i foundout today ......
> i dont think ill b graduationg with em .....
> does this happen to people or is it just me ? :( ?
>  --- Maxim Maletsky <[EMAIL PROTECTED]> wrote: > please, explain
> yourself better. Use what? Add what? ..to what?
> > 
> > --
> > Maxim Maletsky
> > [EMAIL PROTECTED]
> > 
> > 
> > 
> > toby z <[EMAIL PROTECTED]> wrote... :
> > 
> > > thnx guyz .... a billion ....
> > > 
> > > but do tell me anothrthingg .... while we are at it ....
> > > cant i uze sumthing of my own n then later in the appendex
> > declare a
> > > stereotype deffination ..... with all its declaration, defination
> > and
> > > constraints and all ?????
> > > mmmm this is a doccumentation for my masters degree final project
> > > ...... n i really cant afford to screw this one up .... u no ....
> > > 
> > > thnx again .....
> > > gratefull .....
> > > toby ....
> > > 
> > >  --- Maxim Maletsky <[EMAIL PROTECTED]> wrote: > Yeah, but remember
> > also
> > > to read the copyrights. Design property is
> > > > not
> > > > GPL, but can be often used with the permission. Read the
> > license on
> > > > php.net.
> > > > 
> > > > 
> > > > --
> > > > Maxim Maletsky
> > > > [EMAIL PROTECTED]
> > > > 
> > > > 
> > > > 
> > > > Luis Ferro <[EMAIL PROTECTED]> wrote... :
> > > > 
> > > > > In the site www.php.net there is a faveicon in the site that
> > can
> > > > be used 
> > > > > as such:
> > > > > 
> > > > >       http://www.php.net/favicon.ico
> > > > > 
> > > > > 
> > > > > Cheers,
> > > > > 
> > > > > Luis Ferro
> > > > > 
> > > > > Teladigital.net
> > > > > 
> > > > > 
> > > > > 
> > > > > toby z wrote:
> > > > > 
> > > > > >hi guys
> > > > > >
> > > > > >im at designing my project i couldnt find any free tools so
> > im
> > > > making
> > > > > >my own stencil in ms visio
> > > > > >i have got a list of uml articrafts from this book with
> > icons
> > > > for asp
> > > > > >and java pages and scripts, but what i dont see there is an
> > icon
> > > > for
> > > > > >a php page
> > > > > >
> > > > > >can and will anyone pleez tell me what a php page icon would
> > or
> > > > shud
> > > > > >look like
> > > > > >
> > > > > >
> > > > > >thnx a mill
> > > > > >
> > > > > >toby .....
> > > > > >
> > > > > >
> > > > > >__________________________________________________
> > > > > >Do You Yahoo!?
> > > > > >Everything you'll ever need on one web page
> > > > > >from News and Sport to Email and Music Charts
> > > > > >http://uk.my.yahoo.com
> > > > > >
> > > > > >  
> > > > > >
> > > > > 
> > > > > 
> > > > > ---
> > > > > [This E-mail scanned for viruses by Declude Virus]
> > > > > 
> > > > > 
> > > > > -- 
> > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > > 
> > > > 
> > > > 
> > > > -- 
> > > > PHP Windows Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > >  
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Everything you'll ever need on one web page
> > > from News and Sport to Email and Music Charts
> > > http://uk.my.yahoo.com
> >  
> 
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com

--- End Message ---
--- Begin Message ---
:$
:D
yup ..... u got it .....



i tried my best u cudnt but u clever u .... u actually got it

paron me im losin it here .....  :'(
im doooooooooomed .........
:'(

sucidal dreeemz ....
toby ......

--- Maxim Maletsky <[EMAIL PROTECTED]> wrote: > 
> So, in short, is your question stays in whetehr or not you could
> use the
> PHP logo for the "thin client we application" or whatever your
> project
> is?
> 
> I am not sure why, but I stil doubt I understood you right ... :)
> 
> --
> Maxim Maletsky
> [EMAIL PROTECTED]
> 
> 
> 
> toby z <[EMAIL PROTECTED]> wrote... :
> 
> > 
> > 
> > well max ill try to explain what i can :$ 
> > 
> > as i rote in my first mail im making an scentcil of my own in ms
> > visio for uml design for a thin client web application (i add)
> > 
> > i have this book by booch and 2 more people ... designing web
> > applications with uml and it has these artifacts of  abondy
> objects,
> > entity objects and control objects 
> > then it has these for a web page, asp page, form, frameset,
> target
> > page, jsp page, scripts' and script liberaries page and all
> ......
> > and in the books appandex the guys have described all these as
> > stereotypes u know ....
> > with all thier defination, declaration, icon, constraints and all
> 
> > 
> > so im think since i cudnt find all these in rational rose 98 (the
> > only version of rose tha seeems to work A BIT here) 
> > 
> > ill do the same .... thatis make an appandex for these
> stereotypes
> > and declare em all there since im sure ill never find a tool
> which
> > HAS all these 
> > 
> > 
> > 
> > sighin deep n desprete ....
> > toby
> > 
> > my class is graduatiog on march 1st n the last date to register
> for
> > graduation is feb 8th i foundout today ......
> > i dont think ill b graduationg with em .....
> > does this happen to people or is it just me ? :( ?
> >  --- Maxim Maletsky <[EMAIL PROTECTED]> wrote: > please, explain
> > yourself better. Use what? Add what? ..to what?
> > > 
> > > --
> > > Maxim Maletsky
> > > [EMAIL PROTECTED]
> > > 
> > > 
> > > 
> > > toby z <[EMAIL PROTECTED]> wrote... :
> > > 
> > > > thnx guyz .... a billion ....
> > > > 
> > > > but do tell me anothrthingg .... while we are at it ....
> > > > cant i uze sumthing of my own n then later in the appendex
> > > declare a
> > > > stereotype deffination ..... with all its declaration,
> defination
> > > and
> > > > constraints and all ?????
> > > > mmmm this is a doccumentation for my masters degree final
> project
> > > > ...... n i really cant afford to screw this one up .... u no
> ....
> > > > 
> > > > thnx again .....
> > > > gratefull .....
> > > > toby ....
> > > > 
> > > >  --- Maxim Maletsky <[EMAIL PROTECTED]> wrote: > Yeah, but
> remember
> > > also
> > > > to read the copyrights. Design property is
> > > > > not
> > > > > GPL, but can be often used with the permission. Read the
> > > license on
> > > > > php.net.
> > > > > 
> > > > > 
> > > > > --
> > > > > Maxim Maletsky
> > > > > [EMAIL PROTECTED]
> > > > > 
> > > > > 
> > > > > 
> > > > > Luis Ferro <[EMAIL PROTECTED]> wrote... :
> > > > > 
> > > > > > In the site www.php.net there is a faveicon in the site
> that
> > > can
> > > > > be used 
> > > > > > as such:
> > > > > > 
> > > > > >     http://www.php.net/favicon.ico
> > > > > > 
> > > > > > 
> > > > > > Cheers,
> > > > > > 
> > > > > > Luis Ferro
> > > > > > 
> > > > > > Teladigital.net
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > toby z wrote:
> > > > > > 
> > > > > > >hi guys
> > > > > > >
> > > > > > >im at designing my project i couldnt find any free tools
> so
> > > im
> > > > > making
> > > > > > >my own stencil in ms visio
> > > > > > >i have got a list of uml articrafts from this book with
> > > icons
> > > > > for asp
> > > > > > >and java pages and scripts, but what i dont see there is
> an
> > > icon
> > > > > for
> > > > > > >a php page
> > > > > > >
> > > > > > >can and will anyone pleez tell me what a php page icon
> would
> > > or
> > > > > shud
> > > > > > >look like
> > > > > > >
> > > > > > >
> > > > > > >thnx a mill
> > > > > > >
> > > > > > >toby .....
> > > > > > >
> > > > > > >
> > > > > > >__________________________________________________
> > > > > > >Do You Yahoo!?
> > > > > > >Everything you'll ever need on one web page
> > > > > > >from News and Sport to Email and Music Charts
> > > > > > >http://uk.my.yahoo.com
> > > > > > >
> > > > > > >  
> > > > > > >
> > > > > > 
> > > > > > 
> > > > > > ---
> > > > > > [This E-mail scanned for viruses by Declude Virus]
> > > > > > 
> > > > > > 
> > > > > > -- 
> > > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > > > 
> > > > > 
> > > > > 
> > > > > -- 
> > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > >  
> > > > 
> > > > __________________________________________________
> > > > Do You Yahoo!?
> > > > Everything you'll ever need on one web page
> > > > from News and Sport to Email and Music Charts
> > > > http://uk.my.yahoo.com
> > >  
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Everything you'll ever need on one web page
> > from News and Sport to Email and Music Charts
> > http://uk.my.yahoo.com
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--- End Message ---
--- Begin Message ---
plzzz any help is appreciated =(
"Shaggy" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi there =D;
>
> i got the following problem:
>
> When i want to use variables in URLs
> for example:
> http://192.168.0.1/Treff/index2.php?site=events
>
> i got this error:
> Warning: main(.php) [function.main]: failed to create stream: No such file
> or directory in c:\stuff\homepage\treff\index2.php on line 34
>
> Warning: main() [function.main]: Failed opening '.php' for inclusion
>
(include_path='.;c:/stuff/homepage/treff;c:/stuff/homepage/magus;c:/stuff/ho
> mepage/bgallery') in c:\stuff\homepage\treff\index2.php on line
>
> i discovered that the $site variable is empty
> next is my php.ini
>
> it seems, that there are workarounds
> with some kind of magicvariables but i don´t want to change my code
> so plzzzzzzz do u have any suggestions?
>
> thx so far
> Shaggy
>
>
>


--- End Message ---
--- Begin Message ---
hay shaggy
2 solutions 
1. risk .... turn ur registerglobals on in ur php.ini since its off
by default

2. on the page where ur catching ur variable
vatdh it as
if ($_GET['site'])
$site="events";

shaggy if u dont change ur code now and keepgoin with register
globals off u ll end up in a mess ..... i know this cuz it actually
happened to me 7 months ba ok
for security puroses ull ve 2 turn register globals off eventually
..... 
so do the right thig now pal

good luck

toby ...
 --- Shaggy <[EMAIL PROTECTED]> wrote: > plzzz any help is appreciated
=(
> "Shaggy" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hi there =D;
> >
> > i got the following problem:
> >
> > When i want to use variables in URLs
> > for example:
> > http://192.168.0.1/Treff/index2.php?site=events
> >
> > i got this error:
> > Warning: main(.php) [function.main]: failed to create stream: No
> such file
> > or directory in c:\stuff\homepage\treff\index2.php on line 34
> >
> > Warning: main() [function.main]: Failed opening '.php' for
> inclusion
> >
>
(include_path='.;c:/stuff/homepage/treff;c:/stuff/homepage/magus;c:/stuff/ho
> > mepage/bgallery') in c:\stuff\homepage\treff\index2.php on line
> >
> > i discovered that the $site variable is empty
> > next is my php.ini
> >
> > it seems, that there are workarounds
> > with some kind of magicvariables but i don´t want to change my
> code
> > so plzzzzzzz do u have any suggestions?
> >
> > thx so far
> > Shaggy
> >
> >
> >
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--- End Message ---
--- Begin Message ---
thnx max 
i really appriciate this


thnx a zallion :)

toby

 --- Maxim Maletsky <[EMAIL PROTECTED]> wrote: > 
> OK, Toby, I think I got it - you need to display the PHP logo
> within your
> project for differeciating PHP amoung the other languages in a list
> of
> code/scripts/resources. Correct me if I am wrong.
> 
> Well, PHP license is GPL, however, the graphical elements from the
> website are copyrighted to the PHP Group.
> 
> This is described here: http://www.php.net/copyright.php
> 
> But, I think you should ask [EMAIL PROTECTED] describing how you
> want to
> use the PHP logo and see whether this can be allowed.
> 
> I am cc'ing this to the PHP webteam, they should give you the right
> answer shortly.
> 
> 
> --
> Maxim Maletsky
> [EMAIL PROTECTED]
> 
> 
> 
> toby z <[EMAIL PROTECTED]> wrote... :
> 
> > :$
> > :D
> > yup ..... u got it .....
> > 
> > 
> > 
> > i tried my best u cudnt but u clever u .... u actually got it
> > 
> > paron me im losin it here .....  :'(
> > im doooooooooomed .........
> > :'(
> > 
> > sucidal dreeemz ....
> > toby ......
> > 
> > --- Maxim Maletsky <[EMAIL PROTECTED]> wrote: > 
> > > So, in short, is your question stays in whetehr or not you
> could
> > > use the
> > > PHP logo for the "thin client we application" or whatever your
> > > project
> > > is?
> > > 
> > > I am not sure why, but I stil doubt I understood you right ...
> :)
> > > 
> > > --
> > > Maxim Maletsky
> > > [EMAIL PROTECTED]
> > > 
> > > 
> > > 
> > > toby z <[EMAIL PROTECTED]> wrote... :
> > > 
> > > > 
> > > > 
> > > > well max ill try to explain what i can :$ 
> > > > 
> > > > as i rote in my first mail im making an scentcil of my own in
> ms
> > > > visio for uml design for a thin client web application (i
> add)
> > > > 
> > > > i have this book by booch and 2 more people ... designing web
> > > > applications with uml and it has these artifacts of  abondy
> > > objects,
> > > > entity objects and control objects 
> > > > then it has these for a web page, asp page, form, frameset,
> > > target
> > > > page, jsp page, scripts' and script liberaries page and all
> > > ......
> > > > and in the books appandex the guys have described all these
> as
> > > > stereotypes u know ....
> > > > with all thier defination, declaration, icon, constraints and
> all
> > > 
> > > > 
> > > > so im think since i cudnt find all these in rational rose 98
> (the
> > > > only version of rose tha seeems to work A BIT here) 
> > > > 
> > > > ill do the same .... thatis make an appandex for these
> > > stereotypes
> > > > and declare em all there since im sure ill never find a tool
> > > which
> > > > HAS all these 
> > > > 
> > > > 
> > > > 
> > > > sighin deep n desprete ....
> > > > toby
> > > > 
> > > > my class is graduatiog on march 1st n the last date to
> register
> > > for
> > > > graduation is feb 8th i foundout today ......
> > > > i dont think ill b graduationg with em .....
> > > > does this happen to people or is it just me ? :( ?
> > > >  --- Maxim Maletsky <[EMAIL PROTECTED]> wrote: > please, explain
> > > > yourself better. Use what? Add what? ..to what?
> > > > > 
> > > > > --
> > > > > Maxim Maletsky
> > > > > [EMAIL PROTECTED]
> > > > > 
> > > > > 
> > > > > 
> > > > > toby z <[EMAIL PROTECTED]> wrote... :
> > > > > 
> > > > > > thnx guyz .... a billion ....
> > > > > > 
> > > > > > but do tell me anothrthingg .... while we are at it ....
> > > > > > cant i uze sumthing of my own n then later in the
> appendex
> > > > > declare a
> > > > > > stereotype deffination ..... with all its declaration,
> > > defination
> > > > > and
> > > > > > constraints and all ?????
> > > > > > mmmm this is a doccumentation for my masters degree final
> > > project
> > > > > > ...... n i really cant afford to screw this one up .... u
> no
> > > ....
> > > > > > 
> > > > > > thnx again .....
> > > > > > gratefull .....
> > > > > > toby ....
> > > > > > 
> > > > > >  --- Maxim Maletsky <[EMAIL PROTECTED]> wrote: > Yeah, but
> > > remember
> > > > > also
> > > > > > to read the copyrights. Design property is
> > > > > > > not
> > > > > > > GPL, but can be often used with the permission. Read
> the
> > > > > license on
> > > > > > > php.net.
> > > > > > > 
> > > > > > > 
> > > > > > > --
> > > > > > > Maxim Maletsky
> > > > > > > [EMAIL PROTECTED]
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > Luis Ferro <[EMAIL PROTECTED]> wrote... :
> > > > > > > 
> > > > > > > > In the site www.php.net there is a faveicon in the
> site
> > > that
> > > > > can
> > > > > > > be used 
> > > > > > > > as such:
> > > > > > > > 
> > > > > > > >         http://www.php.net/favicon.ico
> > > > > > > > 
> > > > > > > > 
> > > > > > > > Cheers,
> > > > > > > > 
> > > > > > > > Luis Ferro
> > > > > > > > 
> > > > > > > > Teladigital.net
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > toby z wrote:
> > > > > > > > 
> > > > > > > > >hi guys
> > > > > > > > >
> > > > > > > > >im at designing my project i couldnt find any free
> tools
> > > so
> > > > > im
> > > > > > > making
> > > > > > > > >my own stencil in ms visio
> > > > > > > > >i have got a list of uml articrafts from this book
> with
> > > > > icons
> > > > > > > for asp
> > > > > > > > >and java pages and scripts, but what i dont see
> there is
> > > an
> > > > > icon
> > > > > > > for
> > > > > > > > >a php page
> > > > > > > > >
> > > > > > > > >can and will anyone pleez tell me what a php page
> icon
> > > would
> > > > > or
> > > > > > > shud
> > > > > > > > >look like
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >thnx a mill
> > > > > > > > >
> > > > > > > > >toby .....
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >__________________________________________________
> > > > > > > > >Do You Yahoo!?
> > > > > > > > >Everything you'll ever need on one web page
> > > > > > > > >from News and Sport to Email and Music Charts
> > > > > > > > >http://uk.my.yahoo.com
> > > > > > > > >
> > > > > > > > >  
> > > > > > > > >
> > > > > > > > 
> > > > > > > > 
> > > > > > > > ---
> > > > > > > > [This E-mail scanned for viruses by Declude Virus]
> > > > > > > > 
> > > > > > > > 
> > > > > > > > -- 
> > > > > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > -- 
> > > > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > > > >  
> > > > > > 
> > > > > > __________________________________________________
> > > > > > Do You Yahoo!?
> > > > > > Everything you'll ever need on one web page
> > > > > > from News and Sport to Email and Music Charts
> > > > > > http://uk.my.yahoo.com
> > > > >  
> > > > 
> > > > __________________________________________________
> > > > Do You Yahoo!?
> > > > Everything you'll ever need on one web page
> > > > from News and Sport to Email and Music Charts
> > > > http://uk.my.yahoo.com
> > >  
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Everything you'll ever need on one web page
> > from News and Sport to Email and Music Charts
> > http://uk.my.yahoo.com
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--- End Message ---
--- Begin Message ---
Well Iam at work right now and wont have time to play with this stuff till
about Weds..

I thank you both for your for all your help..... to clear things up a little

with the Win3kServer issue ...yes I am running IIS 6 which will ship with
Server 2003. I didn't expect the "avg" person to be able to answer this
question as they really don't know how much IIS6 differs from IIS5 (you'll
find out soon..and I hate it already) but I had happened to see a post about
someone getting it to run in Win3k Server and that's why I had asked...I
followed up on his post and his instructions but to no avail....if I
understood him correctly and followed his directions it did nothing more
then gave me a "security error" and yes im accessing it through HTTP and not
the local file system

again I thank you for all your time.... !!!

-- 

~pingywon MCSE
_____________________________________

MCP, MCSA, MCSE Certification Forums.

The Information Exchange.

http://pingywon.mine.nu

http://www.pingywon.ibforums.com


"Pingywon McSe" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello all first and foremost let me just thank anyone who responds to this
> post..this group appears rather helpful (Im new here) Im also new to php
> (Big surprise ? )
>
> anyway heres the scoop:
>
> Im beginning work on a "testing engine" type thing...heh
>
> pretty much the form will open up ask you a question with 3 to 5 radio
> buttons, you'll choose your answer then hit the submit..and it will return
> your answer weither it was correct or not and why ...... here is where the
> questions begin.....I'll just list em out
>
> 1) Cant get the PHP visible on the net (under win Server 2003) added a
> service extension "php" and pointed it to my c:\php\php.exe all I get it a
> security error. any ideas there ?
> 2) When making the radio buttons and testing them it doesn't stop me from
> picking more then one button (in other words it will let me pick all 5 and
> have them all selected at the same time ) how do I stop this ?
> 3) Im assuming I will need to have an "answer" type php file so that the
> page can return the results......will I have to have a different file for
> EACH QUESTION!??!? as each question will be different ..
>
> ......This is beginning to look alot harder then I first imagined it would
> 4) if im not tracking any of the user info....do I need a SQL db ???
>
> ANY HELP IS MUCH APPRECIATED !!!!!
>
> -- 
>
> ~pingywon MCSE
> _____________________________________
>
> MCP, MCSA, MCSE Certification Forums.
>
> The Information Exchange.
>
> http://pingywon.mine.nu
>
> http://www.pingywon.ibforums.com
>
>


--- End Message ---
--- Begin Message ---
Here's a step-by-step howto on configuring IIS6.0 to work with CGI PHP


http://www.rtfmnewbie.com/php-iis6.txt

I'll post an article on how to configure ISAPI within a couple of days.


Regards,
Nick H.
[EMAIL PROTECTED]


----- Original Message -----
From: "pingywon MCSE" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 3:34 PM
Subject: [PHP-WIN] Re: PHP .Net and a boat load of questions !!!


: Well Iam at work right now and wont have time to play with this stuff till
: about Weds..
:
: I thank you both for your for all your help..... to clear things up a
little
:
: with the Win3kServer issue ...yes I am running IIS 6 which will ship with
: Server 2003. I didn't expect the "avg" person to be able to answer this
: question as they really don't know how much IIS6 differs from IIS5 (you'll
: find out soon..and I hate it already) but I had happened to see a post
about
: someone getting it to run in Win3k Server and that's why I had asked...I
: followed up on his post and his instructions but to no avail....if I
: understood him correctly and followed his directions it did nothing more
: then gave me a "security error" and yes im accessing it through HTTP and
not
: the local file system
:
: again I thank you for all your time.... !!!
:
: --
:
: ~pingywon MCSE
: _____________________________________
:
: MCP, MCSA, MCSE Certification Forums.
:
: The Information Exchange.
:
: http://pingywon.mine.nu
:
: http://www.pingywon.ibforums.com
:
:
: "Pingywon McSe" <[EMAIL PROTECTED]> wrote in message
: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
: > Hello all first and foremost let me just thank anyone who responds to
this
: > post..this group appears rather helpful (Im new here) Im also new to php
: > (Big surprise ? )
: >
: > anyway heres the scoop:
: >
: > Im beginning work on a "testing engine" type thing...heh
: >
: > pretty much the form will open up ask you a question with 3 to 5 radio
: > buttons, you'll choose your answer then hit the submit..and it will
return
: > your answer weither it was correct or not and why ...... here is where
the
: > questions begin.....I'll just list em out
: >
: > 1) Cant get the PHP visible on the net (under win Server 2003) added a
: > service extension "php" and pointed it to my c:\php\php.exe all I get it
a
: > security error. any ideas there ?
: > 2) When making the radio buttons and testing them it doesn't stop me
from
: > picking more then one button (in other words it will let me pick all 5
and
: > have them all selected at the same time ) how do I stop this ?
: > 3) Im assuming I will need to have an "answer" type php file so that the
: > page can return the results......will I have to have a different file
for
: > EACH QUESTION!??!? as each question will be different ..
: >
: > ......This is beginning to look alot harder then I first imagined it
would
: > 4) if im not tracking any of the user info....do I need a SQL db ???
: >
: > ANY HELP IS MUCH APPRECIATED !!!!!
: >
: > --
: >
: > ~pingywon MCSE
: > _____________________________________
: >
: > MCP, MCSA, MCSE Certification Forums.
: >
: > The Information Exchange.
: >
: > http://pingywon.mine.nu
: >
: > http://www.pingywon.ibforums.com
: >
: >
:
:
:
: --
: PHP Windows Mailing List (http://www.php.net/)
: To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
"Norbert GrüTtner" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...


I doubt that differences in file permission are the reason for the problem,
because I managed to the script running just by changing the way it was
called.

the scenario is as follows
    localhost_root
        PHP_TEST
           here is the index.htm for my test application
              <a href="../scripts/php_test.htm">Test1</a>
        SCRIPTS
              php_test.htm (<meta HTTP-EQUIV="REFRESH" CONTENT="0;
URL=/php_test.php">)
              php_test.php

This type of setup was choosen to circumvent the "No input file specified
problem".

Either changing
    the index href to php_test.php
or
    the url in php_test.htm to URL=php_test.php (removing backslash)
does solve the problem.

Any more ideas?
  Norbert Gruettner


--- End Message ---
--- Begin Message ---
RE: [PHP-INST] php not executed, mime type problem?Thats okay. I'm glad that it helped 
you out. I know how annoying it is getting these things working!

Stephen

  ----- Original Message ----- 
  From: Boutelle, Jonathan 
  To: 'Stephen Edmonds' ; Zavier Sheran ; Boutelle, Jonathan 
  Sent: Monday, February 03, 2003 8:44 PM
  Subject: RE: [PHP-INST] php not executed, mime type problem?


  Stephen, 
  I followed you instructions up to "If that doesn't solve your problem". That worked 
for me. Thanks! 

  Jonathan Boutelle 
  Software Engineer 
  XML Platform 
  Commerce One 
  925 - 520 - 4406 



  -----Original Message----- 
  From: Stephen Edmonds [mailto:[EMAIL PROTECTED]] 
  Sent: Monday, February 03, 2003 11:26 AM 
  To: Zavier Sheran; Boutelle, Jonathan 
  Cc: PHP Installation Helplist 
  Subject: Re: [PHP-INST] php not executed, mime type problem? 



  Chances are you've not put the commands in the correct place, instead just 
  copy and pasted them into the config 
  file. 

  LoadModule php4_module C:\PHP\sapi\php4apache.dll 
  This has to be in the same place as all the other LoadModule commands. If 
  you look through your httpd.conf file for Apache, you will see a whole load 
  of LoadModules with #'s in front of them. You need to place the above line 
  at the end of that list. 

  If you then scroll down a bit the next section should be 'AddModule'. In 
  this section, you have to put the line 
  AddModule mod_php4.c 
  at the bottom of the list. Both commands are needed to properly load PHP. 

  Once that is done, you will need to run a search for 
  '# AddType allows you to tweak mime.types without actually editing it, or 
  to' 
  Below that line should be a series of AddType commands. Again, you need to 
  put 
  AddType application/x-httpd-php .php 
  at the end of the list. 

  AddType application/x-httpd-php-source .phps 
  is an optional feature, I personnally do not use it as I do not want people 
  to be able to view my source code. However it is up to you. If you do 
  include it, put it in the same section as the other file. 

  If that doesn't solve your problem, or you've done all that already, then 
  remember you need to restart Apache for it to take effect. Also check that 
  php is installed in the path you've set in httpd.conf (In this case 
  C:\PHP\). Also check that C:\PHP\sapi\php4apache.dll is present in the 
  correct folder, and that the following two files are in the SAME directory 
  as php4apache.dll : 

  php4ts.dll 
  php4ts.lib 

  Good Luck you two, let me know how it goes 

  Stephen 



  ----- Original Message ----- 
  From: "Zavier Sheran" <[EMAIL PROTECTED]> 
  To: <[EMAIL PROTECTED]> 
  Sent: Monday, February 03, 2003 5:14 PM 
  Subject: [PHP-INST] php not executed, mime type problem? 



  > I installed PHP 4.3.0 and Apache 1.3.27 on XP Pro. 
  > 
  > When I try to access a .php file with the browser, it offers it for 
  > download. 
  > 
  > Yep, I have this in my httpd.conf: 
  > 
  > LoadModule php4_module C:\PHP\sapi\php4apache.dll 
  > AddType application/x-httpd-php .php 
  > AddType application/x-httpd-php-source .phps 
  > 
  > 
  > I browsed the archives and this issue seems common and  goes back for 
  years 
  > on Linux/Windows and a variety of php 4.x and apache 1.3.x and 2.x 
  versions. 
  > Nobody, in this time period of years, came up with a solution that solved 
  > the problem of the poster. 
  > 
  > I spent the last hours trying to get it work to no avail. I had it working 
  2 
  > years ago on a Win 2K machine. Now this... 
  > 
  > Does anybody actually know what wrong (Rasmus??)? It's all setup according 
  > to manual and double and quadruple checked. 
  > 
  > All's fine when I execute on the command prompt. I can access al .html and 
  > .jpg .gif files via browser. 
  > 
  > 
  > 
  > -- 
  > PHP Install Mailing List (http://www.php.net/) 
  > To unsubscribe, visit: http://www.php.net/unsub.php 
  > 
  > 
--- End Message ---
--- Begin Message ---
When I'm writing some text to a file I want to add a carriage return to the
file. I've tried \n and \n\r and all that does is echo the \n\ and \n\r into
the file.
Any ideas?


--- End Message ---
--- Begin Message ---
I found out that '\n' does work but "\n" does. Very Strange!

"Brett Greiner" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> When I'm writing some text to a file I want to add a carriage return to
the
> file. I've tried \n and \n\r and all that does is echo the \n\ and \n\r
into
> the file.
> Any ideas?
>
>


--- End Message ---

Reply via email to