Re: [PHP-WIN] Undefined variables (was php_gd.dll and Windows XP)

2002-05-15 Thread Mike Flynn
4ts.dll" Then: "Unable to locate dll > > > > |> |'c:\httpd\php\php_gd.dll' - the specified procedure could not be > > > > |> |found". > > > > |> | > > > > |> |I've also tried installing with Easywindows on IIS - again, gd >does > > > > |> |not work (though no helpful error messages). > > > > |> | > > > > |> |So I'm coming to the conclusion there some incompatability > > > > |between XP > > > > |> |and the php_gd.dll. Does anyone have this working on XP? Can >anyone > > > > |> |suggest how I can fix this? > > > > |> | > > > > |> |Many thanks > > > > |> | > > > > |> |Alan Hale > > > > |> | > > > > |> | > > > > |> > > > > | > > > > | > > > > |-- > > > > |PHP Windows Mailing List (http://www.php.net/) > > > > |To unsubscribe, visit: http://www.php.net/unsub.php > > > > | > > > > > > > > > > > > > -- > > > PHP Windows Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > >-- >PHP Windows Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php -- Mike Flynn -- mike @ mikeflynn . net home => work => home => shop => home [adbusters] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] capturing windows clipboard && sorry!

2002-05-10 Thread Mike Flynn
t;To unsubscribe, visit: http://www.php.net/unsub.php -- Mike Flynn -- mike @ mikeflynn . net home => work => home => shop => home [adbusters] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] how do i split text on multi linez .... ????

2002-05-09 Thread Mike Flynn
;); > >fclose($fp); > >?> > > > >so i have tried it with preg_split, explode >togather az well az seperately . >but .. (N) . > >vat can i do to fix it ? > >thnx a million ... > >toby > >__ >Do You Yahoo!? >Yahoo! Shopping - Mother's Day is May 12th! >http://shopping.yahoo.com > >-- >PHP Windows Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php -- Mike Flynn -- mike @ mikeflynn . net home => work => home => shop => home [adbusters] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] File Uploader - Progress

2002-05-03 Thread Mike Flynn
Hi Arijit, Unfortunately, I don't think there is. The file data is sent in the *request* for the PHP page, meaning the PHP page doesn't even get sent back to the user until the file is done uploading. So there's not really any choice but for the user to view the page with the upload form unt

RE: [PHP-WIN] window.open and php...

2002-05-02 Thread Mike Flynn
; > > > > >The window does pop ups but ignores the widht and height sent.. whereas if >i > >hardcode the values for the pop up is works... > > > >Isnt is possible to send values for the window parameters dynamically?? if > >so what am i doing

Re: [PHP-WIN] window.open and php...

2002-05-02 Thread Mike Flynn
t is possible to send values for the window parameters dynamically?? if >so what am i doing wrong?? > >TIa, > >sands > >-- >PHP Windows Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php Mike Flynn - Burlington, VT http://www.mikeflynn.net/ - [EMAIL PROTECTED] home=>work=>home=>store=>home [repeat daily] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Premature end of script headers: c:/php/php.exe

2002-05-01 Thread Mike Flynn
> //redirect to page > header("Location: /worked.php"); //<-- problem area. > exit(); >} >else >// user/pass failed >{ > //redirect to error page > header("Location: /failed.php"); > exit();

Re: [PHP-WIN] php won't "process" forms anymore

2002-05-01 Thread Mike Flynn
click submit a douzend of times it always show the >same > >any solution for this issue ? > >thanks >Erik > > > >-- >PHP Windows Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php Mike Flynn - Burlington, VT http://www.mikef

Re: [PHP-WIN] Carriage Return and Line Feed

2002-05-01 Thread Mike Flynn
> >Matt Babineau >Freelance Internet Developer >e: <mailto:[EMAIL PROTECTED]> >[EMAIL PROTECTED] >p: 603.943.4237 >w: <http://www.illuminatistudios.com/> http://www.illuminatistudios.com > > Mike Flynn - Burlington, VT http://www.mikeflynn.net/ - [EMAI

RE: [PHP-WIN] Undefined Variables?!

2002-04-30 Thread Mike Flynn
At 11:28 PM 10/8/01 -0500, you wrote: >Thank you for your help so far but it seems as though the same problem >is happening. For some reason the php won't grab the variable values. >The only difference now is that it doesn't show me the error, it is just >blank where it should be displaying the v

Re: [PHP-WIN] Undefined Variables?!

2002-04-30 Thread Mike Flynn
ow if you have any suggestions on getting rid of these weird undefined >variables please reply.. >...also note that the code is not buggy. > >-steven > > > > > >-- >PHP Windows Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php --

Re: [PHP-WIN] php.ini setting, need some info

2002-04-30 Thread Mike Flynn
I don't really know, but the manual says the following: session.cache_expire: specifies time-to-live for cached session pages in minutes; this has no effect for nocache limiter. Defaults to 180. http://www.php.net/manual/en/ref.session.php At 07:33 PM 4/30/02 -0400, Matt Babineau wrote: >What

Re: [PHP-WIN] PHP_SELF - undefined var

2002-04-29 Thread Mike Flynn
What you've done wrong is not checked the 4.2 release notes :) http://www.php.net/release_4_2_0.php At 11:13 AM 4/29/02 -0400, Scott Mc wrote: >I am using WinXP (IIS), and PHP 4.1.2. Recently I've upgraded to PHP 4.2. >Since the upgrade, all of my scripts that use the PHP_SELF variable will not

Re: [PHP-WIN] i'm stuck guys

2002-04-29 Thread Mike Flynn
ng wrong with php only windows and php doesn't >like eachother haha :-) > >the http 500 error is gone now "see above" > >regards from belgium >Erik -- Mike Flynn -- mike @ mikeflynn . net home => work => home => shop => home [adbusters] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] executing an external program

2002-04-27 Thread Mike Flynn
e to execute the winword-program"; >?> > >i have asked a so called specialist who gave the following (not functioning, >no error message) code: >shell_exec("c:\programme\microsoft office\office\winword.exe"); >?> > >thanks to all who will help me >rai

Re: [PHP-WIN] passing variables with 4.2

2002-04-26 Thread Mike Flynn
Didja think to check the version 4.1.2 release notes before posting your question? http://www.php.net/release_4_2_0.php At 03:26 PM 4/26/02 -0500, Chris Dion wrote: >Is there something I am missing here. With php 4.1.2 i can do >blah.php?action=foo but with 4.2 I can't. What am I doing wrong?

Re: [PHP-WIN] Anoter explaination of my problem

2002-04-25 Thread Mike Flynn
.943.4237 >w: <http://www.illuminatistudios.com/> http://www.illuminatistudios.com > > -- Mike Flynn -- mike @ mikeflynn . net home => work => home => shop => home [adbusters] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] MySQL / PHP - possible to run many sql statements in the same execution?

2002-04-25 Thread Mike Flynn
OUNTER_Page_Views SET Count = > > Count + 1 WHERE Counter_ID = '" . $count_id . "'"; > > > > > > $result3 = mysql_query($query3); > > $result1 = mysql_query($query1); > > $result = mysql_query($query); > > > > > &g

RE: [PHP-WIN] re: $POST vars

2002-04-24 Thread Mike Flynn
At 10:49 AM 4/24/2002 -0400, you wrote: >Yeah that is the idea, are there any bad things about doing it this way? >The POST array does not exist if the page has not been posted to? To be safer, you could check the sizeof($HTTP_POST_VARS), rather than just if it is set (exists). That might work

Re: [PHP-WIN] Quoted Dynamic Strings are killing me (Second Attempt)

2002-04-22 Thread Mike Flynn
be good to me but when I echo the query it parses out >like this: > >select bio FROM individual WHERE last_name ='Appleyard >selectedFirstname=Peter selectedMarket=Atlanta' AND first_name ='' AND >market ='' > > >What am I missing...or doing wrong?

Re: [PHP-WIN] mail atachment

2002-04-21 Thread Mike Flynn
At 06:56 AM 4/21/02 -0700, Camelia Moldovan wrote: >Hi! How can I attach a file to a mail using PHP ? > >I tried to use some existing classes but I received lots of errors. http://www.phpbuilder.com/columns/kartic2807.php3 -Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubs

Re: [PHP-WIN] Problem with uploading Files with PHP 4.1.2 on IIS

2002-04-20 Thread Mike Flynn
At 11:56 AM 4/20/02 -0300, Waldemar Brand Neto wrote: >Dear Myke I have this problem too. When I save the uploaded file im Mysql it >save the path of the file and not the image itself. How cam I read the file >and save into a BLOB field. > >Thanks. > >Waldemar Try something like this: $the_file =

Re: [PHP-WIN] Outputting a string from mysql database

2002-04-16 Thread Mike Flynn
J B's Supermarket to the web page all I get >is J B. How can I get the entire display on the screen including the ' in >the name? >quincy Mike Flynn - Burlington, VT http://www.mikeflynn.net/ - [EMAIL PROTECTED] home=>work=>home=>store=>home [repeat daily] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Problem with uploading Files with PHP 4.1.2 on IIS

2002-04-16 Thread Mike Flynn
The temp file is deleted after the script is run. So if you're checking for the presence of that .TMP file after you have run your page, then you won't find it. For security reasons (and also to save hard drive space), the file is only there during the execution of the script. It is during

Re: [PHP-WIN] Re: Security using Apache & Windows

2002-04-15 Thread Mike Flynn
At 09:23 PM 4/14/2002 -0400, Tim Mackenzie wrote: >There is a way of configuring PHP to limit access to the file system. You >don't want any schmuck who uploads a PHP script access to your entire >system, right? PHP allows you to limit what parts of the system can be >seen. My question is how i

Re: [PHP-WIN] Another Question!

2002-04-11 Thread Mike Flynn
I'm assuming $submit is referring to the submit button. First of all, the submit button isn't assigned to the variable $submit, unless its NAME property is "submit". You could make a text field called submit, a select box called submit, radio button, checkbox, etc. All it depends on is which

Re: [PHP-WIN] Dynamic querys to SQl Server

2002-04-11 Thread Mike Flynn
query the DB only returning the selected columns. >What is an efficient way of doing this? > >Does anyone know of any tutorials or examples that can get me close? > >Ron > >-- >PHP Windows Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.

Re: [PHP-WIN] Session Variable Problem

2002-04-11 Thread Mike Flynn
hat is getting passed >it looks correct but the session instance of the variable never changes. > > > >I have tried everything I could possibly try. I even copied and pasted >sample code from www.zend.com with the exact same results. > >Is this a bug or what am I doing

Re: [PHP-WIN] Another Newbie Question

2002-04-10 Thread Mike Flynn
onnect to the database"); >mysql_select_db("guestbook") or >die ("could not connect to the specified database"); >?> >I'm getting the "could not connect to the specified database" message. >P.S. The database exists. > >Please Help >Th

RE: [PHP-WIN] Rounding

2002-04-09 Thread Mike Flynn
At 05:49 PM 4/9/02 +0200, Svensson, B.A.T. (HKG) wrote: >The number '2' I now have, was it - to be extreme - it '1,1' (a sealing >function) or was it '2,9' (a floor function) before? You can never really >tell... If it was by the rule we've settled on below, then if you have 2, then the number y

RE: [PHP-WIN] Rounding

2002-04-09 Thread Mike Flynn
Well, I suppose rounding by the dictionary's definition can mean any kind of approximation to a number of less significant digits, so I see your point. But by the popular vernacular and by the default precision for any programming language's "round" function that I've encountered (including P

Re: [PHP-WIN] mail() with attachments

2002-04-08 Thread Mike Flynn
Hmm? The article explains exactly how to do it. You can make a multipart MIME e-mail where the first part is the message, and the 2nd part is the file attachment (and more parts for additional files). The file data is encoded using base64 encoding in this example. You just need to create th

RE: [PHP-WIN] Rounding

2002-04-08 Thread Mike Flynn
At 09:43 PM 4/8/02 +0100, Ross Fleming wrote: >Multiply by 100, take the absolute value and divide by 100 again That will round down to 2 decimal places. To round to the nearest 2 decimal places, to what Ross said but instead of getting the absolute value, just round it normally. >Hi all, > >

Re: [PHP-WIN] Newbie Question

2002-04-08 Thread Mike Flynn
At 03:31 PM 4/8/2002 +0200, Alberto. Sartori wrote: >You should do the cicle and get the datas until you reach the end of file >aka feof($fp) or better, try to use fread() Yup, good point. Here's the modified code.. not using fread() though. For non-binary data I think this should work ok tho

Re: [PHP-WIN] Newbie Question

2002-04-08 Thread Mike Flynn
ata[$c]; break; } case 2 : { >$marque= $data[$c]; break; } case 3 : { $nom = $data[$c]; break; } case 4 >: { $pdfproduit= $data[$c]; break; } case 5 : { $commprod = $data[$c]; >break; } } } ?> > > > > >-- >PHP Windows Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php Mike Flynn - Burlington, VT http://www.mikeflynn.net/ - [EMAIL PROTECTED] home=>work=>home=>store=>home [repeat daily]

RE: [PHP-WIN] update?'

2002-04-05 Thread Mike Flynn
I doubt there is any way to do this without using an intermediate step. I would grab all the data you need from whichever tables you are grabbing from, into a temporary array in PHP, including whatever keys you are using to place them into the other table where they are being placed. Then go

Re: [PHP-WIN] New to PHP Need Help

2002-04-04 Thread Mike Flynn
ysql_query($query); >$Location_Info = mysql_fetch_row($result); > >echo "$Location_Info"; > >?> > > > > > > >-- >PHP Windows Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php Mike Flynn - Burlington, VT http://www.mikeflynn.net/ - [EMAIL PROTECTED] home=>work=>home=>store=>home [repeat daily] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Bounces

2002-04-04 Thread Mike Flynn
At 09:19 AM 4/4/2002 +, you wrote: >I can't figure out how to get email bounces to come back so that I can >remove them from my lists. Is there some way to do this? I am using the >mail function. > >Troy If you mean remove them automatically, then I don't think there would be any way to do

RE: [PHP-WIN] Passing Javascript Variables to PHP

2002-04-02 Thread Mike Flynn
At 02:37 PM 4/2/02 -0700, Robin Bolton wrote: >Another way to pass data from JavaScript <-> PHP is with cookies. Good point! -Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Passing Javascript Variables to PHP

2002-04-02 Thread Mike Flynn
I have answered variations on this question at least 3 times. Please check the archives. JavaScript is client-side, PHP is server-side. The only way to go from JavaScript to PHP (in that direction) is by going to a new page -- 1. Reloading the current page, with the relevant data in the quer

RE: [PHP-WIN] Parse error when using Javascript & php?

2002-03-29 Thread Mike Flynn
IFrames don't use the 'value' property, so your second approach was right -- putting the content between the iframe tags. Now, do you know that IFrames are only supported by Internet Explorer and not Netscape Navigator? They are used on almost *no* sites.. so you may want to consider that be

Re: [PHP-WIN] Parse error when using Javascript & php?

2002-03-29 Thread Mike Flynn
Anything outside of the tags doesn't affect PHP one way or the other, as long as it doesn't contain any of the strings like etc that turn PHP parsing on and off. So I don't think the JavaScript or IFrames would affect it. -Mike At 12:31 PM 3/29/2002 -0600, Todd WIlliamsen wrote: >Parse err

Re: [PHP-WIN] Is there anyway to save a file into Mysql database

2002-03-25 Thread Mike Flynn
ill be able to grep text from MS Word and >then save that word file into MYSQL database? Which means is MYSQL will be >able to store files into it's table? > >Thx a lot >jack >[EMAIL PROTECTED] > > > >-- >PHP Windows Mailing List (http://www.php.net/) >To u

Re: [PHP-WIN] Session-trouble bigtime

2002-03-18 Thread Mike Flynn
At 03:58 PM 3/18/2002 +0100, Martin wrote: >Hmm I have registred the Session $Namn >by the following snippet: > ><< File1 >> >session_register("Namn"); >$Namn = "sweden"; >echo"ett litet test med sessioner"; >?> Should there be a session_start() here? You have session.auto_start set to 0 in you

Re: [PHP-WIN] Include ()

2002-03-14 Thread Mike Flynn
ext file. anyone know why? my example is >http://www.notchmetal.com/bio/ > >thanks > > -Sean- Mike Flynn - Burlington, VT http://www.mikeflynn.net/ - [EMAIL PROTECTED] home=>work=>home=>store=>home -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] new window with set size via php ?

2002-03-11 Thread Mike Flynn
At 08:00 AM 3/11/2002 +0100, Wolfgang Schneider wrote: >Actually, I was thinking of some "normal server side pages" ... :-) >I've seen things people did with asp pages where I thought they sized >pop windows or resized already open windows via the server side >language, now I may simply be mistak

Re: [PHP-WIN] new window with set size via php ?

2002-03-10 Thread Mike Flynn
Good point. I assumed that Wolfgang meant for normal client-side pages. -Mike At 10:33 AM 3/10/02 -0800, alain wrote: >Mike: >You are right and you are wrong ;) It depends on the way that you are using >php, if it's on a web site you are right, but you can also use php as a >standalone applicat

Re: [PHP-WIN] new window with set size via php ?

2002-03-10 Thread Mike Flynn
Argh, how many times must it be reiterated that PHP is a *SERVER SIDE PROGRAMMING LANGUAGE*. What this means is that by itself it cannot do ANYTHING on the client's side ONCE THE PAGE HAS LOADED. You can have PHP generate some JavaScript and dHTML to do such things, but PHP by itself only ex

Re: [PHP-WIN] Re: strings with $ sign

2002-03-10 Thread Mike Flynn
s in such kind of >strings. > > ' $bla bla and bla $bla ' > > > > " \$bla bla and bla \$bla " - this should work too, but i haven`t >checked. > > > > rash > > > > > > > >-- >PHP Windows Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php -- Mike Flynn -- mike @ mikeflynn . net home => work => home => shop => home [adbusters] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] sessions Problem Followup concerning IE6

2002-03-08 Thread Mike Flynn
Sessions won't depend on the browser version. If you are using cookies for the sessions, it will just depend on whether their browser has cookies blocked or not. If you are not using cookies, and have the "transparent SID" option turned on in the PHP.INI file, then the ?SID=xxx will get appe

Re: [PHP-WIN] sprintf

2002-03-06 Thread Mike Flynn
One option is to use substr(): $thestring = 'scott'; $thestring = substr($thestring, 0, 3); At 03:02 PM 3/6/02 -0500, Scott St. John wrote: >I am trying to create a file in which each line is exactly 255 characters >long, some of the data I am importing is longer than the field allows. >Does any

RE: [PHP-WIN] Warning: Undefined variable

2002-03-03 Thread Mike Flynn
Duh, just let him know the proper setting: error_reporting = E_ALL & ~E_NOTICE That will keep everything but minor warnings. That's what most people use. -Mike At 07:40 PM 3/2/02 -0800, alain samoun wrote: >Crizz: >Obviously you don't want to do that at this point - No error reporting for a

Re: [PHP-WIN] passthru() on Win98 ??

2002-02-26 Thread Mike Flynn
nt for the address field on the browser? >If I type "http://localhost/test.php/whatever.pdf"; in the address field I >get a server error which I was also expecting to be hornest. I don't see how >that should work. > > >"Mike Flynn" <[EMAIL PROTECTED]&

Re: [PHP-WIN] passthru() on Win98 ??

2002-02-26 Thread Mike Flynn
address "http://localhost/test.php"; and the >browser would load Acrobat Reader and show the pdf document generated from >"whatever.html". > >So how do I get the ".pdf" added? >By typing the address "http://localhost/test.php?.pdf"; ? Doesn&#x

Re: [PHP-WIN] passthru() on Win98 ??

2002-02-26 Thread Mike Flynn
chunked > > > Content-Type: text/html > > > > > > some stupid html, or nothing at all > > > > > > in which case, I would try a different method to verify that data is > > > properly passing between php and htmldoc.exe. > > > > > &g

RE: [PHP-WIN] Latest obsession (controlling Winamp with PHP)

2002-02-18 Thread Mike Flynn
At 04:56 PM 2/18/2002 +0100, Svensson, B.A.T. (HKG) wrote: >Question: What prevents you from implement the system based on a Linux >server just as the other "web stations"? > >If there is nothing that prevents this, why not go for a much secure and >stable network platform like Linux? Is this re

RE: [PHP-WIN] dynamic checkboxes submit..help!

2002-02-18 Thread Mike Flynn
I should have been more specific in some of my pseudocode: Update View Priv That is, the '$userid's and the array indexes '[x]' they are followed by are separate in the code. -Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

RE: [PHP-WIN] dynamic checkboxes submit..help!

2002-02-18 Thread Mike Flynn
Ok, well what I would do is have each of the series of checkboxes be in an array for each user, using variable variables. There's probably an easier way to do it, but I'm not sure.. so here's basically what I'd do (in pseudocode): for (each user, their id being $userid) { Update Vi

Re: [PHP-WIN] dynamic checkboxes submit..help!

2002-02-18 Thread Mike Flynn
You have to be a little more clear. What do you mean by "dynamically generated" and "tree"? If the checkboxes are created dynamically, what naming convention are using to give the checkboxes names? Set their value=".." to whatever you want, and use some convention for their names. Then aft

Re: [PHP-WIN] Re: Form submit action type.

2002-02-13 Thread Mike Flynn
At 09:17 PM 2/12/2002 -0800, you wrote: >What server side script should I use, I was visiting hotscripts and they >don't really have anything that will work for me. You don't really need a script. Just use a PHP file as the form action, and in the PHP file create an e-mail with all the form inf

Re: [PHP-WIN] im so stupid

2002-02-12 Thread Mike Flynn
At 10:43 AM 2/12/2002 -0500, Nicole Amashta wrote: >Not in the least. That is not the same at all. You are referencing the > button. > >I am referencing a hidden field that is set with that value no matter what. Exactly. I learned this the hard way. Don't rely on the submit button at all. IE

Re: [PHP-WIN] Form submit action type.

2002-02-12 Thread Mike Flynn
At 09:45 PM 2/11/2002 -0800, Mike wrote: >I am creating a page with a form on it. I want it so that when people click >submit, I want the information from the form to be emailed to me. Is there a >way I can do this with normal JavaScripting or even plain HTML or would I >have to use something like

RE: [PHP-WIN] Mathimatical equations in PHP

2001-12-28 Thread Mike Flynn
At 05:32 PM 12/28/01 +0100, you wrote: >Don't send CC message to those who does not need the information, >plse!!! > >(I am starting to get pretty fucking annoyed about that people doesn't check >those things before pressing the send button/key.) Actually, I did it on purpose, not

RE: [PHP-WIN] Mathimatical equations in PHP

2001-12-28 Thread Mike Flynn
Huh? To average? You just use addition and division. It doesn't require a function. A function would not only be silly but probably take more keystrokes just to type. Average = sum of units' values / number of units. Additionally, you can do this automatically if you're storing your values

Re: [PHP-WIN] header() problem

2001-12-28 Thread Mike Flynn
gt; > > > > > > > >-- >PHP Windows 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] -=- Mike Flynn - Bu

Re: [PHP-WIN] header() problem

2001-12-28 Thread Mike Flynn
At 02:46 PM 12/28/2001 +0200, you wrote: >Running NT4sp6a and PHP4.1.0. > >I try to redirect the browser to a new location [http://www.qnet.fi";); ?>], but nothing happens in the browser. There are no >extra spaces, CR's, LF's or anything, and output_buffers are on in the >php.ini. > >Any ideas??

Re: [PHP-WIN] Call another page after the menu had been selected

2001-12-28 Thread Mike Flynn
At 02:10 PM 12/28/2001 +0800, you wrote: >Dear all >I'm using UltraDev which build a form containing a menu, there a two items >inside this menu for user to choose. This form is using Post Action to >$php_self which means it will pass back the variable to itself. >Then here is the question: > > w

Re: [PHP-WIN] Radio buttons

2001-12-23 Thread Mike Flynn
At 02:27 AM 12/23/01 -0500, you wrote: >I thinjk in NS4.x, you have to make the Name or ID of all radio buttons same >otherwise it will not work. Yeah there's no bugs between Netscape and IE for radio buttons. Any buttons having the same name will be in one group, wherein only one can be selec

Re: [PHP-WIN] How to force _top in header

2001-12-19 Thread Mike Flynn
At 12:51 PM 12/19/2001 +0100, you wrote: >Hello > >I have to redirect to an ssl with header function > >is it possible to force _top in header ? Not positive what you mean, but if you mean that you just want the new page to be at the top, it should automatically do that. The redirect statement

Re: [PHP-WIN] multiple select?

2001-12-18 Thread Mike Flynn
At 11:48 AM 12/18/2001 +0100, Martin.Andrew wrote: >I want to use a combo box with multiple select enabled. >Selecting one value works fine but when I select multiple values only the >last value is saved in the DB. > >you must be able to use this function in PHP, right? Name the select box as an

Re: [PHP-WIN] my MySQL hacked?

2001-12-10 Thread Mike Flynn
At 06:11 PM 12/9/2001 +, you wrote: >I found the problem. > >There was a problem with FTP security, and a member decided to look in my >PHP files and find my MySQL password. He then, obviously, used that MySQL >password to trash our database. > >Mystery solved. > >- Jefferrs A good way to hel

Re: [PHP-WIN] Auto reply

2001-12-06 Thread Mike Flynn
At 05:30 PM 12/6/2001 +0800, you wrote: >I wish to hit the reply button and to: email automatically fill in as >[EMAIL PROTECTED] not >the email of the originator, could this be done on this list especially? > >Thanks. > >ST Ooi >Malaysia This would be something the list admin has to do. I thin

RE: [PHP-WIN] very urgent assistance

2001-12-06 Thread Mike Flynn
At 11:10 AM 12/6/2001 +, you wrote: >WE not as STUPID as you ! Ignore this scam ! > >Stupid Nigerian asshole. Take a fucking chill. This is a well-known spam that circulates all the time. The originator is not the real excite e-mail alias that it came with. It's a worm. There's no need

Re: [PHP-WIN] Posting data to a web page

2001-12-04 Thread Mike Flynn
I've heard that ~256 characters is about the safe limit. -Mike At 12:25 PM 12/4/2001 +, you wrote: >Be careful using long urls! > >It's a very unreliable mechanism. > >I've tried it in the past and anything over 1K is pushing your >luck. Depending on the systems the URL is being passed th

Re: [PHP-WIN] Header() redirect

2001-11-30 Thread Mike Flynn
Which session library files do you mean? Sessions should never create the headers -- there's no reason for them to do so. There's nothing in the page itself that sessions need care about and nothing they can affect / be affected by. Are you sure that the headers aren't coming from somewhere

Re: [PHP-WIN] upload image

2001-11-28 Thread Mike Flynn
Please check a few sites to get background on this: Start here: http://www.php.net/manual/en/features.file-upload.php Then check out some tutorials: http://www.phpbuilder.com/columns/bealers2904.php3 http://www.thickbook.com/extra/php_fileupload.phtml http://www.zend.com/codex.php?id=6&single=

Re: [PHP-WIN] Adding a cc to a PHP mail script...

2001-11-28 Thread Mike Flynn
tional email addresses to the 'To' list, use a > > comma seperated list: > > e.g. $to = "[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]"; > > > > if you want to cc the email then add it to your headers: > > e.g. $mailheaders .= "Cc: [EM

Re: [PHP-WIN] Include files seem sqiffy

2001-11-16 Thread Mike Flynn
es. Are these somewhat >different under Doze? I'm a bit of a newbie with php but it does >appear some php code needs tweaking to work in windows. >Any pointers greatfully accepted! -=- Mike Flynn - Burlington, VT -=- [EMAIL PROTECTED] http://www.mikeflynn.net/

Re: [PHP-WIN] Re: session open failed and header() don't redirect

2001-10-10 Thread Mike Flynn
At 09:21 AM 10/10/2001 +0200, Michel Laine wrote: >"Warning: Cannot add header information - headers already sent by (output >started at c:\program files\apache group\apache\htdocs\web1\1.php:2) in >c:\program files\apache group\apache\htdocs\web1\1.php on line 6" > >Seems to me that you have some

RE: [PHP-WIN] Large File Uploads

2001-10-05 Thread Mike Flynn
At 05:17 PM 10/5/01 +0100, you wrote: >I did this and now the admin page is returning a parse error? > >Has anybody been able to upload images via phpnuke? > >> if($upload) && ($admintest) { Uhh.. look at the code. if ($upload && $admintest) { -Mike -- PHP Windows Mailing List (http://www.

RE: [PHP-WIN] Large File Uploads

2001-10-05 Thread Mike Flynn
At 05:17 PM 10/5/01 +0100, you wrote: >I did this and now the admin page is returning a parse error? > >Has anybody been able to upload images via phpnuke? > >> if($upload) && ($admintest) { Uhh.. look at the code. if ($upload && $admintest) { -Mike -- PHP Windows Mailing List (http://www.

Re: [PHP-WIN] problem of php4 session

2001-10-04 Thread Mike Flynn
iling >with --enable-trans-sid. > session.use_trans_sid = 1 > > > >-- >PHP Windows 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-WIN] copying files...? Nope, uploading

2001-10-01 Thread Mike Flynn
er and store the file name in the Database. >I have tried to use the copy($string, $path) function but I keep getting errors. > >Does anyone know a simplat solution for this? Do I have to copy the contents of the >file to a temp file on the server first? If so how? >Or is th

Re: [PHP-WIN] mysql_fetch_array() doesn't work

2001-09-25 Thread Mike Flynn
Look at the line number indicated by the error. A parse error has nothing to do with the mysql functions. Your code looks fine. What did you leave out with the ...'s? By the way, an easier way to do what you're doing here is: $res = mysql_query($query); while ($arr = mysql_fetch_array($res))

Re: [PHP-WIN] also... a real time clock (no forms)

2001-09-21 Thread Mike Flynn
gt; > >-- >PHP Windows 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] -=- Mike Flynn - Burlington, VT -=-

Re: [PHP-WIN] File Upload In Form

2001-09-18 Thread Mike Flynn
At 10:39 AM 9/18/2001 +0430, you wrote: >Hi All, >I must a file download with used html form, for example with this code: >How can upload only GIF or JPG file? Be sure to include the MAX_FILE_SIZE hidden input field -- it is required. And be sure to put it BEFORE the file input field in the cod

Re: [PHP-WIN] array problems

2001-09-07 Thread Mike Flynn
Hi Andrew, I have done something very similar to this. Pretty identical. I know it may seem complicated, but I think if you take a good look at it this code might help you. It's for managing a dynamic -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE

[PHP-WIN] htmlspecialchars but allow text formatting?

2001-08-29 Thread Mike Flynn
Hey all, Here's something I've wanted to do in the past, but being unable to figure it out just worked around it. Does anyone know of a good, secure solution to strip html characters like htmlspecialchars() does, for security sake and proper page viewing, but allow text formatting tags, like

Re: [PHP-WIN] managing bounced mail

2001-08-24 Thread Mike Flynn
t; >Thanks a lot. > > > >-- >PHP Windows 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] -=- Mike Flynn - Burl

Re: [PHP-WIN] issue with undefined variables with PHP 4.06

2001-08-22 Thread Mike Flynn
ng 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] -=- Mike Flynn - Burlington, VT -=- [EMAIL PROTECTED] http://www.mikeflynn.net/ * Giv

Re: [PHP-WIN] Help with mysql rowpointer

2001-08-22 Thread Mike Flynn
;-- >PHP Windows 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] -=- Mike Flynn - Burlington, VT -=- [EMAIL PROTECTED]

RE: [PHP-WIN] Re: Array

2001-08-22 Thread Mike Flynn
to work with this variable (array) >also in JavaScript !! So I have test[1]test[5] in PHP but how can I >get values from this variables in JavaScript ? I know this is little off >topic but I spent already whole day on this with no luck so far !! > >DAN > >-Original M

[PHP-WIN] Re: Array

2001-08-21 Thread Mike Flynn
gt; > Situation: > > > for ($i=1; $i<6; $i++) { > > > > } > > ?> > > This is all in one form. How can I get all five values of test from this > > kind of code ? > > > > DAN > > > >-- >PHP Windows Mailing List (http://

Re: [PHP-WIN] PDFlib on PHP4

2001-08-09 Thread Mike Flynn
At 07:25 PM 8/8/2001 -0400, you wrote: >I'm getting this message ... >with the following code. > > >$len = filesize($filename); >header("Content-type: application/pdf"); ... Well, it's kind of important to know what comes before the ped it ... because if there's any kind of output whatsoever befo

Re: [PHP-WIN] Make file.php look like file.htm ???

2001-08-07 Thread Mike Flynn
Hi, 1. This is dependent on your server software. If you configure .htm or .html files or whatever to execute PHP the way you have .php configured, then all files ending in .htm or whatnot will be executed the same as .php. 2. I hope you don't expect too many private replies when you put your

Re: [PHP-WIN] Variable scope in loops

2001-07-31 Thread Mike Flynn
seem to like >taking an array as a parameter. I had it looking something like this: > >global $incident_array[]; > >Any help would be appreciated. > >Tom Tsongas > > > >-- >PHP Windows Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >Fo

Re: [PHP-WIN] Help with a query, and return result on the same page.

2001-07-31 Thread Mike Flynn
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] -=- Mike Flynn - Burlington, VT -=- [EMAIL PROTECTED] http://www.mikeflynn.net/ * Give blood * Am

Re: [PHP-WIN] DB Date check !!

2001-07-31 Thread Mike Flynn
variable based on this function and use this variable within the >select statement! >Anyone know whats happening or if there is a descent solution available? > >thanks, > >Andrew -=- Mike Flynn - Burlington, VT -=- [EMAIL PROTECTED] http://www.mikeflynn.net/ * Give bl

Re: [PHP-WIN] array problem??

2001-07-29 Thread Mike Flynn
At 11:32 AM 7/29/01 -0700, Rasmus Lerdorf wrote: > > > $a = array("a","b","c"); > > > > for ($c=0 ; $c < count($a) ; ++$c);{ > >Get rid of the ; there ^^^ Also, echo("$a[$c] \n"); will probably not work. Try: echo $a[$c]."\n"; or, using your syntax, echo($a[$c]."\n"); You may want to

Re: [PHP-WIN] how to show picture with php?

2001-07-23 Thread Mike Flynn
Can >somebody help me? > > > >-- >PHP Windows 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] -=- Mike Flynn - Burl

  1   2   >