[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
Hi All- I'm playing around with an authentication system and I can't figure out how to "Log" someone out of the system. Wha tI would like to do is be able to check if the session variable $_SESSION["logged_in"] exists. But if I unset() that session variable is still exists but it seems like the

[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] 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] 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
ECTED] --> Subject: Re: [PHP-WIN] Problem with file upload!! --> --> --> Hi again!!! and thanx matt! --> --> This didnt solve my problem --> --> Im running on XP and im using IIS 5.1. I've change the --> server user to Administrator but I still cant uplo

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

2003-02-18 Thread Matt Babineau
I have also gotten the same exact error, it has to do with the permissions on the server and the IUSR_x having WRITE permissions to the folder you want to move the file to and to the PHP TEMP folder (I think). --> -Original Message- --> From: Palli [mailto:[EMAIL PROTECTED]] --> Sent: Tue

[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

[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

[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
Here is the error: PHP Warning: move_uploaded_file(/) [function.move-uploaded-file ]: failed to create stream: No such file or directory in D:\wwwroot\kingmanchamber\secure-area\administration\upload\file_upload. php on line 22 PHP Warning: move_up

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

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

[PHP-WIN] PHP-NUKE

2002-09-22 Thread Matt Babineau
Can anyone point me to some good overview technical docs about PHP nuke, or could someone email me offlist if you know a lot about PHP-Nuke, I have a few questions to ask. I looked at the PHP nuke site and it was very confusing. Thanks! -- PHP Windows Mailing List (http://www.php.net/) To un

RE: [PHP-WIN] SESSIONS- clustered environment

2002-09-18 Thread Matt Babineau
What if I made a network share and all the sessions were stored in a shared space? 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: Luis Ferro

[PHP-WIN] SESSIONS- clustered environment

2002-09-17 Thread Matt Babineau
What would be the best way to handle sessions in a clustered environment without making the load-balancing persistant? Matt Babineau MCWD / CCFD - e: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] p: 603.943.4237 w: <http://www.criticalcode.c

[PHP-WIN] error from PHP...any ideas?

2002-09-17 Thread Matt Babineau
IIS 5, Win2K, Running as ISAPI, HTTPS, PHP 4.2 PHP has encountered an Access Violation at 01152A55 Any ideas how to deal with this? I got this on my development server. Should I just use PHP as a CGI instead of ISAPI? Matt Babineau MCWD / CCFD - e

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

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

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

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

[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

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

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

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

[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

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

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

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

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:

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

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

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

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

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;

[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