Re: [PHP] Question on variable variables

2001-11-16 Thread Christopher William Wesley
"//","$$1",$curline); > > So for the current line I am looking for something like I > want to replace that with the contents of $copyright. > > Can variable variables be used in regular expressions? > > Jeff > - Original Message - > From: "

Re: [PHP] relative paths

2001-11-17 Thread Christopher William Wesley
On Sat, 17 Nov 2001, Mitja Pagon wrote: > I want to know if there is a way to include(require) a file using a path > relative to web server root. I think you'll find the $DOCUMENT_ROOT environment variable handy :) ~Chris /"\

Re: [PHP] Segmented Code/HTML VS. ECHO??

2001-11-18 Thread Christopher William Wesley
I _hate_ echo'n out big batches of HTML, so I never do it. I prefer to include HTML, or have a class or function write HTML. However, printing in heredoc style is very handy ... more so than sliced bread. For example: The bear is ${name}. EOF; print( date() ); ?> PHP code, fo

Re: [PHP] Classes

2001-11-25 Thread Christopher William Wesley
On Sun, 25 Nov 2001, Rudi Ahlers wrote: > Can anyone explain classes to me please? On many sites have I seen classes, There are people earning PHD's while explaining classes. I know your question originates from using PHP, and this is a PHP general mailing list ... but your question is just a ta

Re: [PHP] Classes

2001-11-25 Thread Christopher William Wesley
On Sun, 25 Nov 2001, Miles Thompson wrote: > Not such a useless explanation at all, in fact a damned good one. Tight & > concise, and you immediately related the functions to code examples, along > with an easy-to-visualize object, the chair. Sweet ... I'm glad you found it useful! TY > 1. Why

Re: [PHP] Objects and sessions

2001-11-26 Thread Christopher William Wesley
On Mon, 26 Nov 2001, Greg Sidelinger wrote: > Can someone tell me how to store a class in a session var. I want to There are several things you need to do. 1) include the class definition before you do anything 2) start the session shortly thereafter 3) register a session variable 4) create y

[PHP] Problems in IIS

2001-11-28 Thread William Sanchez Sanchez
difference between IIS and Apache concerning to the sintaxis of some functions in PHP? Sorry for my little english, I really speak spanish. Thanks. William -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] fatal error

2001-11-28 Thread William Sanchez Sanchez
I got that, Why it could be? Fatal error: Cannot redeclare reporte_llamada() in c:\Inetpub\wwwroot\online\includes\funciones.php on line 4 and the code for reporte_llamada()in ...\funciones.phpis : function reporte_llamada ($telefono,&$folio,$fecha_ini,$fecha_fin, $tipo) {

[PHP] ocilogon()

2001-11-28 Thread William Sanchez Sanchez
I got this error: Fatal error: Call to undefined function: ocilogon() in C:\Inetpub\wwwroot\online\classes\class.Telefono.php on line 19 Why it could be? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

RE: [PHP] Logo proposal

2001-12-11 Thread Christopher William Wesley
I think an animal mascot is a beat idea. Needlenose pliers. Enough said! ;) ~Chris /"\ \ / September 11, 2001 X We Are All New Yorkers

[PHP] sending Email

2001-12-17 Thread William Sanchez Sanchez
is "imap_mail()" currently available in Win32?? Thanks... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] How can i send eMail under Win32

2001-12-17 Thread William Sanchez Sanchez
I need to send eMail under Win32 Regards.. William -- 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] sessions var

2001-12-19 Thread William Sanchez Sanchez
ss them from the new window opened... thanks in advantage... William. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Re: Need help on putting variable into

2001-08-28 Thread Christopher William Wesley
On Tue, 28 Aug 2001, Hugh Danaher wrote: > I think at one time I tried using double quotes but didn't get good results. > If you have time to answer, why the backslash and what the hell is "foo"? Using the backslash escapes the double quote ... tells php to not use the double quote (as it does t

Re: [PHP] fgets

2001-08-29 Thread Christopher William Wesley
On Wed, 29 Aug 2001, Joseph Bannon wrote: > I want to use fgets to get an image off the server and then print it. Kinda > like if you call the script picture.php, an image will appear. How do I do I do this, with fopen() and fpassthru() ... $im = fopen( "myImage.jpg", "r" ); if(

Re: [PHP] fpassthru (was: fgets)

2001-08-30 Thread Christopher William Wesley
On Thu, 30 Aug 2001, Joseph Bannon wrote: > What exactly does fpassthru do? Does it download it to my server and then > shoot it to the browser?? (http://php.net/fpassthru) For the file pointer on which it operates, it reads the file pointer until EOF and sends the data to STDOUT. It is very m

RE: [PHP] fpassthru (was: fgets)

2001-08-30 Thread Christopher William Wesley
On Thu, 30 Aug 2001, Joseph Bannon wrote: > The thing I want to avoid is using my server's bandwidth. Each member gets a > profile and can have a photo referenced from their homepage. I use to allow > people to upload photos, but I'm getting close to using my 60GB bandwith > limit. The people tha

Re: [PHP] header,session stuff works on live fails on dev...?

2001-08-31 Thread Christopher William Wesley
On Fri, 31 Aug 2001, Nic Skitt wrote: > Warning: Cannot add header information - headers already sent by (output > started at c:\apache\apache\htdocs\client-secure.php:11) in > c:\apache\apache\htdocs\client-secure.php on line 18 > > Which would indicate that the line 11 is sending output to the

Re: [PHP] session_encode doesn't work....

2001-09-03 Thread Christopher William Wesley
On Mon, 3 Sep 2001, Dhaval Desai wrote: > session_encode($dhaval); ... > when I check out the c:\tmp\ directory and check out > the session data I can still read the same as > dhaval=trythisout and it's not encoded...is it coz the session_encode() returns a string for you to use in a PHP script

Re: [PHP] replacing a carriage return with an html break

2001-09-03 Thread Christopher William Wesley
On Mon, 3 Sep 2001 [EMAIL PROTECTED] wrote: > I am filling out a form , and submitting it to the next > page which just prints what I submitted, but it doesnt print any > returns, i used when i filled out the previous Try using nl2br() in the output script (page). http://php.net/nl2br

Re: [PHP] If PHP4 existed in 1995 we would of taken over the worldby now

2001-09-03 Thread Christopher William Wesley
On Mon, 3 Sep 2001, Bob wrote: > look. What I am looking for is the cool factor. I know technology needs time > to improve but what's going to be cool in PHP5??? It's like a race that never > finishes and who is winning? ASP or PHP? PHP5 will still run on your Free OS, your CLI OS, your Pay

Re: [PHP] Am I right or wrong?

2001-09-03 Thread Christopher William Wesley
On Tue, 4 Sep 2001, Seb Frost wrote: > I have a folder of ~80kb images that are dynamically resized using PHP into > ~1.4kb thumbnails. Now for each one the PHP server sends an HTTP request > for the 80kb image, and this is being counted against my 10,000MB. > > Should it? Am I in the right in

Re: [PHP] How to index HTML fields for Javascript and PHP at sametime?

2001-09-03 Thread Christopher William Wesley
On Mon, 3 Sep 2001, Miguel wrote: > I need to refer these fields like vector in PHP and Javascript mode. > When I write then I can see values > in PHP sccript, BUT can't see values in javascript mode, thats to say > document.form.myfield[index].value doesnt work. > On the other side, when I make

Re: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Christopher William Wesley
On Mon, 3 Sep 2001, Michelle Marcicki wrote: > website. It is using PHP3 and MySQL. We had to move it to a new server, that > as it turns out only supports PHP4. I have been looking through all the FAQs, Are you running an Apache web server? If so, add this line to your httpd.conf file and r

Re: [PHP] Newbie Question: Converting PHP3 files to PHP4?

2001-09-03 Thread Christopher William Wesley
On Mon, 3 Sep 2001, Michelle Marcicki wrote: > I am NOT running the server. I am using a local ISP (excellent guy but not > really accessible on this long weekend), so I have no control over what the OOOH ... Nasty! If the admin can't add the .php3 extension for you, then you'll be stuck renami

Re: [PHP] Want mysql dump to be mailed to me....

2001-09-03 Thread Christopher William Wesley
On Tue, 4 Sep 2001, sagar wrote: > I have a remote server running my website. I've to make the backup of the mysql db > i'm using. i can use mysqldump for this. but i'm not sure where the file will be >created > on the server and also i want to make that file to .zip and then download it to my

RE: [PHP] Side Comment (was: Newbie Question: Converting PHP3 filesto PHP4?)

2001-09-03 Thread Christopher William Wesley
On Tue, 4 Sep 2001, Jason Murray wrote: > Nah, in Illegal Monopoly OS, its just as easy as Apache. Rather than the web server config, I was referring to renaming all the .php3 files to have .php extensions, and combing through all the files, finding all references to .php3 files, and changing th

RE: [PHP] Side Comment (was: Newbie Question: Converting PHP3 files to PHP4?)

2001-09-03 Thread Christopher William Wesley
On Tue, 4 Sep 2001, Jason Murray wrote: > But then, the right tools make the job easy regardless of > platform. For sure! I don't bother with all that clicking ... now you [Unix folk] don't have to either :) #!/bin/sh for PHP3FILE in `find . -type f -name "*.php3" -print` do PHP4FILE=`e

Re: [PHP] PHP on Solaris / Linux with MSSQL Server 7.0 or 2000 onWin2K

2001-09-04 Thread Christopher William Wesley
On Tue, 4 Sep 2001, Boaz Yahav wrote: > I'm currently using PHP 4 on Solaris on a front end server with MySQL on > Solaris as a db server. ... > I want to work with MSSQL Server 2000 instead of MySQL, does anyone have > experience with working with such > a combination? PHP4 on Solaris as front an

Re: [PHP] an error "Maximum execution time of 30 seconds exceededin C:\...

2001-09-04 Thread Christopher William Wesley
On Wed, 5 Sep 2001, nyon wrote: > I got an error "Maximum execution time of 30 seconds exceeded in C:\... on line 224" >while > accessing a PHP page tie to a Mysql database. > > 3. How to I set it to 60 seconds ? This is the default PHP configuration. In your php.ini file, look for this line:

Re: [PHP] Carriage return.

2001-09-05 Thread Christopher William Wesley
On Wed, 5 Sep 2001, Johan Vikerskog (EMP) wrote: > My php script is generating a file that is saved in Unix format. > I automatically get the "^M" in the end of everyline. Is there a way > of saving this without getting the "^M" in the end of each line? The ^M you see is a DOS carriage return/li

Re: [PHP] CheckBoxes and Arrays

2001-09-11 Thread Christopher William Wesley
On Tue, 11 Sep 2001, Ryan Stephens wrote: > Im trying to output a list of options, each with a checkbox named "ChkBox" ... Name each checkbox "ChkBox[]" ... the brackets are the key. When the form is submitted, you'll have an array called $ChkBox that will contain the data only from the checked

Re: [PHP] problem with getting data from NNTP server

2001-09-16 Thread Christopher William Wesley
On Sun, 16 Sep 2001, Luboslav Gabal ml. wrote: > I have script for getting header of article from NNTP server using sockets: > output have look so: > From: "Antonin Mohaupt" <[EMAIL PROTECTED]> > but it is only > From: "Antonin Mohaupt" > What's the problem ? I tried higher raise length of da

[PHP] possible session bug - Mantis Bug Tracker

2009-03-03 Thread Edsall, William (WJ)
is is causing this bug. Please advise! PHP 5.2.4 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 22 2007 02:01:31) Server version: Apache/2.2.4 (Unix) Server built: Mar 6 2008 02:37:06 Thank you ahead of time list. _______ William J. Edsall Walking on water

RE: [PHP] possible session bug - Mantis Bug Tracker

2009-03-05 Thread Edsall, William (WJ)
esday, March 03, 2009 11:18 AM To: Edsall, William (WJ) Cc: php-general@lists.php.net Subject: Re: [PHP] possible session bug - Mantis Bug Tracker On Tue, 2009-03-03 at 11:01 -0500, Edsall, William (WJ) wrote: > Hello list! > I'm having a strange problem with php after installing Mantis Bu

[PHP] PLEASE, PLEASE, PLEASE - HELP ME GET OFF THIS LIST

2010-02-23 Thread William C. Schnute
PLEASE, PLEASE, PLEASE - HELP ME GET OFF THIS LIST --- YOU PEOPLE ARE DRIVING ME CRAZY1 Please unsubscribe: m...@honeyflowfarm.com, wschn...@mail.honeyflowfarm.com or anyone else @honeyflowfarm.com or wschn...@gm.com PLEASE At 08:32 AM 2/23/2010, you wrote:

[PHP] question

2004-04-22 Thread Johnson, Andrew William
I've now installed apache and php, however I'm experiencing the following problem when I try to run test.php file:-   I get prompted with a dialogue box asking if I would like to download the file, any ideas on why this is happening, once this is fixed I think I'll have everything

[PHP] PHP 5.2.5 Install Question/Problem

2008-01-29 Thread Strader, William A.
addir_r' make: *** [main/reentrancy.lo] Error 1 Can anyone suggest anything for me to try??? Thank you all for any help you can give. Regards, William "Billy" A. Strader NAISMC Web Services Work: 865-425-5178 Pager: 865-417-5012 Emergency Pager: 865-417-5622 -- PHP General Mailing L

[PHP] mb_convert_encoding converting to ASCII instead of UTF-8

2008-04-23 Thread Robert William Vesterman
I've run into a problem where mb_convert_encoding seems to be converting to ASCII, even though I'm telling it to convert to UTF-8. This is with PHP version 4.3.11. I had been asking it to convert from "auto" to UTF-8, so at first I thought maybe "auto" was not the right choice. So I called

Re: [PHP] mb_convert_encoding converting to ASCII instead of UTF-8

2008-04-23 Thread Robert William Vesterman
But, the "UTF-8 to ASCII" case for "Minnie=Miñoso" is still (seemingly) screwy. Robert William Vesterman wrote: I've run into a problem where mb_convert_encoding seems to be converting to ASCII, even though I'm telling it to convert to UTF-8. This is with PHP ve

Re: [PHP] mb_convert_encoding converting to ASCII instead of UTF-8

2008-04-23 Thread Robert William Vesterman
( $x ) ) ); output ( "Convert from ISO", mb_convert_encoding ( $x, "UTF-8", "ISO-8859-1" ) ); ?> Output for "Minnie=Mi%F1oso": Raw: Mi?oso ... UTF-8 Convert from detected: Mioso ... ASCII Convert from ISO: Miñoso ... UTF-8 Robert W

Re: [PHP] mb_convert_encoding converting to ASCII instead of UTF-8

2008-04-23 Thread Robert William Vesterman
And the culprit is that mb_detect_order() wasn't set up to handle ISO-8859-1. It was "ASCII, UTF-8". Changing it to "ASCII, UTF-8, ISO-8859-1" makes everything work as expected. Robert William Vesterman wrote: OK, now the problem seems to be not that mb_conv

Re: [PHP] mb_convert_encoding converting to ASCII instead of UTF-8

2008-04-23 Thread Robert William Vesterman
ASCII characters, which mb_detect_encoding therefore said was ASCII. tedd wrote: At 11:28 AM -0400 4/23/08, Robert William Vesterman wrote: A little additional info: The "ASCII to ASCII" case for "Minnie=Mouse" is merely because the UTF-8 encoding for "Mouse" is the sa

Re: [PHP] Are IP addresses reliable?

2007-06-16 Thread william(at)elan.net
and other issues) but its very very not easy and a lot depends on protocol in question. -- William Leibzon Elan Networks [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Installation problem

2007-07-13 Thread William Sang Lee
Hi, I am trying to install a package using SSH because my Web-based PEAR is not working. So, I type in "pear install Date." But, it only says Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Non-recoverable failure in name resolution in RPC.php on line 464 Warning: fsockopen(

Re: [PHP] Re: get domain component from email

2007-08-07 Thread william(at)elan.net
r forms valid domain. -- William Leibzon Elan Networks [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Please tell me I dont know regex

2006-09-15 Thread william(at)elan.net
Please try below page/program on your system entering "ab-cd" and please tell me I dont know regex - because the way I see it the results of those tests should have been the same... --- Please enter something with a dash here:

[PHP] Scroll en barra de mensajes del explorer

2004-02-23 Thread William Morales (INCOS)
Saludos Se podrá con PHP poner un scroll en la barra de mensajes del explorer, alguien lo ha hecho? Lo he checado con JavaScrip, pero PHP lo hace? Espero alguien me ayude. William Morales Tabasco, México

Re: [PHP] Re: IBM's Learning PHP Part 1 tutorial.

2005-07-06 Thread William James McEachran
> > Newbie question. > > > > I'm working my way through IBM's PHP tutorial. Generally good ... but I'm > > stuck at an error point and have no idea what's going wrong. > > Before adding a new row to the mysql database (already opened) we do a > > query to see if a particular record already exist

Re: [PHP] SQL statement in PHP

2001-02-16 Thread William N. Zanatta
Matt, Maybe the mistake is at the quotes... Just replace the double quotes inside the select statement by single quotes... Try something like: $sql = "select Business_Name,Trading_Details where Business_Type='Consultancy' and Bassingbourn != '0' from Main";

[PHP] PHP & Apache

2003-01-30 Thread Aaron Stephan William Boeren
Hi, Maby you could help me on why I get this message when using variables: Undefined variable: UN1 in c:\inetpub\wwwroot\sdd\pages\redirection.php on line 15 I have PWS being used, PHP 4.3.0 & Apache 2.0.34. OS is Windows 2k If you could help that would be great because I need it for testing sc

Re: [PHP] PHP & Apache

2003-01-31 Thread Aaron Stephan William Boeren
> > Maby you could help me on why I get this message when using variables: > > Undefined variable: UN1 in c:\inetpub\wwwroot\sdd\pages\redirection.php > > on line 15 > Because you have an undefined variable. You have a variable that has not > been assigned a value. Assign it a default value or use

[PHP] PHP or Apache problem?

2004-10-07 Thread william van der wee
bin/httpd2-prefork: error while loading shared libraries: /usr/lib/php/extensions/unixODBC.so: undefined symbol: SQLAllocEnv script not found or unable to stat I'am not sure this is a PHP or an Apache problem. Anybody have any experience with this. Appreciate your help.

<    1   2   3   4   5