[PHP-WIN] Php doesn't calculate value

2012-09-15 Thread Matt Matt
ve the value being selected by the user with the dropdown list, do you have any idea or workarounds?Thankyou! regards Matt

Re: [PHP-WIN] Php doesn't calculate value

2012-09-16 Thread Matt Matt
Thank you guys, i have solved the problem by changing [name="idschema"] and by substituing with only . Now i'm able to select a value from the dropdown list menu and to deliver it across the page. :-) Thank you and have a nice day! Matt. 2012/9/15 Niel Archer > > Hi

[PHP-WIN] Pear problem with graphiz library

2012-10-14 Thread Matt Matt
e, so i can't figure out why it complain about missing PEAR class (the filePera.php is in under /pear directory) this is the guidelines i have followed to set up pear : http://pear.php.net/manual/en/installation.checking.php Do you have any ideas about solving the problem?Thank you in advance, regards, Matt

Re: [PHP-WIN] Pear problem with graphiz library

2012-10-16 Thread Matt Matt
roup >Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies thank you very much, Matt 2012/10/16 Niel Archer > Hi Matt, > > coments inline. > > > Hi folks, > > > > i have a problem with graphviz library, i have installed pear and tested > it > >

[PHP-WIN] Any way of finding out MySQL server address and port ?

2002-06-21 Thread Matt
Iam using teh lycos free php sql webhosting service to test scripts but teh adds are getting on my tit. is there a script that will tell me what the address is of the sql server so i can connect from anther host. Thanks Matt -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP-WIN] Any way of finding out MySQL server address and port ?

2002-06-21 Thread Matt
Ok i thought that woudl be teh case :( so does anybody know of a free sql database host that allows external connections. Or does anybody fancy giving me a free db it wont used hardley anybandwidth as i only test scripts. Matt "Christian Leberfinger" <[EMAIL PROTECTED]>

Re: [PHP-WIN] PHP 4 Apache 2 and Windows XP

2002-09-04 Thread Matt
Unfortunatly no. There isnt. What I have found out from another source, that windows xp has problems in a Afd.sys and there is an update for it, unfortunatly it wont come out until SP-1. I do thank you very much for your assisstance. Matt - Original Message - From: "Rich

[PHP-WIN] PHP 4.2.3 / Windows 2000 / Apache 1.3.* / Install Prob

2002-11-12 Thread Matt
Hey Iam setting up PHP on my apache server on a windows 2000 machine. ive followed all the instructions and no luck. ive copyed the dlls folder and the php4ts.dll to my c:/WINNT/System32 folder and ive copyed php.ini to c:/winnt. ive added these lines to my apache LoadModule mod_php4 c:/php/sapi/

[PHP-WIN] mail() function EXTREMELY slow

2002-02-26 Thread Matt Hillebrand
earch page seems to be broken. Thanks! Matt Hillebrand [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-02-26 Thread Matt Hillebrand
Yeah, I know about the max time variable, but it would be unacceptable to take over a minute or two to send a handful of emails! I read an article that said you could use your ISP's SMTP server for the mail() function, but that didn't seem to work. Matt Hillebrand Web Develo

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

2002-02-27 Thread Matt Hillebrand
mine, but my boss wants me to do it Windows first and then (maybe) make the switch to red hat. Everything should transfer smoothly since I'm using Apache/MySQL/PHP, using $DOCUMENT_ROOT and forward slashes everywhere, right? Thanks. Matt Hillebrand Web Developer [EMAIL PROTECTED] ---

RE: [PHP-WIN] Cannot connect to MySQL with PHP 4.1.1

2002-03-01 Thread Matt Hillebrand
query($sql) I don't think I was getting the same error message you were though. Has anyone else had this strange problem? Thanks. Matt Hillebrand Web Developer [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -Original Message- From: Egil Helland [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP-WIN] sending mail with mail(), Post Cast Server

2002-03-01 Thread Matt Hillebrand
Everyone with mail() problems should consider www.postcastserver.com. It's free SMTP server software that works quite well. Just don't forget to disable IIS' smtp server. Matt Hillebrand Web Developer [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -Original Messa

RE: [PHP-WIN] sending mail with mail(), Post Cast Server

2002-03-01 Thread Matt Hillebrand
I've found that PHP/UNIX is better than PHP/Windows in every way, including the use of mail() with sendmail. I had enormous problems with mail() in Windows. Post Cast Server fixed all that. Matt Hillebrand Web Developer [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -Origi

RE: [PHP-WIN] Counter in PHP and System Variables

2002-03-03 Thread Matt Hillebrand
re id='$id'"); $result = mysql_query("select hits from pages where id='$id'"); list($hits) = mysql_fetch_array($result); You could have the $id embedded in your page, or you could set up something more dynamic. Matt Hillebrand -Original Message- From

RE: [PHP-WIN] Formatting 'body' using mailto: command

2002-03-06 Thread Matt Hillebrand
I know that with mail() in Windows, you must use \r\n for each carriage return line feed, so why don't you try this: %5Cr%5Cn Matt Hillebrand -Original Message- From: Mick [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 12:47 PM To: [EMAIL PROTECTED] Subject: [PH

[PHP-WIN] new to PHP...have some questions

2002-04-03 Thread Matt Babineau
int_r ($var1);%><% print_r ($var2); } %> This gets me the list to variable names and the list of their values... How can I set local variable to those names and set the values to the ones in the second list? Matt Babineau Web Developer http://www.criticalcode.com <http://www.cr

RE: [PHP-WIN] checking for characters

2002-04-09 Thread Matt Hillebrand
I like Egil's idea of readable code using explode and regular expressions. Or, you could use this function I wrote: function isValidEmail($email) { if(strlen($email) < 6) return false; $at = -1; // index of '@' for($i=0; $i$at && $imailto:[EMAIL PROTECTED]] Brush up on your patt

RE: [PHP-WIN] checking for characters

2002-04-09 Thread Matt Hillebrand
Don't forget about the new .name, and I thought I might mention that preg()/PCREs would be the way to go if you're trying to make your code readable. Matt -Original Message- From: Ross Fleming [mailto:[EMAIL PROTECTED]] For completeness, I thought I'd give the orig

RE: [PHP-WIN] checking for characters -- preg_match()

2002-04-10 Thread Matt Hillebrand
{1,4}/", $email)) return true; return false; } Note that underscores are included with '\w' character type. Ooh, I forgot to remove that possibility from the last atom. Also, I allowed one to four characters after the last dot because IP addresses are valid!! (e

RE: [PHP-WIN] String reduce

2002-04-12 Thread Matt Babineau
What does the underscore do in this situation? -Original Message- From: Nicola Delbono [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 12:43 PM To: Kriegers Horst; 'PHP-Windows' Subject: Re: [PHP-WIN] String reduce try $str = "Mot1;;Mot2;Mot3;;Mot4;;;Mot5;

Re: [PHP-WIN] Forward Link

2002-04-18 Thread Matt Williams
l/customer/newcust.php:3) in [filename] on line 304 >   check there is not text (even whitespace) outputted to the browser before calling the header() function matt -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Connecting to a remote database

2002-04-18 Thread Matt Babineau
Try to access the SQL DB by IP Address. If you want to access it from outside you LAN, The machine the SQL DB is on has to have an external IP. Matt Babineau Freelance Internet Developer e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.illuminatistudios.com -Original Message- From

[PHP-WIN] Re: Creating a "nice" link

2002-04-18 Thread Matt Parlane
Hiya... In case you can't get sessions working, you could use javascript to post a form to the next page... (messy I know...) Next page I'm not too sure about cross browser compatibility though, you might want to try in on Netscape and IE just in case. Hope that helps...

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

2002-04-22 Thread Matt Hillebrand
Why do I receive this exact same email message every single day?!?! I normally get it several times each day. Matt |-Original Message- |From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]] |Sent: Monday, April 15, 2002 8:37 AM |To: [EMAIL PROTECTED] |Subject: FW: [PHP-WIN] Re

[PHP-WIN] Re: Problem using ImageTTFText

2002-04-22 Thread Matt Parlane
Hiya... http://bugs.php.net/bug.php?id=15568 This problem has been fixed in the latest version of PHP - try downloading v4.2 (released today) Matt "Alberto. Sartori" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED] ... Hi guys, since I&

[PHP-WIN] re: $POST vars

2002-04-23 Thread Matt Babineau
When submitting a page to itself, is it safe to check for the existance of the $POST variable to tell whether the form was submitted and if it was to perform and action utilizing the post variables? Matt Babineau Freelance Internet Developer e: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECT

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

2002-04-24 Thread Matt Babineau
I am merely trying to see whether a page was posted to or not, and perform an action from the result. Matt Babineau Freelance Internet Developer e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.illuminatistudios.com -Original Message- From: Scott Hurring [mailto:[EMAIL PROTECTED

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

2002-04-24 Thread Matt Babineau
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? Matt Babineau Freelance Internet Developer e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.illuminatistudios.com -Original Message- From

[PHP-WIN] Image generation question

2002-04-24 Thread Matt Babineau
I have been trying to generate images dynamicall but I keep getting this message. Fatal error: Call to undefined function: imagecreatefrompng() in D:\wwwroot\counter\img.php on line 5 Here is my code: Matt Babineau Freelance Internet Developer e: <mailto:[EMAIL PROTECTED]>

RE: [PHP-WIN] Image generation question

2002-04-24 Thread Matt Babineau
I don't think so, where can I get this? I found a GD library but it needs to be compiled or something and I don't know how to do that. Matt Babineau Freelance Internet Developer e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.illuminatistudios.com -Original Message- Fro

RE: [PHP-WIN] R: [PHP-WIN] Image generation question

2002-04-24 Thread Matt Babineau
I don't think so, I looked in my php folder and I cannot find the DLL Richard Black said I needed. Matt Babineau Freelance Internet Developer e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.illuminatistudios.com -Original Message- From: Darvin Andrioli [mailto:[EMAIL PROT

RE: [PHP-WIN] Image generation question

2002-04-24 Thread Matt Babineau
Still no idea about the php_gd.dll file. I looked on http://www.boutell.com/gd and only saw the 1.8.4 uncompiled version. Where can I get the compiled DLL for windows? Matt Babineau Freelance Internet Developer e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.illuminatistudios.com

RE: [PHP-WIN] Image generation question

2002-04-24 Thread Matt Babineau
d function: imagecreatefrompng() in D:\wwwroot\counter\img.php on line 5 PHP Warning: Unable to load dynamic library './php_gd.dll' - The specified procedure could not be found. in Unknown on line 0 Matt Babineau Freelance Internet Developer e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.i

RE: [PHP-WIN] Image generation question

2002-04-24 Thread Matt Babineau
Ahhh, maybe I am having all these problems because I don't have the version with all the extensions installed, I just have the base version of PHPlet me install the other one.... Matt Babineau Freelance Internet Developer e: [EMAIL PROTECTED] p: 603.943.4237 w:

[PHP-WIN] re: Image creation

2002-04-24 Thread Matt Babineau
Thanks for your help everyone, I got it working by installing the full release of PHP with all the goodies, then configuring the extension mapping, then changing the extension registration to extension=php_gd2.dll, which is included in php 4.2.0. Thanks~! Matt Babineau Freelance Internet

[PHP-WIN] Single threading a database call

2002-04-25 Thread Matt Babineau
amount of page views. Is there any type of locking I can use to make sure that the operation is single threaded? Matt Babineau Freelance Internet Developer e: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] p: 603.943.4237 w: <http://www.illuminatistudios.com/> http://www.illuminatistudios.com

[PHP-WIN] re: making a DB counter

2002-04-25 Thread Matt Babineau
in the same code block, not when executed separately. Anyone have a solution to making an update to a record without having other users make an update in the middle of a different users' process? Matt Babineau Freelance Internet Developer e: <mailto:[EMAIL PROTECTED]> [EMAIL P

RE: [PHP-WIN] re: making a DB counter

2002-04-25 Thread Matt Babineau
Thanks Scott I think this will help, will let you know how it comes out. Matt Babineau Freelance Internet Developer e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.illuminatistudios.com -Original Message- From: Scott Hurring [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 25

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

2002-04-25 Thread Matt Babineau
COUNTER_Page_Views SET Count = Count + 1 WHERE Counter_ID = '" . $count_id . "'"; $result3 = mysql_query($query3); $result1 = mysql_query($query1); $result = mysql_query($query); Anyone have any suggestions? Matt Babineau Freelance Internet Developer e: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] p: 603.943.4237 w: <http://www.illuminatistudios.com/> http://www.illuminatistudios.com

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

2002-04-25 Thread Matt Babineau
Well, when I tested the code, It was still allowing 2 requests to update/read the table at the same time. It may only be in the case tha tI am facing when I am updating the table but also need to output the new value that was updated. I may just be attacking this problem wrong too. Matt Babineau

[PHP-WIN] Anoter explaination of my problem

2002-04-25 Thread Matt Babineau
ot;2" and thread2 displays "2" also because thread1 could not read the database value before thread2 updated the value. Matt Babineau Freelance Internet Developer e: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] p: 603.943.4237 w: <http://www.illuminatistudios.com/> http://www.illuminatistudios.com

[PHP-WIN] PHP Graphing engine

2002-04-25 Thread Matt Babineau
Does anyone know of any good graphing engines for PHP? I need a slick way to represent some numerical data. Matt Babineau Freelance Internet Developer e: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] p: 603.943.4237 w: <http://www.illuminatistudios.com/> http://www.illuminatistudios.com

[PHP-WIN] re: the database locking

2002-04-25 Thread Matt Babineau
ount FROM COUNTER_Page_Views WHERE Counter_ID = '" . $count_id . "'"); $result3 = mysql_query("UNLOCK TABLES;"); What I think I am running into is a wierd runtime thing between javascript and the html on the page. I should be ok though, the lock appears to w

[PHP-WIN] re: CGI process locked up

2002-04-29 Thread Matt Babineau
ues to run. Matt Babineau Freelance Internet Developer e: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] p: 603.943.4237 w: <http://www.illuminatistudios.com/> http://www.illuminatistudios.com

[PHP-WIN] Re: Cant get PHP to run on Win 98

2002-04-30 Thread Matt Parlane
Hi Jeff... Have a look at http://www.php.net/release_4_2_0.php . >From version 4.2.0 onwards, request variables are no longer registered in the global scope. You'd probably find that if you used echo $_GET['C'] instead of just echo $C, it would work. Matt "Jeff Br

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

2002-04-30 Thread Matt Babineau
What is this and what does it mean? ; Document expires after n minutes. session.cache_expire = 15 Why is the default set to 180? Matt Babineau Freelance Internet Developer e: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] p: 603.943.4237 w: <http://www.illuminatistudios.c

[PHP-WIN] Carriage Return and Line Feed

2002-04-30 Thread Matt Babineau
When I use a textarea html tag to put some data into mysql, when I output it the carriage return and laine feed characters from the form do not stick after they are put into mysql text field. Is there a way to out the data with the carriage returns and linefeeds being read? Matt Babineau

[PHP-WIN] Running PHP as CGI

2002-05-01 Thread Matt Babineau
For stability reasons I am running PHP as a CGI on my production server win2k/IIS5. v4.2 of PHP. How bad is the performance hit running PHP as a CGI and not ISAPI? Will it bog down my server with a light traffic load? How much worse can running php with the .exe be? Matt Babineau Freelance

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

2002-05-01 Thread Matt Parlane
http://www.php.net/release_4_2_0.php Is this the problem you're experiencing? "Erik" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi, > > when i have a page tht handles forms with php it doesn't work i don't get > any error message it just shows me the sam

Re: [PHP-WIN] php and apache 2.0 on windows installed ok?

2002-05-01 Thread Matt Waite
"Alan Popow" <[EMAIL PROTECTED]> wrote in message >On Fri, 26 Apr 2002 16:35:30 -0400, you wrote: >>Has anyone done this? >>I just tried installing apache 2.0 (latest on their site) and the latest php as a module for apache (not cgi), and found it doesnt seem to work. >> >>When apache starts, it

[PHP-WIN] Re: Why Global Variables turned off??

2002-05-02 Thread Matt Parlane
ave already been exploits for it. The logic behind the change is that it is really not much extra work to type $_GET['something'] than just $something, and it is infinitely more secure - so you should write your scripts using the $_REQUEST variables whenever possible. Hope that helps

[PHP-WIN] Re: Why Global Variables turned off??

2002-05-03 Thread Matt Parlane
nt you can write an application without using the new superglobal arrays (and it is conceivably possible), you can just turn register_globals on. It's just a choice which was made by the PHP developers (rightly so I believe). Matt "Then" <[EMAIL PROTECTED]> wrote in message

[PHP-WIN] Re: results over multiple pages

2002-05-06 Thread Matt Parlane
of rows you want. Hope that helps... Matt "Hugh Bothwell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > if ($currentPage > 1) { > > $host="localhost"; > > $DB="testDB"; > > $use

[PHP-WIN] MySQL Query from PHP - CPU Cost?

2002-05-07 Thread Matt Babineau
Is there a way to get the cost in cpu cycles or the milliseconds it takes to process a query and output that statistic in PHP? Or maybe the processing time of the whole page? Matt Babineau Freelance Internet Developer - e: <mailto:[EMAIL PROTEC

[PHP-WIN] Simple function question

2002-05-09 Thread Matt Babineau
it talked about the local fuciton scope not being able to communicate with the global scope. How can I pass $var1 into the function so it can be used? Matt Babineau Freelance Internet Developer - e: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] p

[PHP-WIN] Data output

2002-05-09 Thread Matt Babineau
another for() loop on the same $result using the $rows variable it doesn't work. Any ideas? Matt Babineau Freelance Internet Developer - e: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] p: 603.943.4237 w: <http://www.illuminatistud

[PHP-WIN] Re: Is there a timeout or similar en MySql?

2002-05-16 Thread Matt Parlane
http://www.php.net/manual/en/function.mysql-ping.php and don't double post. Matt "Hugo Gb" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > I'm developing a web site with PHP and I want to show some informat

[PHP-WIN] Re: PHP Sessions

2002-05-19 Thread Matt Parlane
Hi Ben... Do you have a tmp directory in your root directory? if not, PHP won't be able to write the session files there. You need to either change the session.save_path directive in php.ini, or create the /tmp directory, or I think you can store session info in memory - not sure how tho.

[PHP-WIN] Re: windows 2000 server --- crashing

2002-05-21 Thread Matt Parlane
ng to outsource all of our ASP sites so I can migrate to Linux... :) Of course, if you don't have any ASP sites, then get rid if IIS alltogether. If this is of any use to you, get back to me and I'll let you know the nitty-gritty of how to get it going. Thanks, Matt "

[PHP-WIN] Re: PHP version 4.2 and above

2002-05-22 Thread Matt Parlane
ve. Or did I misunderstand you? What does the error message say exactly? Anyway... hope that helps... Matt "James Opere" <[EMAIL PROTECTED]> wrote in message FC788AB9771FD6118E6F0002A5AD7B8F704FA1@ICRAFNTTRAIN">news:FC788AB9771FD6118E6F0002A5AD7B8F704FA1@ICRAFNTTRAIN...

[PHP-WIN] Line feeds and WRAP="soft" TEXTAREA element

2002-05-30 Thread Matt Babineau
Is there any way to detect linefeeds and replace them with for output in html? Matt Babineau Freelance Internet Developer - e: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] p: 603.943.4237 w: <http://www.criticalcode.com/> http://www.critica

[PHP-WIN] htaccess and PHP in general

2002-05-31 Thread Matt Babineau
ystem seems as secure and far far more salable to both my abilities and his needs. Any thoughts? Matt Babineau Freelance Internet Developer - e: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] p: 603.943.4237 w: <http://www.criticalc

[PHP-WIN] looping data from MySQL to create an array then display it

2002-06-07 Thread Matt Babineau
?> I am trying to create an array with a "d-m-Y" Key, and a number for the Value based from the date in the database. I suspect that the array creation is the part that isn't working but I'm not sure how to get the array to set th

[PHP-WIN] Apache 2.0.36 + PHP + Win2000 Server

2002-06-10 Thread Matt Babineau
to take full advantage of PHP? Currently I know the CGI runs slower then "navtive"? (is that correct?) If I install Apache on a Win2k machine, will my PHP performance be equivalent to a Linux machine? Thank for your response! Matt Babineau Freelance Internet

RE: [PHP-WIN] Re: Apache 2.0.36 + PHP + Win2000 Server

2002-06-10 Thread Matt Babineau
ws. I am a Windows person by trade but I am slowly moving towards open source primarily because I can develop for free. I also was rading about Apache 2.0 and it said that there was no SSL support for it. Does anyone know if there is SSL support in Apache v1.3 for windows? Matt Babineau Freelanc

RE: [PHP-WIN] Re: Apache 2.0.36 + PHP + Win2000 Server

2002-06-11 Thread Matt Babineau
Thanks Brian, that was the exact answer I was looking for. I love the luxury of the win2k machine, but hate the IIS security issues + the PHP running as a CGI. I'll look into Apache on 2k further then. Also thanks to Scott for you response too! Matt Babineau Freelance Internet Deve

[PHP-WIN] Re: This crazy code works, but is this the correct and elegant way on 4.21 ?

2002-06-24 Thread Matt Parlane
uot;Select one site to go " text in a php block, but instead just write it out using html - but that's fairly over the top. oh - and you should have all your html tags in lower case, otherwise it's not xhtml/xml compliant... You did ask about elegance :) Matt Nicely f

[PHP-WIN] Re: Color parser? what?

2002-06-24 Thread Matt Parlane
I'm not sure if this is what you're talking about, but have a look http://www.php.net/manual/en/function.show-source.php The colour settings are taken from php.ini Matt "Alberto. Sartori" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMA

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

2002-06-24 Thread Matt Parlane
%> function DoSomething(str){ return str; } I think that's how it goes anyway Matt "Mike" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > How would I implement Javascript into a vB code? > > -- PHP W

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

2002-06-24 Thread Matt Parlane
hmmm... that's slightly better - in that you used more than one line to explain your problem. I'm still having trouble figuring out what you want to do though - try explaining problems a bit clearer next time. If you want to be able to use

[PHP-WIN] Re: filemtime()

2002-06-30 Thread Matt Parlane
Hi James... Yep - filemtime() works fine on Windows. And to answer Peter - it's not safe to assume that if something works on *nix PHP, it will work on Windows PHP - have a look a usleep(), or perhaps the entire PCNTL function family. Thanks, Matt "James McLean" <[EMAIL PR

[PHP-WIN] Function question

2002-07-01 Thread Matt Babineau
I have written a couple functions in a PHP page. Is there any way to make those functions available to other PHP pages, aside from pulling them out of the page and making include() or require() reference to them? I am wondering if PHP has a system similar to ColdFusion's Custom Tag?

[PHP-WIN] mysql_pconnect()

2002-07-02 Thread Matt Babineau
mysql_close() statement at the end of every page? I am trying to avoid making that data connection every time I need to run a query becaus eit envolves a good amount of code. Any thoughts? Matt Babineau MCWD / CCFD - e: <mailto:[EMAIL PROTECTED]> [EMAIL PRO

[PHP-WIN] Re: Request for ideas...

2002-07-09 Thread Matt Parlane
costs, and it will probably slow your site down big time. Hope that helps... Matt "Mikey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Does anyone on this list know how to send a file automatically to a site > user after viewin

[PHP-WIN] Re: [PHP] Dual Server...

2002-07-09 Thread Matt Parlane
/htdocs/newworkstudio.com" DirectoryIndex index.html So, for each ASP site (or for each site served by IIS), just add a VirtualHost entry using the ProxyPass directive to send it to the IIS server. The IIS server doesn't have to be on the same computer by the way - or even the same network...

[PHP-WIN] Trapping PHP errors

2002-07-09 Thread Matt Babineau
Does anyone know of a way to trap PHP errors and have them automatically emailed to an email address? I am trying to do some remote testing on a script but the problem it is it's server to server interaction so I can't see what is going on! Any ideas? Matt Babineau M

[PHP-WIN] Re: Trapping PHP errors

2002-07-09 Thread Matt Parlane
Have a look at this dinky little function... http://php.weblogs.com/php_error_handler_mail Matt "Matt Babineau" <[EMAIL PROTECTED]> wrote in message 003301c227b2$fb09ca60$0100a8c0@developerx">news:003301c227b2$fb09ca60$0100a8c0@developerx... > Does anyone know of a

[PHP-WIN] SESSION vars

2002-07-10 Thread Matt Babineau
ession var it cannot find it. am I setting it improperly? do I need to use: session_register("logged_in"); Thanks, Matt Babineau MCWD / CCFD - e: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] p: 603.943.4237 w: <http://www.critica

RE: [PHP-WIN] SESSION vars

2002-07-10 Thread Matt Babineau
Is there a way to refrence the session variable or set the session variable using $_SESSION? I like using the $_GET, $_POST, $_SESSION constructs for consistency. Matt Babineau MCWD / CCFD - e: [EMAIL PROTECTED] p: 603.943.4237 w: http

RE: [PHP-WIN] SESSION vars

2002-07-10 Thread Matt Babineau
Well once the session var has been set using the previously posted methos I can accress like $_SESSION['foo']. Should I be able to simply do this: Session_start(); $_SESSION['foo'] = "xyz"; ? Matt Babineau MCWD / CCFD --

[PHP-WIN] Re: Single website Unix + Windows servers

2002-07-11 Thread Matt Parlane
Try: http://www.phpbuilder.com/columns/banahan20010720.php3 I'd also try setting up Apache on your windows box - on a different port if you have to. It just moves you one step closer to what it would be like running on linux. Matt "Olinux" <[EMAIL PROTECTED]> wrote in mes

[PHP-WIN] Properly ending a session

2002-07-13 Thread Matt Babineau
f out"? Matt Babineau MCWD / CCFD - e: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] p: 603.943.4237 w: <http://www.criticalcode.com/> http://www.criticalcode.com PO BOX 601 Manchester, NH 03105

RE: [PHP-WIN] Re: Properly ending a session

2002-07-14 Thread Matt Babineau
? Matt Babineau MCWD / CCFD - e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.criticalcode.com PO BOX 601 Manchester, NH 03105 -Original Message- From: Micha [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 14, 2002 5:09 AM To: [EMAIL PROTECTED] Subject

[PHP-WIN] exec(), passthru()

2002-07-16 Thread Matt Babineau
command2 are not what command1 processed, so they are not interacting how I need them to. Does anyone know of a solution to this? Matt Babineau MCWD / CCFD - e: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] p: 603.943.4237 w: <http://www.critica

RE: [PHP-WIN] exec(), passthru()

2002-07-16 Thread Matt Babineau
What does that operator do? Matt Babineau MCWD / CCFD - e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.criticalcode.com PO BOX 601 Manchester, NH 03105 -Original Message- From: Mikey [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 11

[PHP-WIN] Searching a string for everything but a-z and 0-9

2002-07-17 Thread Matt Babineau
searching but in Cold Fusion it is called REGEX. Any suggestions on where I can look in the php documentation to read more about this? Matt Babineau MCWD / CCFD - e: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] p: 603.943.4237 w: <http://www.crit

RE: [PHP-WIN] Does the GD extention work with windows?

2002-07-29 Thread Matt Babineau
Yep. Matt Babineau MCWD / CCFD - e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.criticalcode.com PO BOX 601 Manchester, NH 03105 -Original Message- From: Kit Kerbel [mailto:[EMAIL PROTECTED]] Sent: Monday, July 29, 2002 9:15 AM To: [EMAIL

[PHP-WIN] Hosting PHP on Windows

2002-08-02 Thread Matt Babineau
be able to host multiple users, but for them to not have the ability to change anyone elses stuff or anything on the system itself for that matter. Any ideas? Matt Babineau MCWD / CCFD - e: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] p: 603.943.

[PHP-WIN] DHTML editor + Uploading pictures

2002-08-16 Thread Matt Babineau
Does anyone know where I can get or have sample code of a WYSIWYG type editor that I can embed into a web page that will let you add images to the editing space and it will later upload those images? Matt Babineau MCWD / CCFD - e: <mailto:[EM

RE: [PHP-WIN] DHTML editor + Uploading pictures

2002-08-16 Thread Matt Babineau
Martin, this is excellent but it doesn't provide support for uploading images to my server once the user is completed making changes :( Matt Babineau MCWD / CCFD - e: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] p: 603.943.423

[PHP-WIN] MSSQL trouble: ansi_nulls?

2002-08-30 Thread Matt Kynaston
mit off set ansi_warnings off set ansi_padding off set ansi_nulls off set concat_null_yields_null off set language us_english set dateformat mdy set datefirst 7 Does anyone know how to change the ansi_* and concat_null_yields_null set statements that are issued when PHP connects? Or am I on the wrong track? Regards, Matt

RE: [PHP-WIN] MSSQL trouble: ansi_nulls?

2002-08-30 Thread Matt Kynaston
o connections from Query Analyser and FreeTDS set these things up properly, and connections from Win PHP not? And is there a way to change the connection setting from within PHP? Matt > -Original Message----- > From: Matt Kynaston [mailto:[EMAIL PROTECTED]] > Sent: 30 August 2

[PHP-WIN] PHP 4 Apache 2 and Windows XP

2002-09-03 Thread Matt Carlson
oughts, or anything to try, please let me know Thanks Matt Carlson [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PHP 4 Apache 2 and Windows XP

2002-09-04 Thread Matt Carlson
could possibly cause this. Sounds like the dyndns lookup isn't always > working. Try manually looking up your dyndns address and see if you > always get the right ip. > > -Rasmus > > On Tue, 3 Sep 2002, Matt Carlson wrote: > > > I cant figure out whether t

Re: [PHP-WIN] PHP 4 Apache 2 and Windows XP

2002-09-04 Thread Matt Carlson
I thought for a second. The microsoft link is http://support.microsoft.com/default.aspx?scid=kb;EN-US;q317949 refernecing QB article Q317949 in case anyone else has the problem Matt "Matt" <[EMAIL PROTECTED]> wrote in message 000b01c25435$8eb93ee0$6501a8c0@DION">ne

RE: [PHP-WIN] problem with querystring

2002-09-06 Thread Matt Kynaston
Check your php.ini and make sure that register_globals is turned on. Either that or use: if ($_REQUEST['a'] == "X") which will give you the variable if its posted, in the query string or a cookie. Second is better in terms of portable code. Matt > -Original Messa

RE: [PHP-WIN] POST

2002-09-06 Thread Matt Kynaston
Try using $HTTP_POST_VARS (since form method="post"). Matt > -Original Message- > From: peter [mailto:[EMAIL PROTECTED]] > Sent: 06 September 2002 12:26 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] POST > > > Hi, > > anybody who can help? >

RE: [PHP-WIN] POST

2002-09-06 Thread Matt Kynaston
> 10 Jun 2000 Matthew Kendall > > probably this would help. > > Any other idea, > > Peter > > - Original Message - > From: "Matt Kynaston" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, September 06, 2002 1:39 PM

RE: [PHP-WIN] php_oracle.dll causes server to hang for non-privledged user

2002-09-12 Thread Matt Kynaston
Dumb question, but does the IIS user (IUSR_machinename) have read and execute rights to C:\php\extensions\? Matt > -Original Message- > From: Brian Jones [mailto:[EMAIL PROTECTED]] > Sent: 11 September 2002 21:47 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] php_oracle.dl

  1   2   3   >