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: those spare ':' should look like this: Author: $Author: joes $ Revision date: $Date: 2001/01/10 21:10:10 $ ID: $Id: index.php,v 1.3 2001/01/10 21

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 PRO

[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 (http://ww

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 this

[PHP] Zip file

2001-01-22 Thread Wade Halsey
Hi Does anyone know how to create a .zip file using php? Thanks in advance! Wade

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

Re: [PHP] How to attach files with mail

2001-01-22 Thread [EMAIL PROTECTED]
On Mon, 22 Jan 2001, Usman Ghani wrote: Hello Usman, Welcome to the list. To send message with attachment you have to construct a multipart mime encoded message - there are several classes to do this Search the list archieves for a URL - I have forgotten it Tarique P.S. A hint search the lis

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

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] Re: XML Processing Instruction ( was "

2001-01-22 Thread Teodor Cimpoesu
Brian White wrote: > > At 10:50 AM 1/19/12 +0200, Teodor Cimpoesu wrote: > > >I was refering to whole story of using ` > Part of the problems is that multiple different applications > can use PI's, so they need to be able to tell which ones are > their's - therefore the first thing that should

[PHP] how to escape

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 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 commands, e-

Re: [PHP] how to escape

2001-01-22 Thread jeremy brand
$string = ''; If you use single quotes, then you don't need to escape them. Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "LINU

Re[2]: [PHP] is it possible to communicate javascript and php?

2001-01-22 Thread Max A. Derkachev
Hello Alex, Sunday, January 21, 2001, 4:20:53 AM, you wrote: AB> no without submitting information to the server with get or post. AB> for example, if a bit of javascript you have comes up with some value, the AB> only way you can get it to the server is to put it in a get and send the AB> user

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

Re: [PHP] How to attach files with mail

2001-01-22 Thread Nicolas Windpassinger - Sun
HI all, 1. mime_mail -- it is true that this class is just great, here is what i have done with it: $mail=new mime_mail; $content_type="application/octet-stream";

Re: [PHP] url hide

2001-01-22 Thread bard
If you're using apache, try mod_rewrite. I'm pretty sure you have to run something on the server side to do this. JavaScript runs client-side and will therefore be useless. Cheers, Brad On Mon, 22 Jan 2001, AJDIN BRANDIC wrote: > Perhaps not related to php but I was wandering, is it possible

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 View/Sour

[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
http://www.foo.co.uk"> your browser does not support frames - click http://www.oozoo.co.uk">here to go to http://www.blah.co.uk">http://www.blah.co.uk > -Original Message- > From: Jørg V. Bryne [mailto:[EMAIL PROTECTED]] > Sent: 22 January 2001 10:40 > To: AJDIN BRANDIC; [EMA

[PHP] How to count time in php

2001-01-22 Thread Dezider Góra
Hi, can anybody help me how to count seconds, minutes and hours in php? I want to sum values like 03:35, 02:31, 04:59, etc. and show the results in minutes. tia Dezider. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

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 wi

[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 Peña, Javier > Enviado el: lunes 22 de enero de 2001 13:31 > Para: '[EMAIL PROTECTED]' > Asunto: [PHP] Does PHP w

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

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 (http:

Re: [PHP] url hide

2001-01-22 Thread Teodor Cimpoesu
Hi AJDIN! On Mon, 22 Jan 2001, AJDIN BRANDIC wrote: > 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

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

[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, e-mail:

RE: [PHP] Search Engines and PHP

2001-01-22 Thread Sander Pilon
> > 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 en

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 la

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 recor

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

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

[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] MySQL MySQL Manual PostgreSQL PostgreSQL Manual

Re: [PHP] oops, little problem with mysql

2001-01-22 Thread Brian Clark
Hello Dominick, (DV == "Dominick Vansevenant") [EMAIL PROTECTED] writes: DV> I deleted all the records from the privileges tables (mysql database) and DV> restarted the daemon. http://www.mysql.com/documentation/mysql/bychapter/manual_Problems.html#Resetting_permissions DV> Now off course I

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 Su

Re: [PHP] null or NULL

2001-01-22 Thread Sterling Hughes
Carsten Gehling wrote: > > 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? > There is none. Its case-insensitive afaik. -Sterling -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] Help!!! MY ODBC!!!!

2001-01-22 Thread Bruno Freire
Hi everyone!! My name is BRUNO, and I'm in Brazil I dont know how to configure my_odbc!!! What I wanna do: I wanna make a report using The Crystal reports. My Mysql database is placed in a pc with LINUX. Then i have instaled Myodbc in may pc with Win98 but just install the MYODBC doesn'

RE: [PHP] url hide

2001-01-22 Thread Pete Lavetsky
There is a very interesting article on this over at the Register. You can hide the URL by converting the dot delimited IP address to hex and then back to decimal. The browser will still interpret it. Therefore, yahoo.com can be interpreted as: http://3631443189 Go ahead try it, it's pretty co

Re: [PHP] Profanity Filter

2001-01-22 Thread Ignacio Vazquez-Abrams
On Sat, 20 Jan 2001 [EMAIL PROTECTED] wrote: > Ok, > > I am now using the following code to check if there is any profanity in the > $FirstName however it just doesn`t work when testing, I am thinking it has > something to do with the way I`m loading the file, any better ways. > > $words=file('wo

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

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

[PHP] Newbie: array help....

2001-01-22 Thread Brian V Bonini
I have this array; $bikes = array( "Road" => array( "Trek 5200" => "URL", "Schwinn Fastback Pro" => "URL", "Va Moots" => "url" ), "Mountain" => array( "Trek Fuel 90" => "url", "Schwinn Homegrown" => "url" ), "BMX"

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

2001-01-22 Thread Ignacio Vazquez-Abrams
On Mon, 22 Jan 2001, Brian V Bonini wrote: > I have this array; > > $bikes = array( > "Road" => array( > "Trek 5200" => "URL", > "Schwinn Fastback Pro" => "URL", > "Va Moots" => "url" > ), > "Mountain" => array( > "Trek Fuel 90" => "url

Re: [PHP] serve local file but remote url

2001-01-22 Thread Ignacio Vazquez-Abrams
On Mon, 22 Jan 2001, Eric Dahnke wrote: > hi, > > this is off toopic, but don't know where to turn. would appreciate some > help. > > during an http request, is it possible serve a local html file yet > return to the browser a different remote url (say yahoo.com for example)? > > i'm looking at m

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] file storage/downloader...

2001-01-22 Thread Ignacio Vazquez-Abrams
On Sun, 21 Jan 2001, johnny p. wrote: > Ok, here's the prolem: I'm trying to create a feature on my site similar to > xdrive.com. Basically I want the user to be able to upload a file and have > it stored on my server. I also want to have the ability for the user to > download the file at a la

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

2001-01-22 Thread Brian V Bonini
That's what I thought, which seemed to be the obvious however, when I tried that it returns an error. "Warning: Variable passed to each() is not an array or object in pagetop.inc on line 105" PHP Version 4.0B2 BSDI BSD/OS 4.0.1 Zend Engine v0.90, > -Original Message- > From: Ignacio Vaz

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

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

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

Re: RV: [PHP] Does PHP works with Netscape Web Server orIPlanet???

2001-01-22 Thread Steve Edberg
At 1:36 PM +0100 1/22/01, Aguilar Peña, Javier wrote: >It's me again. I've tried with IIS and PWS and everithing ok...but not >with Netscaspe which is the one I need. I assume you're talking about Netscape on Windows? If so, yes it runs fine, but only as a CGI - I used to have that setup unt

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

2001-01-22 Thread Ignacio Vazquez-Abrams
On Mon, 22 Jan 2001, Brian V Bonini wrote: > That's what I thought, which seemed to be the obvious > however, when I tried that it returns an error. > > "Warning: Variable passed to each() is not an array or object in pagetop.inc > on line 105" > > PHP Version 4.0B2 > BSDI BSD/OS 4.0.1 > Zend Eng

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

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 c

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

[PHP] Apache and $HTTP_SERVER_VARS[]

2001-01-22 Thread Todd Cary
With IIS $path gives the actual path to the directory in which the PHP scripts reside. With Apache, $path is empty. What have I missed? This is my first use of Apache, so it's configuration is new for me. $path = $HTTP_SERVER_VARS[URL]; $path = ereg_replace("/[^/]+$","",$path) . '/'; ech

RE: [PHP] Web hosting for PHP/MySQl development

2001-01-22 Thread Edin Kadribasic
I use http://www.hostrocket.com/ Edin -Original Message- From: Chris Lott [mailto:[EMAIL PROTECTED]] Sent: Friday, January 19, 2001 2:37 AM To: PHP General Subject: [PHP] Web hosting for PHP/MySQl development Any recommendations for a good, savvy host for doing some PHP/MySQL developmen

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 (www.linuxw

Re: [PHP] <- functions returning multiple values: ->

2001-01-22 Thread Ignacio Vazquez-Abrams
On Mon, 22 Jan 2001, Abe Asghar wrote: > 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 > function somefunc() { return Array(10, 20

Re: [PHP] <- functions returning multiple values: ->

2001-01-22 Thread Matt McClanahan
On Mon, 22 Jan 2001, Abe Asghar wrote: > 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; > } Functions can only return one variable. However, yo

Re: [PHP] <- functions returning multiple values: ->

2001-01-22 Thread Abe Asghar
Thanks Guys, -- 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! 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: arra

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

php-general Digest 22 Jan 2001 18:14:42 -0000 Issue 470

2001-01-22 Thread php-general-digest-help
php-general Digest 22 Jan 2001 18:14:42 - Issue 470 Topics (messages 35961 through 36043): Newsletter Software needed urgently... 35961 by: Maxim Maletsky Re: solutions to disadvantages when register_globals is off 35962 by: mwaples.waples.net GD => ImagePNG: No transparen

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 11:3

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

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

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.

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

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

Re: [PHP] imap_createmailbox

2001-01-22 Thread Ignacio Vazquez-Abrams
On Sun, 21 Jan 2001, Jochen Kächelin 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 nu

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 ""; echo "$key"; } -Original Message- From: Brian V Bonini [mailto:[EMAIL PROTECTED]] Sent: Monday, January 22, 2001 9:16 AM To: Ign

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

2001-01-22 Thread Louis Simpson
while ( list($key, $val) = each($bikes["Road"]) ) { echo ""; echo "$key"; } -Original Message- From: Brian V Bonini [mailto:[EMAIL PROTECTED]] Sent: Monday, January 22, 2001 8:55 AM To: PHP Lists Subject: [PHP] Newbie: array help I have t

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 ""; echo "$key"; } -Original Message- From: Brian V Bonini [mailto:[EMAIL PROTECTED]] Sent: Monday, January 22, 2001 9:16 AM To: Igna

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

2001-01-22 Thread Andrei Zmievski
andrei Mon Jan 22 09:27:03 2001 EDT Modified files: /php4/ext/standard array.c Log: @- Fixed extract() to properly prefix numeric keys when EXTR_PREFIX_ALL is @ used. (Andrei) @- Added EXTR_PREFIX_INVALID flag to extract() to automatically prefix @ strin

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

2001-01-22 Thread Brian Clark
Hello david, (dk == "david klein") [EMAIL PROTECTED] writes: dk> Hello, Is there a way to upload files from the local PC/UNIX to the web dk> sever? Especially multiple files at the same time? What we need to do at dk> the server and client side? Documents: http://www.php.net/manual/en/ht

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

Re: [PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Todd Cary
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 and $HTTP_SERVER_VARS contains many items) I am only get

[PHP] Outputting specific HTML for 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

[PHP] append info to pdf using cpdf functions

2001-01-22 Thread Leonard T. Harris
Hello, I'm using PHP and ClibPDF. I want to take a pdf that already exists and add a page to the end of it. I might just be dumb but I haven't seen how to do this in the documentation. Does anyone know? Thanks in advance! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-

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 much

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

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 a

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

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 , e.g. http://www.foo.co.uk/house-search/> this works 100%, though could sound weird at first. HTH, -- Vahan Yerkanian Email: [EMAIL PROTECTED] Leading Web Developer / Designer Phone: (374) 158-

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

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

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

2001-01-22 Thread Benny Nissen
Hi All 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. Than

  1   2   >