[PHP] Testing gmail submission

2009-03-05 Thread haliphax
Got tired of using Microsoft Outlook to sort the PHP list discussions... apparently a lot of people use GMail for this, so I figured I would hook it into my GMail account and see what happens. // Todd

Re: [PHP] Testing gmail submission

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 8:56 AM, Daniel Brown wrote: > > On Thu, Mar 5, 2009 at 09:20, haliphax wrote: > > Got tired of using Microsoft Outlook to sort the PHP list discussions... > > apparently a lot of people use GMail for this, so I figured I would hook it > > into

Re: [PHP] Testing gmail submission

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 9:22 AM, Daniel Brown wrote: > On Thu, Mar 5, 2009 at 10:05, haliphax wrote: >> >> Indeed, it is I! Now, if I can only figure out how to keep GMail from >> mangling quotes... ah, there's the Plain Text button! :) > >Yeah, and if only we

Re: [PHP] PHP script lag (5 secs) when declaring mime type.

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 10:27 AM, Jsbeginner wrote: > Hello, Just to say that I've got a bit further in my search : > > header('Content-Type: application/x-javascript'); > //header('Content-Length: '.filesize('test.js')); > readfile('test.js'); > ?> > > (Content-Length line removed) Has no lag...

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 10:52 AM, Eric Butera wrote: > On Thu, Mar 5, 2009 at 11:16 AM, Nigel Green wrote: >> Hi all, >> >> This is my first post to the list. Have been observing for a few weeks and >> have learnt a lot. >> >> I am having an issue in one of my scripts where using the >> mysql_real

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 11:08 AM, Eric Butera wrote: > On Thu, Mar 5, 2009 at 12:00 PM, haliphax wrote: >> On Thu, Mar 5, 2009 at 10:52 AM, Eric Butera wrote: >>> On Thu, Mar 5, 2009 at 11:16 AM, Nigel Green wrote: >>>> Hi all, >>>> >>>>

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 11:41 AM, Eric Butera wrote: > On Thu, Mar 5, 2009 at 12:21 PM, haliphax wrote: >> On Thu, Mar 5, 2009 at 11:08 AM, Eric Butera wrote: >>> On Thu, Mar 5, 2009 at 12:00 PM, haliphax wrote: >>>> On Thu, Mar 5, 2009 at 10:52 AM, Eric Butera wr

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 2:00 PM, Eric Butera wrote: > On Thu, Mar 5, 2009 at 1:47 PM, haliphax wrote: >> On Thu, Mar 5, 2009 at 11:41 AM, Eric Butera wrote: >>> On Thu, Mar 5, 2009 at 12:21 PM, haliphax wrote: >>>> On Thu, Mar 5, 2009 at 11:08 AM, Eric Butera wr

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 2:11 PM, Eric Butera wrote: > On Thu, Mar 5, 2009 at 3:07 PM, haliphax wrote: >> Sadly, my company is throwing PHP out the window in favor of ASP.NET, >> as they have an irrational fear of Open Source software. Don't get me >> wrong--.NET

Re: [PHP] Long Execution Time - Safe Mode

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 4:14 PM, Chris wrote: > > Firstly always cc the mailing list so others can add their own suggestions. > > Also please don't put your reply at the top, it makes it very hard to follow > what's going on. Put it underneath or inline (put comments after mine and > put more later

Re: [PHP] concat woes

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 4:34 PM, PJ wrote: > Here we go again! > I'm trying to do some form entry verification and am trying to figure > out how to verify if there are 4 fields entered: > f_nameIN, l_nameIN, f_name2IN, l_name2IN > Verifying for each is ok, but somewhat tortured and long. I thought

Re: [PHP] Website on a USB key?

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 3:24 AM, Robert Cummings wrote: > On Fri, 2009-03-06 at 01:40 -0500, Paul M Foster wrote: >> On Fri, Mar 06, 2009 at 04:24:24PM +1100, Clancy wrote: >> >> > I bought some appliance recently, and found that they had thrown in a 2G >> > USB key for good >> > luck.  I guess I o

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

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 8:19 AM, Daniel Brown wrote: > On Fri, Mar 6, 2009 at 09:15, Robert Cummings wrote: >> >> I remember the internals debate about 2 or 3 years ago. I was on the pro >> goto side... it does have uses when used properly. > >    I wholeheartedly concur.  The first programming la

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

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 8:46 AM, Robert Cummings wrote: > On Fri, 2009-03-06 at 08:38 -0600, haliphax wrote: >> On Fri, Mar 6, 2009 at 8:19 AM, Daniel Brown wrote: >> > On Fri, Mar 6, 2009 at 09:15, Robert Cummings wrote: >> >> >> >> I remember the inte

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

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 8:56 AM, Robert Cummings wrote: > On Fri, 2009-03-06 at 08:51 -0600, haliphax wrote: >> On Fri, Mar 6, 2009 at 8:46 AM, Robert Cummings wrote: >> > On Fri, 2009-03-06 at 08:38 -0600, haliphax wrote: >> >> On Fri, Mar 6, 2009 at 8:19 AM, Danie

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

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 9:08 AM, Stuart wrote: > 2009/3/6 Robert Cummings >> >> I just turned 35... today... that's young by the standards of a 70 year >> old >:) > >  Happy Birthday ya wise old git. > I started with BBC Basic, moved on to gwbasic then to C, and the rest, as > they say, is history

Re: [PHP] verify another flavor

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 10:36 AM, PJ wrote: > I know I'm a pain the butt but I just can't help asking for help. You > guys are so nice... ;-) > I am trying to do some checks if there are entries in the db so I can > then insert the right stuff. And I'm looking for ways to simplify things. > I proba

Re: [PHP] Syntax checker? Character replacing

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 2:05 PM, Terion Miller wrote: > I have this and think maybe something is off, because if there is an amp (&) > in the location then it only displays a comma , and nothing else: > > if (isset($_SERVER['QUERY_STRING'])) {$Page .= ($_SERVER['QUERY_STRING']? > '?'. str_replace("

Re: [PHP] insert array values

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 3:00 PM, PJ wrote: > I've been racking my little peanut-brain as well as big Google with > little hope... > I can retrieve the array from the multiple select dropdown box but I > can't quite manage to insert the data which is just id numbers for a table. > I've tried some wh

Re: [PHP] Unexplained Issue Using Regex

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 3:44 PM, Nitsan Bin-Nun wrote: > I'm not looking for other ideas, the main thing here is that I have about > 30-100 regex's in the database and the script fetches them and applies them > to the string. I can't build again the engine and I'm not going to do that. > I'm trying

Re: [PHP] Unexplained Issue Using Regex

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 3:53 PM, haliphax wrote: > On Fri, Mar 6, 2009 at 3:44 PM, Nitsan Bin-Nun wrote: >> I'm not looking for other ideas, the main thing here is that I have about >> 30-100 regex's in the database and the script fetches them and applies them >&g

Re: [PHP] Unexplained Issue Using Regex

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 4:01 PM, Nitsan Bin-Nun wrote: > On Fri, Mar 6, 2009 at 11:53 PM, haliphax wrote: >> >> On Fri, Mar 6, 2009 at 3:44 PM, Nitsan Bin-Nun >> wrote: >> > I'm not looking for other ideas, the main thing here is that I have >> > about

Re: [PHP] insert array values

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 4:07 PM, PJ wrote: > haliphax wrote: >> On Fri, Mar 6, 2009 at 3:00 PM, PJ wrote: >>> I've been racking my little peanut-brain as well as big Google with >>> little hope... >>> I can retrieve the array from the multiple select dro

Re: [PHP] verify data in fields

2009-03-09 Thread haliphax
On Sun, Mar 8, 2009 at 4:52 PM, PJ wrote: > Ashley Sheridan wrote: >> On Sun, 2009-03-08 at 10:25 -0500, PJ wrote: >> >>> My mysql table contains data. But I don't know how to verify what >>> exactly is the data... is it an array, an integer, an alphanumeric >>> character or what? >>> vardump($wha

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread haliphax
On Sun, Mar 8, 2009 at 11:57 PM, Micah Gersten wrote: > Chetan Rane wrote: >> HI >> >> I also was looking for various frameworks and came across a very nice >> framework, which is feature rich as well as very fast >> >> You can see more details at http://www.yiiframework.com/ >> >> >> -Origina

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 1:29 AM, Sashikanth Gurram wrote: > Hi Nathan, > > Thanks a lot for the suggestion. It is working fine for an example code I > have used to test it. The code I have written after your suggestion is as > follows. > $location="C:\wamp\bin\apache\apache2.2.8\htdocs\Bldgs_lots\

Re: [PHP] assign array values to variables

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 9:25 AM, Jim Lucas wrote: > haliphax wrote: >> >> On Mon, Mar 9, 2009 at 2:22 AM, Jim Lucas wrote: >>> >>> PJ wrote: >> >> PJ, this looks like your third thread for this same question. It might >> be easier to get a

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 9:25 AM, Marc Christopher Hall wrote: > @todd; Micah - Precisely why I presented the question anew. Not only do I not > have enough time to troll through the archives; I was looking for a fresher > set of responses based on today's smorgasbord. Thank you for your input; I

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 9:32 AM, Sashikanth Gurram wrote: >> On Mon, Mar 9, 2009 at 1:29 AM, Sashikanth Gurram wrote: >> >>> >>> Hi Nathan, >>> >>> Thanks a lot for the suggestion. It is working fine for an example code I >>> have used to test it. The code I have written after your suggestion is a

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 10:24 AM, Sashikanth Gurram wrote: > Nathan Nobbe wrote: >> >> >> On Mon, Mar 9, 2009 at 7:32 AM, Sashikanth Gurram > > wrote: >> >>    Hi, >> >>    Yes, the problem was solved, but It did not work fine when I used >>    the same code in my larger fil

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 10:52 AM, Sashikanth Gurram wrote: > haliphax wrote: >> >> On Mon, Mar 9, 2009 at 10:24 AM, Sashikanth Gurram >> wrote: >> >>> >>> Nathan Nobbe wrote: >>> >>>> >>>> On Mon, Mar 9, 2009 at

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

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 12:54 PM, 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. :) Hello, and welcome! Just

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 1:26 PM, 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 o

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 2:50 PM, Nathan Rixham 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. :) -- /

Re: [PHP] Script execution

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 4:04 PM, Daniel Brown wrote: > On Mon, Mar 9, 2009 at 16:59, George Larson wrote: >> >> Am I imagining things?  If not, how would I properly make them able to run >> through a browser? > >    You're not imagining things.  In general, unless set up with > SuExec privileges,

Re: [PHP] Script execution

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 4:28 PM, Daniel Brown wrote: > On Mon, Mar 9, 2009 at 17:21, Daniel Brown wrote: >> >>    Re-read the context of that first paragraph from the OP and you'll >> see why I presume (as opposed to *ass*ume) that, despite his >> experience with Windows, this is a *NIX-like setup

Re: [PHP] Script execution

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 4:36 PM, 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.  :) In a word, I think "familiarity" sums it up. That, or "

Re: [PHP] Script execution

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 4:55 PM, Nathan Rixham wrote: > Daniel Brown wrote: >> >> On Mon, Mar 9, 2009 at 17:39, haliphax wrote: >>> >>> That, or "***holes." >> >>    That's what my name tag says. > > you got shot in the nametag

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-10 Thread haliphax
On Mon, Mar 9, 2009 at 8:43 PM, Sashikanth Gurram wrote: >>> Is there any way in which I can assign a variable to a query string? >>> Like for example, Let us say that there are two php files a.php and >>> b.php. I am currently using a image tag like >> src="imgtest.php?id=Williams Hall" /> in a.p

Re: [PHP] soft Phone

2009-03-10 Thread haliphax
On Tue, Mar 10, 2009 at 8:25 AM, Michael A. Peters wrote: > shahrzad khorrami wrote: >> >> Hi all :-) >> >> I want to use of *soft phone* application in my php codes..First is it >> possible? has php a module for this purpose? >> if it hasn't... By the way I think I must use of something else such

Re: [PHP] This code using _GET exploitable

2009-03-11 Thread haliphax
On Wed, Mar 11, 2009 at 7:56 AM, Michael A. Peters wrote: > filtered wrote: >> >> On Wed, Mar 11, 2009 at 13:44, Jochem Maas wrote: >>> >>> filtered schreef: Hi, we have script containing   >>> >>> let say I do: >>> >>> example.com/yourscript.php?studio=alert('I >>>

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

2009-03-11 Thread haliphax
On Wed, Mar 11, 2009 at 10:30 AM, Martin Zvarík wrote: > Marc Venturini napsal(a): >> >> Hi all, >> >> I wrote a PHP script running in Apache which takes more than 30 seconds to >> complete. It uses set_time_limit() to extend the time it is allowed to >> run. >> The script generates thumbnails fro

Re: [PHP] Re: Working directory of PHP pages?

2009-03-11 Thread haliphax
On Wed, Mar 11, 2009 at 12:44 PM, Shawn McKenzie wrote: > Clancy wrote: >> It is my understanding that when you open a page the PHP server looks for >> index.php in the >> site root directory, and loads it. As a result the working directory of the >> page will be >> the root directory of the sit

Re: [PHP] validation & inserts not working

2009-03-11 Thread haliphax
On Wed, Mar 11, 2009 at 4:29 PM, PJ wrote: > Lex Braun wrote: >> PJ, >> >> >>>     >>>     $sql1 = "INSERT INTO book ( title, sub_title, descr,                comment, bk_cover, copyright, ISBN, language, sellers )             VALUES ('$titleIN', '$sub_titleIN', '$descrIN', '$comme

Re: [PHP] Re: Working directory of PHP pages?

2009-03-12 Thread haliphax
On Thu, Mar 12, 2009 at 12:47 AM, Clancy wrote: > On Wed, 11 Mar 2009 13:03:19 -0500, halip...@gmail.com (haliphax) wrote: > >>On Wed, Mar 11, 2009 at 12:44 PM, Shawn McKenzie wrote: >>> Clancy wrote: >>>> It is my understanding that when you open a page the PHP

Re: [PHP] password field validation

2009-03-12 Thread haliphax
On Thu, Mar 12, 2009 at 2:39 PM, Jason Todd Slack-Moehrle wrote: >>> >>> if (empty($_POST[PASSSWORD])) >>> { $GERROR="TRUE";} >>> >> >> If that's a direct copy/paste from your actual code, there is an extra >> S in PASSWORD. Also, you should enclose the array key in quotes: >> >> if (empty($_POST[

Re: [PHP] Knowledge Base software - looking for opinions

2009-03-12 Thread haliphax
On Thu, Mar 12, 2009 at 2:55 PM, mike wrote: > http://puresw.com/products/lore/ - paid > http://www.knowledgebase-script.com/ - paid > http://68kb.com/ - free > > Free is good. > > Just needs to be basic, nothing crazy. > > A Wiki -almost- meets the needs but a) I hate wikis and b) they don't > ma

Re: [PHP] Knowledge Base software - looking for opinions

2009-03-12 Thread haliphax
> >> Especially if it had the capability to have page level security. So I >> can make KB articles just for admins... >> >> On Thu, Mar 12, 2009 at 1:05 PM, haliphax wrote: >> > On Thu, Mar 12, 2009 at 2:55 PM, mike wrote: >> >> http://puresw.com/produ

Re: [PHP] Knowledge Base software - looking for opinions

2009-03-12 Thread haliphax
On Thu, Mar 12, 2009 at 3:44 PM, Paul M Foster wrote: > On Thu, Mar 12, 2009 at 12:55:54PM -0700, mike wrote: > >> http://puresw.com/products/lore/ - paid >> http://www.knowledgebase-script.com/ - paid >> http://68kb.com/ - free >> >> Free is good. >> >> Just needs to be basic, nothing crazy. >> >

Re: [PHP] PHP to create an ERD (sic) on the fly on a web page based on current DB records?

2009-03-13 Thread haliphax
On Thu, Mar 12, 2009 at 7:47 PM, scubak1w1 wrote: > Hello, > > Seeking some advice on how to create an ERD (sic) graphically on the page on > the fly when the page is 'called'... > > That is, I have a backend PostgreSQL database that I am getting data from > and putting data into via web page/s an

Re: [PHP] Re: 2 forms, same page, 1st is file upload - works in IE, 'dies' in non-IE browsers

2009-03-13 Thread haliphax
On Fri, Mar 13, 2009 at 3:18 AM, 9el wrote: >> It sounds like a script error rather than a PHP error. Use Firebug which >> will show you the HTML as it is updated by Javascript, so you can see >> where the problem is. I'm willing to bet that the Javascript code you >> are using is IE only. >> >> Y

Re: [PHP] Sanitizing Numbers

2009-03-13 Thread haliphax
On Fri, Mar 13, 2009 at 12:34 PM, Matt Neimeyer wrote: > I'm trying to sanitize some numeric data that's coming to us from > another system which I have no control over where all fields are > character fields with no formatting from the end user so data is a > mishmash of clean and mixed types of

Re: [PHP] RE: non-auto increment question

2009-03-13 Thread haliphax
On Fri, Mar 13, 2009 at 1:24 PM, PJ wrote: > Jim Lucas wrote: >> PJ wrote: >>> am resending as this was erroneously ccd to mysql. sorry! >>> >>> Ashley Sheridan wrote: On Thu, 2009-02-26 at 11:27 -0500, PJ wrote: > Jerry Schwartz wrote: > >>> Being rather new to all this, I unders

Re: [PHP] Sanitizing Numbers

2009-03-13 Thread haliphax
On Fri, Mar 13, 2009 at 2:09 PM, Richard Heyes wrote: >> ereg > > [Gasps and runs off shouting "PCRE"] ... > > -- > Richard Heyes > > HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: > http://www.rgraph.net (Updated February 28th) > You can bet your shirt my tests were using preg_repl

Re: [PHP] Knowledge Base software - looking for opinions

2009-03-14 Thread haliphax
On Sat, Mar 14, 2009 at 4:34 AM, mike wrote: > Or, a very simple CMS so I don't have to code it that has the concept > of basic ACLs (user-based or group-based is fine) > > Hierarchial directory of documents > > Allow anyone with the right privileges to edit it > > Keep an audit of who edited it,

Re: [PHP] Problems with exec() on windows

2009-03-19 Thread haliphax
On Thu, Mar 19, 2009 at 9:19 AM, Kyohere Luke wrote: > Hi, > I'm trying to use exec to call gammu.exe and send sms on windows XP. > > This works from commandline: > > C:\path\to\gammu.exe 1 --sendsms EMS 200 -text "test1 test2" > > But if I run it through php like this: > > $command = "\"C:\path\t

Re: [PHP] Problems with exec() on windows

2009-03-19 Thread haliphax
On Thu, Mar 19, 2009 at 9:25 AM, haliphax wrote: > On Thu, Mar 19, 2009 at 9:19 AM, Kyohere Luke wrote: >> Hi, >> I'm trying to use exec to call gammu.exe and send sms on windows XP. >> >> This works from commandline: >> >> C:\path\to\gammu.exe 1 --s

Re: [PHP] Re: Problems with exec() on windows

2009-03-20 Thread haliphax
On Fri, Mar 20, 2009 at 1:47 AM, Kyohere Luke wrote: > You might have something there - never really thought about how windows > forms the 8.3 names... & not many resources online about it ... > > The actual path is "c:\Program File\Gammu 1.23.91\bin\gammu.exe" > I'd used "c:\Progra~1\Gammu~1\bin\

Re: [PHP] Frameworks / obstinate?

2009-03-23 Thread haliphax
On Mon, Mar 23, 2009 at 11:11 AM, tedd wrote: > At 10:50 AM -0400 3/23/09, Bastien Koert wrote: >> >> Tedd, >> >> JS has been running on MS servers for a long time. It was always viewes as >> an acceptable replacement for vbscript. > > Well -- that's been my fear. I think that M$ is trying to get

Re: [PHP] So called "PHP Expert"

2009-03-23 Thread haliphax
On Fri, Mar 20, 2009 at 5:27 PM, דניאל דנון wrote: ---8<--- > ### > function h3x($envar){ >    $hax3d = bin2hex($envar); >    $hax3d  = chunk_split($hax3d , 2, "%"); >    $hax3d  = "%" . substr($hax3d , 0, strlen($hax3d ) - 1); >    return $hax3d; > } > ?>* P

Re: [PHP] Regex help please

2009-03-27 Thread haliphax
On Fri, Mar 27, 2009 at 9:40 AM, Shawn McKenzie wrote: > I'm normally OK with regex, especially if I fiddle with it long enough, > however I have fiddled with this one so long that I'm either totally > missing it or it's something simple.  Does it have anything to do with > the backref, or the fac

Re: AW: [PHP] Read Text Content from PDF file

2009-03-30 Thread haliphax
On Mon, Mar 30, 2009 at 3:16 AM, Michael A. Peters wrote: > Andrei Bintintan wrote: >> >> Any other ideas? >> >> > > Also - I believe the commercial (full) version of PDFlib can - in fact, I > believe you can do it with the pecl-pdflib library if you have the full > version of pdflib installed. >

Re: [PHP] PHP + MySQL - Load last inserts

2009-03-30 Thread haliphax
On Mon, Mar 30, 2009 at 7:55 AM, Sebastian Muszytowski wrote: > Thijs Lensselink schrieb: >> >> Sebastian Muszytowski wrote: >> >>> >>> Hello :) >>> >>> I have some troubles with php and mysql.  I have a normal MySQL Query >>> and this returns X > 3 rows. >>> Now i want to get the last 3 inserted

Re: [PHP] PHP + MySQL - Load last inserts

2009-03-30 Thread haliphax
On Mon, Mar 30, 2009 at 9:13 AM, Sebastian Muszytowski wrote: > haliphax schrieb: >>> >>> [..cut...] >> >> Except when your primary key value rolls over, or fills a gap between >> two other rows that was left when a row was deleted/moved/etc... there >

Re: [PHP] time() TIMER in seconds or just numbers

2009-03-30 Thread haliphax
On Mon, Mar 30, 2009 at 10:47 AM, Richard Heyes wrote: >> When someone does that, it means the execution time between $t1 and $t2... > > Is that for my benefit? Believe it or not, I do know the arcane art of > subtraction... I would subtract more often, but sacrificial farm animals and black cand

Re: [PHP] time() TIMER in seconds or just numbers

2009-03-30 Thread haliphax
obar > > On Mon, Mar 30, 2009 at 1:05 PM, haliphax wrote: >> >> On Mon, Mar 30, 2009 at 10:47 AM, Richard Heyes wrote: >> >> When someone does that, it means the execution time between $t1 and >> >> $t2... >> > >> > Is that for my

Re: [PHP] UTF 8 support - enable-zend-multibyte ( was Re: [PHP] php bug from 2003 still alive?! - )

2009-03-30 Thread haliphax
On Mon, Mar 30, 2009 at 12:34 PM, Merlin Morgenstern wrote: > HI there, > > I now compiled php with zend multibyte. The trouble with the extra > characters is now gone, but all special characters are now replaced with a > questionmark! The document type shows utf-8, but somehow php seems not to >

Re: [PHP] time() TIMER in seconds or just numbers

2009-03-30 Thread haliphax
On Mon, Mar 30, 2009 at 1:51 PM, Igor Escobar wrote: > Okey, but you understand the purpouse of it? > > On Mon, Mar 30, 2009 at 3:42 PM, haliphax wrote: >> >> On Mon, Mar 30, 2009 at 11:37 AM, Igor Escobar >> wrote: >> > The people use that to measure perfor

Re: [PHP] time() TIMER in seconds or just numbers

2009-03-30 Thread haliphax
On Mon, Mar 30, 2009 at 3:35 PM, Shawn McKenzie wrote: > Andrew Williams wrote: >> what does time(); >> >> $t1 = time(); >> >> { >> >> do something >> } >> $t2 = time(); >> >> $end_time = $t2 - $t1; >> echo $end_time; >> >> what does $end_time represent? >> >> how do you determine the next 5 mins?

Re: [PHP] PHP + MySQL - Load last inserts

2009-03-30 Thread haliphax
On Mon, Mar 30, 2009 at 5:10 PM, Chris wrote: > haliphax wrote: >> >> On Mon, Mar 30, 2009 at 9:13 AM, Sebastian Muszytowski >> wrote: >>> >>> haliphax schrieb: >>>>> >>>>> [..cut...] >>>> >>>> Excep

Re: [PHP] Workflow app for software

2009-03-31 Thread haliphax
On Tue, Mar 31, 2009 at 1:47 PM, bruce wrote: > Ladies/Gents... > > Hi. Trying to get some input to a web based app for dealing with managing > software apps/scripts. > > Basically, i'm envisioning a system where people register/signup, and then > check in/out apps for development/testing/producti

Re: [PHP] PHP task manager

2009-03-31 Thread haliphax
On Tue, Mar 31, 2009 at 2:31 PM, George Larson wrote: > We've got a homebrew ToDo list (task & project) manager / mailer that we're > thinking about replacing with something a little more robust. > > Any suggestions?  I saw TaskFreak! on Google but I am curious if there are > any personal recommen

Re: [PHP] formulate nested select

2009-03-31 Thread haliphax
On Tue, Mar 31, 2009 at 5:15 PM, PJ wrote: > kyle.smith wrote: >> What about using "IN", something like: >> >> SELECT * FROM book WHERE id IN (SELECT bookID FROM book_authors WHERE >> authID IN (SELECT author.id FROM authors WHERE last_name LIKE >> "$Auth%")); >> >> You could use LEFT instead of L

Re: [PHP] Workflow app for software

2009-04-01 Thread haliphax
On Tue, Mar 31, 2009 at 4:37 PM, bruce wrote: > hey todd... > > just toook a look at the polarion svn-web app i thought that was closed > source... i see that it's open!!! > > -Original Message- > From: haliphax [mailto:halip...@gmail.com] > Sent: Tuesday

Re: [PHP] Workflow app for software

2009-04-01 Thread haliphax
On Wed, Apr 1, 2009 at 8:33 AM, bruce wrote: > not another top/side/bottom post thread again!!! > > > > -Original Message- > From: haliphax [mailto:halip...@gmail.com] > Sent: Wednesday, April 01, 2009 5:38 AM > To: php-general@lists.php.net > Subject: Re: [PHP

Re: [PHP] Workflow app for software

2009-04-01 Thread haliphax
On Wed, Apr 1, 2009 at 11:53 AM, bruce wrote: > and haliphax... > > i specifically sent the reply to only you.. you then felt the need to reply > to the list as a whole > > hmm.. ok.. this thread is officially dead!! > > unless of course it gets back to the initi

Re: [PHP] Workflow app for software

2009-04-01 Thread haliphax
On Wed, Apr 1, 2009 at 1:38 PM, Robert Cummings wrote: > On Wed, 2009-04-01 at 13:30 -0500, haliphax wrote: >> On Wed, Apr 1, 2009 at 11:53 AM, bruce wrote: >> > and haliphax... >> > >> > i specifically sent the reply to only you.. you then felt the need

Re: [PHP] files creation/access dates

2009-04-14 Thread haliphax
On Tue, Apr 14, 2009 at 4:12 AM, Per Jessen wrote: > Tom Sparks wrote: > >> >> how do I get the creation dates on a file? >> how do I get the last access date on a file? >> > > http://php.net/manual/en/function.stat.php Or, perhaps a bit easier: http://php.net/filemtime http://php.net/fileatime

Re: [PHP] $_GET verses $_POST

2009-04-14 Thread haliphax
On Tue, Apr 14, 2009 at 8:40 AM, Paul M Foster wrote: > On Tue, Apr 14, 2009 at 07:58:24AM +0100, Ashley Sheridan wrote: > > > >> I've done a bit of research into that, and can't find any evidence to >> suggest that the so-called "friendly URL's" are actually of any benefit >> to search engines.

Re: [PHP] Logical next step in learning?

2009-04-14 Thread haliphax
On Tue, Apr 14, 2009 at 2:20 PM, Luke wrote: > 2009/4/14 phphelp -- kbk > >> >> On Apr 14, 2009, at 10:58 AM, Gary wrote: >> >>  I think most books have you writing code, and Head First did as well, so I >>> think that is covered.. >>> >> >> No, it isn't. There is a big difference between writing

Re: [PHP] cURL - Error 400

2009-04-15 Thread haliphax
On Wed, Apr 15, 2009 at 10:36 AM, David wrote: > I was wondering if anyone could please help me with this cURL script since I > keep getting error 400 from the web server: > > http://pastebin.ca/1392840 > > It worked until around a month ago which is when they presumably made > changes to the site

Re: [PHP] cURL - Error 400

2009-04-16 Thread haliphax
On Wed, Apr 15, 2009 at 9:17 PM, David wrote: > Except I also need to POST data to the server to login. After I've logged > in, I then need to use cookies to maintain a session. > > Doing that via file_get_contents() just isn't possible. > > > Thanks > > On T

Re: [PHP] Need Your Help :) I'm Just About Creating File Uploading Service

2009-04-16 Thread haliphax
On Thu, Apr 16, 2009 at 1:29 PM, Nitsan Bin-Nun wrote: > Hi List, > > I have been thinking for a while about setting up my own rapidshare.comclone, > Few days back I went really serious with this and came up with some ideas. > > This is where I need your help, my partner and I have been thinking a

Re: [PHP] cURL - Error 400

2009-04-17 Thread haliphax
gt; Connection: Keep-Alive > Content-Type: text/html; charset=UTF-8 > > Which didn't work either. > > > > > Thanks > > On Thu, Apr 16, 2009 at 11:48 PM, haliphax wrote: >> >> On Wed, Apr 15, 2009 at 9:17 PM, David wrote: >> > Except I also need t

Re: [PHP] cURL - Error 400

2009-04-20 Thread haliphax
On Fri, Apr 17, 2009 at 7:58 AM, David wrote: > On Fri, Apr 17, 2009 at 8:55 PM, Andrew Ballard wrote: >> >> On Fri, Apr 17, 2009 at 12:41 AM, David wrote: >> > On Thu, Apr 16, 2009 at 11:48 PM, haliphax wrote: >> > >> >> On Wed, Apr 15, 2009 at

Re: [PHP] Let me google that for you.

2009-04-21 Thread haliphax
On Fri, Apr 17, 2009 at 1:01 PM, 9el wrote: > If you play with jQuery its easy. > > And if you talk about JavaScript's urlencode functionality you wont ask > about 'how to remove the + sign' > > I'm not very good yet on jQuery or else I would have shown you the codes. jQuery doesn't make this muc

Re: [PHP] Check whether a page is Google Cached

2009-04-21 Thread haliphax
On Tue, Apr 21, 2009 at 8:29 AM, Alan Chen wrote: > Hi, everyone, > > I want to write a small PHP script test.php that can determine whether a > webpage is Google Cached. > > Assuming it is uploaded to www.mysite.com, and I want to use it to check > whether www.yoursite.com is google cached. > > I

Re: [PHP] Encrypting email

2009-04-21 Thread haliphax
On Tue, Apr 21, 2009 at 9:43 AM, Bob McConnell wrote: > From: tedd [mailto:tedd.sperl...@gmail.com] >> At 9:49 AM -0400 4/21/09, Bob McConnell wrote: >> >From: tedd >> >>  At 8:39 AM -0400 4/21/09, Bob McConnell wrote: >> >>>I have been asked by a product manager what our options are for >> >>>enc

Re: [PHP] Re: Suggestions of some good, simple file upload 'in progress' code?

2009-04-22 Thread haliphax
On Tue, Apr 21, 2009 at 11:35 PM, Michael Shadle wrote: > On Tue, Apr 21, 2009 at 9:02 PM, scubak1w1 wrote: >> >> ""scubak1w1"" wrote in message >> news:cf.13.21597.2ee8e...@pb1.pair.com... >>> Hello, >>> >>> Can someone pass on some suggestions of some good, simple file upload 'in >>> progress'

Re: [PHP] Re: Suggestions of some good, simple file upload 'in progress' code?

2009-04-22 Thread haliphax
On Wed, Apr 22, 2009 at 11:25 AM, Michael Shadle wrote: > On Wed, Apr 22, 2009 at 6:20 AM, haliphax wrote: > >> Michael, >> >> Given the fact that Gears requires a client-side installation, has an >> awful penetration percentage, and his original solution is all

Re: [PHP] ImageMagick

2009-05-04 Thread haliphax
On Fri, May 1, 2009 at 7:11 AM, Kevin Waterson wrote: > This one time, at band camp, Michael A. Peters wrote: >> Here's the scenario - >> >> Website has some demonstrative images. >> >> I create these images with the gimp - starting with a jpeg, adding a few >> text layers and straight lines. >> >

Re: [PHP] Re: Static and/or Dynamic site scraping using PHP

2009-05-04 Thread haliphax
On Thu, Apr 30, 2009 at 8:03 AM, 9el wrote: > On Thu, Apr 30, 2009 at 3:33 AM, 9el wrote: >> I just got a project to do on PHP of scraping the body items from >> static sites or just html sites. >> Could you experts please suggest me some quick resources? >> >> I have to make an WP plugin with th

[PHP] Azure SDK for PHP

2009-05-21 Thread haliphax
Microsoft's Azure cloud computing framework has now been exposed to PHP. I haven't tested any of the features myself, but it seems like a pretty interesting (and leverage-able) concept to work with... figured I'd pass the word along. http://phpazure.codeplex.com/ -- // Todd -- PHP General Mai

Re: [PHP] Re: PHP vs ASP.NET

2009-06-01 Thread haliphax
On Mon, Jun 1, 2009 at 2:18 PM, Lists wrote: > ASP (Classic) and ASP.NET = two different things. > > en.wikipedia.org/wiki/Active_Server_Pages > > Personally, I don't see a reason for putting anyone, or any > company through the torture of building web apps with > .NET. ...VBSCRIPT for the web jus

Re: [PHP] Directing form to different handlers?

2009-06-01 Thread haliphax
On Mon, Jun 1, 2009 at 2:59 PM, Matthew McKay wrote: > On Mon, Jun 1, 2009 at 2:43 PM, James Ausmus > wrote: > >> On Mon, Jun 1, 2009 at 12:32 PM, Matthew McKay wrote: >> > It would be much simpler and cleaner to use Javascript to modify the >> form's >> > action attribute onClick. >> > >> >> Not

Re: [PHP] Best Encryption Algorithm

2009-06-03 Thread haliphax
On Wed, Jun 3, 2009 at 8:28 AM, Bruno Fajardo wrote: > Hi there! > > Try out AES. > http://en.wikipedia.org/wiki/Advanced_Encryption_Standard > > Bruno. > > 2009/6/3 Hemant Patel >> >> Hello Everyone, >>                      Hope you all are doing great. >>                      Now we are creatin

Re: [PHP] Query Regarding a Player

2009-06-03 Thread haliphax
On Wed, Jun 3, 2009 at 8:14 AM, Hemant Patel wrote: > Hi All, >            I hope you all are doing great.We are developing a application > on our end and we got a problem with a Audio/Vedio player.As flash player is > working  well with client side but it has limitation of file formats like it >

Re: [PHP] Not a regular file?

2009-06-04 Thread haliphax
On Thu, Jun 4, 2009 at 9:07 AM, Miller, Terion wrote: > I've never encountered this error: > > Warning: ftp_put() [function.ftp-put]: > /httpdocs/Announcements/photos/obitsTest/: Not a regular file in > /Applications/MAMP/htdocs/HarrisAutomate/ObitsTester.php on line 149 > There was a problem wh

Re: [PHP] SVG and PHP

2010-01-11 Thread haliphax
On Wed, Jan 6, 2010 at 5:04 PM, Bob Strasser wrote: > > Hi, > > Just went online and saw an SVG generated from Python, and wanted to > do the similar thing by loading the SVG into an PHP script. Here is the > script that I have: > > > #Load the Map > $ourFileName= "USA_Counties_with_FIPS_and_na

Re: [PHP] header("Location:...") fails

2010-01-14 Thread haliphax
On Wed, Jan 13, 2010 at 7:02 PM, Shawn McKenzie wrote: > Robert Cummings wrote: > > Just make your life easy and create a redirect() function that generates > > the header instruction, makes a relative URL into an absolute URL and > > does the exit call. Then you just need to do: > > > > redirect(

  1   2   >