[PHP] Lookin For Programmer

2001-05-19 Thread nicholas
Hmmm anyone looking to join me in making a bb called BestBoard? email me at [EMAIL PROTECTED] not thru the list! (note if these are not supposed to go on this list 1 flame will be suffiecent thanks!) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

[PHP] undo htmlspecial

2001-05-20 Thread Nicholas
x27;>', $string); $string=str_replace('<', '<', $string); $string=str_replace('&', '&', $string); return $string; } } - -- Best regards, Nicholas m

Re: [PHP] unsubscribe leblanc+php@acadia.ne.mediaone.net

2001-05-22 Thread Nicholas
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 Hello Louis, gotta email that to the unsubscribe list... (at bottom of all msgs) This In Reply to what you wrote on Tuesday, May 22, 2001, 4:05:26 PM, Which Was LL> unsubscribe [EMAIL PROTECTED] - -- Best regards, Nicho

[PHP] CVS problem

2001-05-22 Thread Nicholas
..) - -- Best regards, Nicholas mailto:[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: 2.6 iQCVAwUAOwrO4LovzXm8USdPAQFS4wQA6EEl0udtH4dZ/yCh6OPn8uvvrHgjXaY5 BdRHVynpfasPrazAKZpkxqsAPSqGvmaEUQJcyMXnXJSgGic+ujk3bCoPY0ZLrWGs JIiYX5QogQ9m7ZkggakMvSP0pUxkpZ3L1qyyC3/pBp4usD/ebEKh

[PHP] Form Validating Class (OOP misunderstandings...)

2003-01-21 Thread Nicholas Wieland
lit it in some others accessor methods, for a better design. Now I'm totally lost, I don't have a clue how to continue, I've tried for hours and hours to make it work, but didn't succeed :( Any suggestion on improving and other enhancment for a good form validating class is really really appreciated. TIA, Nicholas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Form Validating Class (OOP misunderstandings...)

2003-01-21 Thread Nicholas Wieland
tle paranoid about form validating and user input... does someone have other suggestions about improving the class ? TIA, Nicholas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Form Validating Class (OOP misunderstandings...)

2003-01-21 Thread Nicholas Wieland
4.2.2 on my GNU/Linux Box but I have PhP 4.0.6 on the production machine, AFAIK $_POST is a 'feature' of PhP 4.1.x ... Thanks for your help, I'll try to be more accurate next time... Nicholas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] function problem

2003-02-14 Thread Nicholas Wieland
your script at the moment, so it's just a supposition... Hope it helps, Nicholas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] permissions to work with fopen

2003-02-15 Thread Nicholas Wieland
to your web server user. Cheers Nicholas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sessions GET vs. Cookies

2003-07-27 Thread Nicholas Robinson
Hi First time on the list and this may be a silly question. I'm developing a site that uses sessions. I have enabled cookies and checked that a valid cookie with the appropriate session id is being set. However, I've noticed that links in my pages are getting the sessionid added as a GET parame

Re: [PHP] Sessions GET vs. Cookies

2003-07-27 Thread Nicholas Robinson
Many thanks, that's fixed it! On Sunday 27 Jul 2003 10:42 pm, Chris Shiflett wrote: > --- Nicholas Robinson <[EMAIL PROTECTED]> wrote: > > I've noticed that links in my pages are getting the sessionid > > added as a GET parameter. > > The session.use_trans_sid

Re: [PHP] $_GET['sort'] & argument separator

2003-07-28 Thread Nicholas Robinson
What happens if you use a non-breaking html space instead? I.e Eval # HTH Nick On Monday 28 Jul 2003 9:06 am, Ow Mun Heng wrote: > Hi, > > I have this problem, which could easily be solved through a name > change but I would like to learn more. > > There's a table set up from a MySQL query

Re: [PHP] List Problems

2003-07-28 Thread Nicholas Robinson
I've been getting them too. The really annoying bit is that the most likely reason for it is that the lucky devil hanmir is probably on holiday! On Monday 28 Jul 2003 6:26 pm, Curt Zirzow wrote: > Any body else getting a message back with subject like: > [ERR] Re: [PHP] subject of message. > >

Re: [PHP] Parsing MySQL query return

2003-07-28 Thread Nicholas Robinson
If you assume either \n or \n\n as the para delimiters then you could use strpos (see function.strpos.html) to work out where to split the text. If the text field contents are huge, you might consider limiting the query results by using left( field, size ) in the query. KR N On Monday 28 Jul

Re: [PHP] Parsing MySQL query return

2003-07-28 Thread Nicholas Robinson
It occurred to me after my first reply that you might be able to do something in mysql. This works (given my earlier assumptions): select left( paras, if ( locate( '\n', paras ) = 0, length( paras ), locate( '\n', paras ))) ... It will work with \n\n as well. N On Monday 28 Jul 2003 7:57 pm,

Re: [PHP] Apache logs to keep $_POST values

2003-07-29 Thread Nicholas Robinson
Probably better to shell a command to write to the system log - I don't think PHP can do it directly. This would nott be subject to the contention problems you cite in writing to either an apache log or a dedicated log. HTH Nick On Tuesday 29 Jul 2003 8:36 pm, Jay Blanchard wrote: > [snip] > I

Re: [PHP] MySQL query/PHP logic?

2003-07-29 Thread Nicholas Robinson
Don't know whether it's just because it's late at night here in the UK or whether I'm being a bit dim, but wouldn't it be much, much easier to store all the data in your non-main tables in a single table and distinguish the type of data (i.e. fof, pub, gov, etc) by a field. This would simpli

Re: [PHP] Search in PhP

2003-07-30 Thread Nicholas Robinson
Try running a exec() running a grep command on your DocumentRoot. something like 'grep -ril fred * would just produce the filenames containing fred or -ri would display the context. You could then produce links to the files from the resulting output. HTH On Wednesday 30 Jul 2003 10:51 am, khu

Re: [PHP] Location header - slow redirect

2003-07-30 Thread Nicholas Robinson
try putting this after the header: echo ""; It forces the redirect to take place immediately (in most cases!). HTH On Wednesday 30 Jul 2003 11:53 am, admin wrote: > I'm using the following short script to redirect users to another page > on my site (php 4.3.2, Apache 2.0.47). > > $goLang='en';

Re: [PHP] Mysql query and PHP loops

2003-07-31 Thread Nicholas Robinson
I think this does what you want. You can probably extend it to do the final check for val3 vs. val2 select distinct t1.val1, max( t1.id ), t1.val2 from table as t1, table as t2 where t1.val2 <= t2.val2 group by t1.val1; HTH On Thursday 31 Jul 2003 3:22 pm, Petre Agenbag wrote: > Hi List >

Re: [PHP] Mysql query and PHP loops

2003-08-01 Thread Nicholas Robinson
04 am, Nicholas Robinson wrote: > I think this does what you want. You can probably extend it to do the final > check for val3 vs. val2 > > select distinct t1.val1, max( t1.id ), t1.val2 from table as t1, table as > t2 where t1.val2 <= t2.val2 group by t1.val1; > > HTH > &

Re: [PHP] Redirect to HTTPS

2003-08-01 Thread Nicholas Robinson
It might also be worth making sure that your web server is configured to force https on this page if this is what you want. Otherwise a user could type the URL in without the HTTPS and still get the page. On Friday 01 Aug 2003 9:20 am, [EMAIL PROTECTED] wrote: > I have a stupid question. > > I

Re: [PHP] Insidious!

2003-08-07 Thread Nicholas Robinson
Could this have anything to do with our being registered as spammers? On Wednesday 06 Aug 2003 9:59 am, [EMAIL PROTECTED] wrote: > Do you recall during the height of the War in March? > I posted a simple joke - got one (positive) reply before getting kicked off > the list by Mr Lerdorf himself. >

Re: [PHP] easier than switch

2003-08-09 Thread Nicholas Robinson
As, in this case, only one of the variables is non-null, then you could use the string concatenation operator and this would return what you want. i.e. type = $_POST['news'] . $_POST['dreams'] . $_POST['storys']... I think I've used the same variable name in different forms on the same page, as

Re: [PHP] Problem occurs when included file includes anther file.

2003-08-09 Thread Nicholas Robinson
You can set the path(s) in php.ini Edit the file and search on 'include' HTH Nick On Friday 08 Aug 2003 6:38 am, CaiYongzhou wrote: > The directory structure is as follows: > / > > |-- demo.php > |-- inc/ > | > |-- inc1.php > |-- inc2.php > > === file demo.php == > require 'inc/inc1.ph

Re: [PHP] Stop neurotic posting

2003-08-10 Thread Nicholas Robinson
Andu's right. I've left several lists in the past, not because of people listing questions where they should have read the manual first, but because I couldn't stand the sad b**ds who get their kicks by belittling people with less knowledge but more manners than themselves. I've actually le

Re: [PHP] Stop neurotic posting

2003-08-11 Thread Nicholas Robinson
I don't have time for speculative research and I'm not going to apologise for it. By answering a few queries of a technical nature, helpfully and constructively without recourse to rude TLA's and FL:A's (and not having to defend my modus operandi), I feel I earn the odd tasty morsel lobbed in

Re: [PHP] Problem occurs when included file includes anther file.

2003-08-11 Thread Nicholas Robinson
ooops, sorry, ignore my last post, I must get larger text on my screen! Missed the .: element of your path! Can you confirm that this file is a replacement for demo.php? "Problem occurs when the code is like this " If so, then it won't find it because you haven't include ./inc in your include

Re: [PHP] logging of mail() function?

2003-08-14 Thread Nicholas Robinson
I use a bcc to a specific email account. Not pretty but it works. Here's a snippet: /* To send HTML mail, you can set the Content-type header. */ $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-15\r\n"; /* additional hea

Re: [PHP] Validate The Last Day of Month with server's clock????

2003-08-14 Thread Nicholas Robinson
The 'usual' trick is to set the date to the first day of the month after the one you want and then subtract one day. HTH Nick On Wednesday 13 Aug 2003 8:00 pm, Scott Fletcher wrote: > Hi! > > Here's a trick script. We know that some months have the last day > which is 30 while other is 31.

Re: [PHP] Background process

2003-08-14 Thread Nicholas Robinson
Are you sending a after the re-direct to ensure your browser loads the page as soon as possible rather than delaying? If not, this could appear that it isn't re-directing until the script starts. On Wednesday 13 Aug 2003 8:21 pm, Jackson Miller wrote: > I have a script that starts a background

Re: [PHP] Validate The Last Day of Month with server's clock????

2003-08-17 Thread Nicholas Robinson
And the reason I quoted 'usual' is that my suggestion is more portable. On Thursday 14 Aug 2003 11:54 am, Ford, Mike [LSS] wrote: > On 13 August 2003 20:05, Nicholas Robinson wrote: > > On Wednesday 13 Aug 2003 8:00 pm, Scott Fletcher wrote: > > > Hi! > > >

Re: [PHP] File upload + permissions + .htaccess in php

2003-08-22 Thread Nicholas Robinson
I've had this problem twice recently. Once it was because I'd foolishly moved a script that used relative pathnames. The result was that I was trying to access a file outside the DocumentRoot and it didn't matter what the permissions on the file were, it wasn't trying to open that one at all!

Re: [PHP] Clean Up the sand box time

2003-08-23 Thread Nicholas Robinson
On Friday 22 Aug 2003 10:26 pm, John Taylor-Johnston wrote: > This is my favourite question. Can I clean up my 'if then' statements a > tad? Must be a cleaner way? > Still learning, still having fun :) > Thanks, > John > > $news = mysql_query($sql) or die(print > "document.write(\"".mysql_error().

[PHP] Quick Question

2002-07-24 Thread Nicholas Mercier
w which would be better for this purpose or what the main difference is in terms of quality and run time. Any comments or assistance is gladly welcome. Thank you in advance for your time, Nicholas D. Mercier -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Image Resizing

2002-07-25 Thread Nicholas Mercier
Okay. Unless I failed a math course in high school (which is possible) I think my formulas are sound. However I'm having issues with this code. The Intended result: Take any image larger then 180x200 (WxH) and resize it proportionally so it fits within 200x180. What I'm getting, exactly what

[PHP] Follow Up

2002-07-25 Thread Nicholas Mercier
Okay, I somehow fixed it. But to make sure I am clear on this ImageSY Will give the vertical height of an image and ImageSX will give the width? Sorry to spam with such a stupid mistake... Me. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

Re: [PHP] image function

2002-08-13 Thread Nicholas Mercier
At 09:50 PM 8/12/2002 +0800, you wrote: Jay, I would recommend uncommenting the php_gd2.dll extension. Gd2 contains some functions that GD lacks and is over all better in my opinion. However, they are correct that you do NOT need to recompile when running PHP on a Windows Platform. Simply chan

Re: AW: [PHP] image function

2002-08-13 Thread Nicholas Mercier
At 03:37 AM 8/13/2002 +0200, you wrote: Hey there, I created a set of scripts that did basically what you are looking to do. THINGS TO CHECK: 1. You may have a problem if you uncommented both DLL files. Apache will complain when it tries to load two libraries with the same functions in them.

Re: [PHP] security login

2002-08-13 Thread Nicholas Mercier
At 04:12 PM 8/12/2002 +0100, Pag wrote: Here is my humble, but relatively effective solution for a low security site. Create a file called security.php and require it at the head of every secure page. This is the one I use. You are not logged in. Please do so."; echo "Login Here";

Re: [PHP] Variable naming standards???

2002-08-13 Thread Nicholas Mercier
My two cents, I think if you are working on a personal product you use what works for you. If working in a group find out or decide as a group what standards to use. The hungarian standards are well designed, but I've seen others that work as well. When posting data from a from to another s

Re: AW: [PHP] image function

2002-08-13 Thread Nicholas Mercier
cause they aren't implemeted too. > >Please look at this Library. It's very nice but I don't get it working and >the guy who made it don't know either, why it's not working on my system. >Must be something about jpeg librarys and so on. > >Schura > >

[PHP] PHP and Jigsaw

2002-07-15 Thread Murray Nicholas
Enabled, I get two lines on the page and the same two lines (without html tags of any sort) in "view source" display: X-Powered-By: PHP/4.2.1 Content-type: text/html At this point, my php script file contains only php commands - no html. Any clues? Murray Nicholas -- PHP General M

[PHP] Re: PHP and Jigsaw

2002-07-16 Thread Murray Nicholas
renamed to php and stays that way. The Jigsaw server, however, does still respond to JigAdmin commands and can be stopped correctly. Ummm Murray Nicholas -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 16 July 2002 15:13 To: [EMAIL PROTECTED] Subje

Re: [PHP] Gripe^2 [was Gripe]

2003-08-30 Thread Nicholas Robinson
You could equally ask why we get plagued with silly strap lines like "I used to think I was indecisive, but now I'm not so sure." HTH On Saturday 30 Aug 2003 3:54 am, Curt Zirzow wrote: > Why do people insist on using their work address so we are plagued > with privacy notices and autorespond's

Re: [PHP] MySQL Left Join Question

2003-09-02 Thread Nicholas Robinson
I'm not clear whether you are saying you get the records where there is a match and no non-matching records, or simply no records at all! What happens if you take out the WHERE clause, do you get all the records from p being displayed with NULLs for c.projectid where no match exists? Nick On

Re: [PHP] TIME

2003-09-02 Thread Nicholas Robinson
Not directly as far as I know. Try using chronyd or similar (google will point you in the right direction). This works well with one of my machines that has a wayward clock and chronyd is happy to work with networks not permanently connected to the internet. On Tuesday 02 Sep 2003 1:11 am, Dale

Re: [PHP] mysql query

2003-10-03 Thread Nicholas Robinson
DESC is a reserved word (used to indicate a DESCending ORDER bY). N On Friday 03 Oct 2003 11:17 am, Cameron Metzke wrote: > ok im stumped lol i have used this code in the past to insert data into > mysql (im relitively new though) > --code > mysql_query("INSERT INTO Images (Image, des

Re: [PHP] SQL Query OT question for the experts :)

2003-10-17 Thread Nicholas Robinson
The following works in MySQL, but obviously (and unlike your client!) you'll want to do this on a copy of the table first... update londonhotelsallphotos set Number = ( if (@hi != HotelID, @line := 1, @line := @line + 1)), HotelID = (@hi := HotelID) Note that if you run this query more than onc

Re: [PHP] Is anybody else getting these??

2003-10-20 Thread Nicholas Robinson
I'm feeling left out, I'm not getting any of these. Haven't done since I blocked Hanmir. On Monday 20 Oct 2003 4:11 pm, John Nichel wrote: > Does [EMAIL PROTECTED] need to be removed from the list, or is it > just me? > > Original Message > Subject: Returned mail: see transcript

Re: [PHP] Using cookies

2003-10-21 Thread Nicholas Robinson
If we're into analogies, how about a cookie containing username/password being much the same as leaving the keys to the house under your doormat? If someone knows that this is a common practice, they can find them and gain access to your house. As I understand it (and I am not a lawyer) the la

Re: [PHP] Age from birthdate?

2003-10-23 Thread Nicholas Robinson
Yes, but think about all the presents, hangovers, etc. they miss. On Thursday 23 Oct 2003 2:12 am, Mike Migurski wrote: > >> >I do wonder what the rule for those born on Feb 29'th. Do they > >> >celebrate they're birthday before or after it on non leap years? > >> > >>Neither. They celebrat

Re: [PHP] Age from birthdate?

2003-10-23 Thread Nicholas Robinson
Oh, you're such a pedant. On Thursday 23 Oct 2003 9:08 pm, Ryan A wrote: > Now HERES a good PHP related thread thats been going on for around 2 > days...:-D > > >Yes, but think about all the presents, hangovers, etc. they miss. > > On Thursday 23 Oct 2003 2:12 am, Mike Migurski wrote: > > >> >I do

[PHP] preg_replace pain!

2001-01-17 Thread Nicholas Pappas
I was hoping someone could help me with this regular expression... $pattern = "/\[b\](.*)\[\/b\]/Ui"; $message = preg_replace($pattern, "\\1", $message); The above works for: [b]bold text[/b] But does not work for: [b]bold text w/

[PHP] Warnings w/ !$var!?

2001-04-20 Thread Nicholas Pappas
I just installed PHP4 on a Windows 2000 box (tried it both as CGI and ISAPI) and am getting a very annoying behavior from it, that I do not see on my installation in Linux. When I check a variable (say, in a if() statement) via !$var, I get a Warning message printed saying that

Re: [PHP] PHP/CGI Help

2001-03-22 Thread Nicholas Marouf
criptAlias /src, Apache will handle every > > file called in that directory as if it were a perl /cgi program. > > > > I need to be able to have apache execute the .cgi and .php files in > > /src > > Any ideas on how to make Apache differentiate between the two. > >

[PHP] attachments

2001-08-21 Thread Nicholas Thompson
I am currently using an e-mail page that supports uploads, but does anyone know how to get the attachment to actually attach to the message? (perhaps even upload it to other mail servers like yaho) Uploading to my server is fine, but when I send messages with attachments and check my mail th

Re: [PHP] newbie question regarding URL parameters

2007-01-05 Thread Nicholas Yim
Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php > > = = = = = = = = = = = = = = = = = = = = Nicholas Yim [EMAIL PROTECTED] 2007-01-06 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Arrays?

2007-01-07 Thread Nicholas Yim
possible to >sort stuff the way I need here while reading it from DB. > >Thanks >-Will > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php > > = = = = = = = = = = = = = = = = = = = = Nicholas Yim [EMAIL PROTECTED] 2007-01-08 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Storing values in arrays

2007-01-17 Thread Nicholas Yim
, but plagiarism is faster! >- Smile, everyone loves a moron. :-) > >- >It's here! Your new message! >Get new email alerts with the free Yahoo! Toolbar. = = = = = = = = = = = = = = = = = = = = Nicholas Yim [EMAIL PROTECTED] 2007-01-18 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] First Character In A String

2007-01-21 Thread Nicholas Yim
ich I can use to make $forename "A", so I can display >it as A SMITH? $forename[0].' '.$surname > >Thank You In Advance > just like an array = = = = = = = = = = = = = = = = = = = = Nicholas Yim [EMAIL PROTECTED] 2007-01-21 -- P

[PHP] how to insert clog into oracle

2007-01-29 Thread Nicholas Yim
Hello php-general, either pdo nor oci example is ok. thx Best regards, Nicholas Yim [EMAIL PROTECTED] 2007-01-29 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Pwersistent Queue

2007-02-01 Thread Nicholas Yim
>Location: Pune , India >Contact: +91-9890792762 >otherID: [EMAIL PROTECTED] > [EMAIL PROTECTED] > = = = = = = = = = = = = = = = = = = = = Nicholas Yim [EMAIL PROTECTED] 2007-02-01 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] base64-encoding in cookies?

2007-02-07 Thread Nicholas Yim
27;s >$ENV{'HTTP_COOKIE'}. i.e., the perl cookie contains the original '+'. >Does anyone know how to make php (v5.1.5) do the right thing with base64 >encoded cookies? > >Thanks >Fletcher > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscri

Re: [PHP] Predefined Classes in PHP5

2007-02-09 Thread Nicholas Yim
> >Any tips? > >Jim Lucas > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php > > = = = = = = = = = = = = = = = = = = = = Nicholas Yim [EMAIL PROTECTED] 2007-02-09 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Eregi error

2007-03-01 Thread Nicholas Yim
use.net/MeetMyMate/Bin/Debug/function.eregi>]: >REG_ERANGE in *[File Location]* on line *287 > >*Any ideas what might cause this? Googling REG_ERANGE only showed more >questions. > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.p

Re: [PHP] Monitoring download, detecting completion?

2007-03-08 Thread Nicholas Yim
PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php > > = = = = = = = = = = = = = = = = = = = = Nicholas Yim [EMAIL PROTECTED] 2007-03-08 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] stream_get_contents() quite slow

2007-03-12 Thread Nicholas Yim
s. > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php > > = = = = = = = = = = = = = = = = = = = = Nicholas Yim [EMAIL PROTECTED] 2007-03-13 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Log Lib Recommendation

2007-03-18 Thread Nicholas Yim
> >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php > > = = = = = = = = = = = = = = = = = = = = Nicholas Yim [EMAIL PROTECTED] 2007-03-19 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP DOM saveHTML outputs entities

2007-03-21 Thread Nicholas Yim
bscribe, visit: http://www.php.net/unsub.php > > = = = = = = = = = = = = = = = = = = = = Nicholas Yim [EMAIL PROTECTED] 2007-03-21 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Imagick::newPseudoImage function

2010-08-17 Thread NICHOLAS KLINE
Anyone out there using the Imagick::newPseudoImage function to create radial gradient images? The documentation at http://us.php.net/manual/en/function.imagick-newpseudoimage.php is lacking. When I try using Imagick::newPseudoImage to create a radial gradient, this error appears in the Apache HTTP

Re: [PHP] Character encoding hell

2010-10-26 Thread Nicholas Kell
On Oct 26, 2010, at 10:56 AM, Marc Guay wrote: > Hi folks, > > I've got a problem with character encoding that's threatening to kill > my little brain. Here we go: > > I have a directory with a bunch of PDFs in it that my webpage displays > links to. All of the files have the french character

Re: [PHP] Character encoding hell

2010-10-26 Thread Nicholas Kell
On Oct 26, 2010, at 11:38 AM, Marc Guay wrote: >> Are you using UTF-8? > > Could you be more specific? Do you mean in the browser/php header or > in the filesystem? I created the file on a Windows machine, > transferred them to a Linux machine, and the encoding of the page is > UTF-8. > > I j

Re: [PHP] Character encoding hell

2010-10-26 Thread Nicholas Kell
On Oct 26, 2010, at 12:00 PM, Marc Guay wrote: > Again, if it helps, a link formatted in the same way to the same file > links correctly on a windows machine. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > A windows server, or w

Re: [PHP] Documentation

2010-10-27 Thread Nicholas Kell
On Oct 27, 2010, at 4:09 AM, Tommy Pham wrote: >> -Original Message- >> From: Jordan Jovanov [mailto:jovanovj...@gmail.com] >> Sent: Wednesday, October 27, 2010 1:53 AM >> To: php-general@lists.php.net >> Subject: [PHP] Documentation >> >> Hello All, >> >> I finished with coding and now

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-01 Thread Nicholas Kell
On Nov 1, 2010, at 11:44 AM, crrr errr wrote: > Yes, the phpinfo() shows that sockets are enabled in both machines. > On Mon, Nov 1, 2010 at 12:43 PM, Bastien Koert wrote: > >> On Mon, Nov 1, 2010 at 12:40 PM, crrr errr >> wrote: >>> Hello, >>> >>> I was trying to create a soc

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-01 Thread Nicholas Kell
On Nov 1, 2010, at 12:08 PM, crrr errr wrote: > Yes, the http ( Apache user) has rl ( read permission) on the php file with > sockets code in it. I think write access is unnecessary for Apache user. > > On Mon, Nov 1, 2010 at 12:50 PM, Nicholas Kell wrote: > > On

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-01 Thread Nicholas Kell
On Nov 1, 2010, at 12:08 PM, crrr errr wrote: > Yes, the http ( Apache user) has rl ( read permission) on the php file with > sockets code in it. I think write access is unnecessary for Apache user. > > On Mon, Nov 1, 2010 at 12:50 PM, Nicholas Kell wrote: > >>

Re: [PHP] PHP sockets enabled but socket_create() gives an error callto undefined function

2010-11-01 Thread Nicholas Kell
t. I think write access is unnecessary for Apache user. >> >> On Mon, Nov 1, 2010 at 12:50 PM, Nicholas Kellwrote: >> >>> >>> On Nov 1, 2010, at 11:44 AM, crrr errr wrote: >>> >>>> Yes, the phpinfo() shows that sockets are enab

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-01 Thread Nicholas Kell
Is it required to be included only in Solaris? > > On Mon, Nov 1, 2010 at 1:41 PM, Nicholas Kell wrote: > > On Nov 1, 2010, at 12:08 PM, crrr errr wrote: > > > Yes, the http ( Apache user) has rl ( read permission) on the php file with > > sockets code i

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-02 Thread Nicholas Kell
amineni > On Mon, Nov 1, 2010 at 2:35 PM, Nicholas Kell wrote: > >> >> On Nov 1, 2010, at 1:12 PM, Suyash R wrote: >> >>> No, sockets.so in not included in any of the machines php.ini file. >> However, I found that Linux machine's php.ini doesn'

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-02 Thread Nicholas Kell
s a shared > object right are they stored on disk as individual files or all together > compiled into a binary > > Thank you > > Suyash Ramineni > On Tue, Nov 2, 2010 at 3:55 PM, Nicholas Kell wrote: > > On Nov 2, 2010, at 2:50 PM, Suyash R wrote: >

Re: [PHP] Problems converting strings with 0 to integer

2010-11-03 Thread Nicholas Kell
On Nov 3, 2010, at 4:22 PM, robert mena wrote: > Hi, > > I have a text file (utf-8 encoded) which contains lines with numbers and > text separated by \t. I need to convert the numbers that contains 0 (at > left) to integers. > > For some reason one line that contains 0002 is casted to 0 in

Re: [PHP] How to code in PHP an onchange event in a ?

2010-11-04 Thread Nicholas Kell
On Nov 4, 2010, at 3:23 PM, Tomás Corrales Lemoine wrote: > Hi, List, > > I have this two files (“index.php” and “include.php”). They both work fine, > but I want to substitute the code for de onchange event in the tag. > Can I use PHP to code this event? How? > > Thanks. > > > > ind

Re: [PHP] Securing Use of PHP site

2010-11-17 Thread Nicholas Kell
On Nov 17, 2010, at 6:51 AM, Don Wieland wrote: > Hello all, > > I have recently built a site using PHP. I was a little loose with GET and > POST methods because I was using it for personal/private use. Now I am > thinking of going public and allow different companies to use the site. I > w

Re: [PHP] is this thing on??

2010-11-23 Thread Nicholas Kell
Whitetail hunting season, for most of the American Midwest anyway. :) On Nov 23, 2010, at 2:01 PM, Steve Staples wrote: > On Tue, 2010-11-23 at 20:55 +0100, Peter Lind wrote: >> On 23 November 2010 20:52, Steve Staples wrote: >>> tap tap tap... testing testing... 1, 2, 3 >>> >>> Hello?

Re: [PHP] PDO: good, popular?

2010-12-15 Thread Nicholas Kell
On Dec 14, 2010, at 5:45 PM, Govinda wrote: >> In previous experience with questions such as these, you will get >> several types of individual responses to usages of the software. Some >> good, some bad, depending on the experience level of the commenter >> with both the language and the code in

Re: [PHP] How does one reply to messages on this list?

2010-12-16 Thread Nicholas Kell
Couldn't we just have a reply-to address for the list in the header of the email? So all a fella had to do was hit reply, and it would work? This is how the Apache and the MySQL list works. The PHP list is the only list that I have to manually edit my reply every time. For example, I hit reply

Re: [PHP] How does one reply to messages on this list?

2010-12-16 Thread Nicholas Kell
On Dec 16, 2010, at 8:26 AM, Daniel Brown wrote: > On Thu, Dec 16, 2010 at 09:19, Nicholas Kell wrote: >> >> Couldn't we just have a reply-to address for the list in the header of the >> email? So all a fella had to do was hit reply, and it would work? > >

Re: [PHP] How does one reply to messages on this list?

2010-12-16 Thread Nicholas Kell
On Dec 16, 2010, at 9:28 AM, Paul M Foster wrote: > On Thu, Dec 16, 2010 at 08:19:52AM -0600, Nicholas Kell wrote: > >> >> Couldn't we just have a reply-to address for the list in the header of >> the email? So all a fella had to do was hit reply, and it would

Re: [PHP] PHPInfo disabled due to security

2010-12-17 Thread Nicholas Kell
On Dec 16, 2010, at 10:39 PM, Paul S wrote: > On Thu, 16 Dec 2010 00:13:31 +0700, "Daniel P. Brown" > wrote: > > >> >>Well, phpinfo() does, by default, divulge some things that could >> be considered security concerns --- particularly in poorly-managed >> environments. Primarily, this is

Re: [PHP]Confusion About WordPress Cache

2010-12-17 Thread Nicholas Kell
On Dec 17, 2010, at 8:21 AM, 肖晗 wrote: > I am using WordPress Cache to cache data retrieved from database, using > WP_Cache . > > After I used wp_cache_set to set some data in the cache, I try to get it by > wp_cache_get in ANOTHER post re

Re: [PHP] Problems w/ goto

2010-12-17 Thread Nicholas Kell
On Dec 17, 2010, at 11:08 AM, Steve Staples wrote: [snip /] >> >> >> GOTO should never be used like this. >> >> GOTO should never be used. >> > > Wow... that brought me back to 1990... using basic and batch files... > I honestly didn't even know that the GOTO was still in existence, > espec

Re: [PHP] Server response very poor again

2010-12-22 Thread Nicholas Kell
On Dec 22, 2010, at 10:09 AM, Steve Staples wrote: > On Wed, 2010-12-22 at 10:19 -0500, Al wrote: >> It was fixed about 3 or 4 weeks ago; but, has reverted to poor again. Many >> times outs etc. >> >> Took me 4 tries to post this. >> >> Al... >> > > Not trying to sound rude or prick

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-28 Thread Nicholas Kell
On Dec 28, 2010, at 8:52 AM, Dotan Cohen wrote: > On Tue, Dec 28, 2010 at 15:27, Al wrote: >> Can't you simply specify the allowed characters that can be used for PWs and >> usernames? >> > > No, I hate when websites do that. It leads to less secure passwords, > not more secure, and it is pass

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-28 Thread Nicholas Kell
On Dec 28, 2010, at 2:11 PM, Joshua Kehn wrote: > Specifically: > >>> Dotan Cohen wrote: I seem to have an issue with users who copy-paste their usernames and passwords coping and pasting leading and trailing space characters. > > Users should not be copy-pasting passwords or username

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-29 Thread Nicholas Kell
On Dec 29, 2010, at 10:40 AM, Paul M Foster wrote: > On Wed, Dec 29, 2010 at 11:06:15AM +0200, Dotan Cohen wrote: > >> On Wed, Dec 29, 2010 at 06:51, Paul M Foster wrote: > > > >> >>> Under the circumstances I described, I have yet to hear in what way >>> copying and pasting passwords compr

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-29 Thread Nicholas Kell
On Dec 29, 2010, at 6:37 PM, Omega -1911 wrote: > I know something funnier... Let's wait for Dani's response. > > On Wed, Dec 29, 2010 at 7:28 PM, Bastien wrote: >> >> >> On 2010-12-29, at 5:32 PM, "Daniel P. Brown" >> wrote: >> >>> On Wed, Dec 29, 2010 at 15:16, Omega -1911 <1911...@gmail

Re: [PHP] Global or include?

2011-01-05 Thread Nicholas Kell
On Jan 5, 2011, at 4:40 PM, Paul Halliday wrote: > Say you have 10 or so scripts and a single config file. If you have > main.php, functions1.php, functions2.php, functions3.php.. > > Does is hurt to do an include of the config file in each separate > script, even if you only need a few things

Re: [PHP] Command line PHP

2011-01-07 Thread Nicholas Kell
On Jan 7, 2011, at 11:01 AM, Joshua Kehn wrote: > On Jan 7, 2011, at 11:55 AM, la...@garfieldtech.com wrote: > >> Hi folks. I have a project coming up that will involve writing a >> non-trivial command line PHP application. Most of it will be nice and >> abstracted and standalone and all of

  1   2   >