php-windows Digest 30 Jul 2001 21:40:36 -0000 Issue 676
Topics (messages 8560 through 8581):
COM and Messenger
8560 by: Jonathan Marriott
WINNT - PHP @#%^ UP!!
8561 by: Leon
Re: Having PHP inside of ASP using the #include VIRUTAL= directive??
8562 by: elias
8563 by: Randy Wilcox
8565 by: elias
8571 by: John Lim
8578 by: Enrique Eneas Aguilar Espinosa
Re: WINNT - PHP @#%^ UP!! (Mail & attachments)
8564 by: Mike Kelley
8566 by: Leon
8567 by: Phil Driscoll
8568 by: Leon
8569 by: Brian Unger
8570 by: Phil Driscoll
8572 by: Leon
8573 by: Jason Brooke
8574 by: Paul Smith
8576 by: Phil Driscoll
8577 by: Leon
include()ing the remote file
8575 by: Vasu Gokaraju
PHP works on the server only
8579 by: Adam Oliver
8580 by: Mike Kelley
extracting value from array
8581 by: afan.sprout.net
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]
----------------------------------------------------------------------
Has anyone tried using COM with MSN Messenger.
I want to retreive the contacts list and add a contact.
Jon
Hi all
For all of you wandering why the mail() is not working on your system....
Check if PHP is parsing your php.ini file ie: does it know what your smtp address is?
For more info on how to fix this problem.
visit www.onsite.its.uct.ac.za and use the feedback form to give me feedback and
please vote:)
I will in turn reply to this with a message of how to fix this problem step-by-step
WITHOUT INSTALLING ANY MAILSERVER SOFTWARE!!!!
Cheers
Leon
Joel wrote:
> Hi Hagen,
>
> Get Argosoft Mail Server (Freeware) from http://www.argosoft.com/
> The Free version is an SMTP server.
> The open the php.ini file and change the location of the SMTP mail server
> to 'localhost'. Once you do that, you can use the mail() function. make
> sure argo soft mail server is running while you're executing your PHP script.
>
> You could postcast server from http://www.postcastserver.com/
> if you don't like ArgoSoft's mail server.
>
> Good luck,
> --
> Joel Agnel
> [EMAIL PROTECTED]
>
> "Hagen M�Bius" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hi all!
> >
> > I was really wondering wether there is any way to make the mail(..) function
> > working with a W2K-IIS System. Can anybody help me please??
> >
> > thanks in advance ... Hagen
> >
> >
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
I don't think you can get the file processed twice by the server.
It's either PHP or ASP.
"Kevin Costain" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> I was wondering if anyone had done this before, i would like to add a
> counter to a page that is asp and use the asp directive #include VIRUTAL=
> to include say, count.php and treat this as php script. Has anyone tried
> this? Is there a way to run PHP from within ASP itself ?
>
> Thanks,
> Kevin Costain
>
>
>
> ===============================
> KCTS: http://www.kevincostain.com
> 416-463-6655
> ===============================
>
>
I'm not sure about calling a PHP page from an ASP page, but I have called a PERL-based
cgi from a php using the php include function. The only thing I had to do was include
the file using a full url instead of just the relative filename.
Example:
<? include("http://myserver.com/cgi-bin/includeme.cgi") ?> //CORRECT
<? include("cgi-bin/includeme.cgi") ?> //WRONG
In the wrong version, the contents of the CGI would be included rather than the output.
More info:
http://www.php.net/manual/en/function.include.php
http://www.php.net/manual/en/features.remote-files.php
-----Original Message-----
From: Kevin Costain [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 29, 2001 12:16 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Having PHP inside of ASP using the #include VIRUTAL=
directive??
Hello,
I was wondering if anyone had done this before, i would like to add a
counter to a page that is asp and use the asp directive #include VIRUTAL=
to include say, count.php and treat this as php script. Has anyone tried
this? Is there a way to run PHP from within ASP itself ?
Thanks,
Kevin Costain
===============================
KCTS: http://www.kevincostain.com
416-463-6655
===============================
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
> I'm not sure about calling a PHP page from an ASP page, but I have called
a PERL-based cgi from a php using the php include function. The only thing I
had to do was include the file using a full url instead of just the relative
filename.
>
> Example:
>
> <? include("http://myserver.com/cgi-bin/includeme.cgi") ?> //CORRECT
Yes, true....
This works fine wish ASP as well. But you don't really have the same result
as:
include ("file.cgi");
i mean with this include you would have something like:
You coded:
<?
$a = 1;
$b = 2;
include(http://server.com/file.cgi)
$c = 3;
?>
PHP translated it to:
<?
$a = 1;
$b = 2;
?>
echo the result returned by http://server.com/file.cgi (which is usualy an
HTML output)
<?
$c = 3;
?>
but you can also use the $fp = fopen(http://server.com/file.cgi); $content =
fread($fp, 10000000); fclose($fp);
now you can manipulate $content as you want.
//elias
"Randy Wilcox" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm not sure about calling a PHP page from an ASP page, but I have called
a PERL-based cgi from a php using the php include function. The only thing I
had to do was include the file using a full url instead of just the relative
filename.
>
> Example:
>
> <? include("http://myserver.com/cgi-bin/includeme.cgi") ?> //CORRECT
>
> <? include("cgi-bin/includeme.cgi") ?> //WRONG
>
> In the wrong version, the contents of the CGI would be included rather
than the output.
>
> More info:
> http://www.php.net/manual/en/function.include.php
> http://www.php.net/manual/en/features.remote-files.php
>
>
>
>
> -----Original Message-----
> From: Kevin Costain [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 29, 2001 12:16 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Having PHP inside of ASP using the #include VIRUTAL=
> directive??
>
>
> Hello,
>
> I was wondering if anyone had done this before, i would like to add a
> counter to a page that is asp and use the asp directive #include VIRUTAL=
> to include say, count.php and treat this as php script. Has anyone tried
> this? Is there a way to run PHP from within ASP itself ?
>
> Thanks,
> Kevin Costain
>
>
>
> ===============================
> KCTS: http://www.kevincostain.com
> 416-463-6655
> ===============================
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi
Porting a counter program from PHP to ASP should be quite easy so why don't
you do so?
Regards, John
"Elias" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I don't think you can get the file processed twice by the server.
> It's either PHP or ASP.
>
> "Kevin Costain" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hello,
> >
> > I was wondering if anyone had done this before, i would like to add a
> > counter to a page that is asp and use the asp directive #include
VIRUTAL=
> > to include say, count.php and treat this as php script. Has anyone tried
> > this? Is there a way to run PHP from within ASP itself ?
> >
> > Thanks,
> > Kevin Costain
> >
> >
> >
> > ===============================
> > KCTS: http://www.kevincostain.com
> > 416-463-6655
> > ===============================
> >
> >
>
>
I just tryed and it doesn't work. This is because the ASP compiler
can't call an external compiler.
When you try it the result is going to be the insertion of the PHP code
as it is.
So you can call your PHP using the IFRAME tag or the FRAME tag.
Example: <IFRAME src="myCounter.php">
Hope this will help you.
Enrique
-----Mensaje original-----
De: Kevin Costain [mailto:[EMAIL PROTECTED]]
Enviado el: S�bado, 28 de Julio de 2001 11:16 p.m.
Para: [EMAIL PROTECTED]
Asunto: [PHP-WIN] Having PHP inside of ASP using the #include VIRUTAL=
directive??
Hello,
I was wondering if anyone had done this before, i would like to add a
counter to a page that is asp and use the asp directive #include
VIRUTAL=
to include say, count.php and treat this as php script. Has anyone tried
this? Is there a way to run PHP from within ASP itself ?
Thanks,
Kevin Costain
===============================
KCTS: http://www.kevincostain.com
416-463-6655
===============================
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] To
contact the list administrators, e-mail: [EMAIL PROTECTED]
I went to your site ... nifty site (took forever toload even on DSL),
but where'd you hide your stuff on the mail function?
My mailing function works what I want/need to know is why doesn't work with
attachments greater than 2 KB?
I know I'm not the only one experiencing this and I've RTFM and searched
everywhere I can .... nothing (the type of attachment doesn't matter just
the size)
----- Original Message -----
From: "Leon" <[EMAIL PROTECTED]>
To: "Joel" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, July 30, 2001 4:56 AM
Subject: [PHP-WIN] WINNT - PHP @#%^ UP!!
> Hi all
>
> For all of you wandering why the mail() is not working on your system....
> Check if PHP is parsing your php.ini file ie: does it know what your smtp
address is?
>
> For more info on how to fix this problem.
> visit www.onsite.its.uct.ac.za and use the feedback form to give me
feedback and please vote:)
> I will in turn reply to this with a message of how to fix this problem
step-by-step
> WITHOUT INSTALLING ANY MAILSERVER SOFTWARE!!!!
>
> Cheers
> Leon
>
> Joel wrote:
>
> > Hi Hagen,
> >
> > Get Argosoft Mail Server (Freeware) from http://www.argosoft.com/
> > The Free version is an SMTP server.
> > The open the php.ini file and change the location of the SMTP mail
server
> > to 'localhost'. Once you do that, you can use the mail() function. make
> > sure argo soft mail server is running while you're executing your PHP
script.
> >
> > You could postcast server from http://www.postcastserver.com/
> > if you don't like ArgoSoft's mail server.
> >
> > Good luck,
> > --
> > Joel Agnel
> > [EMAIL PROTECTED]
> >
> > "Hagen M�Bius" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > Hi all!
> > >
> > > I was really wondering wether there is any way to make the mail(..)
function
> > > working with a W2K-IIS System. Can anybody help me please??
> > >
> > > thanks in advance ... Hagen
> > >
> > >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
Here it is:
When installing PHP, the installer places the php.ini file in the profile of
whoever is running the installer.... for the syteme to parse the ini file: move
the ini to the default user profile in a directory called windows similar to:
C:\Documents and Settings\Default User\windows\php.ini
this should solve your problems with errors being logged to the screen when you
have asked php not to etc. and obviously also the mail() will work now.
The 2kb problem also gets fixed by this as long as you change the value under
max upload size.
Cheers
Leon aka Loki aka G-O-D aka Apollo
Mike Kelley wrote:
> I went to your site ... nifty site (took forever toload even on DSL),
> but where'd you hide your stuff on the mail function?
>
> My mailing function works what I want/need to know is why doesn't work with
> attachments greater than 2 KB?
>
> I know I'm not the only one experiencing this and I've RTFM and searched
> everywhere I can .... nothing (the type of attachment doesn't matter just
> the size)
>
> ----- Original Message -----
> From: "Leon" <[EMAIL PROTECTED]>
> To: "Joel" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Monday, July 30, 2001 4:56 AM
> Subject: [PHP-WIN] WINNT - PHP @#%^ UP!!
>
> > Hi all
> >
> > For all of you wandering why the mail() is not working on your system....
> > Check if PHP is parsing your php.ini file ie: does it know what your smtp
> address is?
> >
> > For more info on how to fix this problem.
> > visit www.onsite.its.uct.ac.za and use the feedback form to give me
> feedback and please vote:)
> > I will in turn reply to this with a message of how to fix this problem
> step-by-step
> > WITHOUT INSTALLING ANY MAILSERVER SOFTWARE!!!!
> >
> > Cheers
> > Leon
> >
> > Joel wrote:
> >
> > > Hi Hagen,
> > >
> > > Get Argosoft Mail Server (Freeware) from http://www.argosoft.com/
> > > The Free version is an SMTP server.
> > > The open the php.ini file and change the location of the SMTP mail
> server
> > > to 'localhost'. Once you do that, you can use the mail() function. make
> > > sure argo soft mail server is running while you're executing your PHP
> script.
> > >
> > > You could postcast server from http://www.postcastserver.com/
> > > if you don't like ArgoSoft's mail server.
> > >
> > > Good luck,
> > > --
> > > Joel Agnel
> > > [EMAIL PROTECTED]
> > >
> > > "Hagen M�Bius" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > > Hi all!
> > > >
> > > > I was really wondering wether there is any way to make the mail(..)
> function
> > > > working with a W2K-IIS System. Can anybody help me please??
> > > >
> > > > thanks in advance ... Hagen
> > > >
> > > >
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
On Monday 30 July 2001 14:22, Leon wrote:
> Here it is:
>
> When installing PHP, the installer places the php.ini file in the profile
> of whoever is running the installer...
Whoa! Which installer does this? Certainly not the one on the www.php.net
site!
--
Phil Driscoll
Hi
Definately the installer from php.net!!!
It is a NT 2000 issue... not PHP installer but it is still a problem and this
is still the fix.
Cheers
Phil Driscoll wrote:
> On Monday 30 July 2001 14:22, Leon wrote:
> > Here it is:
> >
> > When installing PHP, the installer places the php.ini file in the profile
> > of whoever is running the installer...
>
> Whoa! Which installer does this? Certainly not the one on the www.php.net
> site!
> --
> Phil Driscoll
i'm new to php but fluent in asp. i'm running php 4.04 and gd library 1.3 for
gif support. i'm simply trying to create a thumbnail from an existing gif
file. the code i'm using errors on the final imagegif() property. has anyone
used php for thumbnailing gif's before? here's my php link followed by the
code.
thanks for your help - brian
http://templates.inetcity.com/admin/siteadmin_images3_gif.php
THE CODE:
<?php
function ResizeGif( $image, $newWidth, $newHeight){
//Open the gif file to resize
$image = "gallery/1/memories1.gif";
$srcImage = ImageCreateFromGif( $image );
//obtain the original image Height and Width
$srcWidth = ImageSX( $srcImage );
$srcHeight = ImageSY( $srcImage );
// the follwing portion of code checks to see if
// the width > height or if width < height
// if so it adjust accordingly to make sure the image
// stays smaller then the $newWidth and $newHeight
if( $srcWidth < $srcHeight ){
$destWidth = $newWidth * $srcWidth/$srcHeight;
$destHeight = $newHeight;
}else{
$destWidth = $newWidth;
$destHeight = $newHeight * $srcHeight/$srcWidth;
}
// creating the destination image with the new Width and
Height
$destImage = imagecreate( $destWidth, $destHeight);
//copy the srcImage to the destImage
ImageCopyResized( $destImage, $srcImage, 0, 0, 0, 0,
$destWidth, $destHeight,
$srcWidth, $srcHeight );
//create the gif
ImageGif( $destImage );
//fre the memory used for the images
ImageDestroy( $srcImage );
ImageDestroy( $destImage );
}
//save output to a buffer
ob_start();
//Resize image ( will be stored in the buffer )
ResizeGif( $image, "100", "100");
//copy output buffer to string
$resizedImage = ob_get_contents();
//clear output buffer that was saved
ob_end_clean();
//write $resizedImage to Database, file , echo to browser
whatever you need to do with it
echo $resizedImage;
?>
Phil Driscoll wrote:
> On Monday 30 July 2001 14:22, Leon wrote:
> > Here it is:
> >
> > When installing PHP, the installer places the php.ini file in the profile
> > of whoever is running the installer...
>
> Whoa! Which installer does this? Certainly not the one on the www.php.net
> site!
> --
> Phil Driscoll
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
On Monday 30 July 2001 14:44, Leon wrote:
> Hi
>
> Definately the installer from php.net!!!
> It is a NT 2000 issue... not PHP installer but it is still a problem and
> this is still the fix.
>
The installer asks the OS for the windows directory (which AFAIK should be
WINNT for NT and W2K) and sticks php.ini in there. Are you saying that W2K
lies about where the windows directory is?
--
Phil Driscoll
Hi again
NT sticks the ini file in the windows directory of the profile of the person
who is logged in:)
get it?
ie: not in the %systemroot% as it should!!!
Cheers
Phil Driscoll wrote:
> On Monday 30 July 2001 14:44, Leon wrote:
> > Hi
> >
> > Definately the installer from php.net!!!
> > It is a NT 2000 issue... not PHP installer but it is still a problem and
> > this is still the fix.
> >
> The installer asks the OS for the windows directory (which AFAIK should be
> WINNT for NT and W2K) and sticks php.ini in there. Are you saying that W2K
> lies about where the windows directory is?
>
> --
> Phil Driscoll
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> Hi again
>
> NT sticks the ini file in the windows directory of the profile of the
person
> who is logged in:)
>
> get it?
>
> ie: not in the %systemroot% as it should!!!
I don't agree with this comment, because I don't think non-administrator
users have any business putting files into %systemroot% - not only that,
they quite possibly can't by default.
jason
I just installed 4.0.6 last week on my NT machine using the
administrator account and it put it where it was supposed to be.... in
/WINNT. Perhaps your machine is configured improperly?
Leon wrote:
>
> Hi again
>
> NT sticks the ini file in the windows directory of the profile of the person
> who is logged in:)
>
> get it?
>
> ie: not in the %systemroot% as it should!!!
>
> Cheers
>
> Phil Driscoll wrote:
>
> > On Monday 30 July 2001 14:44, Leon wrote:
> > > Hi
> > >
> > > Definately the installer from php.net!!!
> > > It is a NT 2000 issue... not PHP installer but it is still a problem and
> > > this is still the fix.
> > >
> > The installer asks the OS for the windows directory (which AFAIK should be
> > WINNT for NT and W2K) and sticks php.ini in there. Are you saying that W2K
> > lies about where the windows directory is?
> >
> > --
> > Phil Driscoll
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Paul Smith
[EMAIL PROTECTED]
http://www.dostuff.net
On Monday 30 July 2001 15:43, Jason Brooke wrote:
> > Hi again
> >
> > NT sticks the ini file in the windows directory of the profile of the
>
> person
>
> > who is logged in:)
> >
> > get it?
> >
> > ie: not in the %systemroot% as it should!!!
>
> I don't agree with this comment, because I don't think non-administrator
> users have any business putting files into %systemroot% - not only that,
> they quite possibly can't by default.
Agreed. Also, if your system is configrued with different windows directories
for different users, how on earth can I guess which windows directory the web
server uses without a tortuous dialog box enumerating all users on the
machine and then asking for the user to pick the one his web server will use
(which will confuse the hel out of most people!).
If you are installing system level software, then you should be logged in
with appropriate privileges and a sensible machine configuration.
Cheers
--
Phil Driscoll
DAMNIT!!!!
Here is the deal:
It installs to 'currentloggedinuser' \ windows OK
Jason Brooke wrote:
> > Hi again
> >
> > NT sticks the ini file in the windows directory of the profile of the
> person
> > who is logged in:)
> >
> > get it?
> >
> > ie: not in the %systemroot% as it should!!!
>
> I don't agree with this comment, because I don't think non-administrator
> users have any business putting files into %systemroot% - not only that,
> they quite possibly can't by default.
>
> jason
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi,
I have PHP 4.0.5 installed on Windows 2000 server. I used include() function and
relative paths to include files located under the same web site. When I tried to
include() files located on different web site on the same machine with explicit paths,
I get the following warning:
Warning: Failed opening 'http://myserver/admin/Includes/Test.php' for inclusion
(include_path='') in D:\MyFolder\Admin\MasterGroup\MasterGroupIndex.php on line 18
The Test.php file has one echo function in it.
I noticed that allow_url_fopen entry is missing from my php.ini file but I did not see
any difference even after I added it (allow_url_fopen = On).
Thanks for your time and any suggestions to solve this problem will be appreciated.
Vasu
I install PHP on my Win2K server with SP2. When I browse to the page with
phpinfo() to test the installation it works fine. I use the IP address
since you have to got through the server so the PHP is parsed so it should
be connecting as a normal internet user. However, when looking at the page
from a remote machine it just hangs. Any ideas why this is so?
Adam
What web server service is the server using? Apache? IIS?
Adam Oliver wrote:
> I install PHP on my Win2K server with SP2. When I browse to the page with
> phpinfo() to test the installation it works fine. I use the IP address
> since you have to got through the server so the PHP is parsed so it should
> be connecting as a normal internet user. However, when looking at the page
> from a remote machine it just hangs. Any ideas why this is so?
>
> Adam
--
Michael Kelley
[EMAIL PROTECTED]
Programmer/Systems Analyst I
New Mexico State University
Information and Communication Technologies
Work # (505)-646-1374
P.O. Box 30001
MSC: 3AT
Las Cruces, NM 88003
Hi all,
my problem is following:
let's say there is an array with 10 elements.
$array = array('$value1', '$value2', '$value3', '$value4', '$value5', '$value6',
'$value7', '$value8', '$value9', '$value10');
One of elements has value 'xyz123' - I do not know which one.
How can I extract this element from the array and have a new array with all other
element, except extracted one.
Any idea?
Afan Pasalic