Re: [PHP-WIN] Session Variable Problem

2002-04-11 Thread Mike Flynn
, right? What might happen is that since myvar is set (assuming register_globals is on in your php.ini), on the 2nd page it's echoing the value of myvar from the submitted form, not from the session variable. But like I said, it would help much more to see the snippits of code in question

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

2002-04-11 Thread Mike Flynn
''; } echo ''; Obviously this is a pretty rough outline, but it gives you a basic idea of the way you could do this. You can add bells & whistles and make it look nicer, add error checking, stuff like that. -Mike At 09:41 AM 4/11/2002 -0500, R.S. Herhuth wrote: >I

Re: [PHP-WIN] Another Question!

2002-04-11 Thread Mike Flynn
ld in ALL forms you make, like this: That way, you can do something like this instead: if ($submitted) { echo "Whatever"; } And it will work for all browsers. -Mike At 04:32 PM 4/10/02 -0300, Nik Alleyne wrote: >I'm now trying to insert data into the database, bu

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

2002-04-15 Thread Mike Flynn
hen using file-related functions? PHP doesn't give users any kind of access to the file system besides as an interface through functions that a script might call. -Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] PHP stable and for production

2002-04-15 Thread Mike Maltese
y do IIS. You should see my logs, the script kiddies are going after the "scripts" and "MSADC" directories like crazy. Mike -Original Message- From: Roger [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 11:48 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] PHP sta

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

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] re: $POST vars

2002-04-24 Thread Mike Flynn
t work better. But I don't actually know how that variable works (if it is always set or not, or if there are default values in it even if a form has not been posted). But this seems like a better bet than just doing isset() on it, anyway. -Mike -- PHP Windows Mailing List (http://

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] Anoter explaination of my problem

2002-04-25 Thread Mike Flynn
Dude... if you use LOCK TABLE WRITE (not READ) on the table.. it will STAY locked.. until you give the UNLOCK command. It completely solves any concurrency issues. This is a fundamental database issue and MySQL is meant to handle it. :) -Mike At 05:19 PM 4/25/02 -0400, Matt Babineau wrote

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] executing an external program

2002-04-27 Thread Mike Flynn
ffice\\winword.exe'); >?> Otherwise PHO would see \p, \m, \o, \w escape codes. -Mike At 06:45 PM 4/27/02 +0200, Rainer Bruch wrote: >i am new in using and understanding php. need help in following issue: >opening (executing) an external program (not a file) like "winword.e

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

2002-04-29 Thread Mike Flynn
Your code is incorrect. That's what debugging is for! -Mike At 01:13 PM 4/29/02 +0200, Erik wrote: >hi, > >that error indeed disapperars but now i cannot use the html buttons anymore >when i click submit it keeps on showing me the same page over and over again >i creat

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] 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] 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] Undefined Variables?!

2002-04-30 Thread Mike Flynn
or more information, check out: See http://www.php.net/release_4_2_0.php and http://www.php.net/ChangeLog-4.php -Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-05-01 Thread Mike Flynn
y (\n characters) are considered as white space and not processed as tags, just white space in the code. What you want is a function to convert newline characters to tags. Luckily, such a function exists! http://www.php.net/manual/en/function.nl2br.php -Mike At 11:20 PM 4/30/2002 -0400, you

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

2002-05-01 Thread Mike Flynn
You need to do more work debugging the issue before asking your question here. 1. Is the form in the same .php file as the form handling? 2. What does the source code for the form handler page look like when you submit the form? 3. What is your code? -Mike At 09:19 AM 5/1/2002 +0200, Erik

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] window.open and php...

2002-05-02 Thread Mike Flynn
height and width provided by PHP. It would take a while to explain this fully. But if you understand the difference between PHP (server-side) and JavaScript (client-side), then it should be pretty clear after some tries. Good luck, -Mike At 04:21 PM 5/2/2002 +0100, Sandeep Murphy wrote: >

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

2002-05-02 Thread Mike Flynn
0,resizable=0,scrollbars=0,status=0,toolbar=0'); } It's a javascript question, fyi. Not that I personally care. :) -Mike At 04:38 PM 5/2/2002 +0100, Sandeep Murphy wrote: >hi, > >What you have suggeste is exactly what I am doing.. however the function >ope() accepts only

Re: [PHP-WIN] File Uploader - Progress

2002-05-03 Thread Mike Flynn
the upload form until the file is done uploading. -Mike At 01:21 AM 5/4/02 +0530, Arijit Chaudhuri wrote: >Hi all, > >File uploads are a breeze to code in php. However, I have got a request from >a client to show the percentage uploaded or some graphic progress monitor as >the upload

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] capturing windows clipboard && sorry!

2002-05-10 Thread Mike Flynn
Nope, not possible. PHP is NOT a client-side language. It's only server-side. -Mike At 12:55 PM 5/11/02 +0800, you wrote: >1st off sorry for my time travelling computer - hopefully thats sorted now ? > >My Q is how would (can I) capture the contents of the windows clipboard?

RE: [PHP-WIN] mail() problem

2002-05-14 Thread Mike Eynon
This could be a PHP or COM question... not sure. I am calling a custom COM object from php. I am seeing a memory leak happen when I build my variant in C++ and then return it out to the PHP calling into the COM. I am using the following piece of code to take a simple C++ array of strings and lo

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

[PHP-WIN] Re: skipping quotes...

2002-08-29 Thread Mike Tsapenko
Hello, Afan. The you have to replace each (") symbol with ("). But better use htmlspecialchars function. In your case this would be echo "" -- Mike Tsapenko Chief of Web-development Dept. AlarIT http://www.AlarIT.com "Afan P

Re: [PHP-WIN] fread() and windows directory permissions

2001-05-08 Thread Mike Flynn
le; } else { // do stuff for a file // for example, $files[] = $curr_file; } } } Today's alienated gem: "Send your favorite mom lots of love and affection, free of shipping charges!" -- Seen on a shopping site -=- Mike Flynn

RE: [PHP-WIN] HTML/PHP/Javascript

2001-05-09 Thread Mike Flynn
le of PHP influencing the resulting JavaScript. But JavaScript can't affect PHP, because the PHP is all computed on the server side before ever reaching the user, whereas JavaScript is executed on the user's side. Hope that clears things up. -Mike At 11:32 AM 5/10/01 +1000, Ignatius Te

Re: [PHP-WIN] PHP/Javascript

2001-05-19 Thread Mike Flynn
be nice to have the JavaScript update subtotal any time the user changes the item and/or quantity, to reflect the new subtotal. But you would still need them to submit the form for PHP to take note of the submitted data and do whatever. -Mike At 07:55 AM 5/19/01 -0500, you wrote: >This is wh

RE: [PHP-WIN] PHP/Javascript

2001-05-19 Thread Mike Flynn
C upon submission even though the JavaScript may have set C to A*B beforehand. Take care, -Mike At 04:20 PM 5/19/01 +0100, you wrote: >One little warning, even if you are doing your calculations in javascript, >do them again in PHP and check the two are correct. Somebody on the >cl

Re: [PHP-WIN] PHP on win2000 : cgi error

2001-05-20 Thread Mike Kelley
In my searches about the 3kb attachment ceiling I kept reading about needing to add a "\n" into the headers to separate the "additional headers" you guys might look into that. Unfortunately I don't remember which message it was that I read that (might have been in the addendum's to the manual)

[PHP-WIN] PHP & Domino?? (Lotus Notes)

2001-05-19 Thread Mike Kelley
Anyone do anything in this arena yet? I searched the archives for 2001 but have yet to go farther back. I know I can use the COM ability to get info from Domino but I'm looking for any success stories with Lotus Domino. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP-WIN] I need help!!!

2001-05-21 Thread Mike Flynn
ution, but i have tried it on my >installation and it works. > >-- > >Michel Laine > >CAUTION! In order to eliminate spam i have included 'NOSPAM' in my return >address. >To relpy directly to me please remove the NOSPAM in order for the reply to >propagate corr

Re: [PHP-WIN] DNS/WEB SERVER WITH APACHE/PHP/WIN98

2001-05-21 Thread Mike Kelley
You don't need the DNS Unless you want to pay for the www.abc.com.my domain. All your remote offices need to do to connect to the server is type in the IP of the server. The remote boxes will be directed into the web root directory. Give it a try, you already have what you want. The only plus

Re: [PHP-WIN] include

2001-05-22 Thread Mike Flynn
Try... include(getcwd().'/path/to/file/test.php'); -Mike At 01:37 PM 5/23/01 +0700, you wrote: >help...!! > >ilustration: >i got trouble with include on the virtual directory... > >a myfile.php -->> include file on directory includes/test.php > >why

Re: [PHP-WIN] include - one more thing

2001-05-22 Thread Mike Flynn
Sorry, should have mentioned -- if you are doing it on windows, then try something like this: include(getcwd().'\\path\\to\\file\\test.php'); -Mike At 01:37 PM 5/23/01 +0700, you wrote: >help...!! > >ilustration: >i got trouble with include on the virtual direct

Re: [PHP-WIN] Newbie:Backend scripts

2001-07-06 Thread Mike Kelley
Another option is the "at" command I don't remember the syntax but from a command window just type in at help or at /? or at ? One of those should get you the help listing which will tell you the syntax, on windows the "at command" is the same thing as Cron in Unix DoStuff Postmaster wrote: >

Re: [PHP-WIN] Printing text on a printer in PHP4 Using PRINTER function

2001-07-23 Thread Mike Flynn
PHP is a server-side language. Thus, it cannot do anything on the client-side. The printer functions are for the printers connected to the web server with PHP. -Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [PHP-WIN] Import filters

2001-07-23 Thread Mike Flynn
much use in this situation. I was hoping to do the same thing -- I wanted to be able to have people post meeting minutes in Word format but have them be converted so as to be available to all via HTML. Still no solution for me yet, sorry! -Mike At 12:10 PM 7/23/2001 +0200, Ziggi wrote: &

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

2001-07-23 Thread Mike Flynn
e_size"); readfile("/hard_drive_path/to/file/$picname"); --- That's a rough sketch. But again, the easiest way to do it is just move the picture files onto somewhere on your web server and just access them like any picture, using the tag and having PHP fill in the file nam

Re: [PHP-WIN] array problem??

2001-07-29 Thread Mike Flynn
ho $a[$c]."\n"; or, using your syntax, echo($a[$c]."\n"); You may want to do $c++ rather than ++$c, if only to get into the habit of thinking along the proper lines of pre- and post- incrementing. -Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail

Re: [PHP-WIN] WINNT - PHP @#%^ UP!! (Mail & attachments)

2001-07-30 Thread Mike Kelley
I went to your site ... nifty site (took forever toload even on DSL), but where'd you hide your stuff on the mail function? My mailing function works what I want/need to know is why doesn't work with attachments greater than 2 KB? I know I'm not the only one experiencing this and I've RTFM and

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

2001-07-31 Thread Mike Flynn
date('Y-m-d') is how MySQL likes to see DateTime types represented. $today = date('Y-m-d'); $query = 'SELECT * FROM tblEvents '; $query .= "WHERE dtmEventDate >= $today "; $query .= 'ORDER BY dtmEventDate DESC'; $result = mysql_query($query);

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

2001-07-31 Thread Mike Flynn
ng? I know I say it kind of complicated, but it's actually a pretty basic thing. You'll get the hang of it. -Mike At 10:48 AM 7/31/2001 -0400, Martin Tengowski wrote: >I am trying to query a database, and return the results on the same >page. > >I have a form to enter the i

Re: [PHP-WIN] Variable scope in loops

2001-07-31 Thread Mike Flynn
ed, not having been previously created. Also as a sidenote, I don't think you want to loop to $num_columns+1. Seems to me if there's 2 columns, say, you'll be doing.. 1, 2, 3.. which is 3 columns, which is more than the number of results. There are only $num_columns Give some o

[PHP-WIN] The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

2001-08-05 Thread Mike Barber
I am running IIS 5 PHP 4, when ever i try to load a page like http://localhost/page.php i get "The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:" When i have a form post data(from a .html page to the page it will work fine.

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

2001-08-07 Thread Mike Flynn
u put your return e-mail address for the listserv as "[EMAIL PROTECTED]". -Mike At 03:26 PM 8/7/01 -0400, Rick S wrote: >Hello, > >I was interested in producing a link that looked like www.index.htm instead >of www.index.php this would hide the use of dynamic HTML. My goal is

Re: [PHP-WIN] PDFlib on PHP4

2001-08-09 Thread Mike Flynn
there's any kind of output whatsoever before you begin the headers, then it's too late to append headers, and that's why PHP will say that header information was already sent. HTH. -Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP-WIN] Network Documents

2001-08-15 Thread Mike Barber
Go into the Services :List Double click on the World Wide Web Publishing Service Click the "Log On" Tab Click on the DOT for "This account." clcik on Browse Find a user id that has permissions to access the share. Fill in the password for that user. Hit OK and restart the service. Try it again. -

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

[PHP-WIN] PHP sessions under Win2k AS

2001-08-22 Thread Mike Duin
from filesystem and makes a connection to an Informix database. I tried to solve this bby using ifx_pconnectbut it wouldnt stop opening new sessions... How To? Greetz Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: [PHP-WIN] Re: Array

2001-08-22 Thread Mike Flynn
You'll have to access the fields by element ID. document.theformname.elements[id].properties document.theformname.length is the number of elements in the form. The elements go in order starting at 0. -Mike At 09:07 AM 8/22/2001 +0200, you wrote: >This is easy. My problem is that I need

Re: [PHP-WIN] Help with mysql rowpointer

2001-08-22 Thread Mike Flynn
ords. } Does this answer your question? If not, please be more specific as to what I missed :) -Mike At 12:17 PM 8/22/2001 +0200, you wrote: >Hey there. I realize this is a forum for php-windows users,but knowing >that most of you guys run a mysql db as backend i have a question for >you..

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

2001-08-22 Thread Mike Flynn
Set your error reporting to: E_ALL & ~E_NOTICE Having it just set to E_ALL is what's causing the problem in the first place. :) -Mike At 09:38 AM 8/22/2001 +0100, you wrote: >Hi > >I have just reinstalled my win2k system and installed the latest version of >PHP (4.06), no

Re: [PHP-WIN] managing bounced mail

2001-08-24 Thread Mike Flynn
If it is indeed on a Windows server, check your php.ini file. Look for the entry: ; For Win32 only. sendmail_from= [EMAIL PROTECTED] ; for Win32 only And put the e-mail address you'd like the SMTP server to see as the sender there. -Mike At 10:59 PM 8/22/01 +0200, you wrote: >Hi, this

[PHP-WIN] htmlspecialchars but allow text formatting?

2001-08-29 Thread Mike Flynn
tags, like , , , , , , etc? I'd like to allow people to input large text articles via web forms (textareas), but still allow some level of attractiveness to the output -- by allowing them to format the text with HTML tags. Any ideas? -Mike -- PHP Windows Mailing List (http://w

Re: [PHP-WIN] Use the User Input Critia as part of Query! (Mysql)

2001-09-03 Thread Mike Barber
$query="select name,department,Leave_From,Leave_To,Leave_Total,Reason from leaverequest where Staff_Number='$StaffNum'" will work just fine. (Enclose vars with single quotes) - Original Message - From: "Jack" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday,

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

Re: [PHP-WIN] File Upload In Form

2001-09-18 Thread Mike Flynn
if (in_array($the_type, array_keys($allowed_types))) { if (is_uploaded_file($the_file)) { move_uploaded_file($the_file, ...destination...); // proceed with file manipulation & successful form submission } else { // possible hack attempt? } else { // not a

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

2001-09-21 Thread Mike Flynn
once the user has it, like Javascript does. -Mike At 03:16 PM 9/20/2001 +1200, you wrote: >hello again, >can someone please help me to make a realtime clock in PHP not using forms >only plain text that updates when the time changes, i.e. every minute etc... > >thank you again =) > &

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] copying files...? Nope, uploading

2001-10-01 Thread Mike Flynn
; .. I'm sure all the big sites (devshed, zend, phpbuilder) have plenty of articles on PHP file uploads. If you'd like some sample code, just ask. -Mike At 01:07 PM 10/1/2001 +0200, you wrote: >I want to copy a file from a users PC (via a form) to a specific folder on the >webserv

Re: [PHP-WIN] problem of php4 session

2001-10-04 Thread Mike Flynn
e anything wrong in your configuration. You should just try a test page.. Test link The link should have the PHPSESSID auto-appended when you load the page. -Mike At 10:09 PM 10/4/2001 +0800, you wrote: > I have used PHP4 Session in my application but if the client's browser >

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

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

RE: [PHP-WIN] Dlls

2001-10-25 Thread Mike Eynon
ou can debug with CGI, but that will involve adding a wait statement / infinite loop to your dll that will give you time to attach a debugger. Hopefully this helps. // Mike Eynon // www.MikeEynon.com // 1366 Bulb Ave // Santa Cruz, CA 95062 // [EMAIL PROTECTED] // 831.588.2388 (cell) -Ori

RE: [PHP-WIN] Dlls

2001-10-25 Thread Mike Eynon
What version of PHP are you using? There is a bug in some of the later dev versions that truncates Variant strings from COM objs to ~18 chars. Is this what you are hitting? I know I have seen this in 4.08dev (with some Oct. date). // Mike Eynon // www.MikeEynon.com // 1366 Bulb Ave // Santa

RE: [PHP-WIN] IIS PHP

2001-10-28 Thread Mike Eynon
Does the entire page draw? Are you calling into anything other than php with the suspect page? Try the PHP "hello world" page to see if this continues to happen... // Mike Eynon // www.MikeEynon.com // 1366 Bulb Ave // Santa Cruz, CA 95062 // [EMAIL PROTECTED] // 831.588.

Re: [PHP-WIN] Include files seem sqiffy

2001-11-16 Thread Mike Flynn
private advice only to notice that they used a "no spam" e-mail address.. -Mike At 10:38 PM 11/12/2001 +, [EMAIL PROTECTED] wrote: >I am trying to install a php/mysql board but get warnings about Undefined >variable: . >It appears to be linked to the use of include fil

[PHP-WIN] Re: Win 2k, IIS 5 and PHP

2001-11-20 Thread Mike Webby
Did you get any answers Martin? If not does the group have a guide for us as many functions just don't work using iis and php.exe "Martin Steel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I installed php on my win2k machine running IIS 5, i've set

[PHP-WIN] iis apache together?

2001-11-21 Thread Mike Webby
acts oddly on iis too. Mike -- 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]

[PHP-WIN] Re: iis apache together?

2001-11-21 Thread Mike Webby
your replies Mike "Mike Webby" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hope your all well > is it possible to run apache on our windows advanced server alongside iis as > we have 50 some sites on iis already and do not want to

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

2001-11-28 Thread Mike Flynn
ther_email\n"; >$mailheaders .= "Reply-to: $sender_email\n"; Also, you should probably change the "Reply to" header to "Reply-to" (as I've done here). -Mike At 10:31 PM 11/18/2001 -0600, you wrote: >Daniel, >I tried your sugges

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] Re: session open failed and header() don't redirect

2001-10-10 Thread Mike Flynn
). Clear the session problem and you won't get the "headers already sent" error. The session problem, like you said, is either due to the folder set for session data not existing, or having some problem with forward/back slashes being switched. -Mike -- PHP Windows Mailin

Re: [PHP-WIN] Header() redirect

2001-11-30 Thread Mike Flynn
from somewhere else? A bit of extranneous code you've written / a pre-existing error message? I use sessions all the time and header redirections work fine.. -Mike At 11:50 AM 11/30/2001 +0100, Martin.Andrew wrote: >Is there another function that does the same job as Header() >

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 th

RE: [PHP-WIN] very urgent assistance

2001-12-06 Thread Mike Flynn
m. There's no need to get offensive and bigoted. -Mike -- 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] Auto reply

2001-12-06 Thread Mike Flynn
han clutter generated by accidental public replies if that were the default. -Mike -- 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]

[PHP-WIN] Re: What is a class

2001-10-29 Thread Mike Frazer
. There's a great deal more to learn about OOP. If you really want to learn about OOP, get a book on C, C++ or Java. These are probably the three best implementations of OOP (and it really originated in its current form with C++). Mike Frazer "Jack" <[EMAIL PROTECTED]> wro

Re: [PHP-WIN] my MySQL hacked?

2001-12-10 Thread Mike Flynn
ere that path resides outside the web server and any other server's accessible areas. -Mike -- 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] multiple select?

2001-12-18 Thread Mike Flynn
options were selected. } -Mike -- 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] How to force _top in header

2001-12-19 Thread Mike Flynn
irect statement isn't like using the back or forward buttons which may take you to the last anchor or position you were at. I suppose you could try #_top in your location. But if you just mean the top of the page, are you saying that you've tried it and it isn't going to t

Re: [PHP-WIN] Radio buttons

2001-12-23 Thread Mike Flynn
one can be selected at a time. Option 1 Option 2 Option 3 -Mike -- 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] Call another page after the menu had been selected

2001-12-28 Thread Mike Flynn
the form, you could do it with the PHP.. [before any other HTML code] [...html code...] --- Please select one: --- Page 1 Page 2 Page 3 ... Hope that helps. -Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubscr

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] header() problem

2001-12-28 Thread Mike Flynn
At 05:44 PM 12/28/2001 +0200, Jukka Pakkanen wrote: >Thanks Mike, but still no luck. Nothing happens. No errors, no redirects, >no nothing :( Hmmm.. have you tried just making a blank page with this code? If so, what shows up in the browser? A blank page? View the source, what does i

RE: [PHP-WIN] Mathimatical equations in PHP

2001-12-28 Thread Mike Flynn
re storing your values in a database such as MySQL, using built-in functions. See the MySQL manual (www.mysql.com) or whatever database for more on this. -Mike At 05:11 PM 12/28/2001 +0100, Svensson, B.A.T. (HKG) wrote: >I am kind of pessimistic by nature, and would not with out having check

RE: [PHP-WIN] Mathimatical equations in PHP

2001-12-28 Thread Mike Flynn
ally, I did it on purpose, not by accident. I thought it was useful information so it doesn't get asked again by someone else 20 more times. No? -Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP-WIN] how to increase memory

2002-01-29 Thread Mike Maltese
In the php.ini file under the heading "Resource Limits". memory_limit = 8M ;<-- change this to whatever you need it to be - Original Message - From: "SpychaƂa, Wojciech" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 29, 2002 12:24 AM Subject: [PHP-WIN] how to increa

Re: [PHP-WIN] Version of Merlin/PHP that works??

2002-01-29 Thread Mike Maltese
me know if this has helped, and good luck! Mike - Original Message - From: "Ross Fleming" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 29, 2002 3:47 PM Subject: RE: [PHP-WIN] Version of Merlin/PHP that works?? > Might I suggest geocities i

Re: [PHP-WIN] Version of Merlin/PHP that works??

2002-01-29 Thread Mike Maltese
Oh and just a FYI item here, the Apache installation DOES make registry entries! In my experience though this has not caused any problems as far as re-installations. Mike - Original Message - From: "Ross Fleming" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sen

Re: [PHP-WIN] Version of Merlin/PHP that works??

2002-01-30 Thread Mike Maltese
Well, you didn't think Apache made any registry entries either, so that pretty much covers that - Original Message - From: "Ross Fleming" <[EMAIL PROTECTED]> To: "Mike Maltese" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, Jan

Re: [PHP-WIN] DLL problems

2002-02-01 Thread Mike Maltese
In the folder that you unzipped your php distribution to, there is a folder named dlls. Just copy or move the contents of this folder to C:\WINDOWS\system. Post back with the result. Mike - Original Message - From: "Dave" <[EMAIL PROTECTED]> To: <[EMAIL PROTE

Re: [PHP-WIN] Can't pass variables to PHP scripts?! Please help.

2002-02-04 Thread Mike Maltese
The space is an underscore. - Original Message - From: "Ross Fleming" <[EMAIL PROTECTED]> To: "Travis Wyatt" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, February 04, 2002 1:01 AM Subject: RE: [PHP-WIN] Can't pass variables to PHP scripts?! Please help. > Also, just another po

<    1   2   3   >