Re: [PHP-WIN] Need help

2007-05-07 Thread DL Neil
Gustav Wiberg wrote: > Hi there! > > Anyone experienced trouble connecting to a MSSQL - Server but not every time? > (About every third time the connection succeeds, fourth time, fitfh time and > so on ...) > > (IIS + PHP + Win2003 Server) > > > Best regards > /Gustav Wiberg Intermittent DNS

[PHP-WIN] MySQL newsgroup ?

2004-08-24 Thread neil
Does anyone know of a MySQL newsgroup (not a mailing list)? I need to ask some fairly basic questions. Thanks Neil -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] using the mail function in php

2004-08-18 Thread neil
Hi Justin I'm not sure I appreciate the aggro. I am new to .php and so this is a learning exercise for me. THERE IS NO SLASHES in the data being submitted so obviously something is putting them in. So again thank you for your help - the stripslashes did work. Neil "Justin Patri

Re: [PHP-WIN] using the mail function in php

2004-08-18 Thread neil
Thanks Lenny The stripslashes worked. I didn't think to use it as there was no slashes to strip. But since it puts it in they need to be removed. Neil "Lenny Davila" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Try using the strip slashes http://us3

[PHP-WIN] Re: include_path and relative vs. absolute paths

2004-08-17 Thread neil
Thanks John That is a great solution, well at least for my development box where I can control my php.ini. The jokers who host one of the sites I look after have the include_path pointing to a non-existent place and won't modify it. Thanks anyway Neil "John Lim" <[EMAIL PR

[PHP-WIN] replying to the news group

2004-08-16 Thread neil
I thought that when people had answers to questions it was protocol to answer to the newsgroup? I seem to be getting quite a number of direct emails rather than through the news group. Neil -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] include_path and relative vs. absolute paths

2004-08-16 Thread neil
olders specified. Does anyone know another way of dealing with this? Thanks Neil -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] using the mail function in php

2004-08-14 Thread neil
; I get this: page title http://somwhere.com/images/something.jpg\"; border=\"0\" width=\"300\" height=\"200\" alt=\"\"> Any ideas? Thanks Neil -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] multiple SQL commands using mysql_query in php

2004-08-06 Thread neil
;blah' I can't see how I can do that with mysql_query in PHP with mysql Thanks Neil -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Subject: selecting and updating fields

2003-10-12 Thread Neil Smth
$query="INSERT INTO url (url,nrviews) VALUES ('$url',1); } mysql_query($query); This gets the one or zero rows which conatin the unique URL, and does a second query which either updates the existing row by one hit, or inserts a new row with a value of 1 hit. Cheers - Neil Smith

[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

[PHP-WIN] Re: Subject: date question

2003-08-11 Thread Neil Smith
are trying to do this. You may as well calculate a days worth of seconds and add that to the value which is returned from the SQL. Many other (better) ways exist using SQL to do what you want and they are all well documented. Cheers - Neil. At 16:46 11/08/2003 +, you wrote: Message-I

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

2003-08-10 Thread Neil Smith
ER BY city to get a summary of people in each city. Much simpler, isn't it ? ;-) I would definitely go with SQL for address data, you can get complex breakdowns of data with almost no re-programming, and this sort of data is made for a database ! Cheers - Neil. I do not accept mail from

[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
error code ? Please supply the source file so we can verify it is valid and / or well formed. Cheers - Neil. At 21:16 22/07/2003 +, you wrote: Message-ID: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] From: "BlackZ" <[EMAIL PROTECTED]> Date: Wed, 23 Jul 2003 00:52:59 +060

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

2003-07-21 Thread Neil Smith
need for javascript or odd server side delays (which cannot do what you want in any case). Cheers - Neil. At 12:58 21/07/2003 +, you wrote: what I need is for page 1 to show up then after the time out the window clear and have page 2 show up. I can get them to both show up at the same time in

[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
server telling them what they already know (that they have a twitchy trigger finger :-) Cheers - Neil. At 09:44 12/07/2003 +, you wrote: Message-ID: <[EMAIL PROTECTED]> From: "Stephen" <[EMAIL PROTECTED]> To: "Windows Helplist \(PHP\)" <[EMAIL PROTECTED]>

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

2003-07-11 Thread Neil Smith
ds is set. Therefore, checking if submit.disabled=true allows you to trap this. Return 'false' to your form submit code and the form will not submit again. HTH Cheers - Neil. At 19:46 11/07/2003 +, you wrote: From: "Matt Babineau" <[EMAIL PROTECTED]> To: <[EMAIL P

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

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

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

2003-06-17 Thread Neil Smith
n etc. Hope that helps, if not, I can program this sort of solution at very reasonable rates ;-)) Cheers - Neil. At 08:35 17/06/2003 +, you wrote: Message-ID: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Reply-To: "Guru P Chaturvedi" <[EMAIL PROTECTED]> From: "Guru

[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 +0

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
if you send a header with content-type of xml but leave out the PI a the top of the document, what happens ? (NB : PHP will send content type text/html unless you specify otherwise ) Hope that helps Neil. At 09:08 04/04/2003 -0500, you wrote: In a message dated 04/04/2003 09:09:05 GMT Stand

[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
-) Cheers, Neil. ! ?> More HTML etc... When the submit button is pressed the nothing happens. Tryst -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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

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 (Ho

[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
l around for a while and you avoid PHP entirely. Use the force wisely, Luke :-) Cheers, Neil. At 16:16 23/01/2003 +, you wrote: Message-ID: <001601c2c2c0$bba8dab0$9df81e0a@elstudion> From: "Bobo Wieland" <[EMAIL PROTECTED]> Hi! I'm sorry if this is OT but I real

[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
which are currently in use. And that ? I meant SHOW CREATE TABLE tablename Err, bad brain day :-) Sorry, Neil. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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
Oops - missed a bit : Look here for mozilla information and examples on bi directional text: http://www.langbox.com/bidimozilla/ Also check "text-kashida-space" and "writing-mode " here : http://www.georgehernandez.com/xWebs/CSS/CSSAttributes.htm regards, Neil. Date: Mo

[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

Re: [PHP-WIN] Starnge parse problem

2002-12-10 Thread DL Neil
Hi George, Imbalance of { - I think the first one/after the for! =dn > Hi guys, > > I am starting to build a calendar. I know that there are resources out there > but I want to learn, so I'm starting from scratch. > > I've got my thinking this far and I've hit an unexpected snag. > > When I cal

[PHP-WIN] Re: [PHP] mail() problems...

2002-12-07 Thread DL Neil
} > $msg = "E-MAIL SENT FROM WWW SITE\n"; > $msg .= "Sender's Name:$sender_name\n"; > $msg .= "Sender's E-Mail: $sender_email\n"; > $msg .= "Message: $message\n\n"; > $to = "[EMAIL PROTECTED]"; > $s

[PHP-WIN] Re: [PHP] mail() problems...

2002-12-06 Thread DL Neil
> Sorry to be a pain... but using either: > the address of my outgoing mail server > or > localhost > still gives me: > Warning: Failed to Connect in c:\program files\apache > group\apache\htdocs\send_simpleform.php on line 19 Did you restart Apache after changing PHP.INI? Please post the mail()

Re: [PHP-WIN] Includes not working on W2K

2002-12-06 Thread DL Neil
Ed, > Dl, I tried that and it's still not happening. What else could you > reccommend checking? Is there any way that I can take the guess work out of > this? Here's what my dev system has: include_path = ".;C:\Documents and Settings\Administrator\My Documents\WebWork\Code\Includes" Hope it he

Re: [PHP-WIN] Re: [PHP] mail() problems...

2002-12-06 Thread DL Neil
Anthony, > I have quoted her exactly from her book where it says: > > Windows Users: > > **Check your php.ini File** > > She then writes what I previously posted. > That's it. She offers no alternatives. Not true - you've bamboozled yourself somehow. You quoted Julie: "1. For the SMTP entry, us

Re: [PHP-WIN] Includes not working on W2K

2002-12-06 Thread DL Neil
Ed, > Still no luck with this. My include path in the php.ini is set to: > include_path = ".;\c:\php\includes" and I have the includes directory in the > above listed location. Any ideas? you don't want the first \ - before the c:\etc path Regards, =dn -- PHP Windows Mailing List (http://www.

[PHP-WIN] Re: [PHP] mail() problems...

2002-12-06 Thread DL Neil
Anthony, > The PHP mail scripts were taken from Julie Meloni's book on PHP called "Fast > and East" on pp. 116-117. (PrimaTech). > In fact, she writes: > "If you're using PHP4 on Windows, look for the following lines in your > php.ini file: > 1. For the SMTP entry, use 'localhost" or the name of t

[PHP-WIN] Event Viewer Entries

2002-12-05 Thread DL Neil
PHP v4.2.3 with Apache 1.3.24 under Win2000 Prof SP2 Logging PHP errors: PHP.INI> log_errors = On Errors are duly logged to Win2000 Application Log as: The description for Event ID ( 2000 ) in Source ( c-client ) cannot be found. The local computer may not have the necessary registry information o

Re: [PHP-WIN] Windows 2000, XP and ME difference

2002-12-04 Thread DL Neil
Jim, > I am running PHP and MySQL on the following platforms;Windows 2000, XP and > ME and I am finding that the same code does not work. Can some one please > explain this to me? > It fails on the connect string every time. Is there a reason for this? > > Windows 2000 = No work > XP = No work > M

Re: [PHP-WIN] data format..

2002-12-03 Thread DL Neil
Hi Sands, I have a PHP - MySQL site on one hand and various types of clients .. mean to say, I hv clients who need the data in the MySQL db supplied to them in MS Access, Excel, Dbase formats such that they can integrate the data directly into their existing type of database. for Excel, I can pro

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

2002-11-27 Thread Neil Smith
wrote: Message-ID: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Reply-To: "mst" <[EMAIL PROTECTED]> From: "mst" <[EMAIL PROTECTED]> Date: Tue, 26 Nov 2002 15:56:23 +0100 Subject: Users on line How i can check who is on line? mst Regards, Neil << Baff

Re: [PHP-WIN] Another Newb PHP question

2002-11-25 Thread DL Neil
gt; my navbar was incorrectly coded? > > > "Dl Neil" <[EMAIL PROTECTED]> wrote in message > 0fc601c29479$c039ead0$c900a8c0@jrbrown">news:0fc601c29479$c039ead0$c900a8c0@jrbrown... > > Ok Joe, > > So you want someone to write your homework for you? >

Re: [PHP-WIN] Another Newb PHP question

2002-11-25 Thread DL Neil
Ok Joe, So you want someone to write your homework for you? This is an HTML issue. We normally think of a single web page occupying a while window. With frames this changes. Each frame is basically a single HTML page, and the framework allows multiple HTML pages to appear within a single window. Ea

[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

  1   2   >