Re: [PHP] Unique User Hashes

2009-02-20 Thread Nathan Rixham
Martin Zvarík wrote: Ashley Sheridan napsal(a): On Thu, 2009-02-19 at 23:34 +0100, Martin Zvarík wrote: Chris napsal(a): Martin Zvarík wrote: Chris napsal(a): Martin Zvarík wrote: tedd napsal(a): At 5:28 PM +0100 2/19/09, Martin Zvarík wrote:

Re: [PHP] Unique User Hashes

2009-02-20 Thread Nathan Rixham
Michael A. Peters wrote: Nathan Rixham wrote: it's all a bit pointless, the only way to ensure only one vote per person is to get take and test a dns sample from each user. anything else is going to be flawed Hey now, what do you have against us clones? ;) and nobody noticed I said

[PHP] Re: Securing web services

2009-02-22 Thread Nathan Rixham
Yannick Warnier wrote: Hi there, Another Web Service related question. Obviously, Google gives me enough hints to find *many* documents on the topic (searching for securing web services), but I am developing open-source soft and I'd like to secure my web services to the maximum without forcing

[PHP] Re: RecursiveDirectoryIterator and foreach

2009-02-24 Thread Nathan Rixham
Ryan Panning wrote: I have discovered that when I foreach over a RecursiveDirectoryIterator (see example below) the $item actually turns into a SplFileInfo object. I would expect it to be a RecursiveDirectoryIterator. How do I do a hasChildren() on SplFileInfo? seems like expected

[PHP] Re: Best error handling

2009-02-27 Thread Nathan Rixham
Davi Ramos wrote: Hi. I have a kind of webserver that certain applications communicate with. The problem is that the script (named peer.php) must output data as xml. Thats ok (thanks to XMLWriter). The problem is that when some error occurs (those note catchable by set_error_handler) I have no

Re: [PHP] A puzzler (well, for me at least)

2009-02-28 Thread Nathan Rixham
Robert Cummings wrote: On Sat, 2009-02-28 at 12:35 -0500, Daniel Brown wrote: On Thu, Feb 26, 2009 at 09:50, Ondrej Kulaty kopyto...@gmail.com wrote: Your answer is neither relevant nor funny. :-| And your response wasn't welcome. So there, everyone's even. I'm even?? You sure? People

Re: [PHP] verify problem

2009-03-05 Thread Nathan Rixham
Chris wrote: PJ wrote: And again, this works: if (strlen($_POST[first_nameIN]) == 0 ) { $obligatoryFieldNotPresent = 1; ... this does not: if (strlen($_POST[first_nameIN]) 0 ) (strlen($_POST[last_nameIN]) 0 ) { echo $first_nameIN, , $last_nameIN); else (echo error;)} But,

Re: [PHP] verify problem

2009-03-05 Thread Nathan Rixham
PJ wrote: Nathan Rixham wrote: Chris wrote: PJ wrote: And again, this works: if (strlen($_POST[first_nameIN]) == 0 ) { $obligatoryFieldNotPresent = 1; ... this does not: if (strlen($_POST[first_nameIN]) 0 ) (strlen($_POST[last_nameIN]) 0 ) { echo $first_nameIN

[PHP] Re: Sending out large amounts of email

2009-03-05 Thread Nathan Rixham
Brian Hansen wrote: Hi. Our company is merging with another company and newsletter now needs to go out to more than 100.000 people. Before it was only a couple of thousands. I have developed a mail queue using a database and a cronjob, but I am not in doubt as to what particular solution I

Re: [PHP] verify problem

2009-03-07 Thread Nathan Rixham
Ashley Sheridan wrote: On Thu, 2009-03-05 at 19:58 -0800, Michael A. Peters wrote: PJ wrote: Nathan Rixham wrote: Chris wrote: PJ wrote: And again, this works: if (strlen($_POST[first_nameIN]) == 0 ) { $obligatoryFieldNotPresent = 1; ... this does not: if (strlen($_POST

Re: [PHP] verify problem

2009-03-07 Thread Nathan Rixham
Ashley Sheridan wrote: On Sat, 2009-03-07 at 13:42 +, Nathan Rixham wrote: Ashley Sheridan wrote: On Thu, 2009-03-05 at 19:58 -0800, Michael A. Peters wrote: PJ wrote: Nathan Rixham wrote: Chris wrote: PJ wrote: And again, this works: if (strlen($_POST[first_nameIN]) == 0

Re: [PHP] verify problem

2009-03-07 Thread Nathan Rixham
Michael A. Peters wrote: Ashley Sheridan wrote: I'm more a fan of lining up opening and closing brackets so they are at the same indent level. It prevents one of the most popular errors caused by omitting a bracket, brace or other in the wrong place. A few extra line breaks in the code are

Re: [PHP] include question

2009-03-07 Thread Nathan Rixham
Daniel Brown wrote: On Fri, Mar 6, 2009 at 08:53, Stuart stut...@gmail.com wrote: 1.) We use regular open tags to be compatible with all stock PHP configurations. 2.) We echo out the response from dirname() so that it's output to the HTML source. 3.) We use dirname() twice,

Re: [PHP] Re: if elseif elseif elseif....

2009-03-07 Thread Nathan Rixham
Daniel Brown wrote: On Sat, Mar 7, 2009 at 15:23, Robert Cummings rob...@interjinn.com wrote: ?php for( ; ; ) { echo You can make an endless loop in many, many ways.\n; } ? ?php while(1) echo Yup.\n; ? ?php echo 'yup' . PHP_EOL; include __FILE__; ? -- PHP General Mailing List

Re: [PHP] Database Abstraction Class

2009-03-07 Thread Nathan Rixham
Eric Butera wrote: On Sat, Mar 7, 2009 at 5:07 PM, Paul M Foster pa...@quillandmouse.com wrote: On Sat, Mar 07, 2009 at 12:34:40PM -0500, Eric Butera wrote: snip PDO. :) Anything else is a waste of cpu cycles. I've looked into PDO, and I just didn't find it as feature-rich as the native

[PHP] Re: php fop (XSLFO)

2009-03-09 Thread Nathan Rixham
Tom Sparks wrote: is there a php Fop (XSLFO)? if not are there any that are not java based and can be run o a website that has php support only? Hi Tom, Not XSLFO as such, this was split up years ago in to it's comprising parts - XSLT, XSL and XPath, all of which PHP supports with the

Re: [PHP] DOM recursion

2009-03-09 Thread Nathan Rixham
Jochem Maas wrote: Jochem Maas schreef: Joanne Lane schreef: I am trying to create a class that recursively iterates over an array an creates XML tree to reflect a multidimensional array. I am not really a PHP coder, but am trying my hand. I've seen 'real coders' write stuff thats leagues

Re: [PHP] Line Break Problem

2009-03-09 Thread Nathan Rixham
Alice Wei wrote: Date: Mon, 9 Mar 2009 13:28:19 +0100 From: joc...@iamjochem.com To: stut...@gmail.com CC: aj...@alumni.iu.edu; php-general@lists.php.net Subject: Re: [PHP] Line Break Problem Stuart schreef: 2009/3/9 Alice Wei aj...@alumni.iu.edu I have a question regarding using line

Re: [PHP] Opendir on site root directory?

2009-03-09 Thread Nathan Rixham
Stuart wrote: 2009/3/8 Clancy clanc...@cybec.com.au On Sun, 8 Mar 2009 12:33:15 +, stut...@gmail.com (Stuart) wrote: 2009/3/8 Clancy clanc...@cybec.com.au On Sun, 8 Mar 2009 09:01:18 +, stut...@gmail.com (Stuart) wrote: 2009/3/8 Clancy clanc...@cybec.com.au I want to index the

Re: [PHP] PHP includes

2009-03-09 Thread Nathan Rixham
Virgilio Quilario wrote: I'm working on learning php and have been toying with includes, and I am trying to figure the advantages/disadvantages to using them. I know that using them eliminates the need to put the files once altered as with a template, however, is that the only advantage. My

Re: [PHP] web refreshing problem

2009-03-09 Thread Nathan Rixham
Andrew Williams wrote: Hi, my php program does not display current result of submitted form instead the previous content is shown until you refresh manually (which means resubmitting the form). Can someone help me out because, I want to display the result of the latest form result and not the

[PHP] Re: Error in Building an XML File

2009-03-09 Thread Nathan Rixham
Joe Harman wrote: Hello, I am using PHP to build an XML file, but I keep on getting an XML error when open the file in Google Chrome. - This page contains the following errors: error on line 30 at column 318:

Re: [PHP] Error in Building an XML File

2009-03-09 Thread Nathan Rixham
Joe Harman wrote: On Mon, Mar 9, 2009 at 9:53 AM, Bob McConnell r...@cbord.com wrote: From: Joe Harman I am using PHP to build an XML file, but I keep on getting an XML error when open the file in Google Chrome.

[PHP] Re: PHP includes

2009-03-09 Thread Nathan Rixham
Gary wrote: Thank you to everybody that replied...but it almost seems it is making extra work. I can understand using an include for a menu, since they tend to change often and it is on every page, but the normal content I am not understanding the benefit. If I have a page that has unique

[PHP] Re: PHP includes

2009-03-09 Thread Nathan Rixham
Gary wrote: Thank you to everybody that replied...but it almost seems it is making extra work. What is the best type of file to be used as an include (.txt, .php). new I forgot something! the best type of file to be used as an include differs on a case by case basis. name the files

Re: [PHP] web refreshing problem

2009-03-09 Thread Nathan Rixham
Andrew Williams wrote: Hi everyone, I discovered that error and warning messages from my program does not display automatically unless you refresh the page. and page also has the same problem. Does it has anything to do with the PHP - Apache settings. post your code - limited in what help

[PHP] Re: Hi!! I Joined the PHP Mailing List

2009-03-09 Thread Nathan Rixham
Picu Priya wrote: Hello Everyone, I have just joined the PHP Community.. I hope, I will spend good time here.. I am already a PHP programmer, and Love to learn a lot of new php tricks while helping others, as best of my knowledge. :) welcome :-) -- PHP General Mailing List

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread Nathan Rixham
Jason Norwood-Young wrote: haliphax wrote: Perhaps I should have phrased it a bit more concise: This has been discussed many times--often, and RECENTLY. Anyway, since I'm already writing this, I'll say that overhead/bloat vs. productivity of the developer is a trade-off you're going to have to

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread Nathan Rixham
Jason Norwood-Young wrote: haliphax wrote: On Mon, Mar 9, 2009 at 1:26 PM, Jason Norwood-Young ja...@freespeechpub.co.za wrote: haliphax wrote: Perhaps I should have phrased it a bit more concise: This has been discussed many times--often, and RECENTLY. Anyway, since I'm already writing

Re: [PHP] Re: PHP includes

2009-03-09 Thread Nathan Rixham
Ashley Sheridan wrote: Just thought I'd point out that it's recommended against giving non-php extensions to PHP code pages. Basically, making all of your include files .inc without the server correctly configured to recognise all .inc files as PHP files, you are opening yourself up to possible

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread Nathan Rixham
haliphax wrote: On Mon, Mar 9, 2009 at 2:50 PM, Nathan Rixham nrix...@gmail.com wrote: haliphax wrote: Framework = Overhead (when compared to vanilla PHP). Period. I'm not by vanilla do you mean vanilla from lussimo? [http://getvanilla.com/] ? You know damn well I didn't. :) I'd love

Re: [PHP] Script execution

2009-03-09 Thread Nathan Rixham
Daniel Brown wrote: On Mon, Mar 9, 2009 at 17:39, haliphax halip...@gmail.com wrote: That, or ***holes. That's what my name tag says. you got shot in the nametag 3 times? i dunno if that's good or bad luck! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Script execution

2009-03-09 Thread Nathan Rixham
George Larson wrote: That's funny! I've been watching this and a few other lists (MySQL, local Linux Users' Group) for a few days - weeks and I had wondered why the PHP list seemed more hostile. :) may be something to do with the fact 95% of posts here could be covered by: - a 5 question

Re: [PHP] Script execution

2009-03-09 Thread Nathan Rixham
haliphax wrote: On Mon, Mar 9, 2009 at 4:55 PM, Nathan Rixham nrix...@gmail.com wrote: Daniel Brown wrote: On Mon, Mar 9, 2009 at 17:39, haliphax halip...@gmail.com wrote: That, or ***holes. That's what my name tag says. you got shot in the nametag 3 times? i dunno if that's good or bad

[PHP] Re: DOMDocument getElementsByAttribute ??

2009-03-09 Thread Nathan Rixham
Michael A. Peters wrote: Seems like such a function does not exist in php. I can write my own function that does it using DOMElement-hasAttribute() - but I'm not sure how to get an array of every element in the DOM to test them for the attribute. Any hints? I'm sure it's simple, I'm just

[PHP] Re: DOMDocument getElementsByAttribute ??

2009-03-09 Thread Nathan Rixham
Michael A. Peters wrote: Nathan Rixham wrote: Michael A. Peters wrote: Seems like such a function does not exist in php. I can write my own function that does it using DOMElement-hasAttribute() - but I'm not sure how to get an array of every element in the DOM to test them for the attribute

[PHP] Re: Setting Up A Web Subscription Service

2009-03-09 Thread Nathan Rixham
revDAVE wrote: Rather than reinventing the wheel trying to set up a Web Subscription Service from scratch - I imagine there must be a good selection of Web Subscription Services, pre-made and maybe even open source apps (php/MySql ?) out there already. I'm not quite sure where to start looking

[PHP] Re: PHP timezone is unstable...

2009-03-09 Thread Nathan Rixham
Dirk wrote: Hello, what could cause the timezone in PHP to, randomly, jump back and forth 6 hours now and then? from phpinfo(): date date/time support enabled Olson Timezone Database Version 0.system Timezone Database internal Default timezone America/Chicago Directive

Re: [PHP] Re: PHP timezone is unstable...

2009-03-09 Thread Nathan Rixham
Dirk wrote: Nathan Rixham wrote: Dirk wrote: Hello, what could cause the timezone in PHP to, randomly, jump back and forth 6 hours now and then? from phpinfo(): date date/time support enabled Olson Timezone Database Version 0.system Timezone Database internal Default

Re: [PHP] non static function called as static one

2009-03-11 Thread Nathan Rixham
Jochem Maas wrote: Olivier Doucet schreef: Hi Jochem, 2/ (or/and) Raise a warning or an error if a non static function is called as a static one develop with error_reporting set to E_ALL | E_STRICT, then you'll get a big fat warning about it Yes, that's what I'm using right now.

Re: [PHP] non static function called as static one

2009-03-11 Thread Nathan Rixham
Nathan Rixham wrote: Jochem Maas wrote: Olivier Doucet schreef: mental though, part of me wishes they'd forked php at 4 to save all the lame syntax and weirdness. after thought.. I wish they'd forked it to OO and procedural, then us OO guys could have phpoo and be happy

Re: [PHP] Re: PHP/Apache: script unexpectedly invoked multiple times in parallel every 30 secs.

2009-03-11 Thread Nathan Rixham
Marc Venturini wrote: Hi all, Thank you all very much for your contributions. I tried to monitor the network with Wireshark: there is only one request from my browser to the server, and not any answer (redirect or otherwise). This means the problem is definitely not with unexpected browser

[PHP] today i found the best function I've ever seen

2009-03-20 Thread Nathan Rixham
if( !function_exists('clean_sql_term') ) { function clean_sql_term($term) { return $term; } } beautiful -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] today i found the best function I've ever seen

2009-03-23 Thread Nathan Rixham
Jason Pruim wrote: Daniel Brown wrote: On Mon, Mar 23, 2009 at 09:07, Igor Escobar titiolin...@gmail.com wrote: Do not try this at home... Sorry, all, I must have yelled. Two days later and my words are still echoing. ;-P Yeah... Would you keep your voice down You self

Re: [PHP] Namespce operator

2009-03-25 Thread Nathan Rixham
Jochem Maas wrote: Luke schreef: Backslash doesn't sound like it will look very pretty 2009/3/25 Richard Heyes rich...@php.net Backslash? Seriously? I'm hurt that my suggestion of ¬ (ASCII170 ?) wasn't used. :-( please kill this thread, the namespace operator was heavily discussed multiple

Re: [PHP] I need ideas for things to code

2009-04-24 Thread Nathan Rixham
Andrew Hucks wrote: I've been coding PHP for about a year, and I'm running out of things to code that force me to learn new things. If you have any suggestions, I'd greatly appreciate it. a: get paid to do it; pick up work on freelance sites and they'll give you the ideas + you'll get paid

[PHP] Re: Formating Numbers

2009-04-26 Thread Nathan Rixham
Gary wrote: I cant seem to get this to work for me. I want the number to be formated to money (us, 2 decimal points). /** * returns 4.3 as $4.30 (formats us dollars) * * @param $amount * @return string */ function us_dollar_format( $amount ) { return ( '$' .

[PHP] Re: Help with scandir()

2009-04-26 Thread Nathan Rixham
Deivys Delgado Hernandez wrote: Hi, I'm having problems when i try to use the function scandir() in a Novell Netware Volumen or a Windows Shared Folder they both are mapped as a windows network drive, so i suppose i could access them as local drive, but i can't. instead i receive this

Re: [PHP] CamelCase conversion to proper_c_style

2009-04-27 Thread Nathan Rixham
tedd wrote: At 9:40 AM +0100 4/27/09, Richard Heyes wrote: Hi, I know it's probably heresy for a lot of coders, but does anyone know a function or class or regexp or somesuch which will scan through a PHP file and convert all the CamelCase code into proper C-type code? That is, CamelCase

[PHP] Re: utf-8 ?

2009-04-27 Thread Nathan Rixham
PJ wrote: Since I have to use a number of Western languages that have those annoying accents on many characters, I am already finding some annoyances in my code results; like having to enter the aacute; type of stuff in inputs for searches queries. MySql db is set up for InnoDB with

Re: [PHP] Re: utf-8 ?

2009-04-27 Thread Nathan Rixham
Robert Cummings wrote: On Mon, 2009-04-27 at 20:56 +0600, 9el wrote: I looked at http://developer.loftdigital.com/blog/php-utf-8-cheatsheet which suggests this: ALTER DATABASE db_name CHARACTER SET utf8 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT COLLATE utf8_general_ci ; ALTER

[PHP] Re: Unit Testing

2009-04-27 Thread Nathan Rixham
Philip Thompson wrote: Hi. I did some searching in the archives, but didn't quite find what I was looking for. Maybe a few of you can assist me... We have an application that's currently in production, but we're constantly modifying/upgrading it. We did not do unit testing early on because

Re: [PHP] Re: Unit Testing

2009-04-28 Thread Nathan Rixham
is the best time to test according to a certain structure... Simon On Mon, Apr 27, 2009 at 12:16 PM, Nathan Rixham nrix...@gmail.com wrote: Philip Thompson wrote: Hi. I did some searching in the archives, but didn't quite find what I was looking for. Maybe a few of you can assist me... We have

Re: [PHP] speaking of control structures...

2009-05-06 Thread Nathan Rixham
Robert Cummings wrote: On Wed, 2009-05-06 at 08:41 -0400, Tom Worster wrote: On 5/6/09 7:05 AM, Robert Cummings rob...@interjinn.com wrote: That seems like an abuse of exceptions. But then we're already abusing loops. I just don't think one could say it's the proper way to do it :) i don't

[PHP] Re: SimpleXML Class

2009-05-06 Thread Nathan Rixham
Cesco wrote: Could you help me clarify one thing that I don't understand... let's put it simple, just imagine that I have a tiny XML document with a list of movies: movies title iGone/i with bthe/b wind /title /movies I want to read this XML file and write the name of the

[PHP] Re: Remote MySQL Connecton Problems

2009-05-07 Thread Nathan Rixham
Ray Hauge wrote: Hello everyone, I've run into a bit of a sticky situation trying to connect to a remote MySQL database. Here's the background: Connecting from the command line on the web server works. Connecting from a different vhost works. There's no information in mysql_error. In

[PHP] Re: Remote MySQL Connecton Problems

2009-05-07 Thread Nathan Rixham
Ray Hauge wrote: Nathan Rixham wrote: Ray Hauge wrote: Hello everyone, I've run into a bit of a sticky situation trying to connect to a remote MySQL database. Here's the background: Connecting from the command line on the web server works. Connecting from a different vhost works

Re: [PHP] speaking of control structures...

2009-05-07 Thread Nathan Rixham
Robert Cummings wrote: On Thu, 2009-05-07 at 09:33 -0400, Tom Worster wrote: On 5/6/09 9:31 PM, Clancy clanc...@cybec.com.au wrote: I can understand your reluctance to disregard your mother's advice, but unfortunately she had been brainwashed to accept the dogma of the day. actually, i don't

Re: [PHP] php-general@lists.php.net, Tim-Hinnerk Heuer has invited you to open a Google mail account

2009-05-09 Thread Nathan Rixham
Lenin wrote: Yeah gmail is a nice thing :) The best ever mailing system world has ever seen until now. Because now you can get new LeninMail from phpXperts - it works offline, it works in your fridge, you car, your bath, everywhere conventional mail doesn't work. LeninMail combines all

[PHP] Re: Can includes be used for head tags?

2009-05-11 Thread Nathan Rixham
Gary wrote: Thank you to everyone again for your help... Gary Gary gwp...@ptd.net wrote in message news:52.b9.21821.82558...@pb1.pair.com... I was thinking of creating a php include for the meta tags for a site. Is this possible? Gary just an idea.. if you ran the content of the

[PHP] Re: Trying to create a colortable - what am I missing here?

2009-05-11 Thread Nathan Rixham
דניאל דנון wrote: I've tried to make a color table, but I am missing something. not in the color-table-code itself, but in somewhere else... I just can't find... untested but try.. // 4096*4096 = 16777216 = FF+1 $im = imagecreate(4096, 4096); $white = imagecolorallocate($im, 0, 0, 0); $r

[PHP] Re: Nasty hacker spammer script

2009-05-12 Thread Nathan Rixham
The Doctor wrote: Has anyone seen this before? if (trim($_GET['x'])!=''){...@include($_GET['x']);exit();} lol - that's really bad if you're going to waste your time exploiting peoples stuff at least: make it so it'll actually run something don't include your personal email in the script

[PHP] Re: [php] tcp server connection

2009-05-12 Thread Nathan Rixham
Andrew Williams wrote: Can someone help me about how to retrieve data using TCP server connection you'll need to be a bit more specific to get any useful help back mate.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [php] tcp server connection

2009-05-12 Thread Nathan Rixham
the raw data and display the data. I have the remote server IP, port number and login details. but I just want to know the best way to establish client to server connection via TCP On Tue, May 12, 2009 at 11:38 AM, Nathan Rixham nrix...@gmail.com wrote: Andrew Williams wrote: Can someone help me

Re: [PHP] Re: Can includes be used for head tags?

2009-05-12 Thread Nathan Rixham
tedd wrote: At 9:32 PM +0100 5/11/09, Nathan Rixham wrote: Gary wrote: Thank you to everyone again for your help... Gary Gary gwp...@ptd.net wrote in message news:52.b9.21821.82558...@pb1.pair.com... I was thinking of creating a php include for the meta tags for a site. Is this possible

Re: RES: [PHP] CURL problems still

2009-05-12 Thread Nathan Rixham
Miller, Terion wrote: Well I tried it and still it stopped at the C's 1: your script is timing out, you need to set the time limit higher set_time_limit(0); 2: foreach($html-find('table') as $table) { $rows = explode('/tr' , $table ); $headerCells = explode('/th', array_shift($rows));

Re: RES: [PHP] CURL problems still

2009-05-12 Thread Nathan Rixham
Nathan Rixham wrote: Miller, Terion wrote: Well I tried it and still it stopped at the C's 1: your script is timing out, you need to set the time limit higher set_time_limit(0); 2: foreach($html-find('table') as $table) { $rows = explode('/tr' , $table ); $headerCells = explode('/th

[PHP] Re: irrational behavior

2009-05-12 Thread Nathan Rixham
PJ wrote: Could somebody please explain this? When the line - sort($category) is commented out, the output returns Notice: Undefined offset: in the line 36 for all the repeats (29 in this case) The code below: ? $SQL = SELECT name FROM categories ORDER BY category_id ; $category

Re: [PHP] handling chunked input from php://stdin

2009-05-13 Thread Nathan Rixham
Shawn McKenzie wrote: whisperstream wrote: I have a server running that receives xml formatted events from other services I have no control over. For certain events the transfer-encoding is chunked. I was just doing $input = file_get_contents('php://stdin'); and this works well until there

[PHP] Re: [PHP ADVANCE] tcp CLIENT server connection and authentication

2009-05-13 Thread Nathan Rixham
Andrew Williams wrote: Hi All, please, I need to connect to IP via a specific port en validate my user name and password to get data. Port : XXX7X Andrew, You're going to have some real fun with this one making the tcp connection is the least of your worries, sounds very much like a raw

[PHP] Re: [PHP ADVANCE] tcp CLIENT server connection and authentication

2009-05-13 Thread Nathan Rixham
, 2009 at 12:22 PM, Nathan Rixham nrix...@gmail.com wrote: Andrew Williams wrote: Hi All, please, I need to connect to IP via a specific port en validate my user name and password to get data. Port : XXX7X Andrew, You're going to have some real fun with this one making the tcp connection

Re: [PHP] SMS gateway

2009-05-13 Thread Nathan Rixham
Daniel Brown wrote: On Wed, May 13, 2009 at 10:00, Manoj Singh manojsingh2...@gmail.com wrote: Hi All, I need to create the SMS functionality in PHP. Do you have any idea of Open Source SMS gateway which i can use? http://google.com/search?q=open+source+sms+gateway If you have any

[PHP] Re: Adding corners to image

2009-05-13 Thread Nathan Rixham
דניאל דנון wrote: I am currently searching for the most efficient way to add corners to existing images. Not just round corners - pre-made colorful with pattern images. So first thing I'm thinking about what I'll need, and I think that for each corner I'll need: - Corner pattern -

Re: [PHP] Sending SMS through website

2009-05-13 Thread Nathan Rixham
Andrew Ballard wrote: On Wed, May 13, 2009 at 1:55 PM, Per Jessen p...@computer.org wrote: kyle.smith wrote: Most carriers have email-to-sms bridges. For example, I use ATT Wireless and you can text me by sending an email to myphonenum...@txt.att.net. Do you end up paying for that then - or

Re: [PHP]Cannot output the same data from text file in PHP

2009-05-14 Thread Nathan Rixham
as far as i know you just send an email to: php-general-unsubscr...@lists.php.net and then reply to the confirmation - its a standard mailing list which you subscribed to at some point, no profiles or such like. Mike Roberts wrote: Is there a moderator or some responsible party who is in

[PHP] Re: suggestion required

2009-05-14 Thread Nathan Rixham
Pravinc wrote: Hey all, I have one flex+PHP application. Main purpose of the site is to sell T-shirts online. Flex is used for generating different designs on available tshirt. Something similar to Cafepress dot com. I want to generate 300 DPI tshirt image from flex and send it to

Re: [PHP] Software to read/write Excel to CD?

2009-05-14 Thread Nathan Rixham
Paul M Foster wrote: On Thu, May 14, 2009 at 03:22:12PM -0500, Skip Evans wrote: Hey all, I'm inheriting a project that was unsuccessfully off-shored and is now in such bad shape (I've seen the code. It's awful) that they are firing the off-shore company and starting over. One of the things

[PHP] Re: php ssl connection timeout issue

2009-05-14 Thread Nathan Rixham
Jerry Zhao wrote: Hi, I am having trouble connecting to https sites using php's builtin ssl functions. I tried: file_get_contents('https://securesite') fsockopen('ssl://securesite', 443, $errno, $errstr,20) and same errors every time: SSL: connection timeout Failed to enable crypto Call to

[PHP] Re: php ssl connection timeout issue

2009-05-14 Thread Nathan Rixham
Jerry Zhao wrote: I tried different combination of ssl clients and servers, it all points to problems on the client side of my new php build. The same code worked on an older php build. checked the output of print_r( stream_get_wrappers() );? -- PHP General Mailing List (http://www.php.net/)

[PHP] Re: php ssl connection timeout issue

2009-05-14 Thread Nathan Rixham
Jerry Zhao wrote: On Thu, May 14, 2009 at 5:05 PM, Nathan Rixham nrix...@gmail.com wrote: Jerry Zhao wrote: I tried different combination of ssl clients and servers, it all points to problems on the client side of my new php build. The same code worked on an older php build. checked

Re: [PHP] CSS tables

2009-05-15 Thread Nathan Rixham
tedd wrote: At 2:06 PM -0400 5/15/09, Tom Worster wrote: for one thing, a table is a great way of representing relations (http://mathworld.wolfram.com/Relation.html). data tables are the canonical example but very often a form's structure is a relation, e.g. between labels and input fields,

[PHP] Re: read the last line in a file?

2009-05-15 Thread Nathan Rixham
Tom Worster wrote: imagine writing a script to run as a daemon reading data off the bottom of a log file that gets updated every few minutes and processing each new log line as they arrive. i could exec(tail $logfile, $lines, $status) every now and then. or poll the file mtime and run exec(tail

Re: [PHP] CSS tables

2009-05-17 Thread Nathan Rixham
Ashley Sheridan wrote: On Sat, 2009-05-16 at 09:15 -0400, Robert Cummings wrote: On Sat, 2009-05-16 at 10:48 +0100, Ashley Sheridan wrote: On Sat, 2009-05-16 at 02:25 -0400, Paul M Foster wrote: On Fri, May 15, 2009 at 01:25:42PM -0400, PJ wrote: I know of no better place to ask. This may

Re: [PHP] CSS tables

2009-05-17 Thread Nathan Rixham
tedd wrote: At 11:28 PM +0100 5/15/09, Nathan Rixham wrote: tedd wrote: However, there are occasions such as in a calendar where not using a table would be more than difficult. I haven't received a decree yet as to IF that would be considered column data or not. I'm gonna differ on this one

Re: [PHP] CSS tables

2009-05-17 Thread Nathan Rixham
tedd wrote: At 10:48 AM +0100 5/16/09, Ashley Sheridan wrote: Trust me, semantics are gonna be the next big thing, Semantics? What do you mean by that? And therein lies the problem -- what means something to me, may not to you. For example, if I make my header div id=header (or whatever)

Re: [PHP] CSS tables

2009-05-17 Thread Nathan Rixham
tedd wrote: At 7:48 PM -0400 5/16/09, Stephen wrote: PJ wrote: I know of no better place to ask. This may not be strictly a PHP issue, but... I am busting my hump trying to format rather large input pages with CSS and trying to avoid tables; but it looks to me like I am wasting my time as

Re: [PHP] CSS tables

2009-05-17 Thread Nathan Rixham
Paul M Foster wrote: On Sun, May 17, 2009 at 08:40:33PM +0100, Nathan Rixham wrote: tedd wrote: At 11:28 PM +0100 5/15/09, Nathan Rixham wrote: tedd wrote: However, there are occasions such as in a calendar where not using a table would be more than difficult. I haven't received a decree

Re: [PHP] CSS tables

2009-05-17 Thread Nathan Rixham
Paul M Foster wrote: On Sun, May 17, 2009 at 11:20:19PM +0100, Nathan Rixham wrote: Paul M Foster wrote: On Sun, May 17, 2009 at 08:40:33PM +0100, Nathan Rixham wrote: tedd wrote: At 11:28 PM +0100 5/15/09, Nathan Rixham wrote: tedd wrote: However, there are occasions

Re: [PHP] CSS tables

2009-05-18 Thread Nathan Rixham
tedd wrote: At 4:05 AM +0100 5/18/09, Nathan Rixham wrote: Paul M Foster wrote: And by the way, this attitude of My code is fine; your browser sucks; upgrade can be the worst kind of arrogance, and people react to it exactly as though it were arrogance. There used to be the same kind

Re: [PHP] CSS tables

2009-05-18 Thread Nathan Rixham
tedd wrote: At 8:52 PM +0100 5/17/09, Nathan Rixham wrote: semantics already are the next big thing and have been for a year or three. google aquired the leading semantic analysis software many years ago and have been using it ever since, likewise with yahoo and all the majors. further we've

Re: [PHP] CSS tables

2009-05-18 Thread Nathan Rixham
tedd wrote: At 5:14 PM +0100 5/18/09, Nathan Rixham wrote: -- computing ... .. . hows the childhood memories? I had a childhood? Cheers, tedd not sure? check the photo album - that's what I do - then look on like a 3rd person -- PHP General Mailing List (http://www.php.net

Re: [PHP] CSS tables

2009-05-19 Thread Nathan Rixham
I just wanted to run this past you guys for thoughts and opinions or even just to get brains ticking, it's all web development related and touched on throughout this thread. At the core of this we have a single problem, we create websites and web based applications, which we want to be

Re: [PHP] CSS tables

2009-05-19 Thread Nathan Rixham
PJ wrote: Nathan Rixham wrote: lol Glad /snip as they say did you ever get any help explaining css? just in case here's the ultra basics you have selectors and declarations selectors can be: .classname (a class, to be applied to many objects) #someid (a single object) p (redefine

Re: [PHP] CSS tables

2009-05-19 Thread Nathan Rixham
Shawn McKenzie wrote: Nathan Rixham wrote: I just wanted to run this past you guys for thoughts and opinions or even just to get brains ticking, it's all web development related and touched on throughout this thread. At the core of this we have a single problem, we create websites and web

Re: [PHP] CSS tables

2009-05-19 Thread Nathan Rixham
Shawn McKenzie wrote: Nathan Rixham wrote: Shawn McKenzie wrote: Nathan Rixham wrote: I just wanted to run this past you guys for thoughts and opinions or even just to get brains ticking, it's all web development related and touched on throughout this thread. At the core of this we have

Re: [PHP] CSS tables

2009-05-19 Thread Nathan Rixham
Shawn McKenzie wrote: Nathan Rixham wrote: Java anyone? eh? how do you get java from that? . user requests content sub-client required and application location are sent to users client. sub-client is launched within users client sub-client loads required application application connects

Re: [PHP] Posting values to a URL

2009-05-19 Thread Nathan Rixham
dele454 wrote: hi, I am working on integrating a credit payment service from setcom. on completion of transaction setcom sends bunch of post variables that my script has to send back to setcom to get the details of the transaction as an xml file. I am using the pecl_http

Re: [PHP] Re: Parsing of forms

2009-05-19 Thread Nathan Rixham
Daniele Grillenzoni wrote: On 19/05/2009 18.09, Andrew Ballard wrote: On Tue, May 19, 2009 at 10:11 AM, Ford, Mikem.f...@leedsmet.ac.uk wrote: On 19 May 2009 14:37, Daniele Grillenzoni advised: My complaint is this: a I can have a select multiple with a normal name, which is allowed by

Re: [PHP] Re: Parsing of forms

2009-05-20 Thread Nathan Rixham
Daniele Grillenzoni wrote: On 20/05/2009 2.45, Nathan Rixham wrote: Daniele Grillenzoni wrote: On 19/05/2009 18.09, Andrew Ballard wrote: On Tue, May 19, 2009 at 10:11 AM, Ford, Mikem.f...@leedsmet.ac.uk wrote: On 19 May 2009 14:37, Daniele Grillenzoni advised: My complaint is this: a I

[PHP] Re: Accepting Credit Card Payments

2009-05-20 Thread Nathan Rixham
Gary wrote: Sorry, the first post were put in the wrong place... Not sure this is a direct PHP question, however I know I will get some answers here. I have a customer that I am bidding a small project for. They want to be able to accept credit card payments for enrollment into a class.

<    2   3   4   5   6   7   8   9   10   >