RE: [PHP-WIN] Microsoft IIS - Fatal error: Call to undefined function db2_connect()

2008-01-03 Thread Tom Hearn
Jason, Remove all copies of php.ini on your system except for the one in your system root (in your case C:\WINNT). Try that and see what happens. Tom Hearn Software Engineer /n Software We are releasing IPWorks! for PHP Soon! Ask me for more information! - Original

RE: [PHP-WIN] Microsoft IIS - Fatal error: Call to undefined function db2_connect()

2008-01-03 Thread Tom Hearn
file that there is a whole list of other extensions to be loaded. Add it to the last line under these entries if it is not already. Tom Hearn Software Engineer /n Software We are releasing IPWorks! for PHP Soon! Ask me for more information! - Original Message - >*** I don&

RE: [PHP-WIN] Microsoft IIS - Fatal error: Call to undefined function db2_connect()

2008-01-03 Thread Tom Hearn
When you use phpinfo(); does the extension show up as loaded? Tom Hearn Software Engineer /n Software We are releasing IPWorks! for PHP Soon! Ask me for more information! - Original Message - >I have this line in my php.ini file. > >[PHP_IBM_DB2] >extension

Re: [PHP-WIN] Microsoft IIS - Fatal error: Call to undefined function db2_connect()

2008-01-03 Thread Tom Hearn
You also could be having issues with dependencies. There is no real easy way to diagnose dependency problems if that is indeed the case, just look into your system event logs and php error logs. Tom Hearn Software Engineer /n Software We are releasing IPWorks! for PHP Soon! Ask me for

RE: [PHP-WIN] Intermittent "No such file" message

2007-10-31 Thread Tom Hearn
you sure that your web server host file is not configured to limit access to certain users or IP addresses in some way, or is your firewall blocking a specific IP address range? 3. Are you sure that the file is in the correct path to be loaded from default.php? Tom Hearn Software Engineer /n

RE: [PHP-WIN] Solved - Re: [PHP-WIN] ORDER BY is not sorting

2007-08-01 Thread Tom Hearn
e_name"] or $_POST["table_name"]? Cheers, Tom Hearn Software Engineer N Software http://www.nsoftware.com -Original Message- From: Mark Abrams [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 9:59 AM To: php-windows@lists.php.net Subject: [PHP-WIN] Solved - Re:

RE: [PHP-WIN] Re: Small Help

2007-08-01 Thread Tom Hearn
ith 4 different options, I don't really know how you want it called, but you could call it in the query string. For example: And your url would be http://www.someurl.com/picture.php?imagenumber=4 I think that is what you wanted. Tom -Original Message- From: Aleksandar Vojnovic [mai

[PHP-WIN] PHP installation

2005-04-24 Thread Tom Patterson
bly I have some of the configeration wrong, but I don't know where to start looking for the problem. Does anyone have a suggestion? Thanks -Tom

Re: [PHP-WIN] Form Variable Storage

2004-09-28 Thread Tom Joyce
I would have something like this: Your validation page has this: ... Essentially, just put the variable as value, or if it's a pull down list: 13-17 18-25 26-35 36-45 46-55 56-60 61-75 76+ That should work...other than that, it's just a copy of "form.php" inside of "validate.php"...or whatever

Re: [PHP-WIN] Installation Woes.

2004-09-22 Thread Tom Rawson
On 22 Sep 2004 Jim Bailey wrote: > No, DocumentRoot is set in httpd.conf? Hmmm, I'm confused, was that a question or a statement??? Are you trying to run PGP as CGI or via SAPI (Apache module)? -- Tom -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP-WIN] Enviar Attach via PHP

2004-07-22 Thread Tom Rogers
GastóN Quiroga wrote: Gracias Gerardo por tu respuesta... estuve investigando mas a fondo el problema y saqué algunas conclusiones: La línea de la clase es $a-> Attach(,, ) donde es el nombre del archivo con el fullpath, es el tipo de attach (text/plain, application/rtf, etc) y es la forma en qu

[PHP-WIN] Re: windows disk list in PHP

2004-07-12 Thread Tom Rogers
echo "no drives found\n"; } print_r($drives); (if you need a working version of php_w32api.dll let me know) Tom -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re[2]: [PHP] HTTP Header Viewer... Do I need regexps?

2004-04-28 Thread Tom Rogers
Hi, Thursday, April 29, 2004, 10:08:27 AM, you wrote: TR> The header has line breaks you will need to nl2br() to view them in TR> html TR> -- TR> regards, TR> Tom This should split up the header for you: $http = "HTTP/1.1 200 OK\r\nDate: Tue, 20 Apr 2004 17:28:23 GMT\r

[PHP-WIN] Re: [PHP] HTTP Header Viewer... Do I need regexps?

2004-04-28 Thread Tom Rogers
: " . substr("$pagedata", 0, 15) . ""; LG> | //echo substr("$pagedata", 16, 36) . ""; LG> | //echo substr("$pagedata", 52, 67) . ""; LG> | LG> | } LG> | | ?>> LG> | LG> | LG> `-

[PHP-WIN] Re: php5isapi.dll not handling MySQL

2004-03-24 Thread Tom Khoury
Don McFarland wrote: Im using PHP version Version 5.0.0b4 on XP-Pro (php5isapi.dll) running IIS 5.1 and have gotten the SQLite to work nicely. However, the when trying to use an up-and-running MySQL server, the script is always cut-off at the start with the error "Call to undefined function mysql_c

[PHP-WIN] Re: [PHP] Re: [PHP-WIN] Register globals on and off

2003-01-30 Thread Tom Rogers
egister_globals on -- regards, Tom -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: [PHP] Generating forms using OOP

2002-12-06 Thread Tom Rogers
DO> mailto:[EMAIL PROTECTED] The output function is wrong it should be function generateSelectField() { $theOutput = "name."\">\n"; foreach($this->value as $key=>$val) { $theOutput .= "".$val."\n"; //this line } $theOutput .= "\n"; Return $theOutput; } -- regards, Tom -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Access databse

2002-04-30 Thread Tom Belich
Security Info=False" where the variable is: Application("AccessPath") = "d:\inetpub\wwwroot\helpdesk\db\helpdesk.mdb" Remember to put the connection string all on one line. Hope this helps, Tom > -Original Message- > From: Svensson, B.A.T. (HKG) [mailto

[PHP-WIN] Extension problem.

2002-02-22 Thread Tom van Gemert
Yo, I hace recently installed PHP with PWS 4 on my PC and I am only able to run *.php documents in the browser. *.php3 extensioned files will display code as text in the browser window. Can anybody tell me how to configure things, so it also runs *.php3 extensions? Help is appreciated... To

RE: [PHP-WIN] Running Windows full binary distribution

2002-02-21 Thread Tom Belich
More information: Both installations work. The php test file, , works on both the workstation running IIS and Win2K Pro and the server running WinNT. To get up and running quickly, I used the Windows installer version on the server (which I understand runs under CGI). However, I also understand

[PHP-WIN] Running Windows full binary distribution

2002-02-20 Thread Tom Belich
I've installed the windows installer version of php on a NT server. I've also installed the windows binary on my Windows 2000 pro workstation. Everything works fine on the CGI-Windows installer version on the server, but I can't get the same applications to run from my Win2KPro workstation (I get

[PHP-WIN] Re: mail() on windows - problem

2002-02-18 Thread Tom
hi, try this. put it in your *.php file, where your mail() function is located. i got the same probs. W2K and IIS5 don't work with the smtp [mail function] in php.ini. tom "George Pitcher" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 008201c1b470$41373b00$630

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

2002-01-29 Thread tom
Is there a version of Merlin and/or php that works out of the box? I have spent days -- days and more days -- just trying to get the infrastructure of a single programming language to work. with no success. after three days I finally got Merlin to serve a localhost file. the docs did not adequate

[PHP-WIN] Please help a newbie -- have pity!

2002-01-14 Thread tom
content entirely. I want to browse to d:\test.php, for instance -- without using the w2k server stuff, just browse to file. I thought the php download of windows binaries was supposed to fix this, but I can't get it to do anything. Tom -- PHP Windows Mailing List (http://www.php.net

[PHP-WIN] Variable scope in loops

2001-07-31 Thread Tom Tsongas
found a 'global' statement in the documentation but it didn't seem to like taking an array as a parameter. I had it looking something like this: global $incident_array[]; Any help would be appreciated. Tom Tsongas -- PHP Windows Mailing List (http://www.php.net/) To unsubsc

Re: [PHP-WIN] Case issue with Mysql on windows

2001-05-15 Thread Tom Mathews
This is down to an issue in phpmyadmin (or should that be PhpMyAdmin?). If you create the tables from the MySQL console (or put the create statements in a file and then run this form the console) the case sensitivity will be retained. Tom Paul Meagher wrote: > I am creating tables in Mysql

Re: [PHP-WIN] Code still doesn't function correctly

2001-05-14 Thread Tom Mathews
} It's not ideal, but it should get you up and running! Tom Bob Sears wrote: > I am probably driving everyone ballistic, but I am going to get to the > bottom of this code problem with PHP/Javascript > because I don't want to rewrite the application in HTML/ASP/Oracle, if a

Re: [PHP-WIN] anti-advocacy: Larry Seltzer, pcmag May'01 pub.

2001-05-10 Thread Tom Mathews
Still not a flame, just a gripe against MS to think about! > > Actually, one thing that I REALLY like about the newer VB development > environment is that it will automatically correct/adjust the case of your > variables/functions to match their definition. This allows me to define > them accor

Re: [PHP-WIN] ISAPI

2001-05-10 Thread Tom Mathews
Where I have the choice on WinNT I always use Apache module, never had any problems with a qualified release version. Tom Tim Uckun wrote: > At 12:13 PM 5/9/2001 -0700, Flint Doungchak wrote: > >Tim, > > > >Unfortunately, the ISAPI module just isn't stable on this pl

Re: [PHP-WIN] Problem with submit

2001-05-10 Thread Tom Mathews
he case if you know that the variable is set and could contain a value of true (>0) or false (0).) Tom Jerry Nelson wrote: > We have two developers that are just learning PHP. Working with the > following code I do not have any problems. However, the other person gets > the error

Re: [PHP-WIN] symlinks

2001-05-10 Thread Tom Mathews
but neither is particularly secure and both are extremely clunky, but that's the wonders of windoze! Tom Jourden Parks wrote: > I have to port alot of php code from linux to windows. This code is > all about using symlinks. Does anyone have any ideas what to do > in windows when sy

Re: [PHP-WIN] Need someone with some experience

2001-05-10 Thread Tom Mathews
record 1001 - you will never compare the two? Also, unless you particularly want to look at all of the records, if you do a self join on the field that you suspect could have duplicates, then you need only display those records that are suspect. Tom "Asendorf, John" wrote: > I'm

Re: [PHP-WIN] anti-advocacy: Larry Seltzer, pcmag May'01 pub.

2001-05-10 Thread Tom Mathews
and his buddies,a nd I'll post it here first for review, but until then that's more than enough waffle from me! Tom -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP-WIN] Ora_fetch

2001-05-09 Thread Tom Mathews
OK Forget this - I managed to get onto php.net this morning and noticed the helpful comment from Bernard Blundell - if anyone else has this problem, just add the constant , ORA_FETCHINTO_NULLS, to the ora_fetch_into() function: - ora_fetch_into($cursor, &a, ORA_FETCHINTO_NULLS) Tom Mat

[PHP-WIN] Ora_fetch

2001-05-08 Thread Tom Mathews
any null values in the table, the fetch returns the previous good value from that column instead. Anyone else seen this or (preferably) know a solution? The same doesn't appear to happen using OCI_Fetch on my own server. Cheers Tom -- PHP Windows Mailing List (http://www.php.net/) To

[PHP-WIN] Oracle fetch array

2001-05-03 Thread Tom Mathews
n by index (ie not while (ora_fetch_into($curs, &$row1)){ $name=$row1[0]; $desc=$row1[2]; echo"$name$desc"; ) Thanks Tom -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact th

Re: [PHP-WIN] Form & MySQL

2001-05-03 Thread Tom Mathews
Johannes is correct, but if you're woried about security remember that MD5 is a one way algorithm - you don't need a key to unscramble it. Tom Johannes Janson wrote: > Hi, > > a simple INSERT would do the job. > To encrypt password use md5(). > > Johannes > &

Re: [PHP-WIN] SQL Error - create temporary table

2001-05-02 Thread Tom Mathews
Check with your ISP what access rights you have to the MySQL db - if you don't have create table rights, then you won't be able to crete temporary tables either. Tom John Morrison wrote: > Hi > > I have cobbled together my first PHP/MySQL site which > checks out OK o

Re: [PHP-WIN] MYSQL Help

2001-04-26 Thread Tom Mathews
1) Command line console is always installed with MySQL - telnet to the remote machine and you should be able to run it with no problems. 2) GUI - I reccommend phpmyadmin - get it from the MySQL site. It has a lot of limitations, but the basic functionality is all fine. Tom edwin wrote: >

Re: [PHP-WIN] dynamic pulldowns from DB

2001-04-20 Thread Tom Mathews
javascript. Tom Robert Trembath wrote: > A little help from anyone please. > > I know this was discussed before but I can't find it now that I need it. I > want to dynamically populate a pulldown list from a mysql query based on > what is selected from another pulldown list p

Re: [PHP-WIN] PHP/MySQL Help

2001-04-10 Thread Tom Mathews
True enough, but life's just a bitch sometimes! I don't create the problems, just work around them. "Svensson, B.A.T." wrote: > >Using quotes (and remebering to escape them) may or may not cure the > problem - it > >seems to be a bit intermittent. It's more reliable just to hard code the > tabl

Re: [PHP-WIN] PHP/MySQL Help

2001-04-10 Thread Tom Mathews
s you have a table named 'vendors', but not one named'$tablename'! Using quotes (and remebering to escape them) may or may not cure the problem - it seems to be a bit intermittent. It's more reliable just to hard code the tablename instead. Tom Bob Sears wrote: > I am n

Re: [PHP-WIN] PHP

2001-04-09 Thread Tom Mathews
If you're not too fussed about security, then the easiest way is to create a cookie and then check for it at the beginning of each page (ie if (!ISSET(CookieName) {}) Tom Synopsis wrote: > any one here , know how to pass the login data to each page a user gose on, > and that page

Re: [PHP-WIN] Javascript

2001-03-30 Thread Tom Mathews
Thanks all, I was trying the . operator as a concatenator before - must have got my languages mixed up! Tom Tom Mathews wrote: > Window(IDent) > { > >msgWindow=window.open("ContentsWindow.php3?ID=IDent","displayWindow","menubar=no,width=500,height=

[PHP-WIN] Javascript

2001-03-29 Thread Tom Mathews
t;,"displayWindow","menubar=no,width=500,height=300") } The IDent that is passed into the funtion is an integer, and that bit is fine, but how do I dereference it in the querystring so that what gets passed to the new window is along the lines of (say the value of IDent is

Re: [PHP-WIN] PHP under WinME

2001-03-27 Thread Tom Mathews
browsing disabled) Just some thoughts! Tom Christoph Winkler wrote: > Hi! I am using PHP4 on Apache 1.3.6 under Windoze Me. When I'm calling my ip > or localhost. The page cannot be found. There's no Error msg from Apache. > Can anyone help? Thank you! > > -- > PHP Wind

Re: [PHP-WIN] Mail submisison of form data

2001-03-27 Thread Tom Mathews
Flint Yeh, that's about the right syntax, but if you are sending duplicate messages from a web server, I'd strongly recommned bcc: in the header instead of cc: Tom Flint Doungchak wrote: > Randall, > > I'm not sure on this so I may need some correction, in theory, you

Re: [PHP-WIN] PHP's doc_root

2001-03-23 Thread Tom Mathews
would take you to c:\bollox\ if you had the following in http.conf: - Alias /bollox/ "C:/bollox/" Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all Tom Rayon Pinnock wrote: > I am running Apache 1.3.19 web serve

Re: [PHP-WIN] Problem with PHP4.04 installation

2001-03-21 Thread Tom Mathews
Have you set your path to include the php directory - or are you in the php directory? Tom John wrote: > I just get "Bad command or file name" > > Phil Driscoll wrote: > > > > >When I type php.exe -i at a ms-dos prompt, I get no response. > > Wha

[PHP-WIN] MS Access

2001-03-20 Thread Tom Mathews
Has anyone out there had any success with connecting to a Microsoft Access database using the following config? Server - Apache on Solaris Access database location - Solaris NFS I know that its a bit hopeful, but I thought that I'd ask anyway! Cheers Tom -- PHP Windows Mailing List

Re: [PHP-WIN] Need help bad, select element of form using time

2001-03-19 Thread Tom Mathews
hat's another story - look in the archives of this list over the last couple of weeks for some answers on that one, Tom Zachary Harris wrote: > I have a project that a I am working on and have come across a major > snafu. It is my first time using PHP for a project and I have been > asked

php-windows@lists.php.net

2001-03-15 Thread Tom Mathews
Yep - Apache bug - upgrade it! Aleksey Filimonov wrote: > Hi all, > > I have some problems installing php-4.0.4pl1 on apache-1.3.14 on win98... > The apache server is running fine before adding this line in httpd.conf: > LoadModule php4_module c:/php/sapi/php4apache.dll > After adding module apa

Re: [PHP-WIN] PHP405 Install

2001-03-14 Thread Tom Mathews
It sounds an obvious question, but is it a new script you are trying to run, or is it one that could be sitting in the browser cache and you aren't refreshing it properly? Antonio Lopez wrote: > I installed PHP404pl1 with the automatic installer, and all works right. > > Now, i want to install P

Re: [PHP-WIN] Print variables coming from a form not controled by me...

2001-03-13 Thread Tom Mathews
;re after Tom Dream wrote: > Any idea of how to get information from a form (not a form controlled by me, > through GET method, i.e. info coming with the URL, like this > http://www.xxx.com/xxx.cgi?result=1&age=23&name=john) and print it through > php v.3? > > I don't

Re: [PHP-WIN] Poor PHP performane on Apache on Win 2000 Server

2001-03-12 Thread Tom Mathews
Mark Tipton wrote: > Any ideas on what could be causing such > poor performance? > Microsoft! > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail

Re: [PHP-WIN] unsupported or undefined function mysql_connect()

2001-03-12 Thread Tom Mathews
Depends which versionof PHP your ISP is running. Prior to v4.x, MySQL module was not included in the standard compilations but had to be deliberately put in. Easiest way to check is to run a script containing phpinfo() on your hosting site. Tom Mark Taylor wrote: > hi all, > >

Re: [PHP-WIN] A sample of system function on Windows!!

2001-03-06 Thread Tom Mathews
This is a segment taken straight from Julie Meloni's PHP Essentials. I've used a variation of this on my WinNT dev pc with no problems at all. Tom ' -o $crypted -a $clear"); unlink("$clear"); ?> Antonio Lopez wrote: > Can an

Re: [PHP-WIN] deleting file on server

2001-03-05 Thread Tom Mathews
try the unlink() command Glenn wrote: > hallo! > how can i removing files from my upload folder on the server whit php > > Best regards. > /Glenn > > _ > Free email with personality! Over 200 domains! > http://www.MyOwnEmail.com > > -- > PHP Windows Ma

Re: [PHP-WIN] Reading data from MySQL

2001-03-05 Thread Tom Mathews
line terminator eg LOAD DATA LOCAL INFILE "countries.txt" INTO TABLE Countries LINES TERMINATED BY ' \n'; (the syntax I've exampled will terminate lines when it encounters the space_newline combination) Tom Mitchell Kirschner wrote: > If you're unable to ge

Re: [PHP-WIN] How to create a Non-Editable PDF ?

2001-03-02 Thread Tom Mathews
will take - I'll post an answer when I've worked it out. Tom (alternatively, if you have distiller and have time to play, do something like create a document containing one character and save it. Save a new copy with the attibutes that you want set and do a binary comparrisson of th

Re: [PHP-WIN] How to create a Non-Editable PDF ?

2001-03-02 Thread Tom Mathews
pdf file. (The user can of course turn this off it they download the file locally, but that's up to them!) Tom Antonio Lopez wrote: > When i create a PDF file with PHP, this file is editable with Acrobat Reader: > I.e. i can select all the text and copy & paste to another text proce

Re: [PHP-WIN] RE: [PHP-DB] Resolution detect and redirect

2001-02-28 Thread Tom Mathews
write three pages for every one that you wish to display - a far neater solution is to use relative sizes in stylesheets to define your text and image size - I think that there's a good example on WebMonkey - if not I'll double check where I saw a really neat one. Tom Ben Cairns wrote

Re: [PHP-WIN] Newbie question...

2001-02-23 Thread Tom Mathews
don't like being picky, but you may be thinking of MySQL where % is the multiple character wildcard (eg select 'David!' LIKE '%D%v%';) _ is the single character wildcard (eg select 'David' LIKE 'Davi_'; Tom Ben Cairns wrote: > The wildcard i

Re: [PHP-WIN] Reading data from a file

2001-02-23 Thread Tom Mathews
How is your file delimited? This could impact on whether elemdata is a string or actually a real array. That may not be helpful, but here's a handy tip when using file() - remember that it retains the newline character, so you have to be careful about mixing and matching dos/windows type files wi

Re: [PHP-WIN] My Dilema

2001-02-16 Thread Tom Mathews
SELECT SUM(Row_x) FROM Table_y; Tom Ben Cairns wrote: > I have a slight problem with this > > I am returning numerical values (i.e. 22.64, 2.54 etc. All with two Decimal > Places) from a database. I then want to add these together. > > But, I don't know how many ro

Re: [PHP-WIN] Re: pdflib put a image to a pdf file

2001-02-14 Thread Tom Mathews
I've never tried, but I'm wandering if it is related to the GIF licensing issue that forced GIF's out of the GD libraries - does anyone know if the same happenned to the PDF libraries? Tom Jason Hoover wrote: > Rainer, > > Here is sample code for placing a .jpg image i

Re: [PHP-WIN] mysql and phpmyadmin

2001-02-13 Thread Tom Mathews
Manuela. I tried this for a while, and found that it was actually a problem at one of my ISP's end that they were unable to resolve, so I gave up and installed phpmyadmin on my remote site as well (its not very big if you pare down the unwanted bits). You may have the same problem Tom Ma

Re: [PHP-WIN] PHP 'include' function

2001-02-12 Thread Tom Mathews
ay of doing things when I get some time, but it ain't going to be for a couple of weeks I guess. Tom [EMAIL PROTECTED] wrote: > Mathews, could you dig out that script please? I think I might need > it. > > Bikes > > > > -Original Message- > From: Tom

Re: [PHP-WIN] How to save a file to a blob field?

2001-02-12 Thread Tom Mathews
Easier to diagnose if you tell us what the error was? Winston Valenzuela wrote: > I'm using ODBC to connect to my Interbase 6 database. Using the code: > > $post_stmt = "Insert into > MSGTABLE(firstname,middlename,lastname,msg_subject,msgbody,remote_ip) > values('$fname','$mname','$lname','$subj

Re: [PHP-WIN] PHP 'include' function

2001-02-12 Thread Tom Mathews
e's and then use the ID to pull out the relevent image and text. By the way, it is possible to use javascript variables in php - I've got some script I can dig out to show you how if you need it. Tom John Morrison wrote: > Hi. > > I have just discovered server side scripting

Re: [PHP-WIN] Why do we want to give YOU money?

2001-02-09 Thread Tom Mathews
n the responsibility. Tom [EMAIL PROTECTED] wrote: > Simple answer, you were randomly selected from our recently purchased > opt-in lists. OK so why are we giving away money you ask? > > Another simple answer. We want you to discover what 10,000's of other > people just like you already k

Re: [PHP-WIN] Modules not loading

2001-02-08 Thread Tom Mathews
Had the same problem with LDAP and GD, but not with any of the others. I tried copying stuff into different paths, but that didn't seem to help either. Eventually I gave up and just used the module instead of the CGI (faster as well!) Tom Erik Ableson wrote: > > > I'm se

Re: [PHP-WIN] Slow response from Netscape

2001-02-08 Thread Tom Mathews
es it thinks about it and then works badly, sometimes it thinks about it and then ignores the whole section! Tom Doug Brewer wrote: > I am experiencing a long delay from Netscape (4.76, Win) when setting > cookies. The user submits the form, and it takes 15-20 seconds for a > response. The

Re: [PHP-WIN] COUNT(*) fails in PHP3

2001-02-08 Thread Tom Mathews
, either from php or you rdbms? Hard to tell what's wrong without a bit more info. Tom Piotr Fetras wrote: > hi all ! > > I have problems while executing SQL with aggregation functions, even simple > > SELECT COUNT(*) FROM aTable > > stalls. It seems to be a problem

Re: [PHP-WIN] For My Information

2001-02-02 Thread Tom Mathews
ss plug-in that someone has kindly written to convert data and structure from Access 2000 MDB to MySQL (I've not tried them, but I think it also allows dbase conversion and a few others). Tom Dan Malcolm wrote: > I see in the posts, that a lot of people are using Apache on NT instead of

Re: [PHP-WIN] passing arrays of objects

2001-02-02 Thread Tom Mathews
found have been to use the array as a global (make sure globals are set!) or to put it into a temporary db table and then pull it out again from the page that needs it! Tom Doug Brewer wrote: > try > $foo //array with serialized objects in it > $foo = rawurlencode($foo); > $url

Re: [PHP-WIN] Tab Seperated Data

2001-02-02 Thread Tom Mathews
Can't remember the syntax off hand, but if you look under the file handling stuff in the manual, you will see that there is a function which allows you to put a tab delimited file into an array. From there you can do what you want with each of the elements. Ben Cairns wrote: > I have a file wher

Re: [PHP-WIN] FORMATTING HTML IN AND OUT OF MYSQL

2001-02-02 Thread Tom Mathews
.. or www.mysql.com/downloads/contributions - there's a whole class in there to handle HTML with MySQL phobo wrote: > see http://www.php.net/manual/en/function.nl2br.php > > siggy > > - Original Message - > From: "Bikes" <[EMAIL PROTECTED]> > To: "'Robert Trembath '" <[EMAIL PROTECTED]>;

Re: [PHP-WIN] Newbie - Help!!!!!

2001-02-01 Thread Tom Mathews
have any records on your DB? Tom Toby Miller wrote: > There seems to be a problem with your database connection. Can we see the > header include? > > -Toby > > - Original Message - > From: "Robert Trembath" <[EMAIL PROTECTED]> > To: <[EMAIL PRO

Re: [PHP-WIN] RE: links to php install bundles and tutorials

2001-02-01 Thread Tom Mathews
I suggest we leave this thread until end of play on Monday (then the weekenders can have a chance to see it as well). If no-one has any info about a FAQ by then, then maybe we should go ahead with the kill-9 idea? Tom [EMAIL PROTECTED] wrote: > I would put something like that up on www.kil

Re: [PHP-WIN] RE: links to php install bundles and tutorials

2001-02-01 Thread Tom Mathews
27;s loads of people out there (hopefully including me) who are more than willing to try and give answers, but a FAQ really would help to filter out the 'How can I run PHP on Windows 98' RTFM! type of things. Tom Simon Willison wrote: > Does this mailing list have an FAQ anywhere?

Re: [PHP-WIN] RE: PHP vs JSP ?

2001-01-30 Thread Tom Mathews
I agree with Simon It is actually possible to work three tiers with PHP, but not so obviously as JSP does. The hit you take is performance, so it depends on what the application is whether to use JSP or PHP. Personally, for any e-commerce work I use PHP. It's very easy to get it hosted and those

Re: [PHP-WIN] PHP Messages

2001-01-30 Thread Tom Mathews
Ta I forgot about the 'expose PHP' directive Tom Ryan Grove wrote: > Comment out line 113 (or thereabouts) of your php.ini file. That > should do the trick. > > -- > Ryan Grove > [EMAIL P

[PHP-WIN] PHP Messages

2001-01-26 Thread Tom Mathews
I've just installed PHP 4-04pl1 on a new NT/Apache box and can't remember how to turn off the very irritating "X-Powered-By: PHP/4.0.4pl1 Content-type: text/html " message that appears at the top of any script generated page. Can anyone please remind me how to get rid o

Re: [PHP-WIN] Is it possible to CONVERT file formats?

2001-01-25 Thread Tom Mathews
This issue cropped up with us a little while ago, but in a slightly different context. We have documents that are created using Word (PC users) and FrameMaker (die hard Unix users that do not want anyone else to be able to edit their work without first taking a degree in pontlessness). All of thes

[PHP-WIN] Re[2]: [PHP-DB] LDAP

2001-01-24 Thread Tom
> It may be that you need to uncoemment the ldap line in you r php.ini > file. Ok, I have mdified the line. I put ldap.so. But now my problem is: I haven't got any ldap.so on my hard drive ! Argh ! How am I supposed to have that file ? I'm in a hurry, I must have finished this work for tonigh. ;-

[PHP-WIN] Windows File Tree

2001-01-18 Thread Tom
Hi I want to use an object which looks like the Windows Explorer File Tree in a database application. Does anhone have any code to do this (or know of the COM object or whatever that can be used to build it - I will also want to enable left and right click events at some stage) Cheers Tom

Re: [PHP-WIN] store current page name in variable?

2001-01-17 Thread Tom
$variable_name=$PATH_INFO Depending on how you handle it next, you may want to stripslashes() or URL_encode() it Tom "[EMAIL PROTECTED]" wrote: > Hi all, > > I'm working on a little code snippet that invites a person to mail the url > of the current page to a frien

Re: [PHP-WIN] DOM

2001-01-17 Thread Tom
m a string (which could be the whole file if you felt like it) Tom [EMAIL PROTECTED] wrote: > That sounds the way to go. Yes the sites I have looked at so far put their > data into tables. Is there a PHP command that performs a replace all with "" > until first occurrence of k

Re: [PHP-WIN] DOM

2001-01-16 Thread Tom
really be pretty trivial!) Alternatively, you could spend a considerable amount of time trying to get a generic XML parser to work and rebuild a DOM which would no doubt improve your XML skills immeasurably, but you would probably die trying! Tom James Duncan wrote: > Thanks Tom. Yes you have i

Re: [PHP-WIN] DOM

2001-01-15 Thread Tom
; type of construct. Note that you will want to strip out the beginning and end of the file first as well. This may sound like a bit of work, but you only have to do it once, as the file format will always be the same (barring the addition of new stocks). Tom James Duncan wrote: > I don'

Re: [PHP-WIN] Simple question that I can't find the answer to

2001-01-15 Thread Tom
Depends on why you want to lop it down to a single line? Is this to make your code tidier, or to improve execution time (the latter I doubt, as it won't take long to perform the code you describe!). The neat solution would obviously be a function (maybe even in javascript!) that takes the paramet

Re: [PHP-WIN] DB Select Limits

2001-01-12 Thread Tom
By 'Doesn't seem to work' what do you mean? Does it return no results (and how do you know that this is the case and that its not some typo elsewhere) or does it give an error message - if so , what? Tom Ben Cairns wrote: > I have a web board script that I need to imp

Re: [PHP-WIN] Inner Joins

2001-01-12 Thread Tom
ve to say about limitations and non-ansi SQL implementation/extensions, but this can take some time!) Tom "samsom, debra" wrote: > I am writing some PHP code with calls to Mysql. I am trying to do a Inner > join and I am not getting any results back from my query (and no errors).

Re: [PHP-WIN] decimal numbers

2001-01-10 Thread Tom
$Percent=sprintf("%0.2f",$Percent); afan wrote: > Hi all, > short and simple question: > > >From total of 123 elements 79 are ok. What percent? > > $Total = 123; > $ok = 78; > $Percent = (100 / 123) * 78; //63.41463414... > > But I need just two decimal: 63.41 > I'm doing it this way: >