RE: [PHP] convert ASP to be PHP

2001-01-22 Thread Maxim Maletsky
I have the same problem right this days: I found out (in my case at lest) that it is much less time-consuming to recreate the functionality rather then rewriting the whole code. See the archives of the last month, we, here, all talked about it. Also, for your reference, try asp2php.org there's

[PHP] How to escape '$' in scripts?

2001-01-22 Thread Joseph Stein
I have a dilemma. I have recently started using CVS to maintain my website, and am using some CVS tags ($Id$, etc) and they show up as follows: !-- Author: : joes $ Revision date: : 2001/01/10 21:10:10 $ ID: : index.php,v 1.3 2001/01/10 21:10:10 joes Exp $ Log Entry: : index.php,v $ --

Re: [PHP] How to escape '$' in scripts?

2001-01-22 Thread Soeren Staun-Pedersen
\$ Soeren Staun-Pedersen - [EMAIL PROTECTED] -- "The internet is full, beat it" - Me. -- 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

[PHP] mysql question?

2001-01-22 Thread Fai
mysql use myisamchk and myisamchk --recover to check and repair the table. However, does anybody know how myisamchk indicates that whether the table is damaged or whether the the repair is successful when running myisamchk or myisamchk --recover command? -- PHP General Mailing List

RE: [PHP] Profanity Filter

2001-01-22 Thread Tim Ward
I know someone who had her site rejected for registration with a major search engine because it included info about Tae Kwon Do in Scunthorpe ... you can only go so far with word checking Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of

[PHP] How to attach files with mail

2001-01-22 Thread Usman Ghani
Hello I am a new user of PHP. I hope that you guys would welcome me to this community. I am stuck on a problem that how to attach files with mail, when you are using mail( ) of PHP. If attachment is not possible using mail( ) then kindly let me know if there is any other function to send

[PHP] Not hitting the htaccess if already verified

2001-01-22 Thread Alan
What i have is a htaccess file that calls an outside DB and i want to know is there a way to tell the htaccess file not to hit the DB is $PHP_AUTH_USER is set.. Now we have about 50 pages and i don't want to edit them all.. I should mention that the reason it keeps making the db call is we

Re: [PHP] How to attach files with mail

2001-01-22 Thread mick
G'day Usman: I just happened to have this handy ... the attachment is a mime mail class by Schumann/Ratschiller that I know works. Requires only minor changes if any. Good luck. Michael Hall On Mon, 22 Jan 2001, Usman Ghani wrote: Hello I am a new user of PHP. I hope that you guys would

[PHP] how to escape ? and ?

2001-01-22 Thread Hrishi
Hello all, I'm working on a script that processes and returns a php script. i need to know how to escape the ? and the ? in the string constants that make up the script. thanks, Hrishi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] url hide

2001-01-22 Thread AJDIN BRANDIC
Perhaps not related to php but I was wandering, is it possible to hide site's real url and replace it with something else (some other URL). ie. someone clicks on a link on www.blah.co.uk which takes the user to an designated area (ie. /house-search/) on www.foo.co.uk. I want the user still

Re: [PHP] How to attach files with mail

2001-01-22 Thread Ernest E Vogelsinger
At 11:32 22.01.2001, Nicolas Windpassinger - Sun said: [snip] And the files do exist !!! I checked them ! So my question is: -- how can we open and read the files locally, and not have this error come each time...

Re: [PHP] url hide

2001-01-22 Thread Jørg V . Bryne
I saw this done with a frameset recently. The domain blah.com had a frameset which opened the real page (at www.hotel.com/blahblah ) in a frame. -J - Original Message - From: "AJDIN BRANDIC" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 22, 2001 11:30 AM Subject: [PHP]

Re: [PHP] url hide

2001-01-22 Thread AJDIN BRANDIC
OK, I don't have access to the server (except ftp). All I can use is PHP or JavaScript. I just thought that I could use some thing that will just hide it. Like that NoRightClick javascript script where if you try to view the source code of a page it stops you but you can still use

[PHP] Authenication with windows NT

2001-01-22 Thread Johan Andersson
Hi, I wonder if someone have tried to authenticate with the NT user database with PHP and Apache? I know it's very simple with IIS, but is it possible to do the same thing with Apache? R, Mr Johan Andersson Consultant @ Qbranch.se

RE: [PHP] url hide

2001-01-22 Thread Matt Williams
html head /head frameset rows="100%,*" border="0" framespacing="0" frameborder="0" frame src="http://www.foo.co.uk" /frameset noframes body your browser does not support frames - click a href="http://www.oozoo.co.uk"here/a to go to a href="http://www.blah.co.uk"http://www.blah.co.uk/a /body

Re: [PHP] url hide

2001-01-22 Thread Eric Dahnke
I just asked a similar question two hours ago, and would like to express my interest in this same question. Sorry it for a no answer response. AJDIN BRANDIC wrote: Perhaps not related to php but I was wandering, is it possible to hide site's real url and replace it with something else

AW: [PHP] url hide

2001-01-22 Thread Sebastian Stadtlich
you can do that by using a frames site that just has 1 frame(=the 'hidden' url). this is very weak , because the user just has to take a look at page properties to see the real URL. another aproach would be to wrap all access to your server through apache 404 to a php that opens the desired url

[PHP] RTF to HTML converter

2001-01-22 Thread Andy Woolley
Greetings, I'm looking for a script written in PHP that can convert an RTF string into HTML. Thanks in Advance Andy Woolley www.databasewatch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Does PHP works with Netscape Web Server or IPlanet???

2001-01-22 Thread Aguilar Peña, Javier
Does PHP works with Netscape Web Server or IPlanet??? If it does.HOW [EMAIL PROTECTED] Thanks

RV: [PHP] Does PHP works with Netscape Web Server or IPlanet???

2001-01-22 Thread Aguilar Peña, Javier
It's me again. I've tried with IIS and PWS and everithing ok...but not with Netscaspe which is the one I need. Thanks again. -Mensaje original- De: Aguilar Pea, Javier Enviado el: lunes 22 de enero de 2001 13:31 Para: '[EMAIL PROTECTED]' Asunto: [PHP] Does PHP works

[PHP] DBase functions

2001-01-22 Thread Piotr Duszynski
I have a problem connecting to dbase database. I use: dbase_open("filename.dbf",0) and get from PHP: Fatal error: Call to unsupported or undefined function dbase_open() in ... What's the problem? -- Piotr Duszynski

Re: AW: [PHP] url hide

2001-01-22 Thread AJDIN BRANDIC
On Mon, 22 Jan 2001, Sebastian Stadtlich wrote: you can do that by using a frames site that just has 1 frame(=the 'hidden' url). this is very weak , because the user just has to take a look at page properties to see the real URL. This I do not mind since most users are not very

Re: [PHP] DBase functions

2001-01-22 Thread Brian Clark
Hello Piotr, (PD == "Piotr Duszynski") [EMAIL PROTECTED] writes: PD Fatal error: Call to unsupported or undefined function PD dbase_open() in ... PD What's the problem? You'll probably need to re./configure PHP with the --enable-dbase option. -Brian -- PHP General Mailing List

[PHP] Search Engines and PHP

2001-01-22 Thread Jamie
I was wondering if anyone can enlighten me about the ability of search engines to read and list PHP pages. I have been told that because PHP produces a dynamic html page (i.e. one that possibly outputs different HTML for each hit or request) that they are not easily added to search engines (if

[PHP] 404 handler

2001-01-22 Thread Dieter Kneffel
Currently I use customized pages for 404 error handling. Problem is, even if my HTML page is sent, the header still contains the '404 not found' How can I avoid an '404 not found' header to be sent? I want a normal page to show up without having sent the usuall 404 header. Thanks, dk --

[PHP] oops, little problem with mysql

2001-01-22 Thread Dominick Vansevenant
Hello, I deleted all the records from the privileges tables (mysql database) and restarted the daemon. Now off course I cannot access the databases, what can I do? D. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP] convert ASP to be PHP

2001-01-22 Thread Michael Kimsal
Many thoughts... If there's anything advanced going on in the SQL7 code, you'll have a rough time moving to mysql. There are just things Mysql doesn't have which sql7 does. Try using a bridge to continue using the sql7 machine from linux, and plan a more gradual port to another db platform

RE: [PHP] below10host.com as webhost?

2001-01-22 Thread John Guynn
I have my domain hosted there and my wife has 2 domains there. I "webmaster" and develop for all 3 domains and below10host has been great. The only time I've had less than 1 hour response times from their customer service department was around the X-mas holidays. I can only think of a couple of

[PHP] PHP conventions or classes

2001-01-22 Thread Paulson, Joseph V. \Jay\
Hello everyone-- Does anyone know where I can find information about training classes for php or conventions that are taking place? I'd like to know so I can start attending these functions. Thanks, Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] oops, little problem with mysql

2001-01-22 Thread Kath
Do you still have r00t access to the database? - Kath - Original Message - From: "Dominick Vansevenant" [EMAIL PROTECTED] To: "Php-General" [EMAIL PROTECTED] Sent: Monday, January 22, 2001 9:05 AM Subject: [PHP] oops, little problem with mysql Hello, I deleted all the records

[PHP] null or NULL

2001-01-22 Thread Carsten Gehling
I don't get it. Is there any difference between null and NULL in PHP? Couldn't find any reference to either in the manual, only in the errata? - Carsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] Need key() equivalent for string variable

2001-01-22 Thread CC Zona
I'm trying to pass a string variable to a custom function, echoing its *value on one line, and its *name (that is, its key if this were an array instead of a string) on another line. I searched the manual's sections on variable functions and string functions, to no avail. I tried key(), but

[PHP] XML dillema

2001-01-22 Thread Teodor Cimpoesu
Hey, I've been playing w/ DOM functions (not very documented, but cool :) and had the following: [categories.xml] ?xml version="1.0"? catalog category id="db" name="Databases" topic nameMySQL/name descriptionMySQL Manual/description

Re: [PHP] Convert DBF tu MySQL

2001-01-22 Thread Robert
I used DBF2MySQL from http://www.nica.ru/~ae/software/ It works, but truncated the field names to 10 characters ( Specific_Part_Number became Specific_P ) - Original Message - From: "Roman" [EMAIL PROTECTED] To: "Php-General" [EMAIL PROTECTED] Sent: Monday, January 22, 2001 1:43 AM

[PHP] Local Path of Script

2001-01-22 Thread Karl J. Stubsjoen
How do I obtain the path of the local script? Or do I have to build it from the $DOCUMENT_ROOT? -- 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

Re: [PHP] Local Path of Script

2001-01-22 Thread Brian Clark
Hello Karl, (KJS == "Karl J. Stubsjoen") [EMAIL PROTECTED] writes: KJS How do I obtain the path of the local script? Or do I have to KJS build it from the $DOCUMENT_ROOT? I think this is specific to Apache, but try $SCRIPT_FILENAME -Brian -- Syntactic sugar causes cancer of the semi-colons.

Re: [PHP] Local Path of Script

2001-01-22 Thread Nathan Cook
I just do: $LocalScript = $DOCUMENT_ROOT . $PHP_SELF; .:: Nathan Cook [ [EMAIL PROTECTED] ] ::. Systems Network Administrator :: Programmer [ phone - 208.343.3110 ][ pager - 208.387.9983 ] - Original Message - From: "Karl J. Stubsjoen" [EMAIL PROTECTED] To: "PHP Mailing List" [EMAIL

Re: [PHP] Newbie: array help....

2001-01-22 Thread Brian Clark
Hello Brian, (BVB == "Brian V Bonini") [EMAIL PROTECTED] writes: BVB That's what I thought, which seemed to be the obvious BVB however, when I tried that it returns an error. BVB "Warning: Variable passed to each() is not an array or object in pagetop.inc BVB on line 105" ?php $bikes =

[PHP] selected = true

2001-01-22 Thread Jason Jacobs
Hey all. Does anyone have any ideas how I can carry over a selected value? :) It's probably easy but my mind is making it difficult. A value is stored for a record in the DB which had been previously assigned through a select statement. If that record gets edited, the value that was chosen

RE: [PHP] Another Guru's Help Needed...

2001-01-22 Thread Edin Kadribasic
Web analyzer Analog makes nice search engine report. The source could give you some clues. http://www.analog.cx/ Edin -Original Message- From: Dallas Kropka [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 20, 2001 5:12 AM To: jeremy brand Cc: Michael Kimsal; PHP LIST Subject: RE:

[PHP] - functions returning multiple values: -

2001-01-22 Thread Abe Asghar
Hey there, is there a way that you can get a function to return multiple values. e.g.: {and also how to access them} function VarTest() { return $var = 10; return $var2 = 20; } Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Re: [PHP] url hide

2001-01-22 Thread Chris Carbaugh
Put the url you want hidden in a frame. Chris On Mon, 22 Jan 2001, AJDIN BRANDIC wrote: Date: Mon, 22 Jan 2001 10:44:06 + (GMT) To: [EMAIL PROTECTED] From: AJDIN BRANDIC [EMAIL PROTECTED] Subject: Re: [PHP] url hide OK, I don't have access to the server (except ftp). All I can use

[PHP] Announcement: Smarty template engine 1.0b released

2001-01-22 Thread Monte Ohrt
minor bug fix and several documentation changes/additions. http://www.phpinsider.com/php/code/Smarty/ -- 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:

Re: [PHP] PHP conventions or classes

2001-01-22 Thread Rasmus Lerdorf
Does anyone know where I can find information about training classes for php or conventions that are taking place? I'd like to know so I can start attending these functions. We probably should have a page for this information. Here are the upcoming ones I am doing: Linuxworld

[PHP] HELP! REVOKE COMMAND!!!!

2001-01-22 Thread Bruno Freire
From Bruno: Brazil How is the sintaxe of this command Thanks...

RE: [PHP] Newbie: array help....

2001-01-22 Thread Brian V Bonini
I apparently misunderstood your implementation, your right, it does work perfectly Thank you! -Original Message- From: Ignacio Vazquez-Abrams [mailto:[EMAIL PROTECTED]] Sent: Monday, January 22, 2001 12:27 PM To: Brian V Bonini Cc: PHP Lists Subject: RE: [PHP] Newbie: array

Re: [PHP] Netscape caching problem

2001-01-22 Thread Larry Jaques
At 02:17 PM 1/17/01 -0600, you wrote: Oh! Yeah, Netscape is real goofy and tries to reload the page, but badly... I *think* you can dink around with the caching headers to convince Netscape that it's okay to use the existing copy to print instead of trying to get a fresh one. I used this, the

RE: [PHP] PHP conventions or classes

2001-01-22 Thread Paulson, Joseph V. \Jay\
Thanks for the info. And you are right it would be very useful if there was some kind of web page which list all of the conventions and classes etc. Wonder how one would start that? Jay -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Monday, January 22, 2001

Re: [PHP] Netscape caching problem

2001-01-22 Thread Ernest E Vogelsinger
At 19:14 22.01.2001, Larry Jaques said: [snip] I used this, the sample from "Core PHP Programming" and it gives me a parse error starting on the first line of the change whether the header lines are before or after session_start or the session_ register

[PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Todd Cary
With Apache, $HTTP_SERVER_VARS only has the element, "PHP_SELF". What am I missing in my Apache setup? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Rasmus Lerdorf
Are you running PHP as a CGI? On Mon, 22 Jan 2001, Todd Cary wrote: With Apache, $HTTP_SERVER_VARS only has the element, "PHP_SELF". What am I missing in my Apache setup? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Search Engines and PHP

2001-01-22 Thread Sam Leibowitz
Just a quick addendum - search enginies tend to be picky about indexing pages that have short expire times. So, if you're using header() to prevent pages from being cached (or at least, cached for very long), you should expect search engines to turn their noses up at them. Sam

[PHP] upload files from the local PC/UNIX to the web sever

2001-01-22 Thread david klein
Hello, Is there a way to upload files from the local PC/UNIX to the web sever? Especially multiple files at the same time? What we need to do at the server and client side? Thank you very much in advance. Best Regards, David

Re: [PHP] XML dillema

2001-01-22 Thread Thierry Coopman
At 5:11 PM +0200 1/22/01, Teodor Cimpoesu wrote: It outputs "text" and I would expect "Databases". there is a great help with finding out where stuff is in objects and arrays if you do a var_dump() or a print_r() of the object/array. This might help to get insight on where the info is (it

Re: [PHP] imap_createmailbox

2001-01-22 Thread Ignacio Vazquez-Abrams
On Sun, 21 Jan 2001, Jochen Kchelin wrote: i have the following problem: i have the possibility to create 100 different pop-boxes and 100 different email-addresses. the pop-boxes must have the following name: wp-jk, wp-info and so on where stands for my custumer number an

RE: [PHP] Newbie: array help....

2001-01-22 Thread Louis Simpson
You don't need the embedded while loop while ( list($key, $val) = each($bikes["Road"]) ) { echo "TDIMG SRC=\"images/spacer.gif\" WIDTH=\"25\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"/TD"; echo "TDA HREF=\"$val\" CLASS=\"menu\"$key/A/TD"; }

Re: [PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Romulo Roberto Pereira
He is on windows 98... - Original Message - From: Rasmus Lerdorf [EMAIL PROTECTED] To: Todd Cary [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, January 22, 2001 1:42 PM Subject: Re: [PHP] $HTTP_SERVER_VARS has only 1 value Are you running PHP as a CGI? On Mon, 22 Jan 2001,

[PHP] Outputting specific HTML for table tag.

2001-01-22 Thread James, Yz
Hey all. well, here's (probably) an easy question from me again (surprise surprise). Here goes: I'm putting together a photo gallery for some friends of mine who own a nightclub, and who want to update photos themselves. I know there are scripts available to do the job, but I'd like to

RE: [PHP] file storage/downloader...

2001-01-22 Thread Parker, John (Snorkel)
Or better yet, put the directory for each user outside the web tree. Then they can't surf to it. Store the filename and path in the database. Use fpassthru() to serve the file after going through authentication and sending the appropriate headers. This keeps your database from growing too

[PHP] ASP+COM+MTS VS PHP+??

2001-01-22 Thread kenji chan
Anyone know that you can use C++ make a COM object for extend ASP functional . But how about PHP Could I make a extenion by C++ to make PHP more functional ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [PHP] Netscape caching problem

2001-01-22 Thread Larry Jaques
At 07:19 PM 1/22/01 +0100, you wrote: At 19:14 22.01.2001, Larry Jaques said: [snip] I used this, the sample from "Core PHP Programming" and it gives me a parse error starting on the first line of the change whether the header lines are before or after

[PHP] Windows : php : executing a command line program

2001-01-22 Thread Mike Chambers
I am testing on Window 2000, Apache, and PHP 4 (latest release). Is it possible to execute a command / program from PHP? I tried using the system() function, but i get an unable to fork error. I looked through the mailing list archives, and it looks like this might be known bug. Is there any

Re: [PHP] url hide

2001-01-22 Thread Vahan Yerkanian
Greetings, the only way which comes to my mind now is to use a stub FRAMESET, e.g. FRAMESET ROWS="100%,0" FRAME NAME=main SRC=http://www.foo.co.uk/house-search/ FRAME NAME=dummy SRC=about:blank /FRAMESET this works 100%, though could sound weird at first. HTH, -- Vahan Yerkanian

[PHP] Stack trace function would be really useful!

2001-01-22 Thread Dylan McNamee
Back in my rough-and-ready PHP days, I used to report runtime errors using include("some long description of the error");, which would report: file "some long description of the error" not found in foo.php line 32. Which is great for developers, but awful if a Real User ever sees it. So,

Re: [PHP] convert ASP to be PHP

2001-01-22 Thread Michael A. Peters
look into asp2php a search on google for asp2php should get you the huys home page. On Monday, January 22, 2001, at 12:54 PM, Jacky@lilst wrote: Hi people, I have one ASP site that need to be converted to be PHP3 ( on Linux OS). Is there any proper way to do this? The database detail is

[PHP] picture quality question

2001-01-22 Thread Pat Hanna
I have these pictures that I'm using for my webpage. Their background changes from blue to white. When I loaded them onto the server, they looked very nice and they always looked good on netscape browsers. Every once and a while though, the background turns bad and all the pictures look terrible

[PHP] tengo un problema

2001-01-22 Thread oswaldo Aldrete
estoy tratando de instalar php4 para windows 98, con el servidor web: personal web server, estoy tratando de ejecutarlo con el php.exe el problema es que no entiendo que tengo que hacer con el archivo browscap.ini ya que en el manual de instalacion dice que se puede fijar el pws para que

Re: [PHP] Netscape caching problem

2001-01-22 Thread Larry Jaques
At 11:30 AM 1/22/01 -0800, you wrote: You're missing a double quote at the gmdate phrase. Use header("Expires: " . gmdate("D, d M Y H:i:s") . " GMT"); Oops, right. That took care of the error but now the variables aren't passed to the next page. What's the sequence?

Re: [PHP] ASP+COM+MTS VS PHP+??

2001-01-22 Thread Joey Garcia
See article on Extending PHP http://www.webtechniques.com/archives/2001/01/junk/ "kenji chan" [EMAIL PROTECTED] wrote in message 94i1kt$2b8$[EMAIL PROTECTED]">news:94i1kt$2b8$[EMAIL PROTECTED]... Anyone know that you can use C++ make a COM object for extend ASP functional . But how about PHP

Re: [PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Todd Cary
Ramus - I discovered the problem, but not the solution: When I am using IIS, the HTTP info is in $HTTP_SERVER_VARS; when I am using Apache in the Win32, DOS window environment, the HTTP info is in $HTTP_ENV_VARS. Now the question is how do I determine which HTTP server I am using so I can

Re: [PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Teodor Cimpoesu
Hi Todd! On Mon, 22 Jan 2001, Todd Cary wrote: Rasmus - I am running Apache on my notebook so that I can do some development while I am "on-the-road". My code needs to obtain the URL and SERVER and I do this with $HTTP_SERVER_VARS. However, under Apache (I use IIS on the Win 2K server

Re: [PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Todd Cary
Teo - That works great for Apache but not for my ISAPI installation that is using IIS on a Win 2K platform. Is there a way to tell if I am using an ISAPI server or not? Otherwise I will put that in my parameter file. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General

[PHP] Re: XML dillema

2001-01-22 Thread Teodor Cimpoesu
Hi Brinkman,! On Mon, 22 Jan 2001, Brinkman, Theodore wrote: Maybe I'm missing something, but I'm thinking it's giving the correct output. The 'TEXT' that is showing up just seems to be some sort of indication as to what type of data it found. ELEMENT catalog //the

Re: [PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Teodor Cimpoesu
Hi Todd! On Mon, 22 Jan 2001, Todd Cary wrote: Teo - That works great for Apache but not for my ISAPI installation that is using IIS on a Win 2K platform. Is there a way to tell if I am using an ISAPI server or not? Otherwise I will put that in my parameter file. Yap, I think it's

RE: [PHP] picture quality question

2001-01-22 Thread Robert V. Zwink
This could be your video card or something. I doubt is has anything to do with php. If you have an older card, or not enough ram on the card, you might experience something like that. Try updating your video card driver, or replace the card. Robert Zwink http://zwink.levitate.org

[PHP-CVS] cvs: php4 /ext/pcre php_pcre.c

2001-01-22 Thread Andrei Zmievski
andrei Mon Jan 22 11:42:29 2001 EDT Modified files: /php4/ext/pcre php_pcre.c Log: Don't need to check for out-of-memory condition. Index: php4/ext/pcre/php_pcre.c diff -u php4/ext/pcre/php_pcre.c:1.79 php4/ext/pcre/php_pcre.c:1.80 ---

Re: [PHP] convert ASP to be PHP

2001-01-22 Thread The Doctor
Actually look under ftp://ftp.nl2k.ab.ca/pub/unix. I will be keeping all off my software, latest incarnation, available there. On Mon, Jan 22, 2001 at 11:52:46AM -0800, Michael A. Peters wrote: look into asp2php a search on google for asp2php should get you the huys home page. On

[PHP] Downloading images through the use of code

2001-01-22 Thread Liam Gibbs
I have a question for a friend of mine (yes, it's actually for a friend of mine). Here is my code below. First of all, am I correct in assuming I could download a file and parse it using fopen("url")? Secondly, if I find an IMG tag, how would I go about grabbing the file that is contained in

[PHP-CVS] cvs: CVSROOT / gen_acl_file.m4

2001-01-22 Thread Jim Winstead
jimwMon Jan 22 12:30:41 2001 EDT Modified files: /CVSROOTgen_acl_file.m4 Log: add goba to phpweb list Index: CVSROOT/gen_acl_file.m4 diff -u CVSROOT/gen_acl_file.m4:1.50 CVSROOT/gen_acl_file.m4:1.51 --- CVSROOT/gen_acl_file.m4:1.50Sun Jan 21

Re: [PHP] picture quality question

2001-01-22 Thread Alex Black
older versions of AOL use a custom 256 palette to support the AOL gui. this has nothing to do with php. -alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433

Re: [PHP] 404 handler

2001-01-22 Thread Alex Black
I have note tested this, but I think you can probably get this in before the apache header info: header("HTTP/1.0 200 OK"); I'll go test that, I've also got a 404 handler, and wouldn't mind never having 404s reported to IE :) -alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing

[PHP] Selecting max(id) of a table

2001-01-22 Thread Chakravarthy K Sannedhi
Hello all, I am having a table named 'mytable' of 5 rows in a MySQL database. I tried to print '5' which is the highest row onto the screen. I used the following code for that: $result=mysql_query('select max(id) from mytable'); $max=mysql_result($result); print ('Max id in the table=$max');

Re: [PHP] Selecting max(id) of a table

2001-01-22 Thread Liam Gibbs
$max=mysql_result($result); $max = mysql_num_rows($result). - the L -- 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 UltraEidt

2001-01-22 Thread Steve Haemelinck
Sometime ago I read that it is possible to configure UltraEdit to interprete PHP Code. Is this correct? Which configuration settings do I have to make in UltraEdit? Steve Haemelinck -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP-CVS] cvs: php4 /ext/standard string.c

2001-01-22 Thread Andrei Zmievski
andrei Mon Jan 22 13:39:56 2001 EDT Modified files: /php4/ext/standard string.c Log: @- Improved str_replace() to accept an array for any parameter - similar @ to preg_replace(). (Andrei) Index: php4/ext/standard/string.c diff -u

Re: [PHP] mailTo

2001-01-22 Thread Richard Lynch
I am wrting a php page that will write out an email message to the email address retrieved from Db. If i want to have CC function togethere with mailTo, how could I do that? Use the optional fourth argument to send Cc: header with the mail. $headers = "Cc: [EMAIL PROTECTED]\r\n"; $headers .=

Re: [PHP] tengo un problema

2001-01-22 Thread Matt
Ok, let me try this again... it seems my code was stripped by the server. If this doesn't work could someone tell me how I can post script and html tags within the body of my messages to the list server? Thanks. --- Excuse por favor mi malo y posiblemente espaol incorrecto.

Re: [PHP] MSSQL field type money bring a string not a number back

2001-01-22 Thread Romulo Roberto Pereira
I am sorry about this - I figured out already - was nothing to do with the convertion... Rom - Original Message - From: Romulo Roberto Pereira [EMAIL PROTECTED] To: php-general [EMAIL PROTECTED] Sent: Monday, January 22, 2001 5:15 PM Subject: [PHP] MSSQL field type money bring a string

[PHP] MSSQL field type money bring a string not a number back

2001-01-22 Thread Romulo Roberto Pereira
Hey! After bringing and fetching the results, the data from a money field is treated like strings. There is a function or a command to make it treat the variables as numbers? Because I want to sum them. Thank you, Rom

RE: [PHP] Selecting max(id) of a table

2001-01-22 Thread Louis Simpson
If you are using auto-incrementing id column mysql_num_rows won't give you a reliable number try $max=mysql_result($result, 0); -Original Message- From: Liam Gibbs [mailto:[EMAIL PROTECTED]] Sent: Monday, January 22, 2001 1:48 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Selecting

[PHP-CVS] cvs: php4 /ext/pcre php_pcre.c

2001-01-22 Thread Andrei Zmievski
andrei Mon Jan 22 14:05:05 2001 EDT Modified files: /php4/ext/pcre php_pcre.c Log: If we can't call custom replacement function, don't change the subject string. Index: php4/ext/pcre/php_pcre.c diff -u php4/ext/pcre/php_pcre.c:1.80

Re: [PHP] Quick Shipping

2001-01-22 Thread Toby Miller
Dave, This guy wrote a class to figure out UPS shipping rates. You might be able to start with it. Just go to the CODE section. I found it through Google.com. http://www.brogdon.net/~darrell/ Toby - Original Message - From: "Dave M." [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [PHP] selected = true

2001-01-22 Thread Richard Lynch
Hey all. Does anyone have any ideas how I can carry over a selected value? :) It's probably easy but my mind is making it difficult. A value is stored for a record in the DB which had been previously assigned through a #get all the possible options into an array $options $options =

Re: [PHP] Outputting specific HTML for table tag.

2001-01-22 Thread Richard Lynch
5 photos that need returning to one of the photo pages, and I have the photos in rows of three; Obviously, there'd be an empty table cell. And ? // Connection code $table = "table border=\"0\" /* Yadda Yadda */ "; $table .= "tr"; $photocount = 0; while($row =

Re: [PHP] HELP! REVOKE COMMAND!!!!

2001-01-22 Thread Richard Lynch
How is the sintaxe of this command Like, a database rollback? That depends on the database, not on PHP. Something not unlike this: $query = "rollback"; mysql_query($query); Only I dunno if the mysql team has that new transaction stuff they bought really integrated yet or not, much less

Re: [PHP] How can I make a PHP script run as a background process ????

2001-01-22 Thread Richard Lynch
I need to have some task performed all the time in the background (database task etc.) How is this possible with PHP. I do not have direct access to the OS (can not make an application to run directly under linux). Is it possible to have a PHP script execute all the time in some way. H.

Re: [PHP] Downloading images through the use of code

2001-01-22 Thread Richard Lynch
First of all, am I correct in assuming I could download a file and parse it using fopen("url")? Yup. Pretty darn nifty, huh? Secondly, if I find an IMG tag, how would I go about grabbing the file that is contained in the SRC of that image tag? Would another simple fopen() and fput() to another

Re: [PHP] downloading

2001-01-22 Thread Richard Lynch
Maybe -- If php was installed with FTP, you can have it FTP stuff dynamically... Might be easier to log in to the other server and do FTP by hand for just one file though... Don't miss the Zend Web Store's Grand Opening on January 23, 2001! http://www.zend.com Wanna help me out? Like Music?

Re: [PHP] What PHP Stands For....

2001-01-22 Thread Josh G
Yeah, it used to be called PHP/FI for Personal Home Page / Form Interpreter I do believe. Not sure about the "Interpreter" but I think that was it. Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers

Re: [PHP] What PHP Stands For....

2001-01-22 Thread Toby Butzon
That's the truth. PHP started out as a set of "Personal Home Page tools" (1st version), then PHP/FI (PHP + form interpretter [or something similar - I'm not sure 'form interpretter' is completely correct, but that was basically the functionality of the FI portion])... anyway, then sometime during

  1   2   >