[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" sXM

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("bro

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'

[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

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 hel

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.

[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

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 w

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

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 P

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

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 fir

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

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].

[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 : '.$

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

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 s

[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

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: "Mich

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 corr

[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,

[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

[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 manua

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:

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 PROTECT

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

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.n

[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 mo

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

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

[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?

[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 p

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

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

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 wond

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

[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?

[PHP] String Type Unknown

2001-04-30 Thread Nathan Cook
I have this string: 0ffac0ffed0005737200146a6176612e7574696c2e50726f7065727469657339120f fd07a70363e0ff980200014c000864656661756c74737400164c6a6176612f7574696c2f5072 6f706572746965733b787200136a6176612e7574696c2e486173687461626c65130ffbb0f252 14a0ffe40ffb803000246000a6

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

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

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

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

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, Apr

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 da

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

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.

[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

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

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 t

[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 i

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 pag

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/

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, b

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/

[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 hav

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?

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 so

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 fo

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 s

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,

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

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

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

[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 - ???

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 w

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 PROTEC

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

[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 unsu

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'

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

[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 $

[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

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 Genera

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

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

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

[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 htt

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] 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 t

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

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 messa

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

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

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 administrato

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 PROT

[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 config

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: Mo

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 kno

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: >b

[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 thi

[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 administra

[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

[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 hel

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. S

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 al

  1   2   >