[PHP] Post XML to PHP via XMLHTTP VB Object

2001-04-30 Thread PHP

Hi,

I'm trying to the MSXML DOM 3 from Visual Basic  and send XML to a PHP page
that sits on my Apache web server on SCO Unix.

This is my VB Code:

Dim xmlstr As New XMLHTTP30
Dim sXML As String
sXML = "Content-Type: text/xml;"
sXML = sXML & ""
sXML = sXML & "Initialize"
sXML = sXML & "True"
sXML = sXML & ""

xmlstr.open "POST", "http://mywebserver/somepage.php";, False
xmlstr.send sXML
Set xmlstr = Nothing

Pretty basic stuff. This succeeds, and at the Apache server level, in the
logs I can see the POST request go through. In the file "somepage.php" - all
I'm doing is running phpinfo() to see what the server thinks it's receiving.



Back at the VB level, I can see xmlstr.responseText which is the output from
phpinfo();

I am not getting any HTTP_POST_VARS like I expected to receive.

Has anyone done anything like this before? Is this mainly an issue with
Apache rather than PHP?

Thanks,
Sam




-- 
PHP General 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]




Re: [PHP] why isn't get_browser() not working?

2001-04-30 Thread Chris Adams

On 30 Apr 2001 00:51:13 -0700, elias <[EMAIL PROTECTED]> wrote:
> hello.
> i'm trying to detect what browser version is there...i'm using get_browser()
> as it was documented:
> 

Check to see if your browscap file is being picked up - try something like this:

echo count(file(ini_get("browscap"));

If that works, you're probably the latest victim of the way get_browser() has
been fixed and rebroken in various versions and ports.

-- 
PHP General 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]




Re: [PHP] template solutions?

2001-04-30 Thread Christian Reiniger

On Monday 30 April 2001 21:02, Steven Haryanto wrote:
> At 5/1/2001 01:43 AM, Michael Kimsal wrote:
> >I understand completely what you're getting at already, but PHP is
> >designed to do what you're asking to do.
> >
> >I know there are valid reaons for stripped down implementations, but
> > can't think of too many.
>
> Clean separation of content and presentation? That is one strong
> point (for some people anyway).

Well, whether you write
Hello , how are you?
or
Hello {{ USER }}, how are you?

doesn't really matter I'd say.

> Ease of use? I want to let *other people* customize the web page to
> some extent, but surely do not want to require them to learn PHP.

Also in this regard.

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

CPU not found. retry, abort, ignore?

--
PHP General 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] Trouble loading Extensions in PHP 4.0.5

2001-04-30 Thread John Monfort


 Hello everyone,

 Is anyone else having this problem?  My PHP+ Apache system was working
 fine, before I upgraded to PHP 4.0.5. Since then, my server crashes,
 everytime I try to enable my extensions.

 I have the following configuratioin:

 1)
  extension_dir= "C:/PHP/extensions"
  [both C:/PHP/extensions and C:\PHP\extensions failed!]

  extension=php_db.dll
  extension=php_gd.dll
  ...

  The dll files are inside C:\PHP\exntesions, as listed.
  All system paths are correctly set.

  2)
  Also, before PHP 4.0.5, I had ZEND configured as

  zend_optimizer.optimization_level=15;
  zend_extension_ts="C:\PHP\zend\ZendOptimizer.dll";

  Tough this does not report an error, phpinfo()  DOES NOT report the Zend
  variables, and other setup information. PHP 4.0pl1 did.

  Am I missing something, or is this bug?

   Note: I installed 4.0.5 over 4.0.pl1, assuming it would overwrite the
   necessary files. Does this have anything to do with my issues? I don't
   think it should matter, but I could be wrong. I used the Win 32
   installer [from php.net] for my installtion.


  Please help!

  -John


__John Monfort_
_+---+_
 P E P I E  D E S I G N S
   www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-

On Tue, 1 May 2001, Michael Hall wrote:

>
> Use include();
>
> Mick
>
> On Mon, 30 Apr 2001, Andreas Pucko wrote:
>
> > Hello,
> >
> > I am a newi in PHP. Currently I am creating my first site.
> >
> > I would like to programm it modularly. I tryed it, but I came to the point,
> > that I have everything in one file with a huge amount of tables.
> >
> > What would be the best way to build a site with a navigation on the left and
> > content on the right.
> >
> > The question is.. what is the proper syntax to open the next content from
> > the menu. Open it in
> > the same file, or open a new one??
> >
> > Thanks
> >
> > Andy
> >
> >
> > --
> > PHP General 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 General 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 General 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-general Digest 1 May 2001 03:36:55 -0000 Issue 659

2001-04-30 Thread php-general-digest-help


php-general Digest 1 May 2001 03:36:55 - Issue 659

Topics (messages 50868 through 50943):

Creating Graphs
50868 by: Mike Mike
50912 by: jarry
50913 by: Roger Ramirez

Re: Get the title from an HTML page
50869 by: Matt Schroebel
50870 by: Tim Ward

help me :)
50871 by: Arvydas
50915 by: Jason Mowat

php 4.04pl1 & ldap
50872 by: Walgamotte, David
50874 by: Steve Werby

Re: Command Line
50873 by: Steve Werby

Update statement?
50875 by: Kurth Bemis
50877 by: Steve Werby

Sort Question
50876 by: Brandon Orther

Re: Update statement?:SOLVED
50878 by: Kurth Bemis

replace functions add \
50879 by: Kasten, Holger

Re: template solutions?
50880 by: Michael Kimsal
50884 by: Steven Haryanto
50886 by: Michael Kimsal
50887 by: Steven Haryanto
50888 by: Michael Kimsal
50890 by: Fabian Raygosa
50891 by: Steven Haryanto
50894 by: Steven Haryanto
50896 by: Matt Schroebel
50902 by: Dave Goodrich
50904 by: Steven Haryanto
50909 by: Steven Haryanto

Re: OT, but dual-boot operating system question
50881 by: Toby Miller
50882 by: Richard S. Crawford

COM
50883 by: Hassan Arteaga
50919 by: Chris Anderson

Re: php suck
50885 by: Geir Eivind Mork

Re: can someone debug this vote.php script for me?
50889 by: Phillip Bow

timezones
50892 by: Joe Stump
50898 by: Mark Maggelet
50899 by: Jon Rosenberg
50900 by: Frank M. Kromann
50903 by: Joe Stump
50905 by: Jon Rosenberg
50908 by: Mark Maggelet

Re: Link Color Questions
50893 by: Joe Stump
50895 by: Ashley M. Kirchner

GD and arrays
50897 by: Mike Wes

Sort an array
50901 by: Brandon Orther
50918 by: Miles Thompson

Re: suggestions for binary data in database
50906 by: Jason Stechschulte

Re: Syntax for select statement
50907 by: Jason Stechschulte

String Type Unknown
50910 by: Nathan Cook

HELP! String Output Limit
50911 by: Niko Spyridonos
50914 by: CC Zona

Problems with sprintf and swapping variables
50916 by: Edward McLain

Browser Detection
50917 by: Tim Thorburn

PHP 4.0.5 is out
50920 by: Zeev Suraski
50923 by: SHAWN
50928 by: Chris Fry
50933 by: Zeev Suraski

Re: PHP 4.0.5 is out (output compression)
50921 by: Aaron Tuller
50932 by: Zeev Suraski

Re: Best Practice-HTML In Database
50922 by: John Monfort

Re: Please review our coding standards [ ideas ]
50924 by: Johnson, Kirk

XML Parsing
50925 by: Michael Conley
50929 by: Fabian Raygosa

Writing a file with break lines
50926 by: Augusto Cesar Castoldi
50938 by: Steve Werby

Executing a PL/SQL Function
50927 by: Marcelo Dias de Toledo

Programming PHP in a modular way
50930 by: Andreas Pucko
50940 by: Jason Beebe
50941 by: Michael Hall

Recive Mail
50931 by: Manesh

Arranging lists
50934 by: Peter Houchin
50935 by: Brian Tanner

Re: Logging Into Sites (webgames)
50936 by: Fred
50937 by: Steve Werby
50943 by: Fred

Re: Loading PHP module on Win98
50939 by: Benny

upload/download of files (This is LONG)
50942 by: Tyler Longren

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]


--



Hello,
I was wonder if anyone knows of a place where I can
get a good tutorial about making graphs for beginners
using php. 
If so please let me know.
Thank you
  --Mike

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/




Hi

try this
http://www.aditus.nu/jpgraph/index.php

Jarry
Uzytkownik "Mike Mike" <[EMAIL PROTECTED]> napisal w wiadomosci
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
> I was wonder if anyone knows of a place where I can
> get a good tutorial about making graphs for beginners
> using php.
> If so please let me know.
> Thank you
>   --Mike
>
> __
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
>
> --
> PHP General 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]
>






Check out Leon Atkinsons Core PHP Programming.  He has a couple good
examples on using pie charts and bar charts.

- Original Message -
From: "Mike Mike" <[EMAIL PROTECTED]>
To

Re: [PHP] Help: Logging Into Sites (webgames)

2001-04-30 Thread Fred

Thank you, ill look into fsocks at php.net.

~Fred

"Steve Werby" <[EMAIL PROTECTED]> wrote in message
096501c0d1dd$d324dd40$6501a8c0@workstation7">news:096501c0d1dd$d324dd40$6501a8c0@workstation7...
> "Fred" <[EMAIL PROTECTED]> wrote:
> > I want to log into a game and access a page and parse it.
> > To Log into the game, youd have to use a form, so how do I do this in
PHP?
>
> Using CURL functions you can post to a URL and grab the output.  You have
to
> compile PHP --with-curl after installing CURL first.  You can also use
> fsockopen().
>
> --
> Steve Werby
> President, Befriend Internet Services LLC
> http://www.befriend.com/
>
>
> --
> PHP General 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 General 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] upload/download of files (This is LONG)

2001-04-30 Thread Tyler Longren

Hello everyone,

Here's my problem:
I need to be able to upload some info about an mp3 to a database (name,
filename, size, and file_type).  I can do this already, and it works just
fine.  After the info is added to the database, the mp3 is uploaded to
music/$binFile_name.

Here's the code I have to put info into the db and upload the file to the
music directory:
$data = addslashes(fread(fopen($binFile, "r"), filesize($binFile)));
$strDescription = addslashes(nl2br($txtDescription));
$album_sql = mysql_query("SELECT *  FROM albums WHERE id = '$album_id'
AND artist_id = '$artist_id'");
$album = mysql_fetch_object($album_sql);
$sql = "INSERT INTO music
(artist_id, artist, album_id, album_title, track_name, track_number,
mp3_type, description, filename, filesize, filetype) VALUES ('$artist_id',
'$artist', '$album_id', '$album->album_title', '$track_name',
'$track_number', '$mp3_type', '$strDescription', '$binFile_name',
'$binFile_size', '$binFile_type')";
$result = mysql_query($sql, $db);
mysql_free_result($result);
$len = strlen($data);
if ($fp = fopen("../../music/$binFile_name", "wb")) {
if ($size = fwrite($fp, $data, $len)) {
print "Thanks, $binFile_name has been added to
our database.";
fclose ($fp);
}
else {
print "$binFile_name couldn't be written to,
perhaps some permissions are wrong?";
}
}
else {
print "$binFile_name couldn't be opened (or
created), please try again.";
}


One problem begins when trying to play that MP3.  When I try to play the
MP3, it NEVER plays.  Is there some headers that need to be sent while
uploading the file?

Here's the code I use to let users download the mp3:
while ($row = mysql_fetch_array($sql)) {
$artist = $row["artist"];
$artist_id = $row["artist_id"];
$id = $row["id"];
$track_name = $row["track_name"];
$type = $row["mp3_type"];
$filename = $row["filename"];
if ($alternate == "1") {
$color = "#ff";
$alternate = "2";
}
else {
$color = "$color1";
$alternate = "1";
}
print "$artist$track_name$type";
}

So the final dl link ends up being: Track
Name
I can download this in IE, but it still won't play, and when I do a "Save
Target As" the file name is all screwed up.
If the link was this: http://localhost/sweetleaf/music/Provoke -
Quick Blast.mp3>Quick Blast you'd think the filename I'd download would
be "Provoke - Quick Blast.mp3".  When doing a Save Link As, this is the
filename: ProvokQuicBlast.mp3.  Any ideas why?

Also, when downloading in NS, I get this: The parameter is incorrect.
Any idea what that means?

thanks for sitting through all of this.  I hope you can offer me some help.
:)

Regards,
Tyler Longren

P.S.
If you'd like more of my code to look @, just let me know.


-- 
PHP General 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]




Re: [PHP] Programming PHP in a modular way

2001-04-30 Thread Michael Hall


Use include();

Mick

On Mon, 30 Apr 2001, Andreas Pucko wrote:

> Hello,
> 
> I am a newi in PHP. Currently I am creating my first site.
> 
> I would like to programm it modularly. I tryed it, but I came to the point,
> that I have everything in one file with a huge amount of tables.
> 
> What would be the best way to build a site with a navigation on the left and
> content on the right.
> 
> The question is.. what is the proper syntax to open the next content from
> the menu. Open it in
> the same file, or open a new one??
> 
> Thanks
> 
> Andy
> 
> 
> -- 
> PHP General 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 General 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]




RE: [PHP] Programming PHP in a modular way

2001-04-30 Thread Jason Beebe

---This is header.php


My Site



//this is the banner/header img

   //this is where the left navigation
goes
About Us  // a link
more links here


 end header.php---

---start footer.php 






 Footer Here, Copyright Etc.






 end footer.php -

---index.php (or any other page) 


the body (large space right of the nav) goes here.


 end index.php -

easy cheesey. just break up the html logically. you don't need it all in one
file. break up pages like you would static html. hope this was what you were
wanting to know.

> -Original Message-
> From: Andreas Pucko [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 30, 2001 4:08 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Programming PHP in a modular way
>
>
> Hello,
>
> I am a newi in PHP. Currently I am creating my first site.
>
> I would like to programm it modularly. I tryed it, but I came to
> the point,
> that I have everything in one file with a huge amount of tables.
>
> What would be the best way to build a site with a navigation on
> the left and
> content on the right.
>
> The question is.. what is the proper syntax to open the next content from
> the menu. Open it in
> the same file, or open a new one??
>
> Thanks
>
> Andy
>
>
> --
> PHP General 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 General 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]




RE: [PHP] Loading PHP module on Win98

2001-04-30 Thread Benny

I downloaded the distribution from www.php.net, so it's from the same
distribution but it doesn't work. What should I do?

Regards;

Benny.

-Original Message-
From: Phil Driscoll [mailto:[EMAIL PROTECTED]]
Sent: 30 April 2001 15:54
To: Benny; [EMAIL PROTECTED]
Subject: Re: [PHP] Loading PHP module on Win98


The dbase module you are trying to install does not match the version of
php. If you get the extension from the same distribution as the php modules
then it should work. You can get the full distribution zip for 4.0.4pl1 from
the downloads page at www.php.net at the moment. You may be able to get
4.0.5 later today if all goes to plan.

Cheers

PS When you do get it working you still may have problems since you have
configured PWS to use the ISAPI module which you may find to be pretty
unstable. I would advise use of the CGI version of PHP if things are a bit
flakey.
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org


--
PHP General 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 General 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]




Re: [PHP] Writing a file with break lines

2001-04-30 Thread Steve Werby

"Augusto Cesar Castoldi" <[EMAIL PROTECTED]> wrote:
> How can I write a file like "list.txt", I get a lot of information from
> mysql, and I have to put with line of mysql in this txt file. (rewrite).
>
> How can I do that?
>
> I tried to put "\n" but it didn't worked.

"\n" works for me.  Perhaps you should post some of your code.  Be sure "\n"
is within double quotes; if it's in single quotes it won't work.  Here's a
line of code from a script I wrote that works.

fwrite( $fout, "Date: $h_date\n" );

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/


-- 
PHP General 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]




Re: [PHP] Help: Logging Into Sites (webgames)

2001-04-30 Thread Steve Werby

"Fred" <[EMAIL PROTECTED]> wrote:
> I want to log into a game and access a page and parse it.
> To Log into the game, youd have to use a form, so how do I do this in PHP?

Using CURL functions you can post to a URL and grab the output.  You have to
compile PHP --with-curl after installing CURL first.  You can also use
fsockopen().

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/


-- 
PHP General 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] Help: Logging Into Sites (webgames)

2001-04-30 Thread Fred

I want to log into a game and access a page and parse it.
To Log into the game, youd have to use a form, so how do I do this in PHP?

If anyone has any ideas, or information, please help.

~Fred
[EMAIL PROTECTED]
ICQ 19551338



-- 
PHP General 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]




Re: [PHP] Arranging lists

2001-04-30 Thread Brian Tanner

You'll have to assign some sort of order to them using an integer tag column
or something similar... and then order by that when you select

That's my best suggestion.

-Brian
http://www.zaam.com

""Peter Houchin"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I've got a select box that gets vaules  from a DB, now I want these value
to be displayed in a certain order that's NOT relating to their id nor in
alphabetical order .. can some one suggest a way this might be done??
>
> At present my select box looks like this :
>
> 
> 
>  $query ="SELECT DISTINCT system FROM 1machine ORDER BY system";
>   $result = mysql_query($query);
>
>   while($row = mysql_fetch_array($result)){
> echo ''.$row[system].'';
>   }
> ?>
> 
> 
> 
>
> Peter Houchin
> [EMAIL PROTECTED]
> =
>  _  __   /\
> /_/_/_\/  |_/  \
>/_/_/___  __  __   __  / \
>\_/_/_\  /_/ /_/ /_/  /_/  \   _ /
>  ___\_\_\/ /_/_/_/ /_//\/_/\_/ \/\_/
>  \_//_/_/ /_/_/_/ /_/ \/_/v
>     
> /_/_/_/_/  /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
>/_/_ _/_/ __  __   __  /_/   __ __
>   /_/_/_/_/ /_/_/_/ /_/  /_/ /_/ /_/\_\/_//_/_/_/
>  /_/  \_\  /_/ _/  /_//\/_/ /_/ /_/__\_\  /_/___ _\_\_\
> /_/\_\/_/_/_/ /_/ \/_/ /_/ /_/\_\/_/_/_//_/_/_/
> =
> Telephone : (03) 9329 1455  Facsimile : (03) 9329 6755
> * We rent the dot in .COM!  **
>



-- 
PHP General 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] Arranging lists

2001-04-30 Thread Peter Houchin

Hi, 

I've got a select box that gets vaules  from a DB, now I want these value to be 
displayed in a certain order that's NOT relating to their id nor in alphabetical order 
.. can some one suggest a way this might be done??

At present my select box looks like this :



  '.$row[system].'';
  }
?>

  
 

Peter Houchin
[EMAIL PROTECTED]
=
 _  __   /\
/_/_/_\/  |_/  \
   /_/_/___  __  __   __  / \
   \_/_/_\  /_/ /_/ /_/  /_/  \   _ /
 ___\_\_\/ /_/_/_/ /_//\/_/\_/ \/\_/
 \_//_/_/ /_/_/_/ /_/ \/_/v
    
/_/_/_/_/  /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
   /_/_ _/_/ __  __   __  /_/   __ __
  /_/_/_/_/ /_/_/_/ /_/  /_/ /_/ /_/\_\/_//_/_/_/
 /_/  \_\  /_/ _/  /_//\/_/ /_/ /_/__\_\  /_/___ _\_\_\
/_/\_\/_/_/_/ /_/ \/_/ /_/ /_/\_\/_/_/_//_/_/_/
=
Telephone : (03) 9329 1455  Facsimile : (03) 9329 6755
* We rent the dot in .COM!  **
 


RE: [PHP] PHP 4.0.5 is out

2001-04-30 Thread Zeev Suraski

Apparently the zip is indeed broken.  We'll try to get a fixed one up there 
soon.

Sorry for the hassle,

Zeev

At 01:21 1/5/2001, SHAWN wrote:
>Is anyone else having problems with the Windows binary zip?  I've downloaded
>it a couple times and it keeps saying that it's corrupt.
>
>Thanks!
>Shawn Sellars
>
>--
>PHP General 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]

--
Zeev Suraski <[EMAIL PROTECTED]>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/


-- 
PHP General 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]




Re: [PHP] PHP 4.0.5 is out (output compression)

2001-04-30 Thread Zeev Suraski

Yes it is, it's much more efficient.

Zeev

At 01:05 1/5/2001, Aaron Tuller wrote:
>>At 12:12 AM +0300 5/1/01, Zeev Suraski wrote:
>>- Implemented high-performance zlib-based output compression - see
>>   zlib.output_compression INI directive. (Zeev)
>
>is this different from ob_gzhandler()?  if so, how is it different?  thanks.
>
>-aaron
>
>--
>PHP General 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]

--
Zeev Suraski <[EMAIL PROTECTED]>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/


-- 
PHP General 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] Recive Mail

2001-04-30 Thread Manesh

Where is the option to recive mail?

-- 
PHP General 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] Programming PHP in a modular way

2001-04-30 Thread Andreas Pucko

Hello,

I am a newi in PHP. Currently I am creating my first site.

I would like to programm it modularly. I tryed it, but I came to the point,
that I have everything in one file with a huge amount of tables.

What would be the best way to build a site with a navigation on the left and
content on the right.

The question is.. what is the proper syntax to open the next content from
the menu. Open it in
the same file, or open a new one??

Thanks

Andy


-- 
PHP General 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]




Re: [PHP] XML Parsing

2001-04-30 Thread Fabian Raygosa

http://www.php.net/manual/en/ref.xml.php
and
http://www.phpbuilder.com/columns/joe2907.php3

great palces to get you started on XML parseing
try the second one first as it jumps right into it with xpat.
phpbuilder also has stuff for the DOM XML as well.
- Original Message -
From: "Michael Conley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 30, 2001 3:21 PM
Subject: [PHP] XML Parsing


> I am posting information to a credit card processing server.  This is done
> over HTTPS (with cURL) and seems to work fine.  I get the response that I
> want from the server, which consists of an XML doc with about 20 tags and
> their corresponding values.  I have gone through the mailing list and
> manuals, yet I still can't seem to figure out how to get each piece of the
> XML doc into their own variables.
>
> Here is the code I am using:
>
> $server = "https://www.creditcard.com";;
> $path = "xmlhttps/xtrans.asp";
> $ch = curl_init();
> $requestedurl = "$server" . "/$path";
> curl_setopt($ch, CURLOPT_URL, "$requestedurl");
> curl_setopt($ch, CURLOPT_POST, 1);
> curl_setopt($ch, CURLOPT_POSTFIELDS, "$xmlstring");
> curl_setopt($ch, CURLOPT_RETURNTRANSFER,0);
>
> curl_close ($ch);
>
> This replies (as it should) with an XML doc like this:
>
>
CCDEBIT
BTYPE>AUTH1010
D>PC-12347
INDICATOR>51234
>1202MichaelConley ME>PO BOX
>
59AuburnCA95604
ODE>USASomebody
NCY_CODE>840
ATA_0>
SER_DATA_3>
6>
DATA_9>
>
1003509KQEGVHMGED4
_TIME>172823043020011 EXCHANGE_RATE>NO
>
MATCHVITAL6N VS_RESPONSE>0
>
> What I need to do now is get certain parts of the return string.  How do I
> assign the value in the  tags to the variable
$approvalcode?
> I also need to get several other parts of the XML string assigned to
> variables so that I can use them elsewhere.  I can't seem to figure out
how
> to do this.  I know that I need to change the "CURLOPT_RETURNTRANSFER" to
> "1" to allow the information to be placed somewhere other than the screen
> for processing, but after that I am not sure how to do this.  I have gone
> through the mailing lists and through the docs online, but I'm having no
> luck.
>
> Any help is appreciated.
>
>
>
>
>






> --
> PHP General 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 General 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]




Re: [PHP] PHP 4.0.5 is out

2001-04-30 Thread Chris Fry

Shawn,

Had the same problem - looks like the zip file is corrupted - you could try
zipfix but it's reporting that there are 88 bytes missing.

Chris

SHAWN wrote:

> Is anyone else having problems with the Windows binary zip?  I've downloaded
> it a couple times and it keeps saying that it's corrupt.
>
> Thanks!
> Shawn Sellars
>
> --
> PHP General 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]

--
Chris Fry
Quillsoft Pty Ltd
Specialists in Secure Internet Services and E-Commerce Solutions
10 Gray Street
Kogarah
NSW  2217
Australia

Phone: +61 2 9553 1691
Fax: +61 2 9553 1692
Mobile: 0419 414 323
eMail: [EMAIL PROTECTED]
http://www.quillsoft.com.au

You can download our Public CA Certificate from:-
https://ca.secureanywhere.com/htdocs/cacert.crt

**

This information contains confidential information intended only for
the use of the authorised recipient.  If you are not an authorised
recipient of this e-mail, please contact Quillsoft Pty Ltd by return
e-mail.
In this case, you should not read, print, re-transmit, store or act
in reliance on this e-mail or any attachments, and should destroy all
copies of them.
This e-mail and any attachments may also contain copyright material
belonging to Quillsoft Pty Ltd.
The views expressed in this e-mail or attachments are the views of
the author and not the views of Quillsoft Pty Ltd.
You should only deal with the material contained in this e-mail if
you are authorised to do so.

This notice should not be removed.



-- 
PHP General 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] Executing a PL/SQL Function

2001-04-30 Thread Marcelo Dias de Toledo

Here is the code:

$stmt = OCIParse($conn,"BEGIN prontolog.pc_int.pedido(:p_cgc_lweb,
:p_id_cliente, :p_id_pedido, :p_id_transp, :p_contrato, :p_dt_emissao,
:p_dt_chegada, :p_dt_entrega, :p_vl_frete, :c_nome, :c_fone1, :c_fone2,
:c_fax, :c_email, :c_endereco_f, :c_bairro_f, :c_cep_f, :c_cidade_f,
:c_estado_f, :c_nome_e, :c_endereco_e, :c_bairro_e, :c_cep_e,
:c_cidade_e, :c_estado_e, :p_id_conpag, :v_observa); END;");

OCIBindByName($stmt, ":p_cgc_lweb", &$p_cgc_lweb, 150);
OCIBindByName($stmt, ":p_id_cliente", &$p_id_cliente, 150);
OCIBindByName($stmt, ":p_id_pedido", &$p_id_pedido, 150);
.
.
.

$p_cgc_lweb = "04284227000167";
$p_id_cliente = "29334988800";
$p_id_pedido = "0001";
$p_id_transp = "00926551000180";
$p_contrato = "numero do contrato da transportadora";
$p_dt_emissao = date("Y-m-d H:i:s");
$p_dt_chegada = date("Y-m-d H:i:s");
.
.
.

OCIExecute($stmt);

print "(($v_observa))";

prontolog is the schema
pc_int is the package
pedido is the function

And this is the exacly output
---//---
Warning: OCIStmtExecute: ORA-06550: line 1, column 7: PLS-00221:
'PEDIDO' is not a procedure or is undefined ORA-06550: line 1, column 7:
PL/SQL: Statement ignored in /www/htdocs/mariamercado/teste.phtml on
line 64
(())
---//---

Can I execute functions ? If yes, what may be wrong ?

Thank you very much,
-- 
Marcelo Dias de Toledo
N-Web E-Commerce - http://www.nweb.com.br
mailto:[EMAIL PROTECTED] 
Phone: 55 71 341-8474 - Fax: 55 71 341-8480

-- 
PHP General 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] Writing a file with break lines

2001-04-30 Thread Augusto Cesar Castoldi

How can I write a file like "list.txt", I get a lot of information from
mysql, and I have to put with line of mysql in this txt file. (rewrite).

How can I do that?

I tried to put "\n" but it didn't worked.

regards,

Augusto Cesar Castoldi


-- 
PHP General 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] XML Parsing

2001-04-30 Thread Michael Conley

I am posting information to a credit card processing server.  This is done
over HTTPS (with cURL) and seems to work fine.  I get the response that I
want from the server, which consists of an XML doc with about 20 tags and
their corresponding values.  I have gone through the mailing list and
manuals, yet I still can't seem to figure out how to get each piece of the
XML doc into their own variables.

Here is the code I am using:

$server = "https://www.creditcard.com";;
$path = "xmlhttps/xtrans.asp";
$ch = curl_init();
$requestedurl = "$server" . "/$path";
curl_setopt($ch, CURLOPT_URL, "$requestedurl");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, "$xmlstring");
curl_setopt($ch, CURLOPT_RETURNTRANSFER,0);   

curl_close ($ch);

This replies (as it should) with an XML doc like this:

CCDEBITAUTH1010PC-12347512341202MichaelConleyPO BOX
59AuburnCA95604USASomebody840
1003509KQEGVHMGED4172823043020011NO
MATCHVITAL6N0

What I need to do now is get certain parts of the return string.  How do I
assign the value in the  tags to the variable $approvalcode?
I also need to get several other parts of the XML string assigned to
variables so that I can use them elsewhere.  I can't seem to figure out how
to do this.  I know that I need to change the "CURLOPT_RETURNTRANSFER" to
"1" to allow the information to be placed somewhere other than the screen
for processing, but after that I am not sure how to do this.  I have gone
through the mailing lists and through the docs online, but I'm having no
luck.

Any help is appreciated.





-- 
PHP General 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]


RE: [PHP] Please review our coding standards [ ideas ]

2001-04-30 Thread Johnson, Kirk

Steve, I am wondering what your reason is for item 4.2. Security, or
otherwise? Personally, I like having various file extensions, for sorting
files by content type.

Thanks for putting this up here.

Kirk

> -Original Message-
> From: Steven Haryanto [mailto:[EMAIL PROTECTED]]
> Subject: [PHP] Please review our coding standards [ ideas ]

> 4. File organization
> 

> 4.2 All PHP libraries and include files, is named with '.php' 
> extension (ie.
>  no '.lib', '.inc', etc.). Test scripts is named with 
> '.phpt' extension.
> 

-- 
PHP General 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]




RE: [PHP] PHP 4.0.5 is out

2001-04-30 Thread SHAWN

Is anyone else having problems with the Windows binary zip?  I've downloaded
it a couple times and it keeps saying that it's corrupt.

Thanks!
Shawn Sellars

-- 
PHP General 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]




RE: [PHP] Best Practice-HTML In Database

2001-04-30 Thread John Monfort




  Yes,  I will need to provide searching capabilities.

  Basically, I'm creating an online referencing system with a db backend.
  A user will be able to search for a manual, and/or browse to a
  particular  section of the manual.

  It's similar to the online PHP manual...at least, in concept.


  So, in the long run, which will be more beneficial:
1) HTML code inside the db fields?
   or
2) HTML URL inside the field?


__John Monfort_
_+---+_
 P E P I E  D E S I G N S
   www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-

On Mon, 30 Apr 2001, Mark Roedel wrote:

> > -Original Message-
> > From: John Monfort [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, April 29, 2001 10:40 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] Best Practice-HTML In Database
> >
> >
> > Hello everyone,
> >
> > I'm curious. Which is the better practice?
> >
> > 1) Insert the HTML page (...HTML code) in the database ?
> >
> >or
> >
> > 2) Insert a URL in the database field, that points to the
> > HTML page?
> >
> > why?
>
> Will you ever want to do database-ish things with the contents of the
> page?  (Allow somebody to search for words or phrases in the body, for
> example?)
>
>
> ---
> Mark Roedel ([EMAIL PROTECTED])  ||  "There cannot be a crisis next week.
> Systems Programmer / WebMaster  ||   My schedule is already full."
>  LeTourneau University  ||-- Henry Kissinger
>
>


-- 
PHP General 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]




Re: [PHP] PHP 4.0.5 is out (output compression)

2001-04-30 Thread Aaron Tuller

>At 12:12 AM +0300 5/1/01, Zeev Suraski wrote:
>- Implemented high-performance zlib-based output compression - see
>   zlib.output_compression INI directive. (Zeev)

is this different from ob_gzhandler()?  if so, how is it different?  thanks.

-aaron

-- 
PHP General 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] PHP 4.0.5 is out

2001-04-30 Thread Zeev Suraski

After a very long QA process, PHP 4.0.5 has finally been officially 
released.  This is a maintenance version, with a lot of bug fixes from PHP 
4.0.4pl1.  Other than that, there aren't too many new features in this 
release, so it's mostly recommended for people that were experiencing one 
(or more) of the bugs that were fixed.  Note that PHP 4.0.6 is also planned 
for the near future, featuring mostly bug fixes;  This may affect your 
upgrade considerations.

Notable features:
- High performance output compression support and improved output buffering
- Experimental FastCGI module
- A lot of PEAR work
- Significantly improved thread safety (users of multithreaded servers 
should definitely upgrade if they have earlier versions of PHP)

Full list of changes is available at http://www.php.net/ChangeLog-4.php, 
and is also attached at the end of this letter.  Thanks goes to the PHP QA 
team, which worked a lot to make sure that this release works as well as 
expected, and beyond.  Special thanks to Mr. J, which managed to survive 
the long and thrilling QA process without getting a heart attack :)

Zeev

30 Apr 2001, Version 4.0.5
- IMPORTANT: removed /F modifier handling from preg_replace(). Instead
   one should use new preg_replace_callback() function. (Andrei)
- Added new php.ini directive: arg_separator.input which is used to tell
   PHP which characters are considered as argument separators in URLs.
   Renamed php.ini directive: arg_separator -> arg_separator.output (Jani)
- Added FastCGI SAPI module. (Ben Mansell)
- Added array_reduce(), which allows iterative reduction of an array
   to a single value via a callback function. (Andrei)
- The imageloadfont function of the gd extension should be not platform
   dependent after this fix. ([EMAIL PROTECTED])
- Fixed a compatibility problem in some file functions (fgets, fputs, fread,
   fwrite). The ANSI standard says that if a file is opened in read/write
   mode, fseek() should be called before switching from reading to writing
   and vice versa. ([EMAIL PROTECTED])
- Fixed argument checking for call_user_func* functions and allowed
   specifying array($obj, 'method') syntax for call_user_func_array. (Andrei)
- Fixed parent::method() to also work with runtime bindings.
   (Zeev, Zend Engine)
- Implemented high-performance zlib-based output compression - see
   zlib.output_compression INI directive. (Zeev)
- Improved ob_gzhandler() to support chunked output buffering - it's
   recommended to use it with 4KB chunks. (Zeev)
- Fixed chunked output buffering. (Zeev)
- Forced call_user_method() and call_user_method_array() to take the
   object argument by reference. (Andrei)
- Fixed binding of ROWIDs in OCI8. (Thies)
- Added PEAR/Cache as a generic Caching System. (Sebastian, PEAR/Cache)
- Added IMAP quota support (imap_set_quota, imap_get_quota), enabled/added via
   c-client2000. (kalowsky)
- Upgraded PCRE to version 3.4. (Andrei)
- Added array_search which works similar to in_array but returns
   the key instead of a boolean. ([EMAIL PROTECTED])
- Fixed pgsql transaction support. (Stig, PEAR/DB)
- Added new object VARIANT() to encapsulate values for use with
   the COM and DOTNET module. Therefore it is now possible to pass
   values by reference, convert php values to extended variant types (currency,
   date, idispatch, iunknown, ...) and define the codepage that should
   be used for unicode - conversion.
- Improved overall speed of IRCG, added URL handling to message scanner.
   (Sascha)
- Fixed some modules to allow using output-buffering. (Thies)
- Added the chroot() function. (Derick)
- PostgreSQL now does a rollback at the end of a request on every
   persistent connection. This is done by doing an "empty" transaction
   on the connection. This was advised by someone from the PostgreSQL
   core-team. (Thies)
- Fixed PostgeSQL pg_connect() bug. We would sometimes close the default
   link by accident. (Patch by: [EMAIL PROTECTED])
- Improved OCI8 dead-session detection. (Patch by: George Schlossnagle)
- Fixed get_meta_tags() multiline bug #4556. (Sean)
- Prefer random() over *rand48(). (JimJag)
- Sped up WDDX serialization 2x. (Andrei)
- Added a new parameter to mail() which appends aditional command line
   parameters to the mail program. (Derick)
- Added Udm_Clear_Search_Limits mnoGoSearch extension function. (gluke)
- Fixed mnogosearch protos. Fixed mnogosearch functions return values.
   A bug with capital letters break search has been fixed. (gluke)
- Static methods can now be called via call_user_method_* functions, e.g.
   call_user_method('method', 'class'), and also array('class', 'method')
   constructs (for array_walk(), for example). (Andrei, Zend Engine)
- microtime() under Windows now returns accurate values. (James)
- Added PREG_SPLIT_DELIM_CAPTURE flag to preg_split() that allows for Perl-like
   functionality of capturing parenthesized delimiter expression. (Andrei)
- Fixed strip_tags() to not strip a lone > character. (Rasmus)
-

Re: [PHP] COM

2001-04-30 Thread Chris Anderson

Unfortunately VB 6.0 com components do not like to work outside of
their ASP and VB bases. I've heard of a few people trying it, but I
heard it was very difficult. I'd help more, but I've never used PHP
with com, only with ASP

Chris Anderson   aka "Null"

PHP Developer / Nulltech
PHP-GTK Grunt / gtk.php.net
STA-DoD, TO and DDay Administrator / www.stronger.org
DOD Co-Owner / www.dayofdefeat.com
Zeroping Staff Member / www.zeroping.com
Volition Programmer / www.Volition-net.com
- Original Message -
From: "Hassan Arteaga" <[EMAIL PROTECTED]>
To: "Php (E-mail)" <[EMAIL PROTECTED]>
Sent: Monday, April 30, 2001 1:57 PM
Subject: [PHP] COM


Hi all !!

I have components i made in Visual Basic 6.0 and I would like to use
with
PHP. I need examples how to create intance from VB COM component...
What function I have to use ?

com_load - ???
com_invoke - ???
com_propget - ???
com_get - ???
com_propput - ???
com_propset - ???
com_set - ???

Thanks in advanced !!!

--
M. Sc. Hassan Arteaga Rodríguez
Microsoft Certified System Engineer
Network Admin, WEB Programmer
FUNDYCS, Ltd
[EMAIL PROTECTED]

--
PHP General 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 General 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]




Re: [PHP] Sort an array

2001-04-30 Thread Miles Thompson


The PHP online manual is very easy to use. Start at 
http://www.php.net/array and you'll find all the functions that act on 
array downl the left side of your browser, including a fantastically rich 
set of sort options.

Miles

At 12:19 PM 4/30/01 -0700, Brandon Orther wrote:
>Hello,
>
>Is there a way to sort an array alphabetically?
>
>Brandon
>
>--
>PHP General 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 General 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] Browser Detection

2001-04-30 Thread Tim Thorburn

Hi,

Is it possible with PHP (3.0.16) to detect which browser a user has and 
then load an image based on the browser type?  I've found the get_browser() 
command in the manual, but it doesn't look like that does what I want, or I 
could just be looking at it wrong.

Has anyone tried this before?  and if so, could you provide some assistance.

Thank you

-Tim 


-- 
PHP General 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] Problems with sprintf and swapping variables

2001-04-30 Thread Edward McLain

Ok.. now I hope that somebody can help with this one... I'm trying to write
a form field on a webpage that makes data entry of ever changing fields
easy.. In otherwords:

Enter Style:

You might enter:

Hello %s, how are you today.. I am fine.. I here you are turning %d.

Now this works when you pass sprintf($text, $name, $age);
but if you in the text say.

Happy %2/$d'th birthday %1/$s.

like the docs says your supposed to do it doesn't work and all you see is:
  Happy $d'th birthday $s.

What is up with this.. if you use %2/%d it sort of works, but it throws all
my other variables out of whack.. any help with this would be appreciative..

later,

Ed McLain
[EMAIL PROTECTED]



-- 
PHP General 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]




Re: [PHP] help me :)

2001-04-30 Thread Jason Mowat

Arvydas,

I did something like this using a "tree" structure, using stacks.  Each item
on the stack could have 1 to 3 properties: Name, Parent, URL.  If the object
on the stack has only a Name property (i.e. Parent and URL are empty) it is
assumed that this item is a root node.  If the item has a Name and a Parent,
is is a child node to the parent, and if it has a Name, Parent and URL, then
it is a leaf node to the parent.

For example:
FolderA
FolderB
--FolderB(1)
--FolderB(2)
  --ItemB(2)(1)

I push onto my stack directory items that have the following properties:

AddDirItem(FolderA)
AddDirItem(FolderB)
AddDirItem(FolderB(1), FolderB)
AddDirItem(FolderB(2), FolderB)
AddDirItem(ItemB(2)(1), FolderB(2), http://itemb21.whatever)

Then, you loop through all of the items, setting the root items as the top
of the tree, and continue nesting subitems until you get to a new root item.

If you want, I can send you the PHP objects I used to implement this in a
dynamic tree.  It works quite well, and is extensible to 'n', where 'n' is
the number of items allowed due to system/browser constraints.

Cheers,
Jason

"Arvydas" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
> i'm new in php but i have very difficult exercise i must make
hierarchical menu witch can be released for example so :
>
> First i will get main menu : for example menu1, menu2, menu3... and these
menu will have links (this must be released with  so - the question is "How to make recursive menu ?"
> (menu mus be repaint after any click...)
>
> (I have an idea to make function that will "produce" recursive arrays...)
>
> P.S.sorry for poor english :)
> sincerely,
> Arvys.
>



-- 
PHP General 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]




Re: [PHP] HELP! String Output Limit

2001-04-30 Thread CC Zona

In article 
<[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Niko Spyridonos) wrote:

> I am trying to display a variable that contains more than 255 characters but
> the output stops at approx. 255. I tried to find what restricts it. Couldn't
> find anything. I tried the "echo", "printf" commands even I tried using
> flush() just in case there was some buffer left.

Is the variable's content being pulled from a database?  The fact that it's 
255 chars sounds like it's coming from a char or varchar field set to its 
maximum length.

-- 
CC

-- 
PHP General 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]




Re: [PHP] Creating Graphs

2001-04-30 Thread Roger Ramirez

Check out Leon Atkinsons Core PHP Programming.  He has a couple good
examples on using pie charts and bar charts.

- Original Message -
From: "Mike Mike" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 30, 2001 11:39 AM
Subject: [PHP] Creating Graphs


> Hello,
> I was wonder if anyone knows of a place where I can
> get a good tutorial about making graphs for beginners
> using php.
> If so please let me know.
> Thank you
>   --Mike
>
> __
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
>
> --
> PHP General 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 General 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]




Re: [PHP] Creating Graphs

2001-04-30 Thread jarry

Hi

try this
http://www.aditus.nu/jpgraph/index.php

Jarry
Uzytkownik "Mike Mike" <[EMAIL PROTECTED]> napisal w wiadomosci
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
> I was wonder if anyone knows of a place where I can
> get a good tutorial about making graphs for beginners
> using php.
> If so please let me know.
> Thank you
>   --Mike
>
> __
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
>
> --
> PHP General 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 General 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] HELP! String Output Limit

2001-04-30 Thread Niko Spyridonos

I am trying to display a variable that contains more than 255 characters but
the output stops at approx. 255. I tried to find what restricts it. Couldn't
find anything. I tried the "echo", "printf" commands even I tried using
flush() just in case there was some buffer left.

What is the solution?


Niko Spyridonos
Director of E-Business Services

Chamerlik/CompuLogic
http://www.designtech1.com/

T: (847) 679-5030 ext. 201
F: (847) 933-9413
C: (847) 980-7799


-- 
PHP General 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] String Type Unknown

2001-04-30 Thread Nathan Cook

I have this string:

0ffac0ffed0005737200146a6176612e7574696c2e50726f7065727469657339120f
fd07a70363e0ff980200014c000864656661756c74737400164c6a6176612f7574696c2f5072
6f706572746965733b787200136a6176612e7574696c2e486173687461626c65130ffbb0f252
14a0ffe40ffb803000246000a6c6f6164466163746f724900097468726573686f6c64787
03f48770800030002740005696d61676574004a3c494d47205352433d226
87474703a2f2f6d6564696162616e6b2e656476656e74757265732e636f6d2f656476656e7475726
5732f6c6162732f627269636b735f7765622e6a7067223e740004746578747402024974206973206
96d706f7274616e7420746f20656d70686173697a652074686174206120666163696c697461746f7
220646f6573206e6f74206e65656420746f20626520616e2065787065727420696e2074686520766
172696f7573207375626a6563742061726561732c206275742073686f756c64206265636f6d65206
6616d696c6961722077697468207468652070726f6a6563747320616e64206d6174657269616c732
0746861742073747564656e74732077696c6c20626520646f696e672c20616e64206265206177617
265206f6620686f7720746f206765742068656c70206f72206c6f6f6b207570207465726d7320616
e6420616e73776572732e2020496e20706172746963756c61722c2066616d696c696172697479207
769746820746865204c45474f3c7375703e267265673b3c2f7375703e20656c656d656e747320697
320686967686c79207265636f6d6d656e6465642e20205043532068617320646576656c6f7065642
06120736570617261746520636f7572736520666f637573696e67206f6e2074686520757365206f6
620746865204c45474f3c7375703e267265673b3c2f7375703e206d6174657269616c732e2020416
c6c20666163696c697461746f72732073686f756c64207363686564756c652074696d6520746f207
4616b652074686973206164646974696f6e616c20636f757273652e7870

And I don't know what type it is.  It is it a binary string?  Can I convert it
to text and if so, how?

Thank You,
Nathan Cook
[EMAIL PROTECTED]


-- 
PHP General 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]




Re: [PHP] template solutions?

2001-04-30 Thread Steven Haryanto

At 5/1/2001 03:05 AM, Dave Goodrich wrote:
>>In PHP, if I have my database password in a global var $dbpass,
>>I cannot prevent this code:
>>
>>  eval('echo $dbpass');
>Never put your DBPass into a GLOBAL ;^)

Hm, perhaps creating a function do_connect('hostname','user','pass')
is safer? Good idea.

>Agreed, it's not worth your time and hassle to try and predict 
>every possible circumstance a user might try.
>Have you thought about some SSI and a few Javascripts? 
>depending on what you mean by "changing the look of a page" it might be easier.

Mm. I still prefer a template, thank you :)

>A stupid question but I gotta ask, have you looked through 
>freshmeat? lots of stuff like this done in Perl, Python, PHP.

Yes, I have done a search on freshmeat and sourceforge for
php templates. Btw, there are eazytemplates and php
dreamtime that I've been told that supports ifs and loops.
That's nice. Thanks to everybody who responded.

Steve


-- 
PHP General 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]




Re: [PHP] timezones

2001-04-30 Thread Mark Maggelet

On Mon, 30 Apr 2001 14:24:20 -0500, Joe Stump ([EMAIL PROTECTED])
wrote:
>Thanks to everyone who sent in the info. The problem is as follows:
>
>1.) the mktime()'s are stored as PST in the DB.

they still could be just make your pst offset be 0 and every timezone
offset be the difference in hours between them and pst*3600

>2.) we have users ALL OVER the world - is there a place to find all
>of the timezones at?

good luck, there's tons and some of them are wacky or don't honor
daylight saving time.

>
>--Joe
>
>On Mon, Apr 30, 2001 at 12:11:55PM -0700, Mark Maggelet wrote:
>> On Mon, 30 Apr 2001 13:56:20 -0500, Joe Stump ([EMAIL PROTECTED])
>> wrote:
>> >I have a quick question regarding timezones ...
>> >
>> >On the local side a record is inserted into the DB by someone in
>> >Michigan, while
>> >the server rests in CA. Thus a three hour difference. The local
>> >mktime() will
>> >create a timestamp for say 9:00am when in reality it was entered
>>at
>> >12:00noon
>> >in MI. I have 2 character timezones for all my users so it should
>>be
>> >easy to
>> >convert the two.
>>
>> you could use gmmktime() instead and add or subtract the offset.
>>
>> $offsets=array("
>> "PST"=>1000,  // not actual values
>> "EST"=>-2000,
>> ");
>>
>> $localtime=gmmktime()+$offsets[$timezone];
>>
>> >putenv() won't work because of the fact that the timestamp
created
>> >will be
>> >9:00 no matter what timezone you put it in. So what needs to be
>>done
>> >is some
>> >recognition that 10800 seconds needs to be added to adjust the
PST
>> >timestamp
>> >to an EST timestamp. Are there any functions out ther that do
>>this?
>> >
>> >--Joe
>> >
>> >Joe Stump <[EMAIL PROTECTED]>
>>
>--
>>---
>>
>> >---
>> >One is taught by experience to put a premium on those
>> >few people who can appreciate you for what you are.
>> >
>> >
>> >--
>> >PHP General 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: php-list-
>> >[EMAIL PROTECTED]
>>
>
>Joe Stump <[EMAIL PROTECTED]>
>-

>---
>Dyslexics of the world
>
>--
>PHP General 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: php-list-
>[EMAIL PROTECTED]



--
PHP General 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]




Re: [PHP] Syntax for select statement

2001-04-30 Thread Jason Stechschulte

On Fri, Apr 27, 2001 at 11:56:08AM -0400, Don Pro wrote:
> $queryID = mysql_query("SELECT Country, Agent FROM Ports
> WHERE Portname = '$portname'");
> 
> My question is, if the variable $portname has the ' character within in,
> will this cause an error in my select statement?  If the answer is
> "Yes", can someone give me a more robust way of writing it using PHP?

Yes.  You could try this
$queryID = mysql_query("SELECT Country, Agent FROM Ports
 WHERE Portname='".addslashes($portname)."'");
-- 
Jason Stechschulte
[EMAIL PROTECTED]
--
Suppose you're working on an optimizer to render \X unnecessary (or
rather, redundant, which isn't the same thing in my book).
 -- Larry Wall in <[EMAIL PROTECTED]>

-- 
PHP General 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]




Re: [PHP] suggestions for binary data in database

2001-04-30 Thread Jason Stechschulte

On Fri, Apr 27, 2001 at 03:24:36PM +0200, Ray Hilton wrote:
> However, on the site, i am currently storing images in the database, purely
> because i can.  But i wonder, how much will the server load be affected when
> pulling binary data out of the database?  compared to the file system?  i
> assume its going to be quite a lot higher.  DO you reckon it would be better
> to scrap that and store the images on the file system?

Yes, I certainly reckon that.  Using the database can make organizing
them easier, but I usually find it pretty easy to store images on the
file system and only put the directory structure, filename in the
database.  It is much easier on the database too.

-- 
Jason Stechschulte
[EMAIL PROTECTED]
--
Unix is like a toll road on which you have to stop every 50 feet to
pay another nickel.  But hey!  You only feel 5 cents poorer each time.
 -- Larry Wall in <[EMAIL PROTECTED]>

-- 
PHP General 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]




Re: [PHP] timezones

2001-04-30 Thread Jon Rosenberg

http://www.worldtimeserver.com/
has them all..then you can just assign your constants to them in a way that
makes sense to you


- Original Message -
From: "Joe Stump" <[EMAIL PROTECTED]>
To: "Mark Maggelet" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, April 30, 2001 3:24 PM
Subject: Re: [PHP] timezones


> Thanks to everyone who sent in the info. The problem is as follows:
>
> 1.) the mktime()'s are stored as PST in the DB.
> 2.) we have users ALL OVER the world - is there a place to find all of the
> timezones at?
>
> --Joe
>
> On Mon, Apr 30, 2001 at 12:11:55PM -0700, Mark Maggelet wrote:
> > On Mon, 30 Apr 2001 13:56:20 -0500, Joe Stump ([EMAIL PROTECTED])
> > wrote:
> > >I have a quick question regarding timezones ...
> > >
> > >On the local side a record is inserted into the DB by someone in
> > >Michigan, while
> > >the server rests in CA. Thus a three hour difference. The local
> > >mktime() will
> > >create a timestamp for say 9:00am when in reality it was entered at
> > >12:00noon
> > >in MI. I have 2 character timezones for all my users so it should be
> > >easy to
> > >convert the two.
> >
> > you could use gmmktime() instead and add or subtract the offset.
> >
> > $offsets=array("
> > "PST"=>1000,  // not actual values
> > "EST"=>-2000,
> > ");
> >
> > $localtime=gmmktime()+$offsets[$timezone];
> >
> > >putenv() won't work because of the fact that the timestamp created
> > >will be
> > >9:00 no matter what timezone you put it in. So what needs to be done
> > >is some
> > >recognition that 10800 seconds needs to be added to adjust the PST
> > >timestamp
> > >to an EST timestamp. Are there any functions out ther that do this?
> > >
> > >--Joe
> > >
> > >Joe Stump <[EMAIL PROTECTED]>
> > >-
> >
> > >---
> > >One is taught by experience to put a premium on those
> > >few people who can appreciate you for what you are.
> > >
> > >
> > >--
> > >PHP General 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: php-list-
> > >[EMAIL PROTECTED]
> >
>
> Joe Stump <[EMAIL PROTECTED]>
> 
> Dyslexics of the world
>
> --
> PHP General 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 General 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]




Re: [PHP] template solutions?

2001-04-30 Thread Steven Haryanto

I was not referring to "safe mode".

In other languages like Perl or Python, "safe execution" means
that if I execute some code (or eval a code string supplied by
user), I can restrict what kinds of operation is valid for it,
or what kinds of variables are available to it.

In PHP, if I have my database password in a global var $dbpass,
I cannot prevent this code:

  eval('echo $dbpass');

from printing my database password. Well of course you could do
unset($dbpass) or even unset($GLOBALS) or save it to somewhere
else... But still I cannot even prevent things like this:

  eval('echo 1/0');

from stopping my own program because it generates an error that
I cannot trap. Well, actually there is error handlers...

Perhaps you can get your way around to make eval() more secure,
but still I prefer not to trust a code string from user to be
eval()'ed by my PHP script. Just letting a user modify a template
and changing the look of a page is sufficient for me, since that
is all the user is supposed to gain access to.

Regards,
Steve


At 5/1/2001 02:23 AM, Dave Goodrich wrote:

>On Monday, April 30, 2001, at 12:02 PM, Steven Haryanto wrote:
>
>>Security? I do not want other people to have access to the PHP runtime
>>(where they can do nasty things like stealing my database password,
>>etc). PHP currently does not support any restricted execution of user
>>code whatsoever.
>in httpd.conf
>
>
> DocumentRoot /usr/local/www/thisUser
> ServerName thisUser.myServer.com
> php_value include_path /usr/local/www/thisUser/inc
> php_value open_basedir /usr/local/www/thisUser
>
>
>You could do a lot to control your users abilities/privleges in this way.


-- 
PHP General 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]




Re: [PHP] timezones

2001-04-30 Thread Joe Stump

Thanks to everyone who sent in the info. The problem is as follows:

1.) the mktime()'s are stored as PST in the DB.
2.) we have users ALL OVER the world - is there a place to find all of the
timezones at?

--Joe

On Mon, Apr 30, 2001 at 12:11:55PM -0700, Mark Maggelet wrote:
> On Mon, 30 Apr 2001 13:56:20 -0500, Joe Stump ([EMAIL PROTECTED])
> wrote:
> >I have a quick question regarding timezones ...
> >
> >On the local side a record is inserted into the DB by someone in
> >Michigan, while
> >the server rests in CA. Thus a three hour difference. The local
> >mktime() will
> >create a timestamp for say 9:00am when in reality it was entered at
> >12:00noon
> >in MI. I have 2 character timezones for all my users so it should be
> >easy to
> >convert the two.
> 
> you could use gmmktime() instead and add or subtract the offset.
> 
> $offsets=array("
> "PST"=>1000,  // not actual values
> "EST"=>-2000,
> ");
> 
> $localtime=gmmktime()+$offsets[$timezone];
> 
> >putenv() won't work because of the fact that the timestamp created
> >will be
> >9:00 no matter what timezone you put it in. So what needs to be done
> >is some
> >recognition that 10800 seconds needs to be added to adjust the PST
> >timestamp
> >to an EST timestamp. Are there any functions out ther that do this?
> >
> >--Joe
> >
> >Joe Stump <[EMAIL PROTECTED]>
> >-
> 
> >---
> >One is taught by experience to put a premium on those
> >few people who can appreciate you for what you are.
> >
> >
> >--
> >PHP General 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: php-list-
> >[EMAIL PROTECTED]
> 

Joe Stump <[EMAIL PROTECTED]>

Dyslexics of the world  

-- 
PHP General 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]




Re: [PHP] template solutions?

2001-04-30 Thread Dave Goodrich


On Monday, April 30, 2001, at 12:02 PM, Steven Haryanto wrote:

> Security? I do not want other people to have access to the PHP runtime
> (where they can do nasty things like stealing my database password,
> etc). PHP currently does not support any restricted execution of user
> code whatsoever.
>
in httpd.conf


 DocumentRoot /usr/local/www/thisUser
 ServerName thisUser.myServer.com
 php_value include_path /usr/local/www/thisUser/inc
 php_value open_basedir /usr/local/www/thisUser


You could do a lot to control your users abilities/privleges in this way.

Dave Goodrich
Director of Interface Development
Reality Based Learning Company
9521 NE Willows Road, Suite 100
Redmond, WA 98052
Toll Free 1-877-869-6603 ext. 237
Fax (425) 558-5655
[EMAIL PROTECTED]
http://www.rblc.com


-- 
PHP General 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] Sort an array

2001-04-30 Thread Brandon Orther

Hello,

Is there a way to sort an array alphabetically?

Brandon

-- 
PHP General 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]




Re: [PHP] timezones

2001-04-30 Thread Frank M. Kromann

I would use gmktime() to create a UTC timestamp stored in the database, and then use 
the knowledge about each users timezone to convert this information when showing it.

- Frank

> I have a quick question regarding timezones ...
> 
> On the local side a record is inserted into the DB by someone in Michigan, while
> the server rests in CA. Thus a three hour difference. The local mktime() will
> create a timestamp for say 9:00am when in reality it was entered at 12:00noon
> in MI. I have 2 character timezones for all my users so it should be easy to
> convert the two.
> 
> putenv() won't work because of the fact that the timestamp created will be 
> 9:00 no matter what timezone you put it in. So what needs to be done is some
> recognition that 10800 seconds needs to be added to adjust the PST timestamp
> to an EST timestamp. Are there any functions out ther that do this?
> 
> --Joe
> 
> Joe Stump <[EMAIL PROTECTED]>
> 
> One is taught by experience to put a premium on those 
> few people who can appreciate you for what you are.  
> 
> 
> -- 
> PHP General 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 General 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]




Re: [PHP] timezones

2001-04-30 Thread Jon Rosenberg

This is how I do it:
in DB:
usertable
username,etc,tzone
where tzone = EST,PST,MNT,CNT
when the user logs in just grab the tzone, register it in the session.  Also
make them constants, so you know if the server is in CA, then EST = 10800

now when they do something, all you have to do is calc the time.  Like
result = mktime() - EST

Is this what you were talking about?

Jon


- Original Message -
From: "Joe Stump" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 30, 2001 2:56 PM
Subject: [PHP] timezones


> I have a quick question regarding timezones ...
>
> On the local side a record is inserted into the DB by someone in Michigan,
while
> the server rests in CA. Thus a three hour difference. The local mktime()
will
> create a timestamp for say 9:00am when in reality it was entered at
12:00noon
> in MI. I have 2 character timezones for all my users so it should be easy
to
> convert the two.
>
> putenv() won't work because of the fact that the timestamp created will be
> 9:00 no matter what timezone you put it in. So what needs to be done is
some
> recognition that 10800 seconds needs to be added to adjust the PST
timestamp
> to an EST timestamp. Are there any functions out ther that do this?
>
> --Joe
>
> Joe Stump <[EMAIL PROTECTED]>
> 
> One is taught by experience to put a premium on those
> few people who can appreciate you for what you are.
>
>
> --
> PHP General 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 General 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]




Re: [PHP] timezones

2001-04-30 Thread Mark Maggelet

On Mon, 30 Apr 2001 13:56:20 -0500, Joe Stump ([EMAIL PROTECTED])
wrote:
>I have a quick question regarding timezones ...
>
>On the local side a record is inserted into the DB by someone in
>Michigan, while
>the server rests in CA. Thus a three hour difference. The local
>mktime() will
>create a timestamp for say 9:00am when in reality it was entered at
>12:00noon
>in MI. I have 2 character timezones for all my users so it should be
>easy to
>convert the two.

you could use gmmktime() instead and add or subtract the offset.

$offsets=array("
"PST"=>1000,  // not actual values
"EST"=>-2000,
");

$localtime=gmmktime()+$offsets[$timezone];

>putenv() won't work because of the fact that the timestamp created
>will be
>9:00 no matter what timezone you put it in. So what needs to be done
>is some
>recognition that 10800 seconds needs to be added to adjust the PST
>timestamp
>to an EST timestamp. Are there any functions out ther that do this?
>
>--Joe
>
>Joe Stump <[EMAIL PROTECTED]>
>-

>---
>One is taught by experience to put a premium on those
>few people who can appreciate you for what you are.
>
>
>--
>PHP General 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: php-list-
>[EMAIL PROTECTED]



--
PHP General 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] GD and arrays

2001-04-30 Thread Mike Wes

Hello,

I have the following case. I am working on a PHP script which contains an
array. Now I want to include a PHP created picture, which is a .php file
(gd, now further called as the picture.php file). Till so far, everything is
ok. The picture is created following as wished.

Now , I want to include values in the picture.php file, which make use of an
array which is used in the program above.
- I am not able to get any array accessed in the picture.php file!

P.S. I am able to access single values in the picture.php. I am also able to
list out values of the araay in the script who calls the picture-php file.

Can anybody give me a clue, how I can access the array in the picture.php ?
Am I doing something wrong, or is this a bug (in that case I prefere a
workaround).

Regards,

Mike Wes

[EMAIL PROTECTED]



-- 
PHP General 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]




RE: [PHP] template solutions?

2001-04-30 Thread Matt Schroebel

I'm using EasyTemplates from Web Application Development with PHP book by Tobias 
Ratschiller.  It's quite simple, easy to modify, and I loop on a template, appending 
the html to a variable that I use elsewhere in another template.  It really 
straightens out logic because you're building the pages bottom up, so to speak, and 
you know everything before you output any html.  It came on the cd in the book.  Not 
sure if it's on http://www.phpwizard.net/ or not.  

> -Original Message-
> From: Steven Haryanto [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, April 29, 2001 7:55 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] template solutions?
 
> Does anyone know a rather advanced template solution in PHP?
> At least one that supports loop and if (like HTML::Template),
> and directives/commands would be nice (like Perl's Template
> Toolkit).
> 

-- 
PHP General 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]




Re: [PHP] Link Color Questions

2001-04-30 Thread Ashley M. Kirchner

Joe Stump wrote:

> No you don't :)
>
> http://www.domain1.com";>url1
> http://www.domain2.com";>url2
> http://www.domain3.com";>url3
> http://www.domain4.com";>url4
>
> On Sun, Apr 22, 2001 at 04:18:51PM -0500, Jeff Oien wrote:
> > You need to use style sheets:
> > http://www.awlonline.com/cseng/titles/0-201-41998-X/liebos/
> > http://www.builder.com/Authoring/CSS/?tag=st.bl.7258.dir1.bl_CSS
> > http://www.wdvl.com/Authoring/Style/Sheets/
> > Jeff Oien

The FONT tag has been depreciated.  It still works, for backwards
compatibility, but StyleSheet is the way to go.

--
W |
  |  I haven't lost my mind; it's backed up on tape somewhere.
  |
  ~
  Ashley M. Kirchner    .   303.442.6410 x130
  SysAdmin / Websmith   . 800.441.3873 x130
  Photo Craft Laboratories, Inc. .eFax 248.671.0909
  http://www.pcraft.com  . 3550 Arapahoe Ave #6
  .. .  .  . .   Boulder, CO 80303, USA



-- 
PHP General 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]




Re: [PHP] template solutions?

2001-04-30 Thread Steven Haryanto

At 5/1/2001 01:43 AM, Fabian Raygosa wrote:
>Maybe this is what you are looking for
>http://www.thewebmasters.net/php/FastTemplate.phtml

Nope. I was looking for a template that supports loops and
IFs. Someone pointed me to php dreamtime:

  http://www.phptemplates.org/

which is a cool project, by the way.

Btw, I think I might need some extra "tags" to my template
"language" so I'm going to hack this on by myself at the
time being.

Thanks,
Steve


-- 
PHP General 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]




Re: [PHP] Link Color Questions

2001-04-30 Thread Joe Stump

No you don't :)

http://www.domain1.com";>url1
http://www.domain2.com";>url2
http://www.domain3.com";>url3
http://www.domain4.com";>url4

--Joe

On Sun, Apr 22, 2001 at 04:18:51PM -0500, Jeff Oien wrote:
> You need to use style sheets:
> http://www.awlonline.com/cseng/titles/0-201-41998-X/liebos/
> http://www.builder.com/Authoring/CSS/?tag=st.bl.7258.dir1.bl_CSS
> http://www.wdvl.com/Authoring/Style/Sheets/
> Jeff Oien
> 
> > Hi,
> >
> >  I would like to know how to make different link in different color on
> > one page.
> >
> > etc.  www.domain1.com in blue color
> >www.domain2.com in red color
> >www.domain3.com in orange color
> >
> > Thank you for your help
> >
> > Mark
> 
> 
> -- 
> PHP General 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]

Joe Stump <[EMAIL PROTECTED]>

It is impossible to love and be wise.  

-- 
PHP General 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] timezones

2001-04-30 Thread Joe Stump

I have a quick question regarding timezones ...

On the local side a record is inserted into the DB by someone in Michigan, while
the server rests in CA. Thus a three hour difference. The local mktime() will
create a timestamp for say 9:00am when in reality it was entered at 12:00noon
in MI. I have 2 character timezones for all my users so it should be easy to
convert the two.

putenv() won't work because of the fact that the timestamp created will be 
9:00 no matter what timezone you put it in. So what needs to be done is some
recognition that 10800 seconds needs to be added to adjust the PST timestamp
to an EST timestamp. Are there any functions out ther that do this?

--Joe

Joe Stump <[EMAIL PROTECTED]>

One is taught by experience to put a premium on those 
few people who can appreciate you for what you are.  


-- 
PHP General 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]




Re: [PHP] template solutions?

2001-04-30 Thread Steven Haryanto

At 5/1/2001 01:43 AM, Michael Kimsal wrote:
>I understand completely what you're getting at already, but PHP is
>designed to do what you're asking to do.
>
>I know there are valid reaons for stripped down implementations, but can't
>think of too many.

Clean separation of content and presentation? That is one strong
point (for some people anyway).

Ease of use? I want to let *other people* customize the web page to
some extent, but surely do not want to require them to learn PHP.

Security? I do not want other people to have access to the PHP runtime
(where they can do nasty things like stealing my database password,
etc). PHP currently does not support any restricted execution of user
code whatsoever.

For some applications, sometime I don't even want people to *know*
that I am using PHP.

>And actually, I would consider RTF or PDF to be
>languages unto themselves.  There's a full syntax to use to get specific
>results, and if you're throwing conditionals in there, or variables, it's
>hard to see how it's not a language.  Maybe not full-featured, but a
>language nonetheless.

I agree. But you said earlier, "programming language". Programming
languages are used to create *programs*. These perhaps can be
loosely called "document languages".

--
sh


-- 
PHP General 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]




Re: [PHP] template solutions?

2001-04-30 Thread Fabian Raygosa

Maybe this is what you are looking for
http://www.thewebmasters.net/php/FastTemplate.phtml

- Original Message -
From: "Steven Haryanto" <[EMAIL PROTECTED]>
To: "Michael Kimsal" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, April 30, 2001 11:40 AM
Subject: Re: [PHP] template solutions?


> See the philosophy behind HTML::Template for explanation on this:
>
> http://www.perlmonth.com/features/template/template.html?issue=11
>
> Not everything with loops and IFs is a programming language. I would
> probably call PDF or RTF a programming language too if it were.
>
> Steve
>
>
> At 5/1/2001 01:10 AM, Michael Kimsal wrote:
> >No, you're asking for something with loops and IFs.  That's a programming
> >language.
> >
> >
> >On Tue, 1 May 2001, Steven Haryanto wrote:
> >
> > > Actually, not using a programming language is the point of template,
> > > since I do not want to expose anything other than some template
> > > 'variables' to the template.
>
>
> --
> PHP General 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 General 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]




Re: [PHP] can someone debug this vote.php script for me?

2001-04-30 Thread Phillip Bow

Its just a warning error.  You can get rid of it by defining the variable,
or just change your error settings to not report warnings.
--
phill

""Joe Truong"" <[EMAIL PROTECTED]> wrote in message
9ce21h$s1n$[EMAIL PROTECTED]">news:9ce21h$s1n$[EMAIL PROTECTED]...
> can some one debug this script for me... it say's "Warning: Undefined
> variable: total in PHP_poll.php on line 63"
>
> thanxz alot!!!
>
>
>
> 
> // En: Begin PHP Code
>
>
/***
> ***\
>
> * PHP Poll Version 1.0 *
>
> * Copyright 2000 Frederic TYNDIUK (FTLS) All Rights Reserved. *
>
> * E-Mail: [EMAIL PROTECTED] Script License: GPL *
>
> * Created 02/28/2000 Last Modified 02/28/2000 *
>
> * Scripts Archive at: http://www.ftls.org/php/ *
>
>

> ***/
>
> // Necessary Variables:
>
> $RESULT_FILE_NAME = "poll_data.txt";
>
> // En: Absolute path and name to file contain poll data.
>
> $QUESTION = "How do you like this Script?";
>
> // En: Question Text.
>
> $ANSWER = array("Love it!", "Like it!", "Its okay..", "I dislike it", "I
> hate it..");
>
> // En: All answer.
>
> $IMG_DIR_URL = "./vote";
>
> // En: URL Directory of poll graphs.
>
> $REVOTE_TIME = 3600;
>
> // En: Time (second) after people can revote, use cookies.
>
> // End Necessary Variables section
>
>
/***
> ***/
>
> if (!isset($vote) && !isset($result)) {
>
> echo "\n";
>
> echo " BORDER=1>\n";
>
> echo "$QUESTION\n";
>
> while (list($key, $val) = each($ANSWER)) {
>
> echo " TYPE=\"radio\" NAME=\"answer\" VALUE=\"$key\"> $val width=\"2%\">\n";
>
> }
>
> echo " NAME=\"vote\" VALUE=\" Vote \">\n";
>
> echo "  \">\n";
>
> echo "";
>
> } else {
>
> $file_array = file($RESULT_FILE_NAME); // or error("Can not open
> \$RESULT_FILE_NAME");
>
> // En: Save result
>
> if ($answer < count($ANSWER) && $vote) {
>
> if (count($file_array) < count($ANSWER)) {
>
> $file_array = array("0\n", "0\n", "0\n", "0\n", "0\n", "0\n", "0\n",
"0\n",
> "0\n", "0\n");
>
> }
>
> $old_answer = $file_array[$answer];
>
> $old_answer = preg_replace("/\n\r*/", "", $old_answer);
>
> $file_array[$answer] = ($old_answer + 1)."\n";
>
> $file = join('', $file_array);
>
> $fp = fopen("$RESULT_FILE_NAME", "w"); //or error("Can not write
> \$RESULT_FILE_NAME");
>
> flock($fp, 1);
>
> fputs($fp, $file);
>
> flock($fp, 3);
>
> fclose($fp);
>
> }
>
> // En: Display result
>
> while (list($key, $val) = each($file_array)) {
>
> $total += $val;
>
> }
>
> echo "PHP Poll vote results :";
>
> echo " BORDER=1>";
>
> echo "WhatPercentageVotes";
>
> while (list($key, $val) = each($ANSWER)) {
>
> $percent = $file_array[$key] * 100 / $total;
>
> $percent_int = floor($percent);
>
> $percent_float = number_format($percent, 1);
>
> $fp += $percent_float;
>
> echo " $ANSWER[$key]  src=\"$IMG_DIR_URL/vote_left.gif\">";
>
> echo " src=\"$IMG_DIR_URL/vote_middle.gif\">";
>
> echo " $percent_float %
> ";
>
> echo "$file_array[$key]";
>
> }
>
> echo "";
>
> }
>
> ?>
>
>
>
>
> --
> PHP General 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 General 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]




Re: [PHP] template solutions?

2001-04-30 Thread Michael Kimsal

I understand completely what you're getting at already, but PHP is
designed to do what you're asking to do.  

I know there are valid reaons for stripped down implementations, but can't
think of too many.  And actually, I would consider RTF or PDF to be
languages unto themselves.  There's a full syntax to use to get specific
results, and if you're throwing conditionals in there, or variables, it's
hard to see how it's not a language.  Maybe not full-featured, but a
language nonetheless.



On Tue, 1 May 2001, Steven Haryanto wrote:

> See the philosophy behind HTML::Template for explanation on this:
> 
> http://www.perlmonth.com/features/template/template.html?issue=11
> 
> Not everything with loops and IFs is a programming language. I would
> probably call PDF or RTF a programming language too if it were.
> 
> Steve
> 
> 
> At 5/1/2001 01:10 AM, Michael Kimsal wrote:
> >No, you're asking for something with loops and IFs.  That's a programming
> >language.
> >
> >
> >On Tue, 1 May 2001, Steven Haryanto wrote:
> >
> > > Actually, not using a programming language is the point of template,
> > > since I do not want to expose anything other than some template
> > > 'variables' to the template.
> 
> 
> -- 
> PHP General 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 General 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]




Re: [PHP] template solutions?

2001-04-30 Thread Steven Haryanto

See the philosophy behind HTML::Template for explanation on this:

http://www.perlmonth.com/features/template/template.html?issue=11

Not everything with loops and IFs is a programming language. I would
probably call PDF or RTF a programming language too if it were.

Steve


At 5/1/2001 01:10 AM, Michael Kimsal wrote:
>No, you're asking for something with loops and IFs.  That's a programming
>language.
>
>
>On Tue, 1 May 2001, Steven Haryanto wrote:
>
> > Actually, not using a programming language is the point of template,
> > since I do not want to expose anything other than some template
> > 'variables' to the template.


-- 
PHP General 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]




Re: [PHP] template solutions?

2001-04-30 Thread Michael Kimsal

No, you're asking for something with loops and IFs.  That's a programming
language.  


On Tue, 1 May 2001, Steven Haryanto wrote:

> Actually, not using a programming language is the point of template,
> since I do not want to expose anything other than some template
> 'variables' to the template.
> 
> Steve
> 
> At 5/1/2001 12:36 AM, Michael Kimsal wrote:
> >Why not just use PHP in the template?  That's kinda what it was made for.
> >
> >On Sun, 29 Apr 2001, Steven Haryanto wrote:
> >
> > > Does anyone know a rather advanced template solution in PHP?
> > > At least one that supports loop and if (like HTML::Template),
> > > and directives/commands would be nice (like Perl's Template
> > > Toolkit).
> > >
> > > I am currently rolling my own, but still not happy with the
> > > result of the design. I'd be happy to use one that is already
> > > out there.
> > >
> > > Steve
> 


-- 
PHP General 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]




Re: [PHP] php suck

2001-04-30 Thread Geir Eivind Mork

On Sunday 29 April 2001 12:54, idban secandri wrote:
>  i found this when surfing this morning
>  http://www.phpsucks.net/


The site www.phpsucks.net is running Apache/1.3.17-twelveHTTP (Unix) 
PHP/4.0.4pl1 on Linux.

is it just me or is it a mirror of the old php site with the text 'Hyped text 
Bloatcessor' ? 

but there are a aspsucks.com, cfsucks.com (if that ever points to cold 
fusion), perlsucks.com (which is a pro-php site), lifesucks.com, 
wifesucks.com, isucks.com, sucks.com and god knows what sucks and sucks not  
dot-com.

so I wouldn't exacly be offended if anyone though anything sucked dot com 
cause everyone thinks it sucks no matter how good it is :) 
 
-- 
 php developer / CoreTrek AS| "Besides, I think [Slackware] sounds
 Sandnes / Rogaland / Norway| better than 'Microsoft,' don't you?" (By
 web: http://www.moijk.net/ | Patrick Volkerding) 

-- 
PHP General 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]




Re: [PHP] template solutions?

2001-04-30 Thread Steven Haryanto

Actually, not using a programming language is the point of template,
since I do not want to expose anything other than some template
'variables' to the template.

Steve

At 5/1/2001 12:36 AM, Michael Kimsal wrote:
>Why not just use PHP in the template?  That's kinda what it was made for.
>
>On Sun, 29 Apr 2001, Steven Haryanto wrote:
>
> > Does anyone know a rather advanced template solution in PHP?
> > At least one that supports loop and if (like HTML::Template),
> > and directives/commands would be nice (like Perl's Template
> > Toolkit).
> >
> > I am currently rolling my own, but still not happy with the
> > result of the design. I'd be happy to use one that is already
> > out there.
> >
> > Steve


-- 
PHP General 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] COM

2001-04-30 Thread Hassan Arteaga

Hi all !!

I have components i made in Visual Basic 6.0 and I would like to use with
PHP. I need examples how to create intance from VB COM component...
What function I have to use ?

com_load - ???
com_invoke - ???
com_propget - ???
com_get - ???
com_propput - ???
com_propset - ???
com_set - ???

Thanks in advanced !!!

--
M. Sc. Hassan Arteaga Rodríguez
Microsoft Certified System Engineer
Network Admin, WEB Programmer
FUNDYCS, Ltd
[EMAIL PROTECTED]

--
PHP General 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]




Re: [PHP]OT, but dual-boot operating system question

2001-04-30 Thread Richard S. Crawford

Beware if you're using WinNT or Windows 2000.  Neither one plays nice with 
LILO.

At 01:41 PM 4/30/2001 -0400, Toby Miller wrote:
>Your safest bet would probably be to look into RedHat Linux. It's a fairly
>straight forward Linux distribution. It also includes the LILO boot loader
>which is one way to boot into more than one operating system on the same
>machine.


-- 
PHP General 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]




Re: [PHP]OT, but dual-boot operating system question

2001-04-30 Thread Toby Miller

Your safest bet would probably be to look into RedHat Linux. It's a fairly
straight forward Linux distribution. It also includes the LILO boot loader
which is one way to boot into more than one operating system on the same
machine.

- Original Message -
From: "Chris Cocuzzo" <[EMAIL PROTECTED]>
To: "PHP General List (E-mail)" <[EMAIL PROTECTED]>
Sent: Saturday, April 28, 2001 12:36 PM
Subject: [PHP]OT, but dual-boot operating system question


> Hey,
>
> completely OT i know...
>
> In a few months when I put together for college, I'm considering doing a
> dual-boot type system, with some windows OS, and also a unix OS. However,
I
> don't know that much about any free unix OS' that are out there. The two I
> can think of to use would be Solaris and Linux. Can anyone give me some
> advice on which to use, and also if possible point me to a site where I
can
> get information on doing this type of thing?
>
> Chris
>
>
> --
> PHP General 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 General 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]




Re: [PHP] template solutions?

2001-04-30 Thread Michael Kimsal

Why not just use PHP in the template?  That's kinda what it was made for.


On Sun, 29 Apr 2001, Steven Haryanto wrote:

> Does anyone know a rather advanced template solution in PHP?
> At least one that supports loop and if (like HTML::Template),
> and directives/commands would be nice (like Perl's Template
> Toolkit).
> 
> I am currently rolling my own, but still not happy with the
> result of the design. I'd be happy to use one that is already
> out there.
> 
> Steve



-- 
PHP General 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] replace functions add \

2001-04-30 Thread Kasten, Holger

Hello,

I have a strange problem.

I tried ereg_rplace and str_replace:

$to_test = 'This is a test';
$to_test = str_replace ("test","little test",$to_test);

echo $to_test;

the result is: "This is a \little test"

Why does this happen?


-- 
PHP General 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]




Re: [PHP] Update statement?:SOLVED

2001-04-30 Thread Kurth Bemis

At 01:03 PM 4/30/2001, Steve Werby wrote:

I hate the letter "i" :-)

it was missing when i passed quantity to the function

~kurth

>"Kurth Bemis" <[EMAIL PROTECTED]> wrote:
> > function modify_quantity($table, $session, $itemid, $quantity)
> > {
> > $sql = "UPDATE $table SET quantity='$quantity' WHERE session='$session'
> > AND itemid='$itemid'";
> > mysql_query("$sql");
>
>Add 'echo $sql;' here (no quotes) and look at the output.  If the RHS of
>quantity= is zero, then $quantity passed to modify_quantity is zero and
>that's the problem.
>
> > if there is a value in the db field "quantity" then after the statement is
> > executed it is set to "0"
>
>I think that $quantity is the problem.
>
>--
>Steve Werby
>President, Befriend Internet Services LLC
>http://www.befriend.com/
>
>
>--
>PHP General 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 General 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]




Re: [PHP] Update statement?

2001-04-30 Thread Steve Werby

"Kurth Bemis" <[EMAIL PROTECTED]> wrote:
> function modify_quantity($table, $session, $itemid, $quantity)
> {
> $sql = "UPDATE $table SET quantity='$quantity' WHERE session='$session'
> AND itemid='$itemid'";
> mysql_query("$sql");

Add 'echo $sql;' here (no quotes) and look at the output.  If the RHS of
quantity= is zero, then $quantity passed to modify_quantity is zero and
that's the problem.

> if there is a value in the db field "quantity" then after the statement is
> executed it is set to "0"

I think that $quantity is the problem.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/


-- 
PHP General 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] Sort Question

2001-04-30 Thread Brandon Orther

Hello,

I am doing a dir list of an ftp and using sort to sort the dir list
alphabetically.  What I am using now sorts it alphabetically but it sorts
the capital letters then the lower case so a capital "Z" would come before a
lower case "a"

The Code I am using is:

sort($complete_list);
return $complete_list;

Does someone know how I can sort an array alphabetically with the case
insensitive sort?

Thank You
Brandon


-- 
PHP General 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] Update statement?

2001-04-30 Thread Kurth Bemis

hey i'm working on a shopping cart..but have hit a snag whit this statement..

function modify_quantity($table, $session, $itemid, $quantity)
{
$sql = "UPDATE $table SET quantity='$quantity' WHERE 
session='$session' 
AND itemid='$itemid'";
mysql_query("$sql");
}

if there is a value in the db field "quantity" then after the statement is 
executed it is set to "0"

here is my calling code.

if ($action == "uq" || $action == "Update" ){
modify_quantity($table,$session,$itemid,$quanity);
}

and the requested url.

http://www.harborfresh.com/retail/cart.php?itemid=21591&quantity=5&action=Update

any ideas?

~kurth


-- 
PHP General 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]




Re: [PHP] php 4.04pl1 & ldap

2001-04-30 Thread Steve Werby

"Walgamotte, David" <[EMAIL PROTECTED]> wrote:
> Is LDAP support default or are there any ./configure options I need to
know

Take a look at './configure --help'.  You need to configure --with-ldap.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/


-- 
PHP General 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]




Re: [PHP] Command Line

2001-04-30 Thread Steve Werby

"Randy Johnson" <[EMAIL PROTECTED]> wrote:
> how do access arguments if I run a script from the command line
>
> example
> php myscript.php  arg1, arg2

They'll be located in the global array $argv[].  Include 
in your script to see how to access them.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/


-- 
PHP General 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] php 4.04pl1 & ldap

2001-04-30 Thread Walgamotte, David

Is LDAP support default or are there any ./configure options I need to know
?

David


   



[PHP] help me :)

2001-04-30 Thread Arvydas

Hello,
i'm new in php but i have very difficult exercise i must make hierarchical menu 
witch can be released for example so :

First i will get main menu : for example menu1, menu2, menu3... and these menu will 
have links (this must be released with 


[PHP] RE: Get the title from an HTML page

2001-04-30 Thread Tim Ward

$title = substr(stristr($filetext, ""), 7);
$title = substr($title , 0, strpos($title , ""));

Tim Ward
Senior Systems Engineer

Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html


> -Original Message-
> From: Matthew Ralston [mailto:[EMAIL PROTECTED]]
> Sent: 30 April 2001 14:25
> To: [EMAIL PROTECTED]
> Subject: Get the title from an HTML page
> 
> 
> I'll be loading the contents of an HTML page into a variable 
> and I need to
> get the title of the from that variable.
> 
> Basically I need to ge the text from in between the  tags.
> Any ideas?
> 
> Thanks,
> 
> Matt
> [EMAIL PROTECTED]
> < www.mralston.co.uk />
> 
> 
> 

-- 
PHP General 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]




RE: [PHP] Get the title from an HTML page

2001-04-30 Thread Matt Schroebel

You can find a function that does that at http://www.zend.com called Get Title Tag in 
the Code Gallery under the HTML catagory.

> -Original Message-
> From: Matthew Ralston [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 30, 2001 9:25 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Get the title from an HTML page
> Basically I need to ge the text from in between the  tags.
> Any ideas?
> 

-- 
PHP General 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] Creating Graphs

2001-04-30 Thread Mike Mike

Hello,
I was wonder if anyone knows of a place where I can
get a good tutorial about making graphs for beginners
using php. 
If so please let me know.
Thank you
  --Mike

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

-- 
PHP General 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-general Digest 30 Apr 2001 15:35:27 -0000 Issue 658

2001-04-30 Thread php-general-digest-help


php-general Digest 30 Apr 2001 15:35:27 - Issue 658

Topics (messages 50824 through 50867):

Best Practice-HTML In Database
50824 by: John Monfort
50825 by: Michael Hall
50826 by: Donald Goodwill
50848 by: Mark Roedel

suggestion needed about du command run on PHP
50827 by: Mark Lo \(3\)

why isn't get_browser() not working?
50828 by: elias
50845 by: Mark Roedel
50856 by: Joe Sheble (Wizaerd)

session array :-/
50829 by: Christian

PHP4, APACHE, SCO & INFORMIX
50830 by: Paul Gardiner

Re: Loading PHP module on Win98
50831 by: Phil Driscoll
50839 by: elias

Split Weirdness.
50832 by: Nick Davies
50834 by: Zak Greant

backends
50833 by: chris herring
50835 by: elias

PHP 4.0.3 : Sessions & history.back() : a solution ?
50836 by: Matthieu Brunet
50857 by: Yasuo Ohgaki

cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
50837 by: Markus Held

Security Issue
50838 by: Jim Persson

Re: how to include() a string
50840 by: Zeev Suraski

Re: crypting a database
50841 by: bill

phpMyAdmin user administration script for you
50842 by: Ian LeBlanc

Get the string between custom delimiters
50843 by: Matthew Ralston

Temporary directory for GD functions
50844 by: Sarto Beaudoin

Get the title from an HTML page
50846 by: Matthew Ralston

LDAP Authentication
50847 by: Romulo Pereira

About MS SQL
50849 by: Hassan Arteaga
50851 by: Matthew Ralston
50852 by: Hassan Arteaga
50853 by: Hassan Arteaga
50858 by: Hassan Arteaga
50860 by: Matthew Ralston
50862 by: Hassan Arteaga
50865 by: Matthew Ralston
50866 by: Hassan Arteaga

Problem with Sablot/PHP4
50850 by: Yarek

recipients 
50854 by: Ian LeBlanc

Php + mysql - How to turn off threaded client code
50855 by: Vimal Uppal

lex error in make of PHP_4.0.2/Zend
50859 by: Surinder Singh
50863 by: Andi Gutmans
50864 by: Andi Gutmans

Command Line
50861 by: Randy Johnson

Checking query suceeded
50867 by: Jordan Elver

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]


--




  Hello everyone,

  I'm curious. Which is the better practice?
   1) Insert the HTML page (...HTML code) in the database ?

   or

   2) Insert a URL in the database field, that points to the HTML page?


  why?

  Any help will be appreciated.

  Btw, thank you all for helping with my previous questions.

 ==FOLLOW-UP ==-
 = PHP Ultradev Browser Model ==
 ===

 FYI
  For those who care about the PHP-Ultradev Server Model (PHAKT).
  I finally got it to work. Everything works for MySQL.
  However, you have to make some manual changes for it to work with MS
  Access. The changes are as follow:

   1) You have to add the 'Access' or 'ODBC' "Connection Type", in the
  server model's CONNECTION File
  (accessed via Modify->Connection->New).

  To do so:
   a) open (from the Ultradev Configuration folder)
   Connection->PHP->Win->Connection_php_adodb.htm

   b) add the value pairs  access/access, and/or odbc/odbc, to the
  dropdown list for 'Connection Type'.

   Without this, you can only select MySQL as the connection type.
   This means that ADOBD will use the wrong drivers to connect to
   your DB.

  2) There is an ERROR in the ADODB ODBC configuration file. The ODBC
 file has a format error in the ODBC connection call.
 (Site Root Folder ->ADODB->adodb-odbc.inc.php)

   The file tries to connect (to the DB) with

   $dbh = odbc_connect ('$hostname', $username,$password);

   That is an error. The correct format is

   $dbh = odbc_connect ('$DSN_NAME', $username, $password);

   You do not need to specify the host, for an ODBC connection. That
   information is already listed in the DSN description.


   Once that's done. You'll be able to use Ultradev with PHP.

   I hope that helped.

   -John

   Again, thanks to everyone who helped me find this extension.
   Don't forget my new question :)  see above.




__John Monfort_
_+---+_
 P E P I E  D E S I G N S
   www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-







If you ever need to update the HTML, option 2 will be a lot easier.

Mick

On Sun, 29 Apr 2001, John Monfort wrote:

> 
>   Hello everyone,
> 
>   I'm curious. Which is the better practice?
>1) Insert the HTML page (...HTML code) in the database ?
> 
>or
> 
>2) Insert a URL in the database fi

[PHP] Checking query suceeded

2001-04-30 Thread Jordan Elver

Hi,
If I'm doing more than one query on a page what is the best way to check if 
they all succeeded with out using transactions?

TIA,

Jord

-- 
PHP General 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]




RE: RE: RE: [PHP] About MS SQL

2001-04-30 Thread Hassan Arteaga

No..is on Win98 with Persnal Web Server PC.

Regards !!

-Original Message-
From: Matthew Ralston [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 30, 2001 12:32 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: [PHP] About MS SQL


you might have to restart your webserver/php
if it's apache you might need to recompile it or something...i've not
compiled php into apache before...am using it as a cgi...so i'm not sure

--
Thanks,

Matt
[EMAIL PROTECTED]
< www.mralston.co.uk />

Hassan Arteaga <[EMAIL PROTECTED]> wrote in message
7F548E90E63BD1118E4600609707771F8BF00A@goliath">news:7F548E90E63BD1118E4600609707771F8BF00A@goliath...
> I did it ..But nothing
>
> Thanks !!!
>
>
> --
> PHP General 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 General 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 General 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]




Re: RE: RE: [PHP] About MS SQL

2001-04-30 Thread Matthew Ralston

you might have to restart your webserver/php
if it's apache you might need to recompile it or something...i've not
compiled php into apache before...am using it as a cgi...so i'm not sure

--
Thanks,

Matt
[EMAIL PROTECTED]
< www.mralston.co.uk />

Hassan Arteaga <[EMAIL PROTECTED]> wrote in message
7F548E90E63BD1118E4600609707771F8BF00A@goliath">news:7F548E90E63BD1118E4600609707771F8BF00A@goliath...
> I did it ..But nothing
>
> Thanks !!!
>
>
> --
> PHP General 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 General 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]




Re: [PHP] lex error in make of PHP_4.0.2/Zend

2001-04-30 Thread Andi Gutmans

By the way, while you're at it get bison too (instead of YACC :)

Andi

At 07:59 AM 4/30/2001 -0700, Surinder Singh wrote:
>Hi,
>
>I got problem while building PHP on Solaris8/SPARC.
>
>I tried buildconf, then configure and then make. I got stuch at make. But 
>giving here the output of buildconf and configure also as it may help you 
>to help me.
>
>moon:/workspace/trial/installserver/php_4.0.2/Zend 134 % \rm aclocal.m4 
>configure
>moon:/workspace/trial/installserver/php_4.0.2/Zend 135 % buildconf
>buildconf: created or modified aclocal.m4
>buildconf: created or modified configure
>moon:/workspace/trial/installserver/php_4.0.2/Zend 136 %
>moon:/workspace/trial/installserver/php_4.0.2/Zend 136 % configure
>loading cache ./config.cache
>checking for a BSD compatible install... ./../install-sh -c
>checking whether build environment is sane... yes
>checking whether make sets ${MAKE}... (cached) yes
>checking for working aclocal... found
>checking for working autoconf... found
>checking for working automake... found
>checking for working autoheader... found
>checking for working makeinfo... missing
>checking whether build environment is sane... yes
>checking whether to enable maintainer-specific portions of Makefiles... no
>checking for gcc... (cached) /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc
>checking whether the C compiler 
>(/usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc  ) works... yes
>checking whether the C compiler 
>(/usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc  ) is a cross-compiler... no
>checking whether we are using GNU C... (cached) no
>checking whether /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc accepts 
>-g... (cached) yes
>checking how to run the C preprocessor... (cached) 
>/usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc -E
>checking for flex... (cached) lex
>checking for flex... (cached) lex
>checking for yywrap in -ll... (cached) yes
>checking lex output file root... (cached) lex.yy
>checking whether yytext is a pointer... (cached) no
>checking for /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc option to accept 
>ANSI C... (cached) none needed
>checking for bison... (cached) bison -y
>checking whether /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc and cc 
>understand -c and -o together... (cached) yes
>checking for ANSI C header files... (cached) yes
>checking bison version... 1.28 (ok)
>checking for limits.h... (cached) yes
>checking for malloc.h... (cached) yes
>checking for string.h... (cached) yes
>checking for unistd.h... (cached) yes
>checking for stdarg.h... (cached) yes
>checking for sys/types.h... (cached) yes
>checking for signal.h... (cached) yes
>checking for unix.h... (cached) no
>checking for dlfcn.h... (cached) yes
>checking for size_t... (cached) yes
>checking return type of signal handlers... (cached) void
>checking for dlopen in -ldl... (cached) yes
>checking for dlopen... (cached) yes
>checking for uint... (cached) yes
>checking for ulong... (cached) yes
>checking for vprintf... (cached) yes
>checking for 8-bit clean memcmp... (cached) yes
>checking for working alloca.h... (cached) yes
>checking for alloca... (cached) yes
>checking for memcpy... (cached) yes
>checking for strdup... (cached) yes
>checking for getpid... (cached) yes
>checking for kill... (cached) yes
>checking for strtod... (cached) yes
>checking for strtol... (cached) yes
>checking for finite... (cached) yes
>checking whether sprintf is broken... (cached) no
>checking for finite... (cached) yes
>checking for isfinite... (cached) no
>checking for isinf... (cached) no
>checking for isnan... (cached) yes
>checking whether fp_except is defined... (cached) no
>checking host system type... sparc-sun-solaris2.8
>checking build system type... sparc-sun-solaris2.8
>checking for ranlib... (cached) ranlib
>checking for non-GNU ld... (cached) /usr/ucb/ld
>checking if the linker (/usr/ucb/ld) is GNU ld... (cached) no
>checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p
>checking whether ln -s works... (cached) yes
>loading cache ./config.cache within ltconfig
>checking whether we are using GNU C... no
>checking for object suffix... o
>checking for executable suffix... (cached) no
>checking for /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc option to 
>produce PIC... -KPIC
>checking if /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc PIC flag -KPIC 
>works... yes
>checking if /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc supports -c -o 
>file.o... yes
>checking if /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc supports -c -o 
>file.lo... no
>checking if /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc static flag 
>-Bstatic works... none
>checking if the linker (/usr/ucb/ld) is GNU ld... no
>checking whether the linker (/usr/ucb/ld) supports shared libraries... yes
>checking command to parse /usr/ccs/bin/nm -p output... ok
>checking how to hardcode library paths into programs... immediate
>checking for /usr/ucb/ld option to reload object files... -r
>checking dynamic linker characteristics... solaris2.8 ld.so
>checking if lib

Re: [PHP] lex error in make of PHP_4.0.2/Zend

2001-04-30 Thread Andi Gutmans

You are best off using flex instead of your system lex. You can download it 
from ftp.gnu.org

Andi

At 07:59 AM 4/30/2001 -0700, Surinder Singh wrote:
>Hi,
>
>I got problem while building PHP on Solaris8/SPARC.
>
>I tried buildconf, then configure and then make. I got stuch at make. But 
>giving here the output of buildconf and configure also as it may help you 
>to help me.
>
>moon:/workspace/trial/installserver/php_4.0.2/Zend 134 % \rm aclocal.m4 
>configure
>moon:/workspace/trial/installserver/php_4.0.2/Zend 135 % buildconf
>buildconf: created or modified aclocal.m4
>buildconf: created or modified configure
>moon:/workspace/trial/installserver/php_4.0.2/Zend 136 %
>moon:/workspace/trial/installserver/php_4.0.2/Zend 136 % configure
>loading cache ./config.cache
>checking for a BSD compatible install... ./../install-sh -c
>checking whether build environment is sane... yes
>checking whether make sets ${MAKE}... (cached) yes
>checking for working aclocal... found
>checking for working autoconf... found
>checking for working automake... found
>checking for working autoheader... found
>checking for working makeinfo... missing
>checking whether build environment is sane... yes
>checking whether to enable maintainer-specific portions of Makefiles... no
>checking for gcc... (cached) /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc
>checking whether the C compiler 
>(/usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc  ) works... yes
>checking whether the C compiler 
>(/usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc  ) is a cross-compiler... no
>checking whether we are using GNU C... (cached) no
>checking whether /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc accepts 
>-g... (cached) yes
>checking how to run the C preprocessor... (cached) 
>/usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc -E
>checking for flex... (cached) lex
>checking for flex... (cached) lex
>checking for yywrap in -ll... (cached) yes
>checking lex output file root... (cached) lex.yy
>checking whether yytext is a pointer... (cached) no
>checking for /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc option to accept 
>ANSI C... (cached) none needed
>checking for bison... (cached) bison -y
>checking whether /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc and cc 
>understand -c and -o together... (cached) yes
>checking for ANSI C header files... (cached) yes
>checking bison version... 1.28 (ok)
>checking for limits.h... (cached) yes
>checking for malloc.h... (cached) yes
>checking for string.h... (cached) yes
>checking for unistd.h... (cached) yes
>checking for stdarg.h... (cached) yes
>checking for sys/types.h... (cached) yes
>checking for signal.h... (cached) yes
>checking for unix.h... (cached) no
>checking for dlfcn.h... (cached) yes
>checking for size_t... (cached) yes
>checking return type of signal handlers... (cached) void
>checking for dlopen in -ldl... (cached) yes
>checking for dlopen... (cached) yes
>checking for uint... (cached) yes
>checking for ulong... (cached) yes
>checking for vprintf... (cached) yes
>checking for 8-bit clean memcmp... (cached) yes
>checking for working alloca.h... (cached) yes
>checking for alloca... (cached) yes
>checking for memcpy... (cached) yes
>checking for strdup... (cached) yes
>checking for getpid... (cached) yes
>checking for kill... (cached) yes
>checking for strtod... (cached) yes
>checking for strtol... (cached) yes
>checking for finite... (cached) yes
>checking whether sprintf is broken... (cached) no
>checking for finite... (cached) yes
>checking for isfinite... (cached) no
>checking for isinf... (cached) no
>checking for isnan... (cached) yes
>checking whether fp_except is defined... (cached) no
>checking host system type... sparc-sun-solaris2.8
>checking build system type... sparc-sun-solaris2.8
>checking for ranlib... (cached) ranlib
>checking for non-GNU ld... (cached) /usr/ucb/ld
>checking if the linker (/usr/ucb/ld) is GNU ld... (cached) no
>checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p
>checking whether ln -s works... (cached) yes
>loading cache ./config.cache within ltconfig
>checking whether we are using GNU C... no
>checking for object suffix... o
>checking for executable suffix... (cached) no
>checking for /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc option to 
>produce PIC... -KPIC
>checking if /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc PIC flag -KPIC 
>works... yes
>checking if /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc supports -c -o 
>file.o... yes
>checking if /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc supports -c -o 
>file.lo... no
>checking if /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc static flag 
>-Bstatic works... none
>checking if the linker (/usr/ucb/ld) is GNU ld... no
>checking whether the linker (/usr/ucb/ld) supports shared libraries... yes
>checking command to parse /usr/ccs/bin/nm -p output... ok
>checking how to hardcode library paths into programs... immediate
>checking for /usr/ucb/ld option to reload object files... -r
>checking dynamic linker characteristics... sola

RE: RE: RE: [PHP] About MS SQL

2001-04-30 Thread Hassan Arteaga

I did it ..But nothing

Thanks !!! 


-- 
PHP General 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] Command Line

2001-04-30 Thread Randy Johnson

how do access arguments if I run a script from the command line 

example


php myscript.php  arg1, arg2


thanks

randy

-- 
PHP General 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]




Re: [PHP] About MS SQL

2001-04-30 Thread Matthew Ralston

from what i recall there is a line (to enable ms sql server support) in the
php.ini file already that just needs uncommenting. have a look right through
the file...there's one for sql server 6.5 and one for 7.

--
Thanks,

Matt
[EMAIL PROTECTED]
< www.mralston.co.uk />

Hassan Arteaga <[EMAIL PROTECTED]> wrote in message
7F548E90E63BD1118E4600609707771F8BF005@goliath">news:7F548E90E63BD1118E4600609707771F8BF005@goliath...
> For example if my SQL installation files are in c:\MSSQL  what is the
right
> configuration ? extension_dir=c:\MSSQL;
> Now I just made the  job with ODBC functions but I would like to use SQL
> function !!
>
> thanks !!!
>
> -Original Message-
> From: Romulo Pereira [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 30, 2001 11:38 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] About MS SQL
>
>
> Hello,
>
> Your php.ini is not configured correctilly. That is what is doing the php
to
> do not include the MsSQL functions to the php api. Open your php.ini file
> and find (and correct) the section below:
>
> ;
> ; Paths and Directories ;
> ;
> ...
> extension_dir=./extensions;
>
> Your scripts should work then.
>
> Have fun,
>
> Rom
>
> --
> PHP General 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 General 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] lex error in make of PHP_4.0.2/Zend

2001-04-30 Thread Surinder Singh

Hi,

I got problem while building PHP on Solaris8/SPARC.

I tried buildconf, then configure and then make. I got stuch at make. But giving here 
the output of buildconf and configure also as it may help you to help me.

moon:/workspace/trial/installserver/php_4.0.2/Zend 134 % \rm aclocal.m4 configure
moon:/workspace/trial/installserver/php_4.0.2/Zend 135 % buildconf
buildconf: created or modified aclocal.m4
buildconf: created or modified configure
moon:/workspace/trial/installserver/php_4.0.2/Zend 136 % 
moon:/workspace/trial/installserver/php_4.0.2/Zend 136 % configure
loading cache ./config.cache
checking for a BSD compatible install... ./../install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking whether build environment is sane... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc
checking whether the C compiler (/usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc  ) 
works... yes
checking whether the C compiler (/usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc  ) is a 
cross-compiler... no
checking whether we are using GNU C... (cached) no
checking whether /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc accepts -g... (cached) 
yes
checking how to run the C preprocessor... (cached) 
/usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc -E
checking for flex... (cached) lex
checking for flex... (cached) lex
checking for yywrap in -ll... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) no
checking for /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc option to accept ANSI C... 
(cached) none needed
checking for bison... (cached) bison -y
checking whether /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc and cc understand -c and 
-o together... (cached) yes
checking for ANSI C header files... (cached) yes
checking bison version... 1.28 (ok)
checking for limits.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for signal.h... (cached) yes
checking for unix.h... (cached) no
checking for dlfcn.h... (cached) yes
checking for size_t... (cached) yes
checking return type of signal handlers... (cached) void
checking for dlopen in -ldl... (cached) yes
checking for dlopen... (cached) yes
checking for uint... (cached) yes
checking for ulong... (cached) yes
checking for vprintf... (cached) yes
checking for 8-bit clean memcmp... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for memcpy... (cached) yes
checking for strdup... (cached) yes
checking for getpid... (cached) yes
checking for kill... (cached) yes
checking for strtod... (cached) yes
checking for strtol... (cached) yes
checking for finite... (cached) yes
checking whether sprintf is broken... (cached) no
checking for finite... (cached) yes
checking for isfinite... (cached) no
checking for isinf... (cached) no
checking for isnan... (cached) yes
checking whether fp_except is defined... (cached) no
checking host system type... sparc-sun-solaris2.8
checking build system type... sparc-sun-solaris2.8
checking for ranlib... (cached) ranlib
checking for non-GNU ld... (cached) /usr/ucb/ld
checking if the linker (/usr/ucb/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking whether we are using GNU C... no
checking for object suffix... o
checking for executable suffix... (cached) no
checking for /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc option to produce PIC... 
-KPIC
checking if /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc PIC flag -KPIC works... yes
checking if /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc supports -c -o file.o... yes
checking if /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc supports -c -o file.lo... no
checking if /usr/dist/share/devpro,v4.0/5.x/SC4.0/bin/cc static flag -Bstatic works... 
none
checking if the linker (/usr/ucb/ld) is GNU ld... no
checking whether the linker (/usr/ucb/ld) supports shared libraries... yes
checking command to parse /usr/ccs/bin/nm -p output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/ucb/ld option to reload object files... -r
checking dynamic linker characteristics... solaris2.8 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking whether to en

RE: [PHP] About MS SQL

2001-04-30 Thread Hassan Arteaga

For example if my SQL installation files are in c:\MSSQL  what is the right
configuration ? extension_dir=c:\MSSQL;
Now I just made the  job with ODBC functions but I would like to use SQL
function !!

thanks !!! 

-Original Message-
From: Romulo Pereira [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 30, 2001 11:38 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] About MS SQL


Hello,

Your php.ini is not configured correctilly. That is what is doing the php to
do not include the MsSQL functions to the php api. Open your php.ini file
and find (and correct) the section below:

;
; Paths and Directories ;
;
...
extension_dir=./extensions;

Your scripts should work then.

Have fun,

Rom

-- 
PHP General 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]




Re: [PHP] PHP 4.0.3 : Sessions & history.back() : a solution ?

2001-04-30 Thread Yasuo Ohgaki

There is a functions called session_cache_limiter().
Use this function before you output anything (or use ob_start(), if you would
like)

Regards,
--
Yasuo Ohgaki


"Matthieu Brunet" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Well, I suppose it's a well known problem, but I haven't found a solution
> yet...
>
> As you know, when you don't use sessions, you can use the "back" button of
> your browser, or the javascript commande "history.back()". In the same time,
> you don't have to put some "nocache" header to have your dynamic pages
> refreshed when it change.
> Well. This very good. The "back" button use cache, but when you reload a
> page, it never take it from the cache (except the images).
>
> But when you use session, it's got wrong (as you can see, my English is a
> little bit approximate)
>
> With the session_cache_limiter at "nocache" in the php.ini, in most case,
> the "back" button don't work anymore.
>
> And if I set the session_cache_limiter to "private", the "back" button work
> fine, but on the other hand, when you reload a page, it take it from the
> cache, until you make a "hard reload". Not cool. :+/
>
> So, somebody can explain me why the fact of using sessions change the
> functioning of the cache ?
>
> And is there a solution ?
>
> Thanks a lot. :+)
>
>
> --
> PHP General 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 General 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]




Re: [PHP] why isn't get_browser() not working?

2001-04-30 Thread Joe Sheble (Wizaerd)

You have a browsecap.ini file and it is in the correct location?

At 11:04 AM 4/30/01 -0700, elias wrote:
>hello.
>i'm trying to detect what browser version is there...i'm using get_browser()
>as it was documented:
>
>
>
>$t = get_browser();
>
>var_dump($t);
>
>and all i can get like output is:
>bool(false)
>
>
>
>--
>PHP General 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 General 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] Php + mysql - How to turn off threaded client code

2001-04-30 Thread Vimal Uppal

Dear All,

I have been trying to install php-4.0.4pl1 on RH 6.2 with mysql-3.23.37.

I have loaded mysql-3.23.37-1.i386.rpm, mysql-client-3.23.37-1.i386.rpm and 
mysql-devel-3.23.37-1.i386.rpm.

Everything goes well except until libphp4.so is loaded by apache. Then 
apache dumps.  If I comment this line containing libphp4.so reference, 
apache works fine.

I have seen from the FAQs(4.5) that this problem can be corrected if you 
"recompile from the source rpm and remove the switch in the spec file that 
turns on the threaded client code".

Can anyone give me some more details how this is to be done?

regards

Vimal


-- 
PHP General 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] recipients

2001-04-30 Thread Ian LeBlanc

recipients 
Regards,

Ian LeBlanc
Web Development
Rask, Inc. - www.rask.com
Phone: (727) 517-2000
Fax:   (727) 517-2001




-- 
PHP General 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] About MS SQL

2001-04-30 Thread Hassan Arteaga

Ok...I have to try with the ODBC functions ?

Thanks !!!

--
M. Sc. Hassan Arteaga Rodríguez
Microsoft Certified System Engineer
Network Admin, WEB Programmer
FUNDYCS, Ltd
[EMAIL PROTECTED]

--
PHP General 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] Temporary directory for GD functions

2001-04-30 Thread Sarto Beaudoin

We use Php4 with the dynamic graphic functions (GD). Our server is Apache on
windows NT. One of the graphic function (imagePNG)creates a temporary file
in the directory c:/. We would like to know if it is possible to have this
file created in an other directory (ex : c:/temp).

Thanks for your help.

Sarto Beaudoin
Professeur
Departement d'informatique
College du Vieux-Montreal


-- 
PHP General 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]




RE: [PHP] About MS SQL

2001-04-30 Thread Hassan Arteaga

Thaks Romulo..but I think I have MS SQL the only problem that I talking
about MS SQL 2000..What can I do ?
___

;Windows Extensions
;Note that MySQL and ODBC support is now built in, so no dll is needed for
it.
;
extension=php_mssql70.dll

_

Thanks !!!

--
M. Sc. Hassan Arteaga Rodríguez
Microsoft Certified System Engineer
Network Admin, WEB Programmer
FUNDYCS, Ltd
[EMAIL PROTECTED]

--
PHP General 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]




Re: [PHP] About MS SQL

2001-04-30 Thread Matthew Ralston

Think you might need to enable the ms sql server module in the php.ini file.

--
Thanks,

Matt
[EMAIL PROTECTED]
< www.mralston.co.uk />

Hassan Arteaga <[EMAIL PROTECTED]> wrote in message
7F548E90E63BD1118E4600609707771F8BEFF9@goliath">news:7F548E90E63BD1118E4600609707771F8BEFF9@goliath...
Hi all !!
I'm trying to connecto to MS SQL Database
I receive this error MSG
"Fatal error: Call to undefined function: mssql_connect() in
C:\Inetpub\wwwroot\myphp\sqltest.php on line 13 "

The line 13 is
$Conn=mssql_connect("","","");

Thanks in advanced !!!


--
M. Sc. Hassan Arteaga Rodríguez
Microsoft Certified System Engineer
Network Admin, WEB Programmer
FUNDYCS, Ltd
[EMAIL PROTECTED]

--
PHP General 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 General 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]




  1   2   >