I'm not sure I understand what you're trying to accomplish, but wouldn't
array_walk() help you out?
Atenciosamente,
www.softpartech.com.br
Thiago Henrique Pojda
Desenvolvimento Web
+55 41 3033-7676
[EMAIL PROTECTED]
Excelência em Softwares Financeiros
-Mensagem original-
De: Daniel
Didn't read everything but if you just don't want duplicates, can't select
distinct help you?
Atenciosamente,
www.softpartech.com.br
Thiago Henrique Pojda
Desenvolvimento Web
+55 41 3033-7676
[EMAIL PROTECTED]
Excelência em Softwares Financeiros
-Mensagem original-
De: LKSunny
Without more data and code, all I can tell is that this line should be be
read carefully:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user
'vesna'@'localhost' (using password: YES) in
/usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 13
Not connected :
Perhaps someone is accessing your website with some prefetching tool?
I'm not sure, but I think Fasterfox does that.
Atenciosamente,
www.softpartech.com.br
Thiago Henrique Pojda
Desenvolvimento Web
+55 41 3033-7676
[EMAIL PROTECTED]
Excelência em Softwares Financeiros
-Mensagem
What Richard meant was:
/// FILE.PHP ///
?php
$var = 123;
if ($var 100){
?
script language=JavaScript alert('Bigger than 100'); /script
?php
}
?
/// EOF ///
That way you can conditionally send some JS to client, but running actual JS
in PHP is not possible.
Your JS for email verification is annoying :P
Type something in email address field and then go to next field, and then
press shift+tab or alt+tab and see it going nuts :)
I second what Daniel said about that green arrow and, yeah it actually
worked here too. :D
Atenciosamente,
Yeah, I just checked out and that runat=Server thingy is an asp thing.
Atenciosamente,
www.softpartech.com.br
Thiago Henrique Pojda
Desenvolvimento Web
+55 41 3033-7676
[EMAIL PROTECTED]
Excelência em Softwares Financeiros
-Mensagem original-
De: Thiago Pojda [mailto:[EMAIL PROTECTED
http://pecl.php.net/get/threads
File not found
;P
Atenciosamente,
www.softpartech.com.br
Thiago Henrique Pojda
Desenvolvimento Web
+55 41 3033-7676
[EMAIL PROTECTED]
Excelência em Softwares Financeiros
-Mensagem original-
De: Per Jessen [mailto:[EMAIL PROTECTED]
Enviada em: sábado, 17
PROTECTED]
Enviada em: terça-feira, 13 de maio de 2008 23:09
Para: Thiago Pojda
Cc: 'Daniel Brown'; 'PHP General'
Assunto: Re: $_SESSION NOT WORKING --SOLVED
Prioridade: Alta
After an all-evening debugging I found out what the problem is.
Why? Please don't ask. I have no idea.
The problem
I don't know... this looks like some mail server is greylisting¹ your
connections and you have to wait to deliver this message and make more
connections to it.
As Peter said, probably your mail server is looking like a spam engine.
1 - Greylisting puts your email in a queue and tells you have
You really should use htmlspecialchars before showing any user
stipulated HTML to help prevent security holes. Also you can use short
tags (popular...) to make the HTML more readable. Eg:
snip
?=htmlspecialchars($comments)?
Just to add, short tags are not recommended for conflicts with
Our neighbors all thought I had lost my mind
If they only knew you lost it long ago... ;)
Atenciosamente,
www.softpartech.com.br
Thiago Henrique Pojda
Desenvolvimento Web
+55 41 3033-7676
[EMAIL PROTECTED]
Excelência em Softwares Financeiros
-Mensagem original-
De: tedd
PROTECTED]
Enviada em: terça-feira, 13 de maio de 2008 15:51
Para: Thiago Pojda
Cc: php-general@lists.php.net
Assunto: Re: RES: [PHP] Re: A Little Something.
On Tue, 2008-05-13 at 15:22 -0300, Thiago Pojda wrote:
Our neighbors all thought I had lost my mind
If they only knew you lost it long ago
Actually his question was about why session.auto_start is not working on
Linux, I almost answered what you both did :)
Atenciosamente,
www.softpartech.com.br
Thiago Henrique Pojda
Desenvolvimento Web
+55 41 3033-7676
[EMAIL PROTECTED]
Excelência em Softwares Financeiros
-Mensagem
My tests on PHP 4.4.8
Default files:
Run 1)
done at 100045
Time: 12.5804 Seconds
Run 2)
done at 100045
Time: 12.6775 Seconds
Run 3)
done at 100045
Time: 13.0696 Seconds
Now editing the file, removed the switch case 'a' part.
Run 1)
done at 100045
Time: 12.6981 Seconds
Run 2)
done at
What do you mean read a string as a date, a date object?
Atenciosamente,
www.softpartech.com.br
Thiago Henrique Pojda
Desenvolvimento Web
+55 41 3033-7676
[EMAIL PROTECTED]
Excelência em Softwares Financeiros
-Mensagem original-
De: Merca, Ansta Ltd [mailto:[EMAIL PROTECTED]
Enviada
Depending on your needs you could also use implode() and then save it to a
file.
Thiago Henrique Pojda
Desenvolvimento Web
+55 41 3033-7676
[EMAIL PROTECTED]
Excelência em Softwares Financeiros
-Mensagem original-
De: Zoltán Németh [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 9
phpinfo() should also tell you what php.ini is loaded.
Did you check that?
Atenciosamente,
www.softpartech.com.br
Thiago Henrique Pojda
Desenvolvimento Web
+55 41 3033-7676
[EMAIL PROTECTED]
Excelência em Softwares Financeiros
-Mensagem original-
De: Michael Satterwhite
If it's not, what else can? I got curious.
Regards,
Thiago Henrique Pojda
-Mensagem original-
De: Al [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 7 de maio de 2008 12:25
Para: php-general@lists.php.net
Assunto: Re: [PHP] How to determine if file is writable and deletable
You
There is a logical explanation.
[...] you need to be aware that the float data type is not always
capable of representing numbers in the way you expect it to.
And then follows a example:
Consider, for example this simple statement:
echo (int) ((0.1 + 0.7) * 10);
You would
Oh Yes this helped, thanks a lot :)
I was missing the callback part ;)
Regards,
Thiago
-Mensagem original-
De: Jim Lucas [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 2 de maio de 2008 15:26
Para: Thiago Pojda
Assunto: Re: [PHP] set_error_handler help
Thiago Pojda wrote:
Hi guys
Forwarding to the correct mailing list. You should get flames...*cough* I
mean, answers here :)
Regards,
Thiago
-Mensagem original-
De: Ron Piggott [mailto:[EMAIL PROTECTED]
Enviada em: domingo, 4 de maio de 2008 19:35
Para: PHP DB
Assunto: [PHP-DB] Shopping cart session handling
I am
Hi guys,
I'm trying some custom error handling functions in order to get emails when
fatal errors come up in my production website. The thing is, I went to
phpclasses and there was a good one, but it was a class.
I'm very slow today, so I could not figure out how to get it working. So, I
Message-
From: Nathan Nobbe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 23, 2008 1:50 PM
To: Thiago Pojda
Cc: php-general@lists.php.net
Subject: Re: [PHP] Big companies that use PHP?
On Wed, Apr 23, 2008 at 2:26 PM, Thiago Pojda
[EMAIL PROTECTED] wrote:
Thanks everyone
Hey guys,
I've been asked this common question: What big companies use PHP in big
apps?
I don't know where to find this kind of stuff and, well. here I am :)
Do any of you know?
And what % of the web market share does PHP take?
Thanks,
Thiago Pojda
Just found out that Digg, Flickr, fotolog.com are among those. :)
_
De: Bastien Koert [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 23 de abril de 2008 15:32
Para: Thiago Pojda
Cc: php-general@lists.php.net
Assunto: Re: [PHP] Big companies that use PHP?
On 4/23/08
Thanks everyone for replying, I think those names can change someone's mind
;)
-Mensagem original-
De: mike [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 23 de abril de 2008 15:48
Para: Thiago Pojda
Cc: php-general@lists.php.net
Assunto: Re: [PHP] Big companies that use PHP?
We're
{Top Posting}
I don't know if I'm just lazy or stupid (or both).
I went into a similar issue few weeks ago and my solution was to add a
function to delete files created in the last X hours (mine was 24), and call
it on the same script that creates the files.
Which means it tries to clean up old
{Top posting}
What shows your phpinfo() on both ports?
Is it really running your 5.3 in :81?
Regards,
Thiago
-Mensagem original-
De: Julien Pauli [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 11 de abril de 2008 09:28
Para: PHP General list
Assunto: [PHP] SERVER_PORT always at
Same for me, I was like hmm ok, checkboxes...
Just tried IE, now I can see what you're talking about :)
-Mensagem original-
De: Andrew Ballard [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 11 de abril de 2008 11:43
Para: PHP General list
Assunto: Re: [PHP] Quarters
On Fri, Apr
Tina,
Is there any error message in php logs?
Can you reproduce manually what you're trying to do with PHP? I mean,
connect and put that file.
Enable E_ALL in PHP and try again.
I'm copying PHP-GENERAL mailing list as this is not related to PHP-INSTALL
issues.
Regards,
Atenciosamente,
De: Keith Roberts [mailto:[EMAIL PROTECTED]
Another question:
Is there a way to make php use these fields [hidden sessid] instead of
cookies for
session control? I still want to let cookies enabled for other stuff,
but as it's messing up with multiple sessions because of poor cookie
?php
$name = John Taylor;
if (strpos($name,'John') 0){
//you could use stripos for case insensitive search
echo found;
}
?
-Mensagem original-
De: John Taylor-Johnston [mailto:[EMAIL PROTECTED]
Enviada em: segunda-feira, 7 de abril de 2008 10:25
Never late to learn new stuff, you're right Stut.
Thanks!
-Mensagem original-
De: Stut [mailto:[EMAIL PROTECTED]
Enviada em: segunda-feira, 7 de abril de 2008 10:42
Para: Thiago Pojda
Cc: 'John Taylor-Johnston'; 'PHP-General'
Assunto: Re: RES: [PHP] string
Thiago Pojda wrote:
?php
of poor cookie handling.
Thanks!!
-Mensagem original-
De: Keith Roberts [mailto:[EMAIL PROTECTED]
Enviada em: segunda-feira, 7 de abril de 2008 17:38
Para: [EMAIL PROTECTED]
Assunto: Re: [PHP-INSTALL] Can't enable use_trans_sid
On Mon, 7 Apr 2008, Thiago Pojda wrote:
To: [EMAIL
These emails hit even my M$ Outlook spam filter (which is not very good at
this job)
Try sending something else, as Ryan said.
-Mensagem original-
De: Ryan Yagatich [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 4 de abril de 2008 11:31
Para: thomas Armstrong
Cc:
Guys,
Some users often open two different sessions in my application by opening a
new browser instance (not Open in new window {they all use IE}).
This actually works better than expected, the two sessions are almost
indepedent.
The thing is: almost. Sometimes one session displays data from
De: Ryan Yagatich [mailto:[EMAIL PROTECTED]
Ryan
you mean like session.use_trans_sid in php.ini?
/Ryan
Never heard of it, just RTFM'ed and it looks like the solution.
I'll be trying it and reply with the results. Thanks!
Thiago
--
PHP General Mailing List (http://www.php.net/)
To
De: Ryan Yagatich [mailto:[EMAIL PROTECTED]
Ryan
you mean like session.use_trans_sid in php.ini?
/Ryan
How does this thing work anyway? As far as I read, it adds the session id to
every (default behavior) href and a hidden field in forms, right?
I *think* it just does that when you have
De: Daniel Brown [mailto:[EMAIL PROTECTED]
On Fri, Apr 4, 2008 at 2:37 PM, Thiago Pojda
[EMAIL PROTECTED] wrote:
De: Ryan Yagatich [mailto:[EMAIL PROTECTED] Ryan
you mean like session.use_trans_sid in php.ini?
/Ryan
How does this thing work anyway? As far as I read, it adds
De: Daniel Brown [mailto:[EMAIL PROTECTED]
Probably because of the fear of session hijacking and spoofing.
The thing is, a handwritten cookie is just as effective for
that, by changing the PHPSESSID (or equivalent). In any case,
a 32-byte hexadecimal hash should be sufficient security for
/04/2008, Thiago Pojda [EMAIL PROTECTED] wrote:
De: Daniel Brown [mailto:[EMAIL PROTECTED]
Probably because of the fear of session hijacking and spoofing.
The thing is, a handwritten cookie is just as effective for that, by
changing the PHPSESSID (or equivalent). In any case, a 32-byte
Try those Internal lists.
You can check them out @ http://www.php.net/mailing-lists.php
Good luck!
-Mensagem original-
De: Ed W [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 3 de abril de 2008 07:08
Para: Aschwin Wesselius
Cc: Robert Cummings; php-general@lists.php.net
Assunto:
That's because your loginpassWord is in another array.
try $chpwrow[0]['loginPassword']
-Mensagem original-
De: Jason Pruim [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 28 de março de 2008 13:29
Para: [php] PHP General List
Assunto: [PHP] why won't my array work?
Hi everyone :)
not sure how timestamps work in MySQL, but I've written this in Oracle:
CREATE TABLE USaR (
UsID char(255) null,
Firstname char(255) NULL,
Surname char(255) NULL,
Tel char(255) NULL,
Cell char(255) NULL,
Email char(255) NULL
)
/
CREATE TABLE Tracker(
UsID CHAR(255) NULL,
Points
De: George J [mailto:[EMAIL PROTECTED]
So calling the script via the form works i.e it passes the
neccessary variables to constrct the sql query for the next
call.
As Shawn said, if you really need the query again add it to session, never,
NEVER give the user the ability to see/execute
-Mensagem original-
De: Stut [mailto:[EMAIL PROTECTED]
On 4 Mar 2008, at 13:57, Jochem Maas wrote:
Stut mentioned a little while back that he avoids using the built-in
session
mechanism if at all possible, but still manages to track user state
... now I can think of a way or two
-Mensagem original-
De: Eric Butera [mailto:[EMAIL PROTECTED]
CONFIDENTIALITY NOTICE
This email is private and confidential and may contain legally
privileged information. If you are not named as an addressee it may
be unlawful for you to read, copy, distribute, disclose or
De: Richard Lynch [mailto:[EMAIL PROTECTED]
#1
Get the code, install it on a box in the closet, run valgrind
--callgrind
This will give you a stack trace of what gets called the MOST
in your application.
Look for tall trees in the call graph, and fix those first.
#2
You can use 'ab' (apache
At 10:45 AM -0500 3/5/08, Jason Pruim wrote:
Me personally, I'm on Wife 1.0 (Still working out a few bugs before
1.1 is released) But I do have Son 1.20 and in a few months Son 2.0
will be released into the wild.. The only problem I have found with
wife 1.0 and son 1.20 is my bank account which
-Mensagem original-
De: Jochem Maas [mailto:[EMAIL PROTECTED]
Eric Butera schreef:
On Mon, Mar 3, 2008 at 6:18 PM, Chris [EMAIL PROTECTED] wrote:
Just FYI, using ADODB will slow down the performance of your app.
Any function calls cost against you and it all adds up.
If you
-Mensagem original-
De: Svevo Romano [mailto:[EMAIL PROTECTED]
Hi there,
Many thanks for your answer. I've also gone through your
example and it took me 10 minutes to understand how the
operator precedence was working there.
Was expecting 1 on the first call :)
But this is not the
De: Bojan Tesanovic [mailto:[EMAIL PROTECTED]
snip
I agree with Ray
Eclipse has more extensibility than Z. Studio , but the
question is do you need it, I preffer doing PHP coding in
Studio, I learned a lot of shortcuts and doing coding is so
much faster and less frustrating than doing it in
Guys,
I've been asked to build a performance report for a PHP app. I can't profile
it using automated tools as I don't have full access to the server, only to
the application itself.
It's a PHP4 Object-Oriented app, which uses ADODB as abstraction layer with
a Oracle 8i databse. The system
-Mensagem original-
De: Eric Butera [mailto:[EMAIL PROTECTED]
snip
On Mon, Mar 3, 2008 at 12:09 PM, Thiago Pojda
[EMAIL PROTECTED] wrote:
Guys,
I've been asked to build a performance report for a PHP app. I can't
profile it using automated tools as I don't have full access
De: Daniel Brown [mailto:[EMAIL PROTECTED]
On Thu, Feb 28, 2008 at 9:58 PM, Richard S. Crawford
[EMAIL PROTECTED] wrote:
I'm trying to figure out a way to make sure an included PHP file has
no syntax errors before actually including it as a part of project.
Is this even possible? I'm
Go to:
http://php.net/mailing-lists.php
-Mensagem original-
De: Timothy Asiedu [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 28 de fevereiro de 2008 09:16
Para: Stut; php-general@lists.php.net
Cc: [EMAIL PROTECTED]
Assunto: Re: [PHP] Guidance
Dear Sir/Madam,
Please I would
Only thing I've seen is my post formatting getting messed up after then
4th~5th line. I'm on outlook tho.
-Mensagem original-
De: Nathan Nobbe [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 28 de fevereiro de 2008 12:06
Para: PHP General list
Assunto: [PHP] auto-wrap on posts
all,
-Mensagem original-
De: Ray Hauge [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 28 de fevereiro de 2008 11:23
Para: Nathan Nobbe
Cc: Shelley; php-general@lists.php.net
Assunto: Re: [PHP] ZCE guidance needed
Same here. I read the practice book and took the Vulcan training tests.
-Mensagem original-
De: Daniel Brown [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 28 de fevereiro de 2008 13:14
On Thu, Feb 28, 2008 at 11:13 AM, Thiago Pojda
[EMAIL PROTECTED] wrote:
I'm on outlook tho.
That's your first mistake ;-P
--
I have no choice, company
-Mensagem original-
De: Wolf [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 27 de fevereiro de 2008 12:06
Jochem Maas [EMAIL PROTECTED] wrote:
snip
Yeah, but I can't fit into that dress. ;-P
besides the flower pattern doesn't really suit you, go with blue
Well, let's see.. IMO you should try:
[1] HTML: Before anything, you should study the fundamental tags (html,
table, div) and some about DOM (this helps w/ XML also).
[2] PHP: Using php to build the results for html, embedding php in html,
forms, etc
[3] SQL: Storing data is essential, try using
Guys,
I'm new to this thing and I'm not sure if it's my IDE (ZendStudioNeon)
problem, or if I'm doing something wrong. I always use PHPDoc block comments
on my functions, but this time I'm using factories in my code and missing
autocomplete on those objects. I've tried using those hints as
try now
http://pastebin.ca/919399
Remember IE only starts displaying a page after it receives 256bytes.
-Mensagem original-
De: Ritesh Nadhani [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 26 de fevereiro de 2008 17:07
Para: php-general@lists.php.net
Assunto: [PHP] Ob_Flush issue
Perhaps the user doesn't have cookies disabled but often clean them?
Another software could be doing that.
-Mensagem original-
De: Manuel Barros Reyes [mailto:[EMAIL PROTECTED]
Enviada em: segunda-feira, 25 de fevereiro de 2008 13:55
Para: php-general@lists.php.net
Assunto: [PHP] Set
YOu could try reading only the even lines, maybe ther's something...
-Mensagem original-
De: Matty Sarro [mailto:[EMAIL PROTECTED]
Enviada em: segunda-feira, 25 de fevereiro de 2008 13:58
Para: Daniel Brown
Cc: Wolf; [EMAIL PROTECTED] php. net; Shawn McKenzie
Assunto: Re: [PHP] Re:
$start_date = date(Y-m-d H:i:s, strtotime($date_format)); echo
$start_date; ?
capital H should do it
-Mensagem original-
De: VamVan [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 22 de fevereiro de 2008 16:48
Para: php-general@lists.php.net
Assunto: [PHP] Date Function
Hi All,
Point 1 I can answer, not sure about 2.
1) Yes there is, there are many tools for that on the Web. First one that
comes to my mind is Zend Guard, it generates .class-like files. But this one
requires some extra stuff on the web server which some others don't.
-Mensagem original-
De:
(php.ini) Path /usr/local/lib/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20050606
Debug Build no
Zend Memory Manager enabled
Thread Safety disabled
Registered PHP Streams php, http, ftp
-Mensagem original-
De: Thiago Pojda [mailto:[EMAIL
fevereiro de 2008 20:40
Para: Thiago Pojda
Cc: php-general@lists.php.net
Assunto: Re: [PHP] Thread Safety
Hi,
Wednesday, February 20, 2008, 3:00:28 AM, you wrote:
TP Not quite sure if this is the right list, but here I am...
TP
TP I'm trying to use zend platform and it requires the Thread
You're using single quotes (') and therefore variables within will not be
resolved.
try either:
exec(su - vpopmail -c
\/var/qmail/bin/maildirmake/home/vpopmail/domains/wwlib.lan/\ .
$username);
exec('su - vpopmail -c
/var/qmail/bin/maildirmake/home/vpopmail/domains/wwlib.lan/' .
$username');
quote
[snip]
Greetings everyone! I am currently working on a web application (aren't we
all?). The main page which users will look at is simply a login prompt, and
upon logging in a new browser window will be launched. I would like that
window to have no browser bars, etc so all of the space taken
Not quite sure if this is the right list, but here I am...
I'm trying to use zend platform and it requires the Thread Safety option set
to off.
I just compiled php and I can't find what argument to build php that way,
what am I missing?
PHP 4.4.8
Thanks!
Atenciosamente,
-
De: Daniel Brown [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 19 de fevereiro de 2008 15:16
Para: Thiago Pojda
Cc: php-general@lists.php.net
Assunto: Re: [PHP] Thread Safety
On Feb 19, 2008 12:00 PM, Thiago Pojda [EMAIL PROTECTED]
wrote:
Not quite sure if this is the right list, but here I
-Mensagem original-
quote.
De: Daniel Brown [mailto:[EMAIL PROTECTED]
Assunto: [PHP-INSTALL] Re: [PHP] Thread Safety
On Feb 19, 2008 1:21 PM, Thiago Pojda [EMAIL PROTECTED]
wrote:
I was expecting that. I just compiled it to enable oci8 module and the
source is ready
75 matches
Mail list logo