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

2007-08-24 Thread Murphy, Matt
You want to download the zip file distribution of php from php.net. That will have an ext directory in it just like your current install of php.net. Grab php_ldap.dll from that zip file. -Original Message- From: Gustav Wiberg [mailto:[EMAIL PROTECTED] Sent: Friday, August 24, 2007

RE: [PHP-WIN] PHP Windows Installer maintainer finally joins the list

2007-08-17 Thread Murphy, Matt
I use and like the installer, but I really wish it were easier to set up SSL support. Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Mertic Sent: Friday, August 17, 2007 6:58 AM To: php-windows@lists.php.net Subject: [PHP-WIN] PHP Windows

RE: [PHP-WIN] Mysql_send.php

2007-07-11 Thread Murphy, Matt
I already explained this error to you once, the MySQL server is rejecting your connection. You need to talk to the person who set up the MySQL server and have them allow connections from your host. If you are the admin of this MySQL server, install phpmyadmin and figure it out. Matt

RE: [PHP-WIN] Testing MySQL PHP connection

2007-07-09 Thread Murphy, Matt
Mysql can be configured to only allow connections from certain hosts, and it appears your host is not allowed. You need to talk to the mysql admin. Matt -Original Message- From: Jacob Bergman [mailto:[EMAIL PROTECTED] Sent: Monday, July 09, 2007 11:23 AM To: Janet Valade Cc: php

[PHP-WIN] Re: [PHP-DB] php portfolio

2007-04-19 Thread Matt Anderton
separate website? point the employer to the real deal first, then give him a link to a "behind the scenes" version? and then what? just throw in "" tags -- "this is how I did this part"? ~ matt On 4/19/07, bedul <[EMAIL PROTECTED]> wrote: nope.. nothing du

RE: [PHP-WIN] Re: R: [PHP-WIN] php_oci8.dll

2006-07-28 Thread Matt Murphy
The oracle instant client should be fairly easy to find on the oracle website. Matt -Original Message- From: Marcos R. Cardoso [mailto:[EMAIL PROTECTED] Sent: Friday, July 28, 2006 8:26 AM To: php-windows@lists.php.net Subject: Re: [PHP-WIN] Re: R: [PHP-WIN] php_oci8.dll Sorry about

RE: [PHP-WIN] Edit files WITHOUT down- and upload

2006-07-05 Thread Matt Murphy
Citrix could take care of you, if you're willing to spend some money. Matt -Original Message- From: Martin Staiger [mailto:[EMAIL PROTECTED] Sent: Monday, July 03, 2006 10:01 AM To: php-windows@lists.php.net Subject: [PHP-WIN] Edit files WITHOUT down- and upload dear group,

RE: [PHP-WIN] oci8 not showing underphpinfo

2006-06-14 Thread Matt Murphy
I'm not sure how to tell it's installed, I'd recommend just installing it anyway, I doubt it can hurt your oracle install. I am *not* an oracle expert however, I just got a connection to it running on my w2k3 server. Matt > -Original Message- > From: Steven

RE: [PHP-WIN] oci8 not showing underphpinfo

2006-06-14 Thread Matt Murphy
I know this seems silly since you have oracle installed, but do you have the oracle instant client installed? Installing Oracle may not necessarily mean it installed a client on there! Matt > -Original Message- > From: Steven Stuart [mailto:[EMAIL PROTECTED] > Sent: Tuesday

RE: [PHP-WIN] php editors

2006-04-12 Thread Matt Murphy
I'm a big fan of textpad. Matt > I guess editplus is a nice editor for php,i have been using > it from past 4 years. > www.editplus.com > thnx/chandar > > -Original Message- > From: Aaron Kenney [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 12, 2

RE: [PHP-WIN] Access javascript from php

2006-04-04 Thread Matt Murphy
?>

RE: [PHP-WIN] Getting windows username into php/mysql

2006-03-22 Thread Matt Murphy
Hmm... I'm guessing you could take that variable, do an explode on the \ and add the @domain.ext, that is if you know the extension. That should work for my purposes at least. Thanks, Matt > The $_SERVER["REMOTE_USER"] method works ok, but returns the > old Win 2000

RE: [PHP-WIN] Getting windows username into php/mysql

2006-03-21 Thread Matt Murphy
That seems to grab the user that apache is running under, any idea about the client's windows username? Matt > -Original Message- > From: David Collard [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 21, 2006 10:31 AM > To: Alex Blundell > Cc: php-windows@lists.p

RE: [PHP-WIN] System integration Step 2

2006-02-15 Thread Matt Murphy
Well the password will be encrypted I'd think in AD, are you sure you want to retrieve the password, or just authenticate the login? The code I sent should do that just fine, not sure about with the LDAP library you're using. Matt From: [EMAIL

RE: [PHP-WIN] System integration

2006-02-14 Thread Matt Murphy
if ($ds) { [EMAIL PROTECTED]($ds, $aduser, $adpass); $adauth = "No"; // prevent insertion // verify binding if ($r) { $adauth = "Yes"; } else { $adauth = "No"; } // end ad check } ldap_close($ds); If you need groups and such, good luck. Matt > -Original M

Re: [PHP-WIN] PHP not returning variables!

2005-12-01 Thread Matt Firth
ahh! Thanks :D Well, I may aswell edit my scripts now if they may need editing in the future anyway for PHP6. Many Thanks! Matt. "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > [snip] > But on the new server it doesnt, it produces a bla

Re: [PHP-WIN] PHP not returning variables!

2005-12-01 Thread Matt Firth
y idea why there acting differently? Matt :) "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > [snip] > For example: > "Page.php?var=value" produces the same document as just "Page.php" when > they > > should produce

[PHP-WIN] PHP not returning variables!

2005-12-01 Thread Matt Firth
I know it is not a bug in my script as I've had the script running fine on my other server (PHP5, Apache 2.0, Windows XP Pro) Any suggestions? Many thanks in advance, Matt Firth. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] any fairly large production sites on IIS/PHP out there?

2005-11-17 Thread Matt Murphy
I'd recommend Apache on windows, IIS seems like it's not very widely used or very well supported. Matt > -Original Message- > From: Travis Raybold [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 17, 2005 10:03 AM > To: php-windows@lists.php.net > Subj

RE: [PHP-WIN] PHP 5.0.4 - Can anyone help me get it to work?

2005-06-30 Thread Matt Murphy
! Do yourself a favor and upgrade to windows 2000. I don't think windows 98 is even supported by microsoft anymore! Security problems, performance problems, crappy OS problems, you just don't want to be using that these days. Matt -- PHP Windows Mailing List (http://www.php.net/) To u

RE: [PHP-WIN] PHP 5.0.4 - Can anyone help me get it to work?

2005-06-27 Thread Matt Murphy
Windows 98 is a terrible operating system. You shouldn't be using it for web surfing, much less web serving. Windows 2000 & Apache 2.0 works just fine. Matt > -Original Message- > From: Georgio [mailto:[EMAIL PROTECTED] > Sent: Sunday, June 26, 2005 5:04 PM

[PHP-WIN] Access connection

2005-06-20 Thread Matt Murphy
dy opened exclusively by another user, or you need permission to view its data., SQL state S1000 in SQLConnect in C:\www\html\portal\ups_tracking.php on line 126 Line 126 is: $myDB = odbc_connect('UPSDB','',''); Thanks! Matt -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Major apache start error!!

2004-03-23 Thread Matt Gagné
What about updating to Apache2 altogether? Matt "Hubo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > It is not a bad idea to update to Apache 1.3.2x. > > > > Anyway, here's the poop. With Apache 1.3.14 for windows (php said working > > wi

[PHP-WIN] Re: Major apache start error!!

2004-03-23 Thread Matt Gagné
Sumito, Yes, the win32 installer copied them to the windows folder AND I copied them to the apache/modules directory and as you can see, by my original post, in the httpd.conf I am explicitly calling them from the apache/modules directly. Matt "Sumito_oda" <[EMAIL PROTECTED]>

[PHP-WIN] Re: Major apache start error!!

2004-03-22 Thread Matt Gagné
Sorry, forgot to mention that I am on WinXP Pro Matt "Matt Gagné" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hey all! First post to this forum! Woo Hoo! > > Anyway, here's the poop. With Apache 1.3.14 for windows (php said working > with Apache

[PHP-WIN] Major apache start error!!

2004-03-22 Thread Matt Gagné
ng, what is the fix/work around? -- Matt -- La Croix Technologies -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Web page timeout with PHP 4.3.3 on IIS & Win2K

2003-08-28 Thread Matt Blacker
nd it worked perfectly, but I didn't use the installer I just used the zip. Matt P.S Sorry I think I sent this message to Scott also. -Original Message- From: Scott Stricker [mailto:[EMAIL PROTECTED] Sent: Wednesday, 27 August 2003 4:49 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Re

[PHP-WIN] How do I prevent double posts? > Using CURL + Authorize.NET

2003-07-10 Thread Matt Babineau
I have a CURL+Authorize.net solution in place, how can I prevent double posts to authorize.net when I post the payment info to the page? What are some good solutions you have in place? Thanks, Matt Babineau www.criticalcode.com e:: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] p:: 603.943.4237

Re: [PHP-WIN] Eliminate a specific session variable

2003-06-24 Thread Matt Babineau
Cool thanks! > $_SESSION['MyVariable'] = False; > > Thats as good as unsetting it. And no, if your using register globals as off > (Like all good coders should!), then session_unregister won't work > > Stephen > > - Original Message - > From

Re: [PHP-WIN] Eliminate a specific session variable

2003-06-24 Thread Matt Babineau
> unset($myvariable); > session_unregister("$myvariable"); > > metin > > > > At 02:40 PM 6/24/2003 -0400, Matt Babineau wrote: > >Hi All- > > > >I'm playing around with an authentication system and I can't figure out > >how to &quo

[PHP-WIN] Eliminate a specific session variable

2003-06-24 Thread Matt Babineau
still exists but it seems like the variable is just set to blank so an isset() check of that variable returns true, so they are still "logged_in". Is there any way to kill a single session variable using destroy() perhaps or will that nuke the entire session? Thx- Matt -- PHP Windo

[PHP-WIN] Better Error Trapping!

2003-04-03 Thread Matt Babineau
g when PHP scripts are generating errors? I'd love to hear other people's input on this and how they are attacking this problem! Thanks! --- Matt Babineau criticalcode e:: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] p:: 603.943.4237 w:: www.criticalcode.com

[PHP-WIN] cURL on WinXP, running ISAPI

2003-03-26 Thread Matt Babineau
. I copied everything from d:\php\dlls -> c:\windows\system32 PHP seems to be functioning normally, but I need to use cURL now and it isn't working. Anyone have any insight on this? Thx- --- Matt Babineau criticalcode.com e:: <mailto:[EMAIL PROTECT

RE: [PHP-WIN] Re:Subject: multiple selections and checkboxes

2003-03-18 Thread Matt Hillebrand
No, that's XHTML that requires all tags to be closed. -Original Message- From: Neil Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 3:22 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Re:Subject: multiple selections and checkboxes Hi Toby - I can't actually fllw yr frm cs t h

RE: [PHP-WIN] question about mail

2003-03-06 Thread Matt Babineau
On windows try: Ini_set("SMTP", "mail.yourserveraddress.com"); --> -Original Message- --> From: freeman [mailto:[EMAIL PROTECTED] --> Sent: Saturday, February 22, 2003 5:42 PM --> To: [EMAIL PROTECTED] --> Subject: [PHP-WIN] question about mail --> --> --> hey does anyone now if there

[PHP-WIN] Good graphic engine

2003-03-06 Thread Matt Babineau
Hi All- I'm looking for a really nice graphing engine. I have tried a couple but they seem a bit clunky. I'm looking for something very visually appealing without a ton of configuration. Something that supports antialiasing would be nice. Thx- Matt

RE: [PHP-WIN] ARRAY Question!

2003-03-04 Thread Matt Babineau
nz" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Something like... > > $array_length = count( $myArray ); > $myArray[$array_length + 1] = $new_data; > > This what your after? I think there might be a function for this tho, > but I'm a bit thick :p > &

[PHP-WIN] ARRAY Question!

2003-03-04 Thread Matt Babineau
Ok here goes! Lets say I have an array: $myArray = array(); Now lets say I am looping over something How do I simply add a new value to the array?? I just want to start tacking on new key/value pairs to the array. I must be missing something really basic, but I'm not getting it LOL

RE: [PHP-WIN] include, phpself and inline frames

2003-02-22 Thread Matt Hillebrand
Make the action of the form "poll.php" instead of $PHP_SELF. $PHP_SELF is the parent document. Matt |-Original Message- |From: m1nt ch3w [mailto:[EMAIL PROTECTED] |Sent: Saturday, February 22, 2003 3:27 AM |To: [EMAIL PROTECTED] |Subject: [PHP-WIN] include, phpself and inl

RE: [PHP-WIN] Duplicate entry removal

2003-02-22 Thread Matt Hillebrand
array_unique() |-Original Message- |From: Per Christian [mailto:[EMAIL PROTECTED] |Sent: Saturday, February 22, 2003 7:56 AM |To: [EMAIL PROTECTED] |Subject: [PHP-WIN] Duplicate entry removal | | |Hi | |I'm building a PHP project for fun, and are going to get some |dates from my database

RE: [PHP-WIN] using frames

2003-02-21 Thread Matt Hillebrand
code can interact with a server-side PHP script in order to change the content on the screen without changing the location of the web browser (and without the appearance of frames). Matt |-Original Message- |From: Andrew Ferguson [mailto:[EMAIL PROTECTED] |Sent: Friday, February 21, 2003 7

RE: [PHP-WIN] IIS and index.php issue

2003-02-21 Thread Matt Hillebrand
Oh, you're right. My advice doesn't appy to your problem. Sorry. I just woke up. Matt |-Original Message- |From: Charles P. Killmer [mailto:[EMAIL PROTECTED] |Sent: Friday, February 21, 2003 11:55 AM |To: [EMAIL PROTECTED] |Subject: RE: [PHP-WIN] IIS and index.php issue | | |I

RE: [PHP-WIN] index.php

2003-02-21 Thread Matt Hillebrand
You probably need to tell your web server to allow files with the .php file extension to act as a directory index. In Apache, find the DirectoryIndex directive: DirectoryIndex index.html index.php In IIS, read the help file. Matt |-Original Message- |From: Bill Rafferty [mailto

RE: [PHP-WIN] Re: mail() CC: header

2003-02-19 Thread Matt Hillebrand
Ah ha! There can't be a space between CC: and the email address!?!? That's not cool... Thanks; this helps a lot. Matt |-Original Message- |From: Ed [mailto:[EMAIL PROTECTED]] |Sent: Wednesday, February 19, 2003 3:22 PM |To: [EMAIL PROTECTED] |Subject: [PHP-WIN] Re: mail()

RE: [PHP-WIN] Re: PWS or IIS?

2003-02-19 Thread Matt Hillebrand
IIS is no good if you ask me. It wouldn't let me use a custom 404 script, and sometimes it acts uprefusing to work. I also like Apache because I use Win2k and Linux. |-Original Message- |From: Ed [mailto:[EMAIL PROTECTED]] |Sent: Wednesday, February 19, 2003 3:33 PM |To: [EMAIL PROTE

RE: [PHP-WIN] Upload big files

2003-02-19 Thread Matt Babineau
I had the EXACT problem with file upload times, I could not modify this with the ini_set() function. After a phone call to my host, they were able to change that but big time annoying, and I still don't know why I couldn't modify it. --> -Original Message- --> From: Mottaghi. [mailto:[EMAI

[PHP-WIN] Force a user to download a text file from a link

2003-02-19 Thread Matt Babineau
How can I force a download of a TXT file from a Link? Or an Excel CSV file? using PHP of course too. I am running PHP 4.3 on W2K. Are there any tutorials for this? Thx- Matt

RE: [PHP-WIN] Problem with file upload!!

2003-02-18 Thread Matt Babineau
unction.move-uploaded-file]: failed to create stream: No --> such file or directory in C:\riddarinn\Process.php on line 20 --> --> Could anyone tell my what seems to be the problem! --> --> thx --> palli --> --> --> "Matt Babineau" <[EMAIL PROTECTED]> w

RE: [PHP-WIN] Problem with file upload!!

2003-02-18 Thread Matt Babineau
ds to have permission. You may want to even try giving full permissions and then tighten the security nuse once you get the upload working. -Matt --> -Original Message- --> From: Palli [mailto:[EMAIL PROTECTED]] --> Sent: Tuesday, February 18, 2003 8:34 PM --> To: [EMAIL PROT

RE: [PHP-WIN] Problem with file upload!!

2003-02-18 Thread Matt Babineau
.jpg' in C:\riddarinn\Process.php on line 16 --> --> Can anyone tell me what this means? --> --> thx --> Palli --> --> "Matt Hillebrand" <[EMAIL PROTECTED]> wrote in message --> 002501c2d794$1541a330$0100a8c0@beast">news:002501c2d794$1541a330

RE: [PHP-WIN] Problem with file upload!!

2003-02-18 Thread Matt Hillebrand
You need to write: Matt |-Original Message- |From: Palli [mailto:[EMAIL PROTECTED]] |Sent: Tuesday, February 18, 2003 3:21 PM |To: [EMAIL PROTECTED] |Subject: [PHP-WIN] Problem with file upload!! | | |Hello I'm wondering what is wrong whit my code. I´m trying to |upload an imag

[PHP-WIN] mail() CC: header

2003-02-17 Thread Matt Hillebrand
Has anyone here successfully sent CC headers with mail()? It simply won't work for me. I get different errors depending on which mail server I use. Matt -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] PHP Classes, what the heck??

2003-02-17 Thread Matt Hillebrand
Matt, Object Oriented Programming (OOP) is good because it promotes code reuse and code encapsulation. Well, PHP4 doesn't do a good job of this. I love OOP, but I'm waiting for PHP5 to do any OO with PHP. Stick to procedural PHP for now, and you'll be just fine. Matt Hillebrand

[PHP-WIN] PHP Classes, what the heck??

2003-02-17 Thread Matt Babineau
I have read a little about PHP classes, my question is what good are they really? What are some examples that I can use these to my advantage? Are there any really good tutorials about these aside from the PHP.net site? Thx~! Matt

[PHP-WIN] < Previous and Next > Buttons

2003-02-17 Thread Matt Babineau
Hi All- I was wondering what the best way to create previous and next buttons when pulling products from a database? I haven't had much luck so far and was wondering if someone had an easy / efficient way to accomplish this? Thx- M

RE: [PHP-WIN] html_entity_decode

2003-02-15 Thread Matt Hillebrand
I found this in the PHP Manual, but I haven't tried it: // For users prior to PHP 4.3.0 you may do this: function unhtmlentities ($string) { $trans_tbl = get_html_translation_table (HTML_ENTITIES); $trans_tbl = array_flip ($trans_tbl); return strtr ($string, $trans_tbl); } |-Origi

[PHP-WIN] Interesting problem - PHP 4.3, IIS5, ISAPI

2003-02-14 Thread Matt Babineau
I am trying to output the page runtime to omake a comparison between php and Coldfusion. I have 2 functions one to start a timer, one to end a timer. The php code block in the middle between reads a 140mb file and does some other stuff. This is fairly unimportant at this point. With the code block

RE: [PHP-WIN] php defining variable defaults?

2003-02-13 Thread Matt Hillebrand
You could do if(!isset($var)) $var = 'asdf'; Or if you're using a function, you can specify default values in the parameter list: function my_func($var1 = 'default1', $var2 = 'default2') { // do stuff // do stuff } Matt

[PHP-WIN] PHP mhash extension howto

2003-02-13 Thread Matt Hillebrand
Dear Matt, I noticed on php-windows that you seemed to have some trouble getting the php_mhash.dll to work for you. Personally I can confirm that this module works just fine on my dev machine (running win98, PHP 4.3.0, Apache_1.3.27/mod_ssl & Apache_2.0.44/mod_ssl). So you probably need t

RE: [PHP-WIN] basic variable question

2003-02-13 Thread Matt Hillebrand
If you remove the first call to number_format(), it works. Matt |-Original Message- |From: paradiddles [mailto:[EMAIL PROTECTED]] |Sent: Thursday, February 13, 2003 1:00 PM |To: [EMAIL PROTECTED] |Subject: [PHP-WIN] basic variable question | | | | Hi everyone. Why does my code work

RE: [PHP-WIN] basic variable question

2003-02-13 Thread Matt Hillebrand
Oh wait. Yes you are. Heck if I know. :) |-Original Message- |From: paradiddles [mailto:[EMAIL PROTECTED]] |Sent: Thursday, February 13, 2003 1:00 PM |To: [EMAIL PROTECTED] |Subject: [PHP-WIN] basic variable question | | | | Hi everyone. Why does my code work when I enter just 1 for |th

RE: [PHP-WIN] basic variable question

2003-02-13 Thread Matt Hillebrand
You're not using the $totalqty variable in any of the statements that modify the $totalamount. Matt |-Original Message- |From: paradiddles [mailto:[EMAIL PROTECTED]] |Sent: Thursday, February 13, 2003 1:00 PM |To: [EMAIL PROTECTED] |Subject: [PHP-WIN] basic variable question | | |

RE: [PHP-WIN] mhash extension module

2003-02-12 Thread Matt Hillebrand
rsday, February 13, 2003 1:30 AM |To: Matt Hillebrand; [EMAIL PROTECTED] |Subject: Re: [PHP-WIN] mhash extension module | | |Hi Matt, | |Maybe you checked it already. How is the extensions_dir |specified in your |php.ini. Should be something like: c:/php/extensions | |Cheers, |RICO. | | | |At 20:55

RE: [PHP-WIN] Need Help with Classes

2003-02-12 Thread Matt Hillebrand
I'm not sure what you're expecting to see. You don't have any code that produces output, nor do you invoke the myFunc() method. Matt |-Original Message- |From: Paul Dymecki [mailto:[EMAIL PROTECTED]] |Sent: Wednesday, February 12, 2003 8:23 PM |To: [EMAIL PROTECTED] |Su

[PHP-WIN] mhash extension module

2003-02-12 Thread Matt Hillebrand
Does anyone know how to use the php_mhash.dll that comes with PHP for Windows? If I uncomment that line in my php.ini file and restart Apache, it says that that module can't be found. I know the file is in my extension directory. What's up? Thanks. Matt

RE: [PHP-WIN] Apostrophe in login causes error

2003-02-12 Thread Matt Hillebrand
Check out addslashes() and stripslahes(). Also, when you're populating name fields using values from the database, try using htmlspecialchars(). I found that to be very useful. Matt |-Original Message- |From: Herhuth, Ron [mailto:[EMAIL PROTECTED]] |Sent: Wednesday, February 12, 2

RE: [PHP-WIN] If statement inside of for statement

2003-02-09 Thread Matt Hillebrand
Stan, It might be because of the "\r\n" (carriage-return AND newline) characters that Windows filesystems use. Try calling trim() on your values before comparing them. Matt |-Original Message- |From: Stan McCowan [mailto:[EMAIL PROTECTED]] |Sent: Sunday, February 09, 2003 11

RE: [PHP-WIN] Confirmation e-mail

2003-02-09 Thread Matt Hillebrand
function mk_random($size) { // $size is the number of digits in $num $num = ''; seed(); for($i=0; $i<$size; $i++) { $num .= mt_rand(0, 9); } return $num; }

[PHP-WIN] PHP and Apache2 experimental?

2003-02-07 Thread Matt Hillebrand
Hello. I'm just wondering when the use of PHP with Apache 2 for Windows will no longer be considered "experimental." I'm tired of using Apache 1.3x on our Windows 2000 server. Have any of you had any problems with PHP4/Apache2 on Windows? Thanks.

[PHP-WIN] PHP 4.3.0 - Occasionally outputting chunks of HTML to the page

2003-01-29 Thread Matt Babineau
Anyone running 4.3.0 as a CGI see PHP occassionally output chunks of HTML to the visible page? Refreshing usually gets rid of them, but its very interesting to say the least Matt

[PHP-WIN] removing special charaters from a string

2003-01-21 Thread Matt Babineau
I have a variable i am pulling from a url, but i want to make sure no one can hack my pages using the sql url hack. Does anyone have a good way to strip out any special characters? like: ',",;,:,/,.,&, etc... Thanks, Matt

RE: [PHP-WIN] Moving an uploaded file keeps failing

2003-01-20 Thread Matt Babineau
called blah.txt --> --> if it does, then you gonna have to name your file, rather --> than just tell it d:\ --> --> chris kranz --> fatcuban.com --> --> --> -Original Message- --> From: Matt Babineau [mailto:[EMAIL PROTECTED]] --> Sent: Monday,

RE: [PHP-WIN] Moving an uploaded file keeps failing

2003-01-20 Thread Matt Babineau
eas? --> -Original Message- --> From: Matt Babineau [mailto:[EMAIL PROTECTED]] --> Sent: Monday, January 20, 2003 3:19 PM --> To: 'Stephen Edmonds' --> Cc: 'PHP Windows Helplist' --> Subject: RE: [PHP-WIN] Moving an uploaded file keeps failing --> --&g

RE: [PHP-WIN] Moving an uploaded file keeps failing

2003-01-20 Thread Matt Babineau
rea\administration\upload\file_upload. php on line 24 --> -Original Message- --> From: Stephen Edmonds [mailto:[EMAIL PROTECTED]] --> Sent: Monday, January 20, 2003 12:26 PM --> To: Matt Babineau --> Cc: PHP Windows Helplist --> Subject: Re: [PHP-WIN] Moving an uploaded

RE: [PHP-WIN] Moving an uploaded file keeps failing

2003-01-20 Thread Matt Babineau
Thanks Stephen, I'll try this out now! --> -Original Message- --> From: Stephen Edmonds [mailto:[EMAIL PROTECTED]] --> Sent: Monday, January 20, 2003 12:26 PM --> To: Matt Babineau --> Cc: PHP Windows Helplist --> Subject: Re: [PHP-WIN] Moving an uplo

[PHP-WIN] Moving an uploaded file keeps failing

2003-01-20 Thread Matt Babineau
this file: "; echo $_FILES['userfile']['tmp_name'] . ""; move_uploaded_file($_FILES['userfile']['tmp_name'], "/"); } ?> I am running this on a winxp pro machine iis 5.1, php 4.3.0 running as a CGI. This code is pretty much from the PHP.net site, so I am a tad baffled on this one. -Matt

[PHP-WIN] RE: [PHP-INST] PHP 4.3.0 on Windows IIS problem

2003-01-09 Thread Matt Babineau
I did this exact same thing the other day. I just removed the entire PHP folder (where php.exe resides), removed all the references to php from my system, and don't forget the php.ini in the windows folder. The just unzipped php 4.3.0 and did the standard setup and it worked. Also reboot after yo

RE: [PHP-WIN] general survey.... php.ini config gui

2002-12-27 Thread Matt Robinson
see that a GUI offers much more flexibility - it just looks a bit nicer... and even that isn't always the case. JHMO, Matt -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Per site php.ini

2002-12-16 Thread Matt Kynaston
Hrmmm... Very clever! Just checked out php.exe, and indeed you can specify a path to php.ini: E:\PHP>php.exe -h Usage: php [-q] [-h] [-s [-v] [-i] [-f ] | { [args...]} -q Quiet-mode. Suppress HTTP Header output. -s Display colour syntax highlighted source. -w

RE: [PHP-WIN] Per site php.ini

2002-12-16 Thread Matt Kynaston
> I saw nothing in the install.txt about having multiple ini > files. If I > have five websites I want them to have five different ini files. Not possible under IIS as far as I know. Closest thing is to include a file at the top of each page that uses ini_set() to make the changes you want. M.

[PHP-WIN] code that highlights itself

2002-12-13 Thread Matt Hillebrand
nore_ print ''; // _ignore_ exit; // _ignore_ print 'Hello, cruel world. '; while(true) print 'God I love PHP. '; ?> If you want, put the above code in an include file (minus the "Hello, cruel world" stuff). Just don't forget to write "// _ignore_" after the include() or require() statement at the top of the target script. Matt

RE: [PHP-WIN] Re: How do I access a mysql result array?

2002-12-09 Thread Matt Babineau
I manage to get a solution, I put all the data into an array, then looped the array how I needed to access the data. Thanks for the help- Matt -Original Message- From: Hugh Bothwell [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 3:40 PM To: Matt Babineau Subject: Re: [PHP

[PHP-WIN] How do I access a mysql result array?

2002-12-08 Thread Matt Babineau
How can I access a mysql result array numerically? Like: $result[0][0]; $result[1][0]; I want to be able to access one whole column at a time. Any ideas? Thx- Matt -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] checking if is FORM is POSTED

2002-12-03 Thread Matt Babineau
What is the best way to check if a form is posted so people can't post to my forms? I want to make sure that the post is coming from the right page and that it is indeed a post operation. Thx, Matt

RE: [PHP-WIN] Weird PHP Problem

2002-11-27 Thread Matt Kynaston
Are you using mssql_* functions? They limit varchar and nvarchar to 256 characters. For workarounds take a look through the user comments in the manual, or use odbc_* Matt > -Original Message- > From: Luis Ferro [mailto:[EMAIL PROTECTED]] > Sent: 27 November 2002 12:30 >

RE: [PHP-WIN] Re: ODBC Connection

2002-11-19 Thread Matt Kynaston
I might be wrong, but I seem to remember there are some issues with linked tables in Access. Can you access the data in the linked tables from other applications, such as Excel? Matt > -Original Message- > From: Nichols, Mark A. [mailto:[EMAIL PROTECTED]] > Sent: 19 November 2

[PHP-WIN] looping the query_string into a $var=$value

2002-11-16 Thread Matt Babineau
I was wondering how I can loop over the QUERY_STRING server variable to make all the get variables into a localized variables. I know it has something to do with setting the variable using a double $$? is that correct? /*localize url vars */ $urlQuery_string = explode("&", $_SERVER['QUERY_STRING'

RE: [PHP-WIN] Re: php with mssql

2002-11-14 Thread Matt Kynaston
mssql support though...) Matt > -Original Message- > From: soff [mailto:soff@;263.net] > Sent: 14 November 2002 07:00 > To: David Elliott > Cc: php-windows > Subject: [PHP-WIN] Re: php with mssql > > > Hello, > > I think changing to ODBC may cost lot

RE: [PHP-WIN] RE: php with mssql

2002-11-13 Thread Matt Kynaston
K, PHP4.2.2, IIS) - just don't try to open more than one result set at a time :-| Matt

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

RE: [PHP-WIN] Re: MsWord html

2002-11-11 Thread Matt Kynaston
ry Editor does it (sounds like you're doing similar stuff to them, so their code would be well worth a look anyway): http://editor.phoundry.com/ Matt

RE: [PHP-WIN] Multi php.ini for the same installation

2002-11-07 Thread Matt Kynaston
Check out: http://www.php.net/manual/en/configuration.directives.php (or a mirror) It tells you which configuration directives can only be set in php.ini, which work in apache's httpd.conf for a virtual host, which are per-directory with .htaccess file, and which can be set on a per-script basis w

RE: [PHP-WIN] Re: PHP Editor

2002-11-05 Thread Matt Kynaston
> > Is there a Editor for PHP? PHPEdit is pretty nice, and free: http://www.phpedit.net/

RE: [PHP-WIN] Does anyone know the status of PHPDoc

2002-10-16 Thread Matt Kynaston
, how well do they follow JavaDoc? Matt

RE: [PHP-WIN] Security and File System Access

2002-10-11 Thread Matt Kynaston
completely sure about Apache/Windows, but it's the same principle, and you can control _web_ access within you DocumentRoot with .htaccess files. Sounds like you should be checking out the safe_mode stuff in php.ini too. Matt

RE: [PHP-WIN] odbc_fetch_array function

2002-10-08 Thread Matt Kynaston
Check out the user notes at: http://www.php.net/manual/en/function.odbc-fetch-array.php One includes a workaround if you're using a version where it doesn't exist. Matt > -Original Message- > From: SEGUERRA FRANCIS TED ARANAS > [mailto:[EMAIL PROTECTED]] > Sent:

  1   2   3   >