[PHP-WIN] Re:Re: [PHP-WIN] ascii to utf-16

2003-08-22 Thread Neil Smith
Ahem. If you convert and store your data in XML format and handle it like that (say using sablotron or DomXML), as XML uses UTF16 internally, shouldn't that solve this (and a number of other) problem ? Cheers - Neil. At 02:28 22/08/2003 +, you wrote: Date: Fri, 22 Aug 2003 11:31:45 +0900 Fr

[PHP-WIN] Re: Subject: date question

2003-08-11 Thread Neil Smith
You need to pass date() a serial time value, a timestamp. This is quite clearly documented in the PHP manual under date(). If you get stuck , try date("Y-m-d",time()) and work from there. Also, you need to use the SQL function UNIX_TIMESTAMP(day) to return a timestamp in the way you are trying

[PHP-WIN] Subject: selecting data from file with php

2003-08-10 Thread Neil Smith
I would do something like this, your mileage may vary. Lines starting with // are comments. $addresscities=array(); // Make an empty array $resultrows=file("address.txt"); // This creates an array of lines of the file, one element per line foreach ($resultrows as $line) { $row=explode("\t

[PHP-WIN] Re: Subject: closing windows

2003-07-24 Thread Neil Smith
You can't, openining and closing windows is a client side, browser function. PHP cannot do this since it is a server side technology and has no control over the browser's actions. Please re-post with a specific request of what you are trying to achieve. Cheers - Neil Smith. At 2

[PHP-WIN] Re: Subject: Web pages not being displayed

2003-07-23 Thread Neil Smith
No, without any code samples, error logs, URL information or any other diagnostic information we'd be guessing. Sorry. At 10:17 23/07/2003 +, you wrote: Message-ID: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] From: "Greg Whitehead" <[EMAIL PROTECTED]> Date: Tue, 22 Jul 2003 16:11:22 +0930 Subje

[PHP-WIN] Re: Subject: xml trouble - Operator error : XML file not supplied

2003-07-22 Thread Neil Smith
1/ Is the XML file in the same directory as the script you are running ? 2/ You have not supplied your XML file, and a parse error is cause when an invalid XML file is read in. 3/ Do you have error_reporting(E_ALL) set in your script which would provide more diagnostic error information and an er

[PHP-WIN] Re: Subject: dynamic html pages

2003-07-21 Thread Neil Smith
You need to split this into 2 separate pages. In page 2 you run the create page2 function as normal, the same for page 1 with just the create page1 function. The only difference is that in the HEAD of page1, add the following HTML tag (since this is an HTML question not a PHP question) : No

[PHP-WIN] Subject: file uploading

2003-07-20 Thread Neil Smith
u can express in XML, you can upload the data as text to the server with a POST request using the xmlhttp or MSXML.DomDocument.2 interfaces (or the equivalent in Mozilla) Cheers - Neil Smith. -- Message-ID: <[EMAIL PROTECTE

[PHP-WIN] Re: What if there is no file?

2003-07-16 Thread Neil Smith
At 11:14 16/07/2003 +, you wrote: Message-ID: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] From: "Gabriel_k" <[EMAIL PROTECTED]> Date: Wed, 16 Jul 2003 13:14:57 +0200 Subject: Re: Newbie Q MIME-Version: 1.0 What if there is no file? Then how do you propose your PHP script is stored - by osmosis ?

[PHP-WIN] Re: php-windows Subject: How do I prevent double posts?

2003-07-12 Thread Neil Smith
deleted you should not have any problem. As for making the unique ID, using the microtime() function to get the time with miliseconds should work quite well. Stephen - Original Message - From: "Neil Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July

[PHP-WIN] Re: php-windows Digest 11 Jul 2003 19:46:14 -0000 Issue 1820

2003-07-11 Thread Neil Smith
Usually I run some javascript to set the 'disabled' attribute for the submit button, then check the attribute is set when the user trys to press the submit button again. This works in IE cause the button is actually disabled. It is not disabled in netscape, however the value dsaibleds is set. T

[PHP-WIN] Subject: Re: Forms-PHP-and-errors

2003-07-10 Thread Neil Smith
am very familiar with the server config. If you have problems on the live site, contact Lance, he's very helpful Cheers - Neil Smith. At 16:54 09/07/2003 +, you wrote: Message-ID: <[EMAIL PROTECTED]> Date: Wed, 09 Jul 2003 09:03:22 +0100 From: "jh" <[EMAIL PROTECTE

[PHP-WIN] Subject: Parse error what's this, what to do?

2003-06-20 Thread Neil Smith
Dude - do you think we're telepathic or something ? How the hell are we supposed to know what you have written on line 129 ?!?! Neil. At 08:09 20/06/2003 +, you wrote: Message-ID: <[EMAIL PROTECTED]> Reply-To: "Ildiko Nyari" <[EMAIL PROTECTED]> From: "Ildiko Nyari" <[EMAIL PROTECTED]> To: <[

[PHP-WIN] Re: Subject: Re: Subject: Re: User Authentication...

2003-06-18 Thread Neil Smith
I wouldn't even consider allowing WebDAV (DAP ?!) on my servers. Its a microshaft induced security hazard. Turn it off. Cheers - Neil. At 12:15 18/06/2003 +, you wrote: Message-ID: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Reply-To: "Guru P Chaturvedi" <[EMAIL PROTECTED]> From: "Guru P Chaturv

[PHP-WIN] Re: Subject: Re: User Authentication...

2003-06-17 Thread Neil Smith
o login using this method only should be able to access files. Are there any ways of doing this... please help me out in this regard. Thanks in advance, Guru. "Neil Smith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Try this. Please note that on windows you *cannot*

[PHP-WIN] Re: Subject: Re: User Authentication...

2003-06-16 Thread Neil Smith
ss / .htpasswd files. The function safestring just adds slashes if there are characters which need escaping for your database (some people might just 'addslashes()' but I do a little more first, like trim and htmlspecialchars). Cheers - Neil Smith. Please note : I do not accept email from

[PHP-WIN] Re: Subject: absolute include files

2003-06-14 Thread Neil Smith
I always use "./includes/blah.php" That seems to work for every top level, with includes in a subdirectory, and use "../includes/blah.php" for subdirectory off main site - I dont go deeper than that but it works fine. Hope it works out Cheers - Neil. At 19:16 14/06/2003 +, you wrote: From:

Re: Re: [PHP-WIN] how do i send a request by pressing a button

2003-06-12 Thread Neil Smith
nsfer when an ActiveX object has initialised. Cheers - Neil Smith. Subject: Re: [PHP-WIN] how do i send a request by pressing a button You have a load of options but all depend on either frames, iframes or url's or anything that has the ability to call a file from the server like flas

[PHP-WIN] Re: Subject: FOpen problems

2003-05-27 Thread Neil Smith
. Cheers, Neil Smith At 14:31 27/05/2003 +, you wrote: Message-ID: <[EMAIL PROTECTED]> Subject: FOpen problems MIME-Version: 1.0 Hi, I've been writing a basic script which grabs a remote website (mine, on another server unfortunately). It used to work fine on my previous server, but

[PHP-WIN] Re: Subject: PHP MySQL question

2003-04-06 Thread Neil Smith
new entry (but send the entry ID so you can do the update). Sorry can't be more specific, but your question was rather wooly. Cheers, Neil Smith At 23:49 05/04/2003 +, you wrote: Message-ID: <[EMAIL PROTECTED]> From: "ODCS" <[EMAIL PROTECTED]> To: "PHP Windows&q

[PHP-WIN] Re:Subject: Fw: PHP array => Javascript array :: solved

2003-04-05 Thread Neil Smith
LOL 'enthusiasm' - Sure, I think you put them off by quite rightly pointing out it would save you several hours of coding time (but cost us several hours of coding time instead :-) Hehe Anything you want to share ? I suspect cause its recursive it would be a small snippett :-) Ch

Re: [PHP-WIN] Re: Subject: PHP probs with XML docs

2003-04-05 Thread Neil Smith
</body> </html> Note this doesn't contain the <xml ... > processing instruction. Hope that's clearer. Neil. At 05:25 05/04/2003 +, I wrote: Message-Id: <[EMAIL PROTECTED]> Date: Fri, 04 Apr 2003 16:00:59 +0100 To: [EMAIL PROTECTED] From: Neil Smith <[EMAIL PROTEC

Re: [PHP-WIN] Re: Subject: PHP probs with XML docs

2003-04-04 Thread Neil Smith
According to the xhtml spec, you should be sending the doctype tags and PIs like this : http://www.w3schools.com/xhtml/xhtml_syntax.asp http://www.w3.org/1999/xhtml";> Title goes here Body text goes here Which means that you should *not* hav a PI at the top specifying xml. So, if you send

[PHP-WIN] RE : Subject: session ids

2003-04-04 Thread Neil Smith
to the browser for whatever reason. I am running php4.2.3 on w2k pro and IIS HTH Neil Smith. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Subject: PHP probs with XML docs

2003-04-04 Thread Neil Smith
Are you sending the correct DOCTYPE identifier at the start of the XHTML file ? (Or rather, *what* are you sending and what *headers* are you also sending ?) Cheers, Neil Smith. At 01:14 04/04/2003 +, you wrote: If I don't make the PHP document XHTML compliant, then the PHP document

Re: [PHP-WIN] Help with gd

2003-04-03 Thread Neil Smith
path to your actual fonts directory. ImageCopyMergeGray ($im, $imtext, 0, $newheight-22, 0,0,$newwidth,22,33); // Centre text within image : Vary left & top parameters as required. header("Content-type: image/jpeg"); ImageJPEG($im); ?> Hope that helps (it works for me :-) Cheers,

[PHP-WIN] Re:Subject: Output to Excel File

2003-04-02 Thread Neil Smith
operty 2 method 2 27.5015 42.5151 7053 All you need to work out is how to send MySQL output as a table (;-o) and remember to send the headers as above. HTH Neil Smith. At 05:26 02/04/2003 +, you wrote: > From: "

[PHP-WIN] Subject: [PHP-WIN] Simple Answer, but I can't see it....

2003-04-01 Thread Neil Smith
Very simple answer : basic HTML suggests that you don't close your form tags before the input tags. Remove the close form tag you have added immediately after the open form tag and you will see what I mean. You use dreamweaver, don't you ? Another pair of eyes is a wonderful thing ;-) Cheers,

[PHP-WIN] Re:Subject: upload question

2003-03-30 Thread Neil Smith
Err this is fairly basic stuff. Have you tried dragging the file into an open browser window instead ? Sounds like you need to learn how to set up windows file associations. I have a 'windows for dummies' book my 5yo kids use, I can lend you if its any help ? Cheers, Neil. At 03:03 30/03/2003 +

Re: Re: [PHP-WIN] Tables (might be OT)

2003-03-30 Thread Neil Smith
ellipsis $secvars["news_title"]=htmlspecialchars(substr($limitedstring,0,$lastspace))." ..."; } } // End title width limiter == Hope that's (obvious !) , Regards, Neil Smith. At 03

[PHP-WIN] Re: Subject: ISP Blues

2003-03-27 Thread Neil Smith
chine its under the PHP extensions directory. Weird ! Cheers, Neil Smith. At 21:13 26/03/2003 +, Anthony wrote: Message-ID: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] From: "Anthony Ritter" <[EMAIL PROTECTED]> Date: Wed, 26 Mar 2003 16:22:37 -0500 Subject: ISP Blues The

[PHP-WIN] Re: Subject: Error, does anyone see anything wrong?

2003-03-25 Thread Neil Smith
The problem is on a line before line 17. Probably a missing semicolon. Pls send lines 1-18 inclusive. PS this is not a group to troubleshoot basic PHP syntax errors. Thankyou. Neil Smith. At 00:17 25/03/2003 +, you wrote: Message-ID: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] From: &

[PHP-WIN] Re: Subject: Cookies

2003-03-22 Thread Neil Smith
Try looking in your C:\\Documents And Settings\username\cookies folder, then sorting the list by domain (you may be running on localhost so it would show up there) NB : Your setcookie line is broken - please check the syntax, as time()1209600 is not valid PHP! Cheers, Neil Smith. At 04:28 22

[PHP-WIN] RE: Subject: Calculationg lines of text

2003-03-20 Thread Neil Smith
and even devices (iPaq, mobile browsers, CE machines), and so its probably justified. HTH Neil Smith. At 08:13 20/03/2003 +, you wrote: -- Message-ID: <[EMAIL PROTECTED]> From: "Bobo Wieland" <[EMAIL PROT

[PHP-WIN] Re: php-windows Digest 19 Mar 2003 06:43:00 -0000 Issue 1641

2003-03-19 Thread Neil Smith
Still, good practice dontcha think ? Same with LI tags - they can be left unclosed, but it won't validate in most HTML validators (and quite rightly). At 06:43 19/03/2003 +, Matt wrote: Subject: RE: [PHP-WIN] Re:Subject: multiple selections and checkboxes No, that's XHTML that requires all t

[PHP-WIN] Re: Subject: software for Linux

2003-03-19 Thread Neil Smith
I quite like "Quanta" as an HTML editor. Comes with mandrake and I suppose most other distros. Good luck with the move, I suspect your new home will be far more comfortable with nice extras :-) Neil. At 06:43 19/03/2003 +, you wrote: Hi guys, I'm moving from Windows (HomeSite, CuteFTP, Mas

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

2003-03-18 Thread Neil Smith
Hi Toby - I can't actually fllw yr frm cs t hs n vwls n t ! However, I notice you are not closing the tag. Maybe that would help ? AFAIK, HTML requires tags to be close. HTH - My 2c Cheers, Neil Smith. At 09:51 18/03/2003 +, you wrote: /* echo(" ");

[PHP-WIN] Re: Stil having problems (WAS : Problem with links....)

2003-02-28 Thread Neil Smith
DESC LIMIT 0,n Probably. What are you actually trying to print out ? HTH Neil Smith. At 13:26 28/02/2003 +, you wrote: I'm still having problems : My query : $q = "SELECT id, computer_id, date, domain, ip, license_key, software, wm_id FROM data WHERE id IN (SELECT MAX(ID) FROM dat

[PHP-WIN] Re: Subject: Disable FTP in Win32 Binary ?

2003-02-26 Thread Neil Smith
configuration in Apache httpd.conf phpinfo() will also list the disabled functions which have been set, so your users are informed what is and is not available. Hope that helps, Regards - Neil Smith. At 06:57 26/02/2003 +, you wrote: Message-ID: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED

[PHP-WIN] Re: Subject: help! for my project...

2003-02-24 Thread Neil Smith
them, so you don't have to. You then have an index of words in the DB. Fulltext also ranks words with a threshold, so that if for example a lot of text contains the word 'the', it is given a low specificity and not returned in searches. Hope that helps Regards, Neil Smith. At 13:36 2

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

2003-02-19 Thread Neil Smith
u will be able to verify the file uploads taking place, when you see a number of files phpXX.tmp created during uploads. They may be deleted by garbage collection in normal operation. Cheers, Neil Smith. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Subject: execute before fopen?

2003-02-15 Thread Neil Smith
XPath DOM functions to walk the tree and format it that way. It would be more appropriate imho. You can always load the transformed XML into a browser and print / style it using CSS. Cheers, Neil Smith. At 12:10 15/02/2003 +, you

[PHP-WIN] Re:Subject: Need Help with Classes

2003-02-13 Thread Neil Smith
sort of error : class myClass { var $myVar; var $myVarA; var $myVarB function myClass($myVarA,$myVarB) { $this -> myVar = array("b" => 55,"c" => 66); } } That *should* work. No warranty express or implied etc etc lol Cheers, Neil Smith. At 02:2

RE: [PHP-WIN] reading lines from a file

2003-02-12 Thread Neil Smith
f possibly redundant fields. HTH - my 2cv err - 2c lol Neil Smith. At 23:59 11/02/2003 +, you wrote: From: "George Pitcher" <[EMAIL PROTECTED]> To: "Chris Kranz" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Date: Tue, 11 Feb 2003 12:25:14 - Subject

[PHP-WIN] Re:Subject: Difficult String/number fomatation plz hlp!

2003-02-04 Thread Neil Smith
array in your desired format (I have no idea what rules the 'correct form' takes - you have to write that yourself :-) Cheers, Neil Smith. At 15:15 04/02/2003 +, Bobo wrote: Message-ID: <000901c2cc35$23fbe940$9df81e0a@elstudion> From: "Bobo Wieland" <[EMAI

[PHP-WIN] Re: Subject: xml rdf and php

2003-02-03 Thread Neil Smith
is no problem. The other way to handle XML is of course with XSL - can you install Expat XSLT processor on your machine and hack around with that ? Since RDF is any old XML, you can probably find a whole bunch of XSL sheets to handle it and adapt some of those. Cheers, Neil Smith. At 01:26 03/02

[PHP-WIN] Re: Subject: print problem

2003-01-24 Thread Neil Smith
It should have read @media print { /* css print media styles here */ } Basically some of the components are supported by most browsers, some are IE specific. Look to these URLS for info : http://www.richinstyle.com/test/paged/ and http://www.aboutbabette.com/css/media.html Cheers,

[PHP-WIN] Re:Subject: printing (might be OT)

2003-01-23 Thread Neil Smith
Sure Bobo - you can use Javascript to avoid the need to store your print file , together with CSS to format the page as you like. Javascript : onclick="window.print()" That will print the window (or offer a print dialog) in IE, NN4, Nav6, Moz, Opera etc etc. For print formatting in CSS look

[PHP-WIN] Re: How to extract PHP code from php pages

2003-01-23 Thread Neil Smith
ns and the like. Could you show me how to extract php code (in ) from a php pages mixed with HTML If you want to copy somebody elses page by accesing the raw PHP then you're out of luck - PHP doesnt work like that. Cheers Neil Smith. -- PHP Windows Mailing List (http://www.php.n

[PHP-WIN] Re: Running PHP 4.3 under WIN 2000 IIS with MSSQL Server.

2003-01-23 Thread Neil Smith
t_attribute($scenes,"description")); // Get an attribute print($scenes->content); // Get the text of a node } else { print("Error : Document was not valid XML"); } So this would parse out the following description attribute from this document : Act one sc

[PHP-WIN] Re: Subject: cookies problem (FIXED)

2003-01-19 Thread Neil Smith
d any error messages (such as a warning that a variable was not yet defined etc) before sending your cookie or other headers, this would cause your symptoms. HTH Neil Smith. At 03:33 19/01/2003 +, you wrote: Message-ID: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] From: "Ed" <

[PHP-WIN] Re: Subject: Getting HTML Content as a variable

2003-01-18 Thread Neil Smith
utput : http://192.168.1.100";> or whatever the hostname is you acquired the files from. Its a standard HTML tag. That will point all absolute paths to the system root on the specified server. HTH Neil Smith. At 15:13 18/01/2003 +, you wrote: From: [EMAIL PROTECTED] To: [EMAIL PROTECTE

[PHP-WIN] Re: Subject: cookies problem

2003-01-18 Thread Neil Smith
a PHP list, you need to know your browser better in that case :-) Cheers, Neil Smith At 15:13 18/01/2003 +, you wrote: Message-ID: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] From: "Ed" <[EMAIL PROTECTED]> Date: Sat, 18 Jan 2003 09:12:09 -0600 Subject: cookies problem I

[PHP-WIN] Re: Subject: SQL-query

2003-01-17 Thread Neil Smith
lanks if required. You may have to live with this, but really, its not a problem at all :-) HTH Neil Smith. thanks in advance . bobo . www.elstudion.com . [EMAIL PROTECTED] . -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: How to allow ~user/xxx.php on Windows XP

2003-01-15 Thread Neil Smith
ublic_html.html Cheers, Neil Smith, At 09:03 15/01/2003 +, you wrote: Message-ID: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] From: "Gang Wang" <[EMAIL PROTECTED]> Date: Tue, 14 Jan 2003 21:49:40 -0800 Subject: How to allow ~user/xxx.php on Windows XP Hello, everyone: I am n

[PHP-WIN] Re: Subject: Download Script Name - Download fails (PHP4.0.5/Apache)

2003-01-13 Thread Neil Smith
e PHP manual states optional parameter 'true' after a header will replace the existing header. This doesn't seem to be working in this case on the Expires header - which I suspect of causing my 'Cannot download' problem Is this a limitation or known bug in PHP4.0.5 ? Else, I

[PHP-WIN] Re: Oops !

2003-01-11 Thread Neil Smith
At 09:10 11/01/2003 +, I wrote: Use BIGTEXT or specify a column size - do you have access to PHPMyAdmin for this Did I really say that ? Sorry, I meant LONGTEXT (thanks Toby). Duh ! Execute the MySQL command "SHOW STRUCTURE" on your databsae to get a listing of the column types which are

[PHP-WIN] Re: Subject: TEXT

2003-01-11 Thread Neil Smith
the appropriate documentation on column types :http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#Column_types Cheers, Neil Smith. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: php-windows Digest 7 Jan 2003 22:58:11 -0000 Issue 1524

2003-01-08 Thread Neil Smith
ave a mailing list which might be more appropriate to your problem. subscribe to <mailto:[EMAIL PROTECTED]?subject=subscribe>[EMAIL PROTECTED] by putting "subscribe" in the subject. describe your point or your suggestion to <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] Regards,

Re: [PHP-WIN] Fwd: Re: Subject: GD, UNICODE & RTL

2003-01-07 Thread Neil Smith
quot;result so far :".$mynewunicode.""); $mynewunicode="#".substr($mynewunicode,0,-1); // Using join, there will be a trailing # and // no required # at the start -- fix that print($mynewunicode); Then you can pass the $mynewunicode string to your TTF functions. Hope that helps Regards

[PHP-WIN] Fwd: Re: Subject: GD, UNICODE & RTL

2003-01-06 Thread Neil Smith
n, 06 Jan 2003 10:42:09 + To: [EMAIL PROTECTED] From: Neil Smith <[EMAIL PROTECTED]> Subject: Re: Subject: GD, UNICODE & RTL Cc: [EMAIL PROTECTED] Mottaghi - you might be better advised to investigate CSS for this on the browser : http://msdn.microsoft.com/library/default.asp?url=

[PHP-WIN] Re: Subject: GD, UNICODE & RTL

2003-01-06 Thread Neil Smith
nchen.de/lehre/seminar/internationalisation/02ss/reports-slides/topicH/Report.html These techniques will work in most recent browsers - IE5, NN5, Moz, Opera6 etc. They will also allow some degree of indexing by search engines. Hope that helps, Regards, Neil Smith. At 06:47 06/01/2003 +, yo

[PHP-WIN] Re: Subject: getting the OS

2003-01-03 Thread Neil Smith
a regex to extract the (Win32) or (Unix) strings for your branch / test. These variables are probably now called $_SERVER["SERVER_SOFTWARE"] under PHP > 4.2 - anybody care to confirm these results ? Hope that helps Regards, Neil Smith. At 00:42 04/01/2003 +, you wrote: PHP Wi

[PHP-WIN] Re: Subject: UDP packet

2003-01-02 Thread Neil Smith
in February. http://bugs.php.net/bug.php?id=15639 Hope it works out. Regards, Neil Smith. At 08:04 02/01/2003 +, you wrote: Message-ID: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Reply-To: "Torben Dehn" <[EMAIL PROTECTED]> From: "Torben Dehn" <[EMAIL PROT

[PHP-WIN] Re: Subject: How to use SQLServer in PHP?

2003-01-01 Thread Neil Smith
At 12:38 01/01/2003 +, you wrote: Message-ID: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] From: "Nguyen Le Vinh" <[EMAIL PROTECTED]> Date: Wed, 1 Jan 2003 19:35:51 +0700 Subject: How to use SQLServer in PHP? Hi all, I want to program some PHP pages in WinXP but I can't connect to SQLServer. Ca

[PHP-WIN] Re: Subject: Re: [PHP-WIN] C++ dll files

2002-12-27 Thread Neil Smith
register use the same with the -u option. Cheers, Neil Smith. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Subject: [PHP-WIN] Warning: Page has Expired, HELP

2002-12-27 Thread Neil Smith
This is the specified browser behaviour for forms using the POST method. It is in no way a PHP problem however. You can avoid this by specifying the GET method in the action of the form. Regards, Neil Smith. At 11:11 27/12/2002 +, you wrote: From: David [mailto:[EMAIL PROTECTED]] Sent

[PHP-WIN] Re: php-windows Digest 14 Dec 2002 22:32:58 -0000 Issue 1487

2002-12-15 Thread Neil Smith
x27;t have it I can probably forward a copy of mine - contact me off list for this (its ca 408k) Regards, Neil Smith. At 22:32 14/12/2002 +, you wrote: -- From: "Clay Culver" <[EMAIL PROTECTED]> To: <[EMAIL P

[PHP-WIN] Re: php-windows Digest 26 Nov 2002 22:04:20 -0000 Issue 1458

2002-11-27 Thread Neil Smith
Visit an ILS or LDAP server, or ICQ. http://www.fresh-toast.net does a particularly good web to ILS interface (I know, I wrote it :-) It also happens to perform video conference calls using gnomemeeting, netmeeting, cuseeme, intel video phone and MS portrait. At 22:04 26/11/2002 +, you wro

[PHP-WIN] Re: Subject: Help required... Simple File Upload

2002-11-24 Thread Neil Smith
This is common on linux but should work okay on w95/98/ME because they don't have strong security settings for directory access) Hope that helps Neil Smith. At 07:21 24/11/2002 +, you wrote: Message-ID: <[EMAIL PROTECTED]> Date: Sat, 23 Nov 2002 23:21:11 -0800 (PST) From: Raheel

[PHP-WIN] Re: Why run apache and IIS ?

2002-11-21 Thread Neil Smith
ns on IIS, using apache as a reverse-proxy for IIS. << Waits with bated breath for reasons *not* to do this - ok I venture stability, ease of use, security etc LOL Neil Smith. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Subject: String as submit

2002-11-18 Thread Neil Smith
y are you posting it to a PHP newsgroup??? Regards, Neil Smith. At 08:17 18/11/2002 +, you wrote: Message-ID: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] From: "Rodrigo San Martin" <[EMAIL PROTECTED]> Date: Mon, 18 Nov 2002 09:19:05 -0800 Subject: String as submit hi. I w

[PHP-WIN] Re: Subject: php - login and password

2002-11-16 Thread Neil Smith
the path to where you store this file instead. You *will* definitely need to read the server (apache?) documentation to do this. Come back to the list if you have problems - I have the docs somewhere but I'm rebuilding my system right now. Hope that helps Neil Smith. At 22:15 15/11/2002 +

[PHP-WIN] Re: HTML email marketing tool

2002-11-12 Thread neil smith
ant that your unsubscribe works, but usually you would need to delete any prospects who have not replied to your mail within say 1 month. If you do not do this, you *are* a spammer. Regards, Neil Smith. At 05:13 12/11/2002 +, you wrote: Message-ID: <[EMAIL PROTECTED]> Date: Tue, 12 No

[PHP-WIN] Re: Subject: mysql_fetch_array problem

2002-11-09 Thread neil smith
etc. } You can always chec a query by printing it, then cut & paste into mysql console or (better imho) insert it into the query box in phpmyadmin - you will get more useful / less cryptic information there. Hope that helps, Regards, Neil Smith. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Beware - Franco Posser is a spammer - Mailer of huge unsolicited attachments

2002-11-07 Thread neil smith
Hello List - I would just like to suggest that you blacklist Franco Pozzer on your mail filters. He just send me a 2.5 meg mailbomb, after I kindly replied to his question on dynamic fonts - so Franco you Moron , I hope you rot you tosser. Im on dialup and I pay for this you know. Re: Subject

[PHP-WIN] Re: Subject: dynamic font

2002-11-06 Thread neil smith
uot;>');<br> // Suit screen size 800px or greater<br> }<br> Obviously, you can add all sorts of styles - TD cells might have different font sizes and font families again, so in our stylesheet use TD { font-family: Verdana, Arial, Helvetica, sans-serif; font-size

[PHP-WIN] fsockopen fails if port blocked by firewall - PHP 4.0.6 / Apache / Linux

2002-11-04 Thread neil smith
ry about latency. Thanks for any help or suggestions to fix this problem, or any anecdotal evidence I can use to fix it !! Neil Smith. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Problem with php-script, possible a php.ini a fault....

2002-11-01 Thread neil smith
Hahahaha :-) An I have a problem, my php interpreter dont mak da coffee even when I shout 'brew up you bastard!' Anybody know what n prb is, plz ? Thx a million guyz LOL At 16:01 01/11/2002 +, you wrote: From: "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]> To: "Php-Windows (E-mail)" <[EMAIL

[PHP-WIN] Re: Subject: PHP and Tomcat

2002-10-31 Thread neil smith
cgi, php is invoked - then it is shut down at the end of script execution (at least on windoze) HTH Neil Smith At 01:37 31/10/2002 +, you wrote: Message-ID: <[EMAIL PROTECTED]> Date: Wed, 30 Oct 2002 14:51:51 -0500 From: "R.S. Herhuth" <[EMAIL PROTECTED]> Reply-To:

[PHP-WIN] RE : Subject: Faxing from php

2002-10-30 Thread neil smith
The service is currently free and run by a network of ISPs including Demon internet in the UK. If you are using for commercial use I recommend you speak to your ISP as many have this service available for a small fee. Regards, Neil Smith At 22:13 29/10/2002 +, you wrote: Message-ID: &l

[PHP-WIN] Re:How to prevent error email from being sent?

2002-10-29 Thread neil smith
emoniously delete the user anyway. The other way to validate is of course to send a validation link in the email such that the user is required to validate their receipt of the mail against the database - anybody not renewing their a/c in say a week, gets deleted. Cheers Neil Smith. At 07:22

[PHP-WIN] Re: Notice: Undefined variable:

2002-10-25 Thread neil smith
iables are arrays. Theres also $HTTP_POST_FILES[] which is populated when you use a file upload field in your form. You will need to read the manual more for posting files, there are a few gotchas. Good luck Neil Smith. At 02:14 25/10/2002 +, you wrote: Message-ID: <[EMAIL PROTECTED]> To:

[PHP-WIN] Re: php-windows Digest 23 Oct 2002 14:05:19 -0000 Issue 1402

2002-10-23 Thread neil smith
until you are happy with how it works - its much easier and less risky than editing the global httpd.conf file Other alternative is to add an index file which simply has an HTTP redirect to the main page of your site. Cheers, Neil Smith. == IndexIgnore directive Syntax: IndexIgnore

[PHP-WIN] Re: Subject: PHP and databases? ...without MySQL and such

2002-10-23 Thread neil smith
ueries over data storage which makes is extra good for medim size web aplications. Cheers, Neil Smith. When I get done with it I'll post it for free at www.ideablue.com (my personal site). Well, I do give thanks in advance for any help. NOTE: I think PHP is a great language and I do hope

[PHP-WIN] Re:Subject: printer_ functions...

2002-10-16 Thread neil smith
ean the printer wil advance to the next sheet). Use CSS-P to layout the page first in a recognised print unit - pt, in, mm etc. PHP should be the least of your problems with this. Cheers, Neil Smith. At 19:48 16/10/2002 +, you wrote: >Message-ID: <[EMAIL PROTECTED]> >To: [EMAIL

[PHP-WIN] Re: Subject: What do I need to do?

2002-10-05 Thread neil smith
Hi - you dont have 'team share' on your machine, its Sharepoint Team Services. The SQL server icon is in fact MSDE (microsoft data engine) which is a cut down or 'desktop' version of SQL server for smaller applications. I have worked with sharepoint & STS, and my recommendation is to avoid it &

[PHP-WIN] Re: ? (Errr... problem uploading files)

2002-09-25 Thread neil smith
e of the browse field that you gave in the forms HTML. Cheers, Neil Smith. At 00:39 25/09/2002 +, you wrote: >From: "Jose Fandos" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]>, > <[EMAIL PROTECTED]> >Date: Tue, 24 Sep 2002 19:22:14 +0100 >Mes

[PHP-WIN] Re: session under windows

2002-09-25 Thread neil smith
PHP expects you to have defined an external (script) session handling function somewhere because you have specidfied 'user' Why not change it back in your php.ini and see if it works then ? Cheers, Neil Smith. At 13:

[PHP-WIN] Re: Subject: ENCTYPE

2002-09-22 Thread neil smith
directory in a .htaccess file or global configuration? Cheers, Neil Smith At 15:00 22/09/2002 +, you wrote: >From: "Kit Kerbel" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Date: Sat, 21 Sep 2002 22:48:48 -0500 >Mime-Version: 1.0 >Content-Type: text/plain; format=flowed

[PHP-WIN] Re:Image resizing in PHP

2002-09-20 Thread Neil Smith
to receive resized image ImageCopyResized($im2,$im1,0,0,0,0,$newwidth,$newheight,$size[0],$size[1]); // Does the hard work header("Content-type:image/jpeg"); // Tell browser the next data is an image ImageJPEG($im2); // Actually output the image you just created Cheers, Neil Smith. At

[PHP-WIN] Re: run as

2002-07-09 Thread Neil Smith
s by adjusting the permissions on the file & directory on a case by case basis, not the other way around. Please tell me the address of your webserver, I wanna hack it ;-) (Actually you dont need to - somebody will probably beat me to it!) Cheers, Neil Smith. >For me, when i setup apache

[PHP-WIN] Fwd: php-windows Digest 12 Feb 2002 08:39:27 -0000 Issue 997

2002-02-12 Thread neil smith
list. foreach ($comes_from as $value) { if (ereg("^([0-9]{1,3}\.){3,3}[0-9]{1,3}",$$value,$remote_temp)) { $remote=$remote_temp[0]; // Fish out IP match if ereg returns a value }} if (! $remote) { $remote=$REMOTE_ADDR; } Regs, Neil Smith. >-Original Message- >From: Tal-ee