[PHP] check null value

2001-01-22 Thread [EMAIL PROTECTED]
If I have one input text box that when it is submitted to next page, I want to check first if it is nothing, then write "na" on next page, else just echo whatever it is, is it correct to do this? if ($fieldname == ""){ $fieldname ="na"; } ... (then come to the html bit below) I wonder specifi

Re: [PHP] Profanity Filter?

2001-01-22 Thread Richard Lynch
> does anyone know where i can find a script that removes profanity and > replaces them with a character ()? > my boos just came down on me because i told him we already had one, but > apparently it doesnt work. There was a thread just a few days ago on this forum about this... So, search th

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

2001-01-22 Thread Richard Lynch
> > Anyway, I only know what I read - I got to the scene to late to actually > > know this stuff first hand... hope this helps... and if someone who really > > was on the scene back then cares to comment/correct me, please do ;) > > I sort of do. ;) LOL :-) > tools for personal home pages, that

[PHP] Profanity Filter?

2001-01-22 Thread Colin Kane
does anyone know where i can find a script that removes profanity and replaces them with a character ()? my boos just came down on me because i told him we already had one, but apparently it doesnt work. thanks, colin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

php-general Digest 23 Jan 2001 06:33:22 -0000 Issue 471

2001-01-22 Thread php-general-digest-help
php-general Digest 23 Jan 2001 06:33:22 - Issue 471 Topics (messages 36044 through 36143): Re: PHP conventions or classes 36044 by: Paulson, Joseph V. \"Jay\" Re: Netscape caching problem 36045 by: Ernest E Vogelsinger 36062 by: Larry Jaques 36070 by: Larry

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

2001-01-22 Thread Benny Nissen
Thanks Richard for the info. Will try to see if I can make something work. I do think that a background job thread is missing from PHP (as standard functions etc.) Benny ""Richard Lynch"" <[EMAIL PROTECTED]> skrev i en meddelelse 06a501c084ca$19dc44a0$[EMAIL PROTECTED]">news:06a501c084ca$19dc44

Re: [PHP] Quick Shipping

2001-01-22 Thread David Pieper
"Dave M." wrote: > > Does anyone have a piece of code that calculates shipping costs in real time, that >could easily be placed into an existing e-commerce site? > > Thanks. > Dave M. look at http://www.intershipper.com/ and a PHP class from http://www.digitalmayhem.com/code.php?action=php&mo

Re: [PHP] Turning off PHP for one directory with apache

2001-01-22 Thread Josh G
Instead of: > Action application/x-httpd-php-source "/php4/php.exe -s" > AddType application/x-httpd-php-source .php4 .php .inc .htm why not: > Action application/x-httpd-php-source "/php4/php.exe /path/to/showsource.php " > AddType application/x-httpd-php-source .php4 .php .inc .htm and using

RE: [PHP] Turning off PHP for one directory with apache

2001-01-22 Thread Nold, Mark
- Disclaimer: The information contained in this email is intended only for the use of the person(s) to whom it is addressed and may be confidential or contain legally privileged information. If you are no

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

2001-01-22 Thread Michael Kimsal
The one that is easiest to explain to clients is 'Professional Hypertext Preprocessor' They don't get confused with the recursiveness of PHP Hypertext Preprocessor, and it has the word "professional" in it. The recursiveness, like GNU meaning 'GNU's Not Unix' (or so I've heard) would drive them

RE: [PHP] Help!!! MY ODBC!!!!

2001-01-22 Thread Matt Stone
No idea dude, but I will bring the topic back to the top and some all-knowledgable guru will hopefully help you *hint hint* :) -Original Message- From: Bruno Freire [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 23 January 2001 3:01 AM To: '[EMAIL PROTECTED]' Subject: [PHP] Help!!! MY ODBC

Re: [PHP] Need key() equivalent for string variable

2001-01-22 Thread CC Zona
In article <069f01c084ca$1642a320$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Richard Lynch") wrote: > > 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 > > I think you are looking for "variable var

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

2001-01-22 Thread Kurth Bemis
At 10:27 PM 1/22/2001, Fraser MacKenzie wrote: i like people hate perl :-) ~kurth >Acthually, it stands for Personal Home Page > >Frasre > >On Tue, 23 Jan 2001, Alexander Wagner wrote: > > > Brian White wrote: > > > 'PHP, which stands for "PHP: Hypertext Preprocessor" ...' > > > > > > I

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

2001-01-22 Thread Fraser MacKenzie
Acthually, it stands for Personal Home Page Frasre On Tue, 23 Jan 2001, Alexander Wagner wrote: > Brian White wrote: > > 'PHP, which stands for "PHP: Hypertext Preprocessor" ...' > > > > I frankly don't beleive that "PHP" started life as a recursively > > defined acronym - I remember re

RE: [PHP] Turning off PHP for one directory with apache

2001-01-22 Thread Nold, Mark
- Disclaimer: The information contained in this email is intended only for the use of the person(s) to whom it is addressed and may be confidential or contain legally privileged information. If you are no

RE: [PHP] Function with True / False return

2001-01-22 Thread Maxim Maletsky
is "$HTTP__Host" just a typo? it should be $HTTP_HOST. Cheers, Maxim Maletsky -Original Message- From: Jamie [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 11:41 AM To: PHP Subject: [PHP] Function with True / False return can anyone tell me whats wrong with this function:

[PHP] Re: HTTP_USER_AGENT and preg_match

2001-01-22 Thread John Hinsley
Got it in the end. It should be: if ((preg_match("/Mozilla/i", "$agent")) && (preg_match("/Gecko/i", "$agent"))) { $result = "You are using Netscape 6 or a later version of Mozilla."; But the thought occurs that there must be a site out there somewhere which lists the HTTP_USER_AG

[PHP] Function with True / False return

2001-01-22 Thread Jamie
can anyone tell me whats wrong with this function: function AuthenticateUser($user, $password) { global $DB_Server, $HTTP__Host, $DB_Login, $DB_Password, $DB_Name, $DocRoot ; // Open a connection with the MySQl server if (!($link = mysql_connect ($DB_Server,$DB_Login, $DB_Password))) { DisplayErr

RE: [PHP] What "PHP" Stands For....

2001-01-22 Thread Maxim Maletsky
Rasmus, you are genius! This is one of the coolests postings of yours I ever read in here. I will now know how to talk about that guy who made it and what PHP stands for. I, personally, always knew it but never could explain myself: The replies from my clients on my "well, then maybe we should

[PHP] Turning off PHP for one directory with apache

2001-01-22 Thread Nold, Mark
- Disclaimer: The information contained in this email is intended only for the use of the person(s) to whom it is addressed and may be confidential or contain legally privileged information. If you are no

Re: [PHP] I dont know what to do here?

2001-01-22 Thread Joe Stump
To pass more than one argument type: http://foo.com/script.php?var1=hello&var2=foo&var3=bar --Joe On Tue, Jan 23, 2001 at 01:44:19PM +1300, Sefton wrote: > Hello, > > I have a form in an htm file that is sending info to a cgi script > (formmail.pl) but the confirmation page I am using is php3.

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

2001-01-22 Thread Jim Winstead
jimwMon Jan 22 16:50:49 2001 EDT Modified files: /php4/ext/standard credits.c Log: jouni was added as an author of the docs Index: php4/ext/standard/credits.c diff -u php4/ext/standard/credits.c:1.2 php4/ext/standard/credits.c:1.3 --- php4/ext/standard/cre

[PHP] I dont know what to do here?

2001-01-22 Thread Sefton
Hello, I have a form in an htm file that is sending info to a cgi script (formmail.pl) but the confirmation page I am using is php3. I want to pass the value of a text box in the form to the php3 page. Kinda like thanks you message $message has been sent. I don't know how to send to the cgi scr

Re: [PHP] PHP Editors

2001-01-22 Thread Randy
Hello Jeff, Everyone has their favorite editor, and FWIW mine is editplus. I've programmed for almost 20 years with many different editors and in my opinion, this is the best editor I've ever used. It works great with PHP. www.editplus.com Best regards, Randy Sunday, January 21, 2001, 11:3

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

2001-01-22 Thread jeremy brand
> > It has also been come to be known as "People hate perl". > > Hey now. I'll deny to my grave I ever said that in public. ;) I never claimed you said it. ;) I will deny that I ever heard it from you. :) Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] h

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

2001-01-22 Thread Rasmus Lerdorf
> That is what I have heard as well, "Personal Home page". > > It has also been come to be known as "People hate perl". Hey now. I'll deny to my grave I ever said that in public. ;) -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

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

2001-01-22 Thread Rasmus Lerdorf
> 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

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

2001-01-22 Thread Jim Winstead
jimwMon Jan 22 15:43:37 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: give david hedbor access to phpdoc cvs Index: CVSROOT/avail diff -u CVSROOT/avail:1.51 CVSROOT/avail:1.52 --- CVSROOT/avail:1.51 Mon Jan 22 12:31:22 2001 +++ CVSROOT/av

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

2001-01-22 Thread Brian White
Ok - thanks. That has satisfied my curiosity At 03:32 PM 1/22/01 -0800, jeremy brand wrote: >It has also been come to be known as "People hate perl". ... and tickled the old sense of humour. Regs Brian - Brian White Step Two Designs Pty Ltd - SGML, XML & HTML Consu

Re: [PHP] How to count time in php

2001-01-22 Thread Stephan Ahonen
{code snipped} You could probably simplify this a bit with mktime(). The syntax is mktime(hours, minutes, seconds): $minsec = explode(":", $time); $numsecs += mktime(0, $minsec[0], $minsec[1]); That'll give you the number of seconds. Then at the end, you can say: echo(floor($totalseconds / 60)

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

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

2001-01-22 Thread jeremy brand
That is what I have heard as well, "Personal Home page". It has also been come to be known as "People hate perl". And of course the (AFAIK) official "PHP: Hypertext Preprocessor". Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/

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 to

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

2001-01-22 Thread Alexander Wagner
Brian White wrote: > 'PHP, which stands for "PHP: Hypertext Preprocessor" ...' > > I frankly don't beleive that "PHP" started life as a recursively > defined acronym - I remember reading somewhere that it stood for > "Personal Home Page" which makes more sense to me. > > Anybody know the truth

[PHP] What "PHP" Stands For....

2001-01-22 Thread Brian White
From the preface of the manual: 'PHP, which stands for "PHP: Hypertext Preprocessor" ...' I frankly don't beleive that "PHP" started life as a recursively defined acronym - I remember reading somewhere that it stood for "Personal Home Page" which makes more sense to me. Anybody know the t

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] Performance: register_globals on or off?

2001-01-22 Thread Richard Lynch
> Are there any real performance gained by turning register_globals off? After > all, it must take the php engine some clock cycles to generate all the > global variables. Have anyone tested it? It can't be that many clock cycles... I think people do it more to stop hackers from trying to use a

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 anoth

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

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] Stack trace function would be really useful!

2001-01-22 Thread Richard Lynch
> So, lately I've been using a function, handleException(String > errorType), > which draws a nice page describing gently that something has gone wrong, > etc. Unfortunately this way can't report the line number of the function > that called it and I'd rather not have to manually include that info

Re: [PHP] Outputting specific HTML for 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 .= ""; $photocount = 0; > while($row = mysql_fetch_array($result)) { > > $row = $photo['pho

Re: [PHP] Apache and $HTTP_SERVER_VARS[]

2001-01-22 Thread Richard Lynch
> 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. What Apache gives depends on what Apache is configured to give... $PHP_SELF is sup

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

Re: [PHP] Need key() equivalent for string variable

2001-01-22 Thread Richard Lynch
> 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 I think you are looking for "variable variables"... \n"; ?> Note the use of $$ to sort of "follow the trail" down to a variable. Don't miss the Z

Re: [PHP] How to count time in php

2001-01-22 Thread Richard Lynch
> 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. Here's how I would try to do it: \n"; ?> There's probably several other ways to do it. YMMV. Don't miss the Zend Web Store's Grand Op

Re: [PHP] Zip file

2001-01-22 Thread Richard Lynch
>Does anyone know how to create a .zip file using php? H. Not sure if gzip can handle .zip file per se, or if .gz file is okay for what you need, but try here: http://php.net/manual/en/ref.zlib.php If not, there's probably some software out there somewhere that runs on Linux that could b

Re: [PHP] mysql question?

2001-01-22 Thread Richard Lynch
> 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? I'm pretty sure you get informa

RE: [PHP] PHP && UltraEidt

2001-01-22 Thread Kees Hoekzema
hey Steve, look here: http://www.ultraedit.com/downloads/additional.html for your additional wordfiles/tagfiles for ie. PHP (and a _lot_ of other languages) Kees Hoekzema [EMAIL PROTECTED] -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Namens Steve Haemelinck

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

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 max(i

[PHP] Performance: register_globals on or off?

2001-01-22 Thread Carsten Gehling
I never really got an answer to this one, it probably drowned in the discussion, so... Are there any real performance gained by turning register_globals off? After all, it must take the php engine some clock cycles to generate all the global variables. Have anyone tested it? - Carsten ~~

[PHP] Quick Shipping

2001-01-22 Thread Dave M.
Does anyone have a piece of code that calculates shipping costs in real time, that could easily be placed into an existing e-commerce site? Thanks. Dave M.

[PHP] downloading

2001-01-22 Thread PeterOblivion
Hi, since i am on 56k i was wondering if instead of downloading a file from some server and then uploading it again to my server, if i could just have PHP tell the server to download it from the server the original file was in. -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] tengo un problema

2001-01-22 Thread Iván Sánchez Ortega \"MR\"
""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 Prueba a instalarte un servidor de web que no sea de microchof, por ejemplo, yo para hacer pruebas uso un omnihttpd, y la instalación

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

Re: [PHP] tengo un problema

2001-01-22 Thread Matt
Excuse por favor mi malo y posiblemente español incorrecto. PHP no necesita ser compilado, y después de él está instalado para el web server personal Win98. Apenas cree una escritura simple que diga: Excepto esta escritura como phpinfo.php o phpinfo.php4 y coloqúelo en la raíz del document

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 español incorrecto. P

[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 php4/ext/pcre/php_

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 .= "C

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

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

2001-01-22 Thread Sam Masiello
Try this: $result=mysql_query('select max(id) as max_id from mytable'); $max=mysql_result($result, 0, 'max_id'); print ('Max id in the table=$max'); HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Chakravarthy K Sannedhi [mai

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] 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'); Bu

[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 php4/ext/standard/strin

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 Stud

Re: [PHP] quick PHP question on unset()

2001-01-22 Thread Romulo Roberto Pereira
try $var1 = NULL I think that will work Rom - Original Message - From: indrek siitan <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 22, 2001 4:33 PM Subject: [PHP] quick PHP question on unset() Hi, i've got a $var1 that's referencing to a $var2 ($var1=&$var2;) ..

RE: [PHP] quick PHP question on unset()

2001-01-22 Thread indrek siitan
Hi, > i've got a $var1 that's referencing to a $var2 ($var1=&$var2;) .. > > now, when i do unset($var1) it just unlinks the reference, instead > of "clearing" both variables (arrays) like i would want it to do.. > > any ideas how to get around that? as a bonus, the actual name of > $var2 is no

[PHP] quick PHP question on unset()

2001-01-22 Thread indrek siitan
Hi, i've got a $var1 that's referencing to a $var2 ($var1=&$var2;) .. now, when i do unset($var1) it just unlinks the reference, instead of "clearing" both variables (arrays) like i would want it to do.. any ideas how to get around that? as a bonus, the actual name of $var2 is not known at the

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 Be

Re: [PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Todd Cary
Teo - Many, many thanks!!! That will do it. 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 PROTECTED] To contact the list administrators, e-mail: [EMAIL

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

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 Mo

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

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

[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

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 Maili

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 ser

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 query

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 P

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? Session_start/s

[PHP-CVS] cvs: CVSROOT / avail

2001-01-22 Thread Jim Winstead
jimwMon Jan 22 12:31:22 2001 EDT Modified files: /CVSROOTavail Log: add goba to phpweb list Index: CVSROOT/avail diff -u CVSROOT/avail:1.50 CVSROOT/avail:1.51 --- CVSROOT/avail:1.50 Sun Jan 21 09:29:24 2001 +++ CVSROOT/avail Mon Jan 22 12:31:22 2

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

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

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

[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

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-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 --- php4/ext/pcre/ph

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

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

2001-01-22 Thread Andrei Zmievski
andrei Mon Jan 22 11:29:44 2001 EDT Modified files: /php4/ext/pcre php_pcre.c php_pcre.h Log: Z-ify the source. Index: php4/ext/pcre/php_pcre.c diff -u php4/ext/pcre/php_pcre.c:1.78 php4/ext/pcre/php_pcre.c:1.79 --- php4/ext/pcre/php_pcre.c:1.78

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

[PHP-CVS] cvs: php4 / php.ini-dist php.ini-optimized /ext/mssql mssql.dsp

2001-01-22 Thread Daniel Beulshausen
dbeuMon Jan 22 11:15:33 2001 EDT Modified files: /php4 php.ini-dist php.ini-optimized /php4/ext/mssql mssql.dsp Log: rename php_mssql70.dll to php_mssql.dll, as we have only one mssql extension Index: php4/php.ini-dist diff -u php4/php.in

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

[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

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

  1   2   >