[PHP-WIN] Postnuke, PHP and Windows ISA servers

2002-06-05 Thread Mike
being able to post stuff under my name from around the campus. Any insight appreciated. Thanks! Mike T. www.fvforces.net -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Implement Javascript into vB code

2002-06-24 Thread Mike
How would I implement Javascript into a vB code? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Implement Javascript into vB code

2002-06-24 Thread Mike
Sorry guys, let me rephrase my question. I want to insert some javascript code into the code for my forum (vB) not as a post, but as a forum post, but as code within the php file. Sorry about the confusion "Mike" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]"&

[PHP-WIN] Tons of notices and warnings...for what reason?

2002-07-01 Thread Mike
I've installed IIS, MySQL, and PHP on my computer...When I a bulletin board (PHP), I get around 50 errors...I went to the company that makes the board, and they said to turn register_globals on...and nothing changed...Here's the list of errors: Notice: Undefined variable: nocache in c:\inetpub\ww

[PHP-WIN] PHP and Soap

2001-07-29 Thread Mike
Where can I find examples of PHP SOAP at. Cheers M;) -- 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] 4.0.6 mssql.dll Extension load failure

2001-10-25 Thread Mike
pointers please ? Thanks & rgds Mike [EMAIL PROTECTED] -- 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] COM /DCOM

2001-09-29 Thread Mike
Hi All Where is some good info on useing COM or DCOM with PHP? Both of my scripts bellow fail and I cannot seem to find why. or Version}\n"; $word->Visible = 1; $word->Documents->Add(); $word->Selection->TypeText("This is a test..."); $word->Documents[1]->SaveAs("Useless test.doc"); $word->Quit

[PHP-WIN] Re: Problems setting up a DSN

2001-09-27 Thread Mike
Daniel, If you are accessing an Access 2k database, I would use OLEDB rather than ODBC. With this you would not require a DSN, and the speed is greater. ex. $conn = new COM("ADODB.Connection"); $connString = 'PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=F:\someMDB.MDB;User Id=Foo;Password=B

Re: [PHP-WIN] current page

2001-09-27 Thread Mike
The easiest way to find out these kind of constant variables is to create this page and view it: "John Asendorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I believe you can call: > > $thisepage = $PHP_SELF; > > you'll need to look it up though > > ---

[PHP-WIN] Re: PHP-> JavaScript

2001-09-27 Thread Mike
I'm not sure which way you are trying to go, but here is a function I use all the time: "Sichta Daniel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi !! > > Is there any way to parse variable from JavaScript to PHP

Re: [PHP-WIN] php4 and interbase

2001-09-27 Thread Mike
Yes, but do you have the php_interbase.dll in your extensions directory. And I assume you have a line similar to this in your INI: extension_dir = "f:\apache\php\extensions" "SebastiáN" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > yes, interbase server is

Re: [PHP-WIN] 4.0.6 mssql.dll Extension load failure

2001-11-01 Thread Mike
get installed. This was NOT straightforward to fix. On researching this problem - there are lots and lots of people who have had this error - how do we get the fix posted to an FAQ for php/IIS/SQLServer configs ? Thanks to all those who helped out on this. Rgds Mike "Dl Neil" <[EM

[PHP-WIN] 4.0.6 mssql.dll Extension load failure

2001-11-01 Thread Mike
pointers please this problem is driving me nuts - I even tried reversing the slashes to the UNIX way ! Thanks & rgds Mike [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP-WIN] PHP and IIS

2001-11-30 Thread Mike
When setting up vBulletin board with PHP i am unable to send emails to my members and so on. I have specifed in my php.ini file what the IP is of my SMTP server. I also know that my SMTP server works with my ASP scripts. If you could help me out on this, that would be great. -- PHP Windows Mai

[PHP-WIN] Re: De su interes/Publi enseñanza

2001-12-04 Thread Mike
no hablo espanol. "Universt" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > PUBLI/ENSEÑANZA > > Learning > University > Area > Master-Doctoral > > > > > > Distinguido Sr./Señora: > > > Gratamente nos dirigimos a vd.para informales sobre la posibil

[PHP-WIN] DNS

2001-12-10 Thread Mike
to tell the website to point to that DNS server. Have i done everything correctly? -- -Mike Taekema Microsoft Certified Professional www.fvforces.net -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP-WIN] Re: PHP software tool

2001-12-22 Thread Mike
TextPad is another good text editor for all types of programming languages. Unforuntatly it is not free but the demo my work for you. http://www.textpad.com It supports multiple languages like PHP, JAVA and HTML -Mike "Laserjetter" <[EMAIL PROTECTED]> wrote in message [EMAIL

[PHP-WIN] Need Advice

2002-01-24 Thread Mike
y making me mad. Any ideas?? here are the specs: AMD 1.4 GHz 512MB PC-133 RAM D-Link 530+TX 10/100 SMC 10 Is there something in the registry that i can change? Maybe its a registry setting for an up down ratio? -- -Mike Taekema Microsoft Certified Professional www.fvforces.net -- PHP Window

[PHP-WIN] Form submit action type.

2002-02-11 Thread Mike
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 PHP. Thanks -- -Mike Taekema Microsoft

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

2002-02-12 Thread Mike
What server side script should I use, I was visiting hotscripts and they don't really have anything that will work for me. "Mike" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am creating a page with a form on it. I w

[PHP-WIN] WMI in PHP

2003-02-20 Thread Mike
hings). -- Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] $GLOBALS

2003-06-11 Thread Mike
ce you can use post in the same fashion. ie: foreach($_POST['photo'] as $photo) ~ Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] mtx.exe....acts like cookie monster...

2001-04-11 Thread Mike
We are running a windows nt4.0 box, informix 9.21 php4.04 and datadirector for web (informix webblade) Connecting to the database using ifx_connect() causes mtx.exe to steal memory and not releasing this memory. We are not using any ODBC so imho mtx.exe should not start at all. PHP source of the s

[PHP-WIN] mtx.exe....acts like cookie monster...

2001-04-11 Thread Mike
We are running a windows nt4.0 box, informix 9.21 php4.04 and datadirector for web (informix webblade) Connecting to the database using ifx_connect() causes mtx.exe to steal memory and not releasing this memory. We are not using any ODBC so imho mtx.exe should not start at all. PHP source of the s

Re: [PHP-WIN] HTML-Forms with the method POST

2001-04-11 Thread Mike
I think u have to read thru ur PhP.ini file.. There is a setting there about global vars.that should do it... Greetz M!ke "Monello" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a strange problem with HTML-Forms with the method POST. > > Wh

[PHP-WIN] ID drscsn... thanks

2004-02-17 Thread mike
Yours ID axytvjnkif -- Thank <> -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] teehing troubles with PHP

2004-03-02 Thread Mike
I'm studying Information systems at university, and I've been set an assignment to create a simple website using PHP and MySQL. I'm installed them on my comp at home running Win XP with IIS as my web server. I've successfully run ASP pages on this set-up but when I try to run a simple test PHP scri

[PHP-WIN] Re: teehing troubles with PHP

2004-03-02 Thread Mike
excuse the date on previous post - should be correct on this one -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: teehing troubles with PHP

2004-03-02 Thread Mike
you can ignore this it's working now. the problem was with my typing/spelling not my software -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] checking file is mounted at the end of a url

2004-10-20 Thread Mike
If you know what the local file name and path are supposed to be, then you should be able to use file_exists() for that task. http://us2.php.net/manual/en/function.file-exists.php -M -Original Message- From: George Pitcher [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 6:4

RE: [PHP-WIN] checking file is mounted at the end of a url

2004-10-20 Thread Mike
- From: George Pitcher [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 10:28 AM To: Mike; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] checking file is mounted at the end of a url Mike, Thanks, but it's not a local file. I host my service, but the file being cked is (not) mounted o

RE: [PHP-WIN] Re: running an exe

2004-11-08 Thread Mike
I would have to agree with the blurb below your message. Unless those files are *huge*, there shouldn't be a problem copying them locally and running them from there. If you're writing the .exe's, you may even want to have a small one that gets downloaded, gets ran and it goes to the web address a

RE: [PHP-WIN] cannot delete libmysql.dll

2004-11-08 Thread Mike
Worse case, reboot and try then and if that doesn't work, just boot into safe mode - should be more than easy to kill it at that point. -M -Original Message- From: MW [mailto:[EMAIL PROTECTED] Sent: Monday, November 08, 2004 6:46 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] cannot delete

RE: [PHP-WIN] GD Image Resizing on the fly.

2004-11-19 Thread Mike
This following bit of code will create a thumbnail of size $thumb_width x $thumb_height based off of the initial file $file_location. Current GD libraries don't work on GIFs, so that's not an option. You can use the relative PNG functions in place of the jpeg functions, however. // Create New Ima

RE: [PHP-WIN] image cache

2004-11-24 Thread Mike
Here's a little trick that works for me $cur_time = time(); print ""; Since each time you load the page the image name will be different (since $cur_time will always change) the browser thinks the files are always different since the name changes - and thus you force a reload of the image. I do

RE: [PHP-WIN] HI! can u help me?

2004-11-26 Thread Mike
Take a look at opendir() http://us2.php.net/manual/en/function.opendir.php and readdir() http://us2.php.net/manual/en/function.readdir.php Everything that you need is there. -M > -Original Message- > From: Kurlic [mailto:[EMAIL PROTECTED] > Sent: Friday, November 26, 2004 4:14 PM >

RE: [PHP-WIN] Cannot load mysqli extension error or login prompt

2004-11-27 Thread Mike
Having your extensions dir in your path is less important than having your php.ini file set up properly. Take a look for this section: ; Directory in which the loadable extensions (modules) reside. extension_dir = "C:\php\extensions" This happens to be where my extensions are kept on my machine.

RE: [PHP-WIN] CHMOD function issue.

2004-11-29 Thread Mike
I just want to make sure of something... What OS is the machine this is happening on? This is the PHP-Windows list and CHMOD really doesn't work on Windows - it's a Unix command. But if you're having problems on a unix system, check to see if there is a umask value set that would be causing this

RE: [PHP-WIN] cannot send mail via localhost

2004-11-29 Thread Mike
This is going to require a lot more information from your end if you want help. Show some code, explain your mail server setup, explain any errors you receive. Also, can you telnet to port 25 on localhost? Does anything (e.g., the mail server) respond? What's the result of a HELO? -M > I am tr

RE: [PHP-WIN] cannot send mail via localhost

2004-11-29 Thread Mike
lform. I jsut use IIS thought a mail server is in place when Iinstalled it. I get no errors. Telnet is working on port 23 "microsofts esmtp service ready..." Ross - Original Message ----- From: "Mike" <[EMAIL PROTECTED]> Newsgroups: php.windows To: "'Ro

RE: [PHP-WIN] problem to open dir

2004-11-29 Thread Mike
When you set the $dir variable, try doing so with single quotes - the \ character is used to escape things and might be causing some problems. If that makes no sense, it's because I'm falling asleep. Good luck. -M > -Original Message- > From: Pravin-Kumar [mailto:[EMAIL PROTECTED] > S

RE: [PHP-WIN] problem to open dir

2004-11-30 Thread Mike
gt; > >Warning: dir(F:/vyapar-2/test/cdaci): failed to open dir: Invalid > >argument in G:\Vyapar-2.0\test\1.php on line 11 > > > >-- > >Nothing is working i had tried \\ , /, "double quot", 'single quot' > > > >- >

RE: [PHP-WIN] Timer in Safe Mode

2004-12-17 Thread Mike
> Apache 2.0.52 > > I have a script which sets a timeout for a script execution > so it does not go on forever in a loop or whatever. I keep > getting a message that I cannot set a timer in safe-mode. > How else can I do this? Is there a way to simulate a timer functi

RE: [PHP-WIN] Really Super Dumb MSSQL (NOTE: Microsoft SQL) Question

2005-01-19 Thread Mike
>From the php.net page for the mssql_query function: Returns: A positive MS SQL result identifier on success, TRUE if no rows were returned, or FALSE on error. You should be able to wrap the function itself in an if statement easily enough. -M > -Original Message- > From: [EMAIL PROT

RE: [PHP-WIN] $subject = "form results " causing problem

2005-02-02 Thread Mike
Looks like you may be using the wrong format for the mail() function. bool mail ( string to, string subject, string message [, string additional_headers [, string additional_parameters]] ) http://us4.php.net/manual/en/function.mail.php Reference the form you should be passing params and notice

RE: [PHP-WIN] File upload maximum execution time error

2005-02-07 Thread Mike
Remember that when you're working in Windows that PHP has a timeout but so doesn't IIS - so if you don't raise the IIS timeout then you run the risk of hitting that limit as well. I don't think it's difficult to find the timeout location in IIS, but I don't have it installed on this machine to tes

RE: [PHP-WIN] Validation of Primary Key Datetime variable

2005-02-28 Thread Mike
I know that your form currently has just an input field that displays the date in the format that you're interested in, but have you thought of using a form SELECT object so that the user can only pull down the month, date and year? You'd have to do more processing in the form to "assemble" the da

RE: [PHP-WIN] File not found

2005-03-05 Thread Mike
> I've installed PHP 5.03 (the full package, not the installer) > in Windows > 2003 / IIS. > I've folloewd all instrctions very carefully in ISAPI mode. > Nothing is misconfigured so long as the install.txt says. > > Now, i've put a very simple script in C:\Inetpyb\wwwroot and > i get "404 File

RE: [PHP-WIN] Session Variables

2005-03-07 Thread Mike
You need to make sure that in your second page that you're starting the session - if you don't do this then that second page will never have access to those session variables. -M > -Original Message- > From: Richard Duval [mailto:[EMAIL PROTECTED] > Sent: Monday, March 07, 2005 7:05 PM

RE: [PHP-WIN] unlink problem

2005-03-08 Thread Mike
That bit of code really doesn't help us at all, but my guess is that the user PHP is running as doesn't have permissions to delete from the D:\ drive. To work around it give that user permissions to delete from that location. It might also be helpful to give us the contents of del.php. -M > --

RE: [PHP-WIN] date function works, font color?

2005-03-25 Thread Mike
> I am using: print date("D dS M,Y h:i a"); > ?> > in my html code which displays the following in black: > Fri 25th Mar,2005 08:24 pm > > How can I change this to white and center it in a table cell? print "".date("D dS M,Y h:i a").""; Just print out the HTML that you need. That simple. > Th

RE: [PHP-WIN] Custom 404 Error Messages in PHP

2005-04-07 Thread Mike
> This is my first post to ANY newsgroup ever, so forgive me if > I do anything wrong. I have a delemia, I would like to use a > custom 404 error on my website to make it look more user > friendly than "No input file specified" > when the file on the server is not found or a link is broken. >

RE: [PHP-WIN] How do I get php to repeat and action every day?

2005-04-21 Thread Mike
> Hello, > > I wish to have a php file repeat every day at a certain time, > is there any way to do this? > Yes and no. PHP by itself can't do this. But you can easily set up a crontab (http://www.google.com/search?hl=en&lr=&q=crontab&btnG=Search) or a windows scheduled task pending on your ser

RE: [PHP-WIN] Re: How do I get php to repeat and action every day?

2005-04-23 Thread Mike
> I have gotten a good idea about how contrabs work and task > schedlar. Enough to know that task schedular does only permit > one schedualed task at a time. > If, say, I had an entire folder of files that just kept > growing, it would take allot of manual intervention to get > the entire folde

RE: [PHP-WIN] Unlink and UNC names

2005-04-24 Thread Mike
> Hi, > > Has anyone managed to get unlink to work with UNC names under windows? > Can't seem to get it to work with PHP4 at all. > > Thanks, > I haven't tried it myself, but remember that you tend to run into some lovely permissions issues if you're running the script via a web server. And eve

RE: [PHP-WIN] Just a question, answer appreciated

2005-05-08 Thread Mike
> Hi list, > > How do you increase to a counter without refreshing the whole > page. For example if you check site www.gmail.com > under "Don't throw anything away." > heading there is counter which is increasing (could be > javascript magic) but other example is www.

RE: [PHP-WIN] How to setup the mail server so that I can use mail() function

2005-05-09 Thread Mike
As a point of warning - be sure that you know what you're doing before you simply enable an SMTP server that is externally routable. If you're not sure how SMTP servers work then you could be creating an open relay that people will quickly find and use to spam other people. When you turn on the I

RE: [PHP-WIN] Windows System Tray

2005-05-19 Thread Mike
> Can you tell me what I need to know so I can build an IE plug > in thingy like this: > > http://www.phplivesupport.com/winapp.php > > My experience so far is mostly PHP on Unix so am a bit of a > noob when it comes to Microsoft programing. > > I'm very keen though and would very much appreci

RE: [PHP-WIN] pop3 emailer

2005-05-28 Thread Mike
Without using someone else's code or a pre-existing class, take a read through this: http://us3.php.net/manual/en/ref.imap.php -M > Hi > > What is the easist way to read an email account from php? > > Thanks > > Mike > > -- > PHP Windows Mailing List (htt

RE: [PHP-WIN] unable to load php-gd2.dll

2005-06-14 Thread Mike
Try using single-quotes. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 14, 2005 11:25 PM > To: php-windows@lists.php.net > Subject: [PHP-WIN] unable to load php-gd2.dll > > Okay I at loss. I have tried but i can seem to get the > php_gd

Re: [PHP-WIN] Re: Run a program

2005-07-27 Thread Mike
YOu will need put the .DLL´s into php CLI folder. Mike Jacob Waller said the following on 27-07-2005 08:22: Hi! Jon wrote: "Jacob, echo your command and make sure that it is calling shell_exec(); correctly" Ehm... I'm not sure if I get what you mean, Jon. Could you pleas

RE: [PHP-WIN] Question about directory & file operations

2006-01-29 Thread Mike
> If it is called with the right parameters or the "Previous Directory" > link is clicked too many times, the browser will be outside > of the paths that I want them to be in... > > I would like to be able to lock the browser down to a > particular set of directories and thier subs. > What you

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

2002-02-18 Thread Mike Flynn
Linux, he was of course aware that that was an option. But the reason he posted the question to the php-windows list, I think, was because he wanted a Windows solution. Unfortunately I have no idea, but I thought I should point this stuff out :) -Mike -- PHP Windows Mailing List (http://w

[PHP-WIN] Extensions and php and dll problem on win2k whit php 4.1.1

2002-02-21 Thread Mike Schmid
The output of the command promt if i run php.exe -i is, the dynamik link libary isqlt09a.dll could not be found in the specified path c:\blahblah, blah where i can get the dlls... of somone can help me whit this problem thanks Mike -- PHP Windows Mailing List (http://www.php.net

Re: [PHP-WIN] Extensions and php and dll problem on win2k whit php 4.1.1

2002-02-21 Thread Mike Schmid
to check, but I thought the only real support you got with the > installer was MySQL and you had to download the CGI version to get all the > addtional DLL's, like MS-Sql, etc. > > > > > On Thu, 21 Feb 2002, Mike Schmid wrote: > > > Hi NG > > > > Help

Re: [PHP-WIN] Extensions and php and dll problem on win2k whit php 4.1.1

2002-02-21 Thread Mike Schmid
Engineer ENTERASYS NETWORKS -Original Message- From: Mike Schmid [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 8:46 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Extensions and php and dll problem on win2k whit php 4.1.1 Hi NG Help needed, i have make a new istallation of

Re: [PHP-WIN] Extensions and php and dll problem on win2k whit php 4.1.1

2002-02-21 Thread Mike Schmid
lly in it... Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Mike Schmid [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 9:40 AM To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Extensions and php and dll problem on win2k whit php 4.1.1 Roy sorry but it

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

2002-02-26 Thread Mike Flynn
PDF\n"; ?> -Mike At 03:09 PM 2/26/2002 +0100, Sviss Cobazor wrote: >However, sigh, IE seems to have a bug so that Acrobat Reader is only loaded >when the URL ends with ".pdf" aka IE doesn't give a rats about the header >sent to it. >Using Telnet I can see that the

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

2002-02-26 Thread Mike Eynon
Remember that the php chmod call requires an octel number for the permissions flag. You can do this by putting a zero ('0') infront of the parm. ex. chmod("foofile",0777); // Mike Eynon // www.MikeEynon.com // 1366 Bulb Ave. // Santa Cruz, CA 95062 // 831.588.2388 -

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

2002-02-26 Thread Mike Flynn
ring (i/e after the '?' question mark), either way, make sure at the very end of the address is a slash '/' followed by the desired filename you want to use, ending in .pdf. -Mike At 05:58 PM 2/26/02 +0100, you wrote: >Is the example below meant to go into a link ()? >Or is it mea

RE: [PHP-WIN] mail() function EXTREMELY slow

2002-02-27 Thread Mike Eynon
I have to agree. I am using php mail() on my local net without any problems. The only thing I am doing differently is using a LINUX box for my mail server. My php mail() calls happen almost instantaneously. Mike. // Mike Eynon // www.MikeEynon.com // 1366 Bulb Ave. // Santa Cruz, CA 95062

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

[PHP-WIN] Mail with php and w2k

2002-03-04 Thread Mike Schmid
Hi NG how you have configured your php.ini (mail point) and your windws to mail? Thanks -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Output of PHP ist truncated

2002-03-05 Thread Mike Eynon
in width, everything just started working. As well, this seems to be a Win32 thing only. I did not have this problem in Linux running the exact same script. // Mike Eynon // www.MikeEynon.com // 1366 Bulb Ave. // Santa Cruz, CA 95062 // 831.588.2388 -Original Message- From: Rolf [mailto

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] sessions Problem Followup concerning IE6

2002-03-08 Thread Mike Flynn
turned on in the php.ini file. Also, the SID won't get added for things like JavaScript redirects, META 'refresh' tag redirects, header('Location: ...') redirects and all forms, as far as I know, so you'll have to add it manually for these. Hope that helps. -Mike

[PHP-WIN] XSLT encoding error

2002-03-08 Thread Mike Eynon
n need of at least a suggestion. Below are the following xml, xsl, and php source files I am using. t1.xml >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mike

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

2002-03-10 Thread Mike Flynn
$result_html = ' ... html code<-- " FOOTER CENTER $LOGOIMAGE footer.jpg " !--> ... more html code'; Use SINGLE quotes to enclose DOUBLE quotes or $ dollar signs. -Mike At 11:51 AM 3/10/02 +0100, you wrote: >The thing is that the result html code is to be pars

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

2002-03-10 Thread Mike Flynn
only executes BEFORE the user gets the page. NOT on the user's computer. -Mike At 05:55 PM 3/10/02 +0100, Wolfgang Schneider wrote: >Hi everyone, > >does anyone know if one can open a browser window with a specific >size from within a php script ? I mean achieve something like w

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

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

2002-03-11 Thread Mike Flynn
, width, height) { winPage = window.open('thepage.php?id='+id, 'winPage', 'width='+width',height='+height+',...'); winPage.window.focus(); } //--> link\n"; } ?> >Sorry for the confusion ... my concern also is how to s

Re: [PHP-WIN] Include ()

2002-03-14 Thread Mike Flynn
that the text files don't have the slashes? If not, then it has something to do with magic quotes, perhaps magic_quotes_runtime. -Mike At 11:57 PM 3/13/2002 -0500, you wrote: >When i use the Include() command for a text file it always puts a slash, / , >in front of any qotations in the t

Re: [PHP-WIN] Session-trouble bigtime

2002-03-18 Thread Mike Flynn
;?> You don't register the variable again once you've started the session. You can get rid of the 'session_register("Namn");' here. -Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] issue with PHP_XSLT?

2002-03-21 Thread Mike Eynon
n happy in both LINUX and Windows. // Mike Eynon // www.MikeEynon.com // 1366 Bulb Ave // Santa Cruz, CA 95062 // [EMAIL PROTECTED] // 831.588.2388 (cell) -Original Message- From: Phillip Fox [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 12:56 PM To: Ben Cc: [EMAIL PROTECTE

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

2002-03-25 Thread Mike Flynn
le binary data into the blbFileData field and retrieve it later. You can do this for any file formats.. including images. There are many tutorials showing how to do this with images on the web. -Mike At 02:14 PM 3/25/2002 +0800, you wrote: >Dear all >Can someone pls tell me is php w

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 WIlliamse

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

2002-03-29 Thread Mike Flynn
? That is something everyone should probably do before posting a question to the list. -Mike At 02:17 PM 3/29/2002 -0600, Todd Williamsen wrote: >DOH!! Thanks ross > >Umm... Now I cannot get the value of $news to display in the IFRAME... I >used value=", that didn't work > &g

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

2002-04-02 Thread Mike Flynn
query string; 2. Loading a new page, with the relevant data in the query string; 3. Submitting a form, with the relevant data in hidden or other kinds of fields. -Mike At 07:09 PM 4/2/02 +0100, Wayne Hinch wrote: >Hi all, > >Does anyone know if it is possible to pass variables from Java

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

2002-04-04 Thread Mike Flynn
If you mean manually, then you could just set the From: and Reply-To: headers to your e-mail address and all bounces would come back to that. -Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-04-04 Thread Mike Flynn
ommend checking webmonkey.com, zend.com, phpbuilder.com, devshed.com. Also, it's not great etiquette to send your message to multiple listservs at once. -Mike At 09:29 AM 4/4/2002 -0600, Jason Tobias wrote: >I am trying to define variables through an anchor tag to retrive data from >

RE: [PHP-WIN] update?'

2002-04-05 Thread Mike Flynn
back through that array, running one or more UPDATE query for each row, putting the data where it belongs. -Mike At 12:36 PM 4/5/02 +0100, Sandeep Murphy wrote: >hi, > >sorry for missing out on the database type.. am using Mysql 3.23... am >trying to execute this query in query anal

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] 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] 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] mail() with attachments

2002-04-08 Thread Mike Flynn
the message body as it shows in the tutorial and then use PHP's mail() function to send it. -Mike At 08:45 AM 4/8/02 +0100, George Pitcher wrote: >Darvin Andrioli suggested, on 20020328: > > > http://www.zend.com/zend/spotlight/sendmimeemailpart1.php > >Sorry, I was none

RE: [PHP-WIN] Rounding

2002-04-09 Thread Mike Flynn
ve encountered (including PHP's), the default precision is to round to the nearest integer. Thus, by both of these modest leaps of assumption, normal rounding to me is rounding to the nearest integer. -Mike At 11:50 AM 4/9/2002 +0200, Svensson, B.A.T. (HKG) wrote: > > That will round

RE: [PHP-WIN] Rounding

2002-04-09 Thread Mike Flynn
s no need to feel the need to one-up everything I say. :) >Secondly, because of this "phenomena" some programmers might frequently find >them self having to answers question from customer like: > >"Why does we miss $ in this last summary report?". Hehe.. brings to mind the movie "Office Space". -Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

  1   2   3   >