Re: [PHP] Form Already Filled Out

2011-08-03 Thread Thiago H. Pojda
Hmmm looks like you saved the password and your browser or OS may be filling it for you. Em 04/08/2011 01:42, "wil prim" escreveu: > Hello, S i created a simple login system, and I am using sessions. Everything seems to work fine, however; when I upload my files to my server and type my domain

Re: [PHP] Fw: Spoofing user_agent

2010-11-29 Thread Thiago H. Pojda
Quit top posting. On Mon, Nov 29, 2010 at 9:55 PM, Ron Piggott wrote: > > My issue with the user agent is unresolved. I need to do more research to > see how AWSTATS distinguishes between a robot crawling the site and a web > page user and set the user-agent accordingly. > Ron, AWSTATS probab

Re: [PHP] Suppressing error from displaying

2010-11-24 Thread Thiago H. Pojda
On Wed, Nov 24, 2010 at 5:13 PM, Ron Piggott wrote: > > I am using this syntax to check for a valid e-mail address > > list($userName, $mailDomain) = split("@", $buyer_email); > if (checkdnsrr($mailDomain, "MX")) { > > if no domain is provided ( ie e-mail address is something like “ron” with > no

Re: [PHP] I am a Windows programmer and getting started on PHP

2010-11-19 Thread Thiago H. Pojda
On Fri, Nov 19, 2010 at 2:13 PM, Alejandro Michelin Salomon < amichel...@hotmail.com> wrote: > > -Original Message- > > Subject: [PHP] I am a Windows programmer and getting started > > on PHP. What is the easiest way of getting started? Most of > > the stuff I encounter seems to be very L

[PHP] Apache mod_pagespeed

2010-11-03 Thread Thiago H. Pojda
Guys, Google announced this morningtheir mod_pagespeed to improve Apache's performance. It really looks promising, what do you guys think? Me and Danie

Re: [PHP] php bug from 2003 still alive?!

2009-03-30 Thread Thiago H. Pojda
On Mon, Mar 30, 2009 at 12:42 PM, Merlin Morgenstern wrote: > Some postings say that I have to compile php with --enable-zend-multibyte. > HOwever those postings are very old (2003!). > http://bugs.php.net/bug.php?id=22108 Did you see what Derick said abut this in the last comment? * [22 Aug 200

Re: [PHP] [News] Affordable Independent Web Developer - Search Engine Optimization Services - March 19th, 2009

2009-03-20 Thread Thiago H. Pojda
On Fri, Mar 20, 2009 at 3:23 PM, Ginkga Studio, LLC wrote: > > IF YOU WERE MY HUSBAND I WOULD SPANK YOUR ASS SO HAR YOU'D NEVER TALK BACK > ANY WOMAN EVER AGAIN !!! > > > Oh, gee. Thanks for filters, Gmail. -- Thiago Henrique Pojda http://nerdnaweb.blogspot.com

Re: [PHP] "/home/{user}/directory"

2009-03-17 Thread Thiago H. Pojda
On Tue, Mar 17, 2009 at 10:42 AM, George Larson wrote: > In my scripts, I usually define a boolean constant DEBUG. True looks for > local copies of includes and echoes queries as they're used. > > My question is: > > Is there any way for me to reflect the actual home folder of the person > runnin

Re: [PHP] Non-traditional software accessing my website

2009-01-26 Thread Thiago H. Pojda
On Mon, Jan 26, 2009 at 4:13 PM, Robert Cummings wrote: > On Mon, 2009-01-26 at 13:04 -0600, R B wrote: > > Hello, > > > > Is there a way to be sure that a website is going to be accessed only by > > traditional browsers and not from another > > software that send to the server the same headers of

Re: [PHP] Server cannot send emails

2009-01-16 Thread Thiago H. Pojda
On Fri, Jan 16, 2009 at 10:36 AM, Sergio Jovani wrote: > Hi! > > I have working at SourceForge.net project web space Drupal as CMS. I > have many modules installed related with email like Contact, Notify... > This modules never worked and I tried send an email from email php > function. I did it

Re: [PHP] (auto) session expire

2009-01-05 Thread Thiago H. Pojda
On Mon, Jan 5, 2009 at 12:05 PM, Shiplu wrote: > This is a very common issue. I searched and found many sites talking > about this. but no good solution. > Well the problem is I want to set my session will expire after 10 > minutes of inactivity. Just like an banking site. > When user is inactive

Re: [PHP] Since I speak with some of you more than people I see in person....

2008-12-31 Thread Thiago H. Pojda
[top-posting] Congratulations guys, take good care of those new little persons! This has been a great year, probably the best year for me. Learnt a lot with you here and I hope I helped giving something back to the community. Keep up the good work, it's been great! I wish I'll get married som

Re: [PHP] Read Form values prior to submit?

2008-12-28 Thread Thiago H. Pojda
On Sun, Dec 28, 2008 at 12:41 PM, Tim Rude wrote: > Using PHP, is there a way for me to read the values that a user has > entered into the text fields of a prior to the user clicking the > submit button? If the user doesnt press the submit button PHP has no idea what's going on there. That's cl

Re: [PHP] retrieve result of a query

2008-12-28 Thread Thiago H. Pojda
You can return (echo) a JSON or a XML with those results. That way it doesn't store the file anywhere. :) (I'd go for JSON + jquery) Regards, Thiago Henrique Pojda On Sun, Dec 28, 2008 at 11:32 AM, Alain Roger wrote: > Hi, > > basically i have a php file with several parameter received in GET

Re: [PHP] HTTP Authentication [ SOLVED ]

2008-11-19 Thread Thiago H. Pojda
On Wed, Nov 19, 2008 at 2:49 PM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Thiago H. Pojda [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, November 19, 2008 11:47 AM > > To: Andrew Ballard > > Cc: PHP-General List > &

Re: [PHP] HTTP Authentication [ SOLVED ]

2008-11-19 Thread Thiago H. Pojda
On Wed, Nov 19, 2008 at 12:15 PM, Andrew Ballard <[EMAIL PROTECTED]> wrote: > On Wed, Nov 19, 2008 at 9:26 AM, Thiago H. Pojda <[EMAIL PROTECTED]> > wrote: > > Guys, > > > > I have to access a WS that uses HTTP auth directly with PHP. > > > &g

Re: [PHP] HTTP Authentication

2008-11-19 Thread Thiago H. Pojda
On Wed, Nov 19, 2008 at 11:34 AM, Craige Leeder <[EMAIL PROTECTED]> wrote: > Thiago H. Pojda wrote: > >> Guys, >> >> I have to access a WS that uses HTTP auth directly with PHP. >> >> I've tried using the usual http://user:[EMAIL PROTECTED]/ but I

[PHP] HTTP Authentication

2008-11-19 Thread Thiago H. Pojda
Guys, I have to access a WS that uses HTTP auth directly with PHP. I've tried using the usual http://user:[EMAIL PROTECTED]/ but I couldn't get it working. I believe it has something to do with the password containing a # (can't change it) and the browser thinks it's an achor or something. All I

Re: [PHP] Missing DLLs

2008-11-12 Thread Thiago H. Pojda
On Wed, Nov 12, 2008 at 2:31 PM, <[EMAIL PROTECTED]> wrote: > > So, that error message about a missing DLL, when it's really a "sub" DLL > that is missing... > > Is that something in PHP source that could be fixed to specify WHICH dll is > really missing? > > Or is that just Windows being stupid?

Re: [PHP] PHP Startup: Unable to load dynamic library

2008-11-12 Thread Thiago H. Pojda
On Wed, Nov 12, 2008 at 2:21 PM, Thodoris <[EMAIL PROTECTED]> wrote: > > Although I don't develop under windows and I should say that this OS has > been "developing" my allergies I would suggest to use WAMP. Which is > Windows-Apache-MySQL-PHP enviroment that you might find very useful and it > m

Re: [PHP] PHP Startup: Unable to load dynamic library

2008-11-12 Thread Thiago H. Pojda
On Wed, Nov 12, 2008 at 2:03 PM, Stut <[EMAIL PROTECTED]> wrote: > On 12 Nov 2008, at 16:58, Thiago H. Pojda wrote: > >> >>> I switched PCs and now when I load PHP I get this weird error. It claims >>>>> it >>>>> can't find the s

Re: [PHP] PHP Startup: Unable to load dynamic library

2008-11-12 Thread Thiago H. Pojda
On Wed, Nov 12, 2008 at 1:56 PM, Thiago H. Pojda <[EMAIL PROTECTED]>wrote: > On Wed, Nov 12, 2008 at 1:54 PM, Stut <[EMAIL PROTECTED]> wrote: > >> On 12 Nov 2008, at 16:53, Thiago H. Pojda wrote: >> >>> I switched PCs and now when I load PHP I get this weird

[PHP] PHP Startup: Unable to load dynamic library

2008-11-12 Thread Thiago H. Pojda
Guys, I switched PCs and now when I load PHP I get this weird error. It claims it can't find the specified library, but in the lib is in the path given by the message. Any ideas? My extension_dir is okay (it has spaces, but has "") and I gave "Everyone" access to it. I'm in WinXP using apache 2

Re: [PHP] Php4 => Php5

2008-10-03 Thread Thiago H. Pojda
On Fri, Oct 3, 2008 at 11:42 AM, Operacion Control <[EMAIL PROTECTED]> wrote: > > Hi Lists, > > I am planning to migrate from Php4 to Php5 in a few days. > Do anyone know which applications/services are upset with the migration? > I dont have enough servers to instalt each using Php4 and then insta

Re: [PHP] Re: SESSION array problems UPDATE

2008-10-02 Thread Thiago H. Pojda
>>> >>> Much as it pains me to ask this, you don't have REGISTER_GLOBALS on, do you? >>> >>> Jay >>> >>> -- >>> PHP General Mailing List (http://www.php.net/) >>> To unsubscribe, visit: http://www.php.net/unsub.php >>> >> >> It must be. I just ran tedd's example in both scenarios. >> >> W

Re: [PHP] Robert Cummings

2008-09-30 Thread Thiago H. Pojda
> > On Tue, Sep 30, 2008 at 3:12 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > >>All: >> >>What was pointed as a passing mention in one thread I thought was >> worth note in a thread of its own. As quoted by Rob: >> >> > BTW, while we're off topic... my wife delivered our third child (seco

Re: [PHP] Re: Unicode problems - solve

2008-09-26 Thread Thiago H. Pojda
Sorry to bother you all, I just did the whole process again using only phpmyadmin and notepad++ (yes, I'm under windows) I could import the database successfully. The whole thing was converted to UTF8. @Richard: I'm using both, META and header. I didn't know IE6 had issues with header(), learning

[PHP] Re: Unicode problems

2008-09-26 Thread Thiago H. Pojda
Hello, On Fri, Sep 26, 2008 at 9:07 AM, Daniel Jaeger wrote: > I had similar problems, I cant get the whole situation out of what you > wrote but here are two hints. > > If you got SSH Access you can try to import the DB by following command > I don't have SSH access :/ > > Otherwise if you ca

[PHP] Unicode problems

2008-09-25 Thread Thiago H. Pojda
This is slightly OT but I honestly don't know what else I can do. I was asked to migrate a website from diff hosts. Okay, pretty easy, right? Well, as usual, it wasn't. Site pages content type was ISO-8559-1 and it was developed for a MySQL5 database that used latin1 as charset and InnoDB as stor

Re: [PHP] Don't understand what is this $arr['N']['#']

2008-09-24 Thread Thiago H. Pojda
Hello, On Wed, Sep 24, 2008 at 2:51 PM, It flance <[EMAIL PROTECTED]> wrote: > Hi, > > I am working on the code of a former employee and I don't understand what > this $arr['N']['#'] refers to. > I'm not sure you can do that (can't test atm), but looks like a valid position as it's in ' '. I wo

Re: [PHP] Re: __toString & friends

2008-09-19 Thread Thiago H. Pojda
http://bugs.php.net should help you out. In the bug reporting page there's a Feature request item (It's the 3rd item in the Type of bug select). Btw, I liked this idea :) On Fri, Sep 19, 2008 at 8:58 AM, Leurent Francois <[EMAIL PROTECTED]>wrote: > Is there any feature submission process were

Re: [PHP] tedd's back from vacation

2008-09-10 Thread Thiago H. Pojda
On 9/10/08, Jason Pruim <[EMAIL PROTECTED]> wrote: > > > On Sep 10, 2008, at 9:40 AM, tedd wrote: > > At 10:05 PM -0400 9/9/08, Dan Joseph wrote: >> >>> >>> Look, just because we let you out of your cage, doesn't mean you have to >>> go >>> breaking your bones! No more vacations! >>> >>> BTW, was

Re: [PHP] comments function being spammed, how do I stop it?

2008-08-25 Thread Thiago H. Pojda
Captcha? On 8/25/08, Barnaby Walters <[EMAIL PROTECTED]> wrote: > > > Hi there! > > my comments function for my website (at www.waterpigs.co.uk/php/phpTest.php) > is being spammed, what would be your sugguestions of a way to deal with it? > I was thinking of something to do with searching the str

Re: [PHP] Displaying files

2008-08-15 Thread Thiago H. Pojda
On 8/15/08, Dan Shirah <[EMAIL PROTECTED]> wrote: > > Wow, I think it finally clicked. > > Sorry that took so long. > That's fine, sorry if I sounded rude or something. I didn't mean it. The whole point behind using PHP was to try and copy or call the file from > the server side so the user does

Re: [PHP] Displaying files

2008-08-15 Thread Thiago H. Pojda
On 8/15/08, Dan Shirah <[EMAIL PROTECTED]> wrote: > > > Thiago, > > HTML WORKS > Open > > Javascript WORKS > function openWin(folder,file) { > var LeftPosition = (this.screen.width) / 2; > var TopPosition = (this.screen.height) - this.screen.height; > var Height = (this.screen.height) - 90; >

Re: [PHP] Displaying files

2008-08-15 Thread Thiago H. Pojda
On 8/15/08, Dan Shirah <[EMAIL PROTECTED]> wrote: > > Okay, I'm perplexed! > > If I put the exact same value into a javascript function and open a window > the document comes up perfectly fine. > > But, when trying to readfile() copy() or fopen() in PHP I get the "failed > to > open stream:" error.

Re: [PHP] XML Encoding - with examples

2008-07-29 Thread Thiago H. Pojda
On Tue, Jul 29, 2008 at 4:59 PM, Andrew Ballard <[EMAIL PROTECTED]> wrote: > On Tue, Jul 29, 2008 at 3:52 PM, Thiago H. Pojda <[EMAIL PROTECTED]> > wrote: > > That's weird. I just changed it to convert everything to UTF and things > > appear ok on IE and mess

Re: [PHP] XML Encoding - with examples

2008-07-29 Thread Thiago H. Pojda
On Tue, Jul 29, 2008 at 4:20 PM, Andrew Ballard <[EMAIL PROTECTED]> wrote: > On Tue, Jul 29, 2008 at 2:33 PM, Thiago H. Pojda <[EMAIL PROTECTED]> > wrote: > > > -- > > Thiago Henrique Pojda > > > > Are you sure the accented characters you are using ar

[PHP] XML Encoding - with examples

2008-07-29 Thread Thiago H. Pojda
Okay, After much iconv, headers and "workarounds" I figured I can't use DOMDocument for XMLs when under ISO-8859-1 encoding without messing accented chars. The idea is simple: get a query result and turn into a XML. Using mysql_fetch_object is the best way for this task. If I just do nothing: ge

[PHP] XML Encoding

2008-07-29 Thread Thiago H. Pojda
Guys, I'm building a XML in a PHP Script. Everything works fine until I add accented (ISO-8859-1) characters into it. As far as I can see, there's no way to change DOMDocument's encoding from UTF-8, right? Thanks, -- Thiago Henrique Pojda

Re: [PHP] Code beautifier

2008-07-24 Thread Thiago H. Pojda
On Thu, Jul 24, 2008 at 3:14 PM, mike <[EMAIL PROTECTED]> wrote: > On 7/24/08, Thiago H. Pojda <[EMAIL PROTECTED]> wrote: > > sadly, I still go and reformat other coworker's code anyway, heh. Yeah, I'm > -that bad- > That's why I looked for a tool like

Re: [PHP] Code beautifier

2008-07-24 Thread Thiago H. Pojda
On Thu, Jul 24, 2008 at 3:07 PM, mike <[EMAIL PROTECTED]> wrote: > On 7/24/08, Richard Heyes <[EMAIL PROTECTED]> wrote: > > Anyone know of an unintrusive code beautifier written specifically with > in mind? > > just be prudent (and anal retentive) when you code :) > That doesn't work when you get

Re: [PHP] Code beautifier

2008-07-24 Thread Thiago H. Pojda
On Thu, Jul 24, 2008 at 8:34 AM, Christoph Boget <[EMAIL PROTECTED]>wrote: > > Anyone know of an unintrusive code beautifier written specifically with > in mind? > I know of what proprietary software that does it very good: polystyle. (As usual, I'm not related to software creator or anything. I

Re: [PHP] After INSERT form submit - Data doesn't refresh!

2008-07-22 Thread Thiago H. Pojda
On Tue, Jul 22, 2008 at 9:48 AM, Rahul S. Johari < [EMAIL PROTECTED]> wrote: > > Here's what it is: > > I have a php page, "a.php", which contains these three things: > > - SELECT statement to display records from a mySQL Table > - HTML Form for inserting data into the mySQL Table > - INSERT st

Re: [PHP] After INSERT form submit - Data doesn't refresh!

2008-07-22 Thread Thiago H. Pojda
Code, please? :) On Tue, Jul 22, 2008 at 9:33 AM, Rahul S. Johari < [EMAIL PROTECTED]> wrote: > > Hmm, interesting. > In my case, $file does indeed output dynamic data. > > I did try with the modified time but it still doesn't work. I still have to > hit refresh on the browser, after submitting t

Re: [PHP] Trailing Spaces Problem

2008-07-18 Thread Thiago H. Pojda
On Fri, Jul 18, 2008 at 11:41 AM, Wei, Alice J. <[EMAIL PROTECTED]> wrote: > Hi, > > Is there some way that I can have it so that it can print out: > > 1: 1 2:0 3: 70.208 4. 61.613 5. 1.424 > > I tried using \s for trailing spaces, but It all gave me output of > everything in the single line. >

Re: [PHP] Login without cookies enabled help

2008-07-15 Thread Thiago H. Pojda
>Yes, again, STFW before posting here. > >Google "PHPSESSID". > Call to undefined function Google(); > > -- > > > :) -- Thiago Henrique Pojda

Re: [PHP] Keeping POST values when paging

2008-07-08 Thread Thiago H. Pojda
On Tue, Jul 8, 2008 at 4:11 PM, Philip Thompson <[EMAIL PROTECTED]> wrote: > On Jul 8, 2008, at 12:32 PM, tedd wrote: > > At 4:18 PM +0100 7/8/08, Mayer, Jonathan wrote: >> >>> In the end I decided the simplest way of coding the functionality was to >>> do >>> something similar to what Eric said,

Re: [PHP] Re: [PHP-DOC] Network Interface Card Name

2008-07-07 Thread Thiago H. Pojda
wrote: > This is a way, I know but does there any function in php specific to this. > > Thanks > Kapil > > > On Mon, Jul 7, 2008 at 10:16 PM, Thiago H. Pojda <[EMAIL PROTECTED]> > wrote: > >> Forwarding if you're not on this list. >> >> &g

[PHP] Re: [PHP-DOC] Network Interface Card Name

2008-07-07 Thread Thiago H. Pojda
Forwarding to correct list. On Mon, Jul 7, 2008 at 10:25 AM, Kapil Kapil <[EMAIL PROTECTED]> wrote: > No, I want the name of network interface cards of server, not of client. > > Thanks & regards > Kapil > > > On Mon, Jul 7, 2008 at 6:38 PM, Thiago H. Po

[PHP] Fwd: [PHP-DOC] ftp help

2008-07-07 Thread Thiago H. Pojda
Forwarding to correct list. -- Forwarded message -- From: Dan <[EMAIL PROTECTED]> Date: Fri, Jul 4, 2008 at 1:56 PM Subject: [PHP-DOC] ftp help To: [EMAIL PROTECTED] I am using a php script to connect to an ftp server. However, the server requires a password change every 90 days.

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Thiago H. Pojda
trigger_error('B-bye'); On Thu, Jun 26, 2008 at 12:45 PM, tedd <[EMAIL PROTECTED]> wrote: > > Or > > unlink('tedd'); > > > Cheers, > > tedd > > -- > --- > http://sperling.com http://ancientstones.com http://earthstones.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubsc

Re: [PHP] array_diff()?

2008-06-25 Thread Thiago H. Pojda
Ok, forget everything... it was just a user (programmer) problem.. while in translation process, labels_es became a copy of labels_pt :P Sorry about the noise. PS: Hoorray: again in list _o/ On Wed, Jun 25, 2008 at 5:24 PM, Thiago H. Pojda <[EMAIL PROTECTED]> wrote: > I just hi

Re: [PHP] array_diff()?

2008-06-25 Thread Thiago H. Pojda
I just hit tab and space at once and gmail just sent it ;) Well, I'm not reaching that size, hehe. Btw, PHP Version 5.2.6 On Wed, Jun 25, 2008 at 5:19 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Wed, Jun 25, 2008 at 4:08 PM, Wolf <[EMAIL PROTECTED]> wrote: > > > > So, where is your code th

Re: [PHP] array_diff()?

2008-06-25 Thread Thiago H. Pojda
ECTED]> wrote: > > -Original Message----- > > From: Thiago H. Pojda [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, June 25, 2008 3:10 PM > > To: php-general@lists.php.net > > Subject: [PHP] array_diff()? > > > > *accidentally sent* > > > > Guys, >

[PHP] array_diff()?

2008-06-25 Thread Thiago H. Pojda
*accidentally sent* Guys, Perhaps I'm missing something or just trying with the wrong tools... But the thing is, I have two arrays and want to know what values are in one that aren't in the other. They're very long arrays (label files for translation) and the array_diff() is returning null, eve

[PHP] array_diff()?

2008-06-25 Thread Thiago H. Pojda
Guys, Perhaps I'm missing something or just trying with the wrong tools... But the thing is, I have two arrays and want to know what values are in one that aren't in the other. They're very long arrays (label files for translation) -- Thiago Henrique Pojda