Re: [PHP] PHP: inexplicable behaviour of pre- and post-increment operators

2010-03-03 Thread haliphax
On Fri, Feb 26, 2010 at 11:01 PM, clanc...@cybec.com.au wrote: while ($i $j) { $b[$i] = $a[$i++]; } B. You get $b[0] = $a[1], and so on (as you would expect). Wouldn't that be $b[0] = $a[0], with the value of $i being 1 *after* the statement was finished executing? You used a

Re: [PHP] Linux ERD software

2010-02-24 Thread haliphax
Dia is also a superb diagramming software, though I don't think it generates any SQL for you when it's said and done. There are versions for several operating systems (including Linux AND Windows). // Todd

Re: [PHP] Appalling Dreamweaver performance

2010-02-05 Thread haliphax
On Fri, Feb 5, 2010 at 3:59 PM, Lenin doctortomor...@gmail.com wrote: Try the NetBeans then Personally, I've found that Programmer's Notepad 2 is a pretty capable editor, and has some nice features such as auto-closing elements when working with markup languages (HTML, XML, XSL, XHTML, etc.).

Re: [PHP] OpenID

2010-02-05 Thread haliphax
On Mon, Feb 1, 2010 at 9:54 PM, Michael A. Peters mpet...@mac.com wrote: Daevid Vincent wrote: -Original Message- From: Al [mailto:n...@ridersite.org] Sent: Monday, February 01, 2010 12:09 PM To: php-general@lists.php.net Subject: [PHP] OpenID This is a bit off subject, but

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

2010-01-14 Thread haliphax
On Wed, Jan 13, 2010 at 7:02 PM, Shawn McKenzie nos...@mckenzies.netwrote: 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:

Re: [PHP] Need Idea to make Backup

2010-01-14 Thread haliphax
On Thu, Jan 14, 2010 at 5:45 AM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Thu, 2010-01-14 at 12:32 +0100, Jens Geier wrote: Ashley Sheridan a...@ashleysheridan.co.uk schrieb im Newsbeitrag news:1263463572.5952.71.ca...@localhost... On Thu, 2010-01-14 at 10:12 +0100, Jens Geier

Re: [PHP] strtotime

2010-01-14 Thread haliphax
On Thu, Jan 14, 2010 at 2:53 PM, Adam Richardson simples...@gmail.comwrote: I've not read this, but if the first valid date is Jan. 1st, 1970, then passing that date back in the case of errors would lead to ambiguity. Is it a valid date or is it an error. Passing back the date of the day

Re: [PHP] SVG and PHP

2010-01-11 Thread haliphax
On Wed, Jan 6, 2010 at 5:04 PM, Bob Strasser bstras...@noccorp.com 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: ?php #Load the Map $ourFileName=

Re: [PHP] Not a regular file?

2009-06-04 Thread haliphax
On Thu, Jun 4, 2009 at 9:07 AM, Miller, Terion tmil...@springfi.gannett.com 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

Re: [PHP] Best Encryption Algorithm

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

Re: [PHP] Query Regarding a Player

2009-06-03 Thread haliphax
On Wed, Jun 3, 2009 at 8:14 AM, Hemant Patel hemant.develo...@gmail.com 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

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

2009-06-01 Thread haliphax
On Mon, Jun 1, 2009 at 2:18 PM, Lists li...@euca.us 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

Re: [PHP] Directing form to different handlers?

2009-06-01 Thread haliphax
On Mon, Jun 1, 2009 at 2:59 PM, Matthew McKay m...@mattmckay.org wrote: On Mon, Jun 1, 2009 at 2:43 PM, James Ausmus james.ausmus.li...@gmail.comwrote: On Mon, Jun 1, 2009 at 12:32 PM, Matthew McKay m...@mattmckay.org wrote: It would be much simpler and cleaner to use Javascript to modify

[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

Re: [PHP] ImageMagick

2009-05-04 Thread haliphax
On Fri, May 1, 2009 at 7:11 AM, Kevin Waterson ke...@phpro.org 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 le...@phpxperts.net wrote: On Thu, Apr 30, 2009 at 3:33 AM, 9el le...@phpxperts.net 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

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 mike...@gmail.com wrote: On Tue, Apr 21, 2009 at 9:02 PM, scubak1w1 sk...@spamcop.net wrote: scubak1w1 sk...@spamcop.net wrote in message news:cf.13.21597.2ee8e...@pb1.pair.com... Hello, Can someone pass on some suggestions of some good,

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 mike...@gmail.com wrote: On Wed, Apr 22, 2009 at 6:20 AM, haliphax halip...@gmail.com wrote: Michael, Given the fact that Gears requires a client-side installation, has an awful penetration percentage, and his original solution is all server

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

2009-04-21 Thread haliphax
On Fri, Apr 17, 2009 at 1:01 PM, 9el le...@phpxperts.net 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

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 c...@datanumen.com 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

Re: [PHP] Encrypting email

2009-04-21 Thread haliphax
On Tue, Apr 21, 2009 at 9:43 AM, Bob McConnell r...@cbord.com 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

Re: [PHP] cURL - Error 400

2009-04-20 Thread haliphax
On Fri, Apr 17, 2009 at 7:58 AM, David quick.webmas...@gmail.com wrote: On Fri, Apr 17, 2009 at 8:55 PM, Andrew Ballard aball...@gmail.com wrote: On Fri, Apr 17, 2009 at 12:41 AM, David quick.webmas...@gmail.com wrote: On Thu, Apr 16, 2009 at 11:48 PM, haliphax halip...@gmail.com wrote

Re: [PHP] cURL - Error 400

2009-04-17 Thread haliphax
/html; charset=UTF-8 Which didn't work either. Thanks On Thu, Apr 16, 2009 at 11:48 PM, haliphax halip...@gmail.com wrote: On Wed, Apr 15, 2009 at 9:17 PM, David quick.webmas...@gmail.com wrote: Except I also need to POST data to the server to login. After I've logged in, I then need

Re: [PHP] cURL - Error 400

2009-04-16 Thread haliphax
:30 AM, haliphax halip...@gmail.com wrote: On Wed, Apr 15, 2009 at 10:36 AM, David quick.webmas...@gmail.com 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

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 nit...@binnun.co.il 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

Re: [PHP] cURL - Error 400

2009-04-15 Thread haliphax
On Wed, Apr 15, 2009 at 10:36 AM, David quick.webmas...@gmail.com 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

Re: [PHP] files creation/access dates

2009-04-14 Thread haliphax
On Tue, Apr 14, 2009 at 4:12 AM, Per Jessen p...@computer.org 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

Re: [PHP] $_GET verses $_POST

2009-04-14 Thread haliphax
On Tue, Apr 14, 2009 at 8:40 AM, Paul M Foster pa...@quillandmouse.com wrote: On Tue, Apr 14, 2009 at 07:58:24AM +0100, Ashley Sheridan wrote: snip 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

Re: [PHP] Logical next step in learning?

2009-04-14 Thread haliphax
On Tue, Apr 14, 2009 at 2:20 PM, Luke l...@blog-thing.com wrote: 2009/4/14 phphelp -- kbk phph...@comcast.net 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

Re: [PHP] Workflow app for software

2009-04-01 Thread haliphax
On Tue, Mar 31, 2009 at 4:37 PM, bruce bedoug...@earthlink.net 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, March 31

Re: [PHP] Workflow app for software

2009-04-01 Thread haliphax
On Wed, Apr 1, 2009 at 8:33 AM, bruce bedoug...@earthlink.net 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] Workflow app

Re: [PHP] Workflow app for software

2009-04-01 Thread haliphax
On Wed, Apr 1, 2009 at 11:53 AM, bruce bedoug...@earthlink.net 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 initial question

Re: [PHP] Workflow app for software

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

Re: [PHP] Workflow app for software

2009-03-31 Thread haliphax
On Tue, Mar 31, 2009 at 1:47 PM, bruce bedoug...@earthlink.net 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

Re: [PHP] PHP task manager

2009-03-31 Thread haliphax
On Tue, Mar 31, 2009 at 2:31 PM, George Larson george.g.lar...@gmail.com 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

Re: [PHP] formulate nested select

2009-03-31 Thread haliphax
On Tue, Mar 31, 2009 at 5:15 PM, PJ af.gour...@videotron.ca 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

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 mpet...@mac.com 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 s.muszytow...@googlemail.com 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

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

2009-03-30 Thread haliphax
On Mon, Mar 30, 2009 at 9:13 AM, Sebastian Muszytowski s.muszytow...@googlemail.com 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 has got to be a better way

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 rich...@php.net 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

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

2009-03-30 Thread haliphax
, Mar 30, 2009 at 1:05 PM, haliphax halip...@gmail.com wrote: On Mon, Mar 30, 2009 at 10:47 AM, Richard Heyes rich...@php.net 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

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 merli...@fastmail.fm 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

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 titiolin...@gmail.com wrote: Okey, but you understand the purpouse of it? On Mon, Mar 30, 2009 at 3:42 PM, haliphax halip...@gmail.com wrote: On Mon, Mar 30, 2009 at 11:37 AM, Igor Escobar titiolin...@gmail.com wrote: The people use

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 nos...@mckenzies.net 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? So if you

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

2009-03-30 Thread haliphax
On Mon, Mar 30, 2009 at 5:10 PM, Chris dmag...@gmail.com wrote: haliphax wrote: On Mon, Mar 30, 2009 at 9:13 AM, Sebastian Muszytowski s.muszytow...@googlemail.com wrote: haliphax schrieb: [..cut...] Except when your primary key value rolls over, or fills a gap between two other rows

Re: [PHP] Regex help please

2009-03-27 Thread haliphax
On Fri, Mar 27, 2009 at 9:40 AM, Shawn McKenzie nos...@mckenzies.net 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

Re: [PHP] Frameworks / obstinate?

2009-03-23 Thread haliphax
On Mon, Mar 23, 2009 at 11:11 AM, tedd tedd.sperl...@gmail.com 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

Re: [PHP] So called PHP Expert

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

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

2009-03-20 Thread haliphax
On Fri, Mar 20, 2009 at 1:47 AM, Kyohere Luke pr0...@gmail.com 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

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

2009-03-19 Thread haliphax
On Thu, Mar 19, 2009 at 9:19 AM, Kyohere Luke pr0...@gmail.com 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 =

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

2009-03-19 Thread haliphax
On Thu, Mar 19, 2009 at 9:25 AM, haliphax halip...@gmail.com wrote: On Thu, Mar 19, 2009 at 9:19 AM, Kyohere Luke pr0...@gmail.com 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

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

2009-03-14 Thread haliphax
On Sat, Mar 14, 2009 at 4:34 AM, mike mike...@gmail.com 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

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 sk...@spamcop.net 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

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 le...@phpxperts.net 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

Re: [PHP] Sanitizing Numbers

2009-03-13 Thread haliphax
On Fri, Mar 13, 2009 at 12:34 PM, Matt Neimeyer m...@neimeyer.org 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

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

2009-03-13 Thread haliphax
On Fri, Mar 13, 2009 at 1:24 PM, PJ af.gour...@videotron.ca 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 understood from

Re: [PHP] Sanitizing Numbers

2009-03-13 Thread haliphax
On Fri, Mar 13, 2009 at 2:09 PM, Richard Heyes rich...@php.net 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

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

2009-03-12 Thread haliphax
On Thu, Mar 12, 2009 at 12:47 AM, Clancy clanc...@cybec.com.au 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 nos...@mckenzies.net 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 mailingli...@mailnewsrss.com 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

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

2009-03-12 Thread haliphax
On Thu, Mar 12, 2009 at 2:55 PM, mike mike...@gmail.com 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

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

2009-03-12 Thread haliphax
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 halip...@gmail.com wrote: On Thu, Mar 12, 2009 at 2:55 PM, mike mike...@gmail.com wrote: http://puresw.com/products/lore/ - paid http://www.knowledgebase

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 pa...@quillandmouse.com 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

Re: [PHP] This code using _GET exploitable

2009-03-11 Thread haliphax
On Wed, Mar 11, 2009 at 7:56 AM, Michael A. Peters mpet...@mac.com wrote: filtered wrote: On Wed, Mar 11, 2009 at 13:44, Jochem Maas joc...@iamjochem.com wrote: filtered schreef: Hi, we have script containing  ? echo $_GET['studio'] ? let say I do:

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 mzva...@gmail.com 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

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

2009-03-11 Thread haliphax
On Wed, Mar 11, 2009 at 12:44 PM, Shawn McKenzie nos...@mckenzies.net 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

Re: [PHP] validation inserts not working

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

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 sashi...@vt.edu 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 img src=imgtest.php?id=Williams Hall /

Re: [PHP] soft Phone

2009-03-10 Thread haliphax
On Tue, Mar 10, 2009 at 8:25 AM, Michael A. Peters mpet...@mac.com 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

Re: [PHP] verify data in fields

2009-03-09 Thread haliphax
On Sun, Mar 8, 2009 at 4:52 PM, PJ af.gour...@videotron.ca 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?

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread haliphax
On Sun, Mar 8, 2009 at 11:57 PM, Micah Gersten news.php@micahscomputing.com 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/

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 sashi...@vt.edu 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. ?php

Re: [PHP] assign array values to variables

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 9:25 AM, Jim Lucas li...@cmsws.com wrote: haliphax wrote: On Mon, Mar 9, 2009 at 2:22 AM, Jim Lucas li...@cmsws.com wrote: PJ wrote: PJ, this looks like your third thread for this same question. It might be easier to get a straight answer if your request isn't

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 9:25 AM, Marc Christopher Hall m...@hallmarcwebsites.com 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

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 sashi...@vt.edu wrote: On Mon, Mar 9, 2009 at 1:29 AM, Sashikanth Gurram sashi...@vt.edu 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

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 sashi...@vt.edu wrote: Nathan Nobbe wrote: On Mon, Mar 9, 2009 at 7:32 AM, Sashikanth Gurram sashi...@vt.edu mailto:sashi...@vt.edu wrote:    Hi,    Yes, the problem was solved, but It did not work fine when I used    the same code in my

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 sashi...@vt.edu wrote: haliphax wrote: On Mon, Mar 9, 2009 at 10:24 AM, Sashikanth Gurram sashi...@vt.edu wrote: Nathan Nobbe wrote: On Mon, Mar 9, 2009 at 7:32 AM, Sashikanth Gurram sashi...@vt.edu mailto:sashi...@vt.edu wrote:   Hi

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 iniad...@gmail.com 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,

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread haliphax
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 this, I'll say that overhead/bloat vs

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread haliphax
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. :) -- // Todd -- PHP General

Re: [PHP] Script execution

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 4:04 PM, Daniel Brown danbr...@php.net wrote: On Mon, Mar 9, 2009 at 16:59, George Larson george.g.lar...@gmail.com 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

Re: [PHP] Script execution

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 4:28 PM, Daniel Brown paras...@gmail.com wrote: On Mon, Mar 9, 2009 at 17:21, Daniel Brown paras...@gmail.com 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

Re: [PHP] Script execution

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 4:36 PM, George Larson george.g.lar...@gmail.com 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

Re: [PHP] Script execution

2009-03-09 Thread haliphax
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 luck! Yep

Re: [PHP] Website on a USB key?

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 3:24 AM, Robert Cummings rob...@interjinn.com 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

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

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 8:19 AM, Daniel Brown danbr...@php.net wrote: On Fri, Mar 6, 2009 at 09:15, Robert Cummings rob...@interjinn.com 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

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

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 8:46 AM, Robert Cummings rob...@interjinn.com wrote: On Fri, 2009-03-06 at 08:38 -0600, haliphax wrote: On Fri, Mar 6, 2009 at 8:19 AM, Daniel Brown danbr...@php.net wrote: On Fri, Mar 6, 2009 at 09:15, Robert Cummings rob...@interjinn.com wrote: I remember

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

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 8:56 AM, Robert Cummings rob...@interjinn.com wrote: On Fri, 2009-03-06 at 08:51 -0600, haliphax wrote: On Fri, Mar 6, 2009 at 8:46 AM, Robert Cummings rob...@interjinn.com wrote: On Fri, 2009-03-06 at 08:38 -0600, haliphax wrote: On Fri, Mar 6, 2009 at 8:19 AM, Daniel

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

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 9:08 AM, Stuart stut...@gmail.com wrote: 2009/3/6 Robert Cummings rob...@interjinn.com 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

Re: [PHP] verify another flavor

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 10:36 AM, PJ af.gour...@videotron.ca 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

Re: [PHP] Syntax checker? Character replacing

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 2:05 PM, Terion Miller webdev.ter...@gmail.com 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']?

Re: [PHP] insert array values

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 3:00 PM, PJ af.gour...@videotron.ca 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.

Re: [PHP] Unexplained Issue Using Regex

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 3:44 PM, Nitsan Bin-Nun nit...@binnun.co.il 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

Re: [PHP] Unexplained Issue Using Regex

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 3:53 PM, haliphax halip...@gmail.com wrote: On Fri, Mar 6, 2009 at 3:44 PM, Nitsan Bin-Nun nit...@binnun.co.il 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

Re: [PHP] Unexplained Issue Using Regex

2009-03-06 Thread haliphax
On Fri, Mar 6, 2009 at 4:01 PM, Nitsan Bin-Nun nit...@binnun.co.il wrote: On Fri, Mar 6, 2009 at 11:53 PM, haliphax halip...@gmail.com wrote: On Fri, Mar 6, 2009 at 3:44 PM, Nitsan Bin-Nun nit...@binnun.co.il 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 af.gour...@videotron.ca wrote: haliphax wrote: On Fri, Mar 6, 2009 at 3:00 PM, PJ af.gour...@videotron.ca 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

[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 danbr...@php.net wrote: On Thu, Mar 5, 2009 at 09:20, haliphax halip...@gmail.com 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 my

Re: [PHP] Testing gmail submission

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 9:22 AM, Daniel Brown danbr...@php.net wrote: On Thu, Mar 5, 2009 at 10:05, haliphax halip...@gmail.com 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 could

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 jsbegin...@monarobase.net wrote: Hello, Just to say that I've got a bit further in my search : ?php header('Content-Type: application/x-javascript'); //header('Content-Length: '.filesize('test.js')); readfile('test.js'); ? (Content-Length line

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 10:52 AM, Eric Butera eric.but...@gmail.com wrote: On Thu, Mar 5, 2009 at 11:16 AM, Nigel Green ni...@greenlemur.com 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

  1   2   >