On 4/6/07, Zhimmy Kanata <[EMAIL PROTECTED]> wrote:
I created the following email program from a email function that I know works
in another program.
When I create a simple form page listed below and submit it. It echos the
$email and the $username and it writes it to the page. So it is findi
2007. 04. 5, csütörtök keltezéssel 20.29-kor itoctopus ezt írta:
> I beg to differ with everyone who said there's no difference between the
> single quote and double quote.
> Although the double quote is much more flexible, the single quote is better,
> as there will be no evaluation of the string
2007. 04. 5, csütörtök keltezéssel 19.01-kor Mike Shanley ezt írta:
> Hi,
>
> I'm trying to make friends with search-engines, but I'm having a problem.
>
> When I use my links (right now, I've only got the forums on my site up),
> they take me to the right place, however, the browser only displa
I think PHP Architect's Zend PHP5 certification Study guide is good. as
authors indicate in the book:
"We wrote php|architect's Zend PHP 5 Certification Study Guide with the
specific intent
of making it useful in two situations:
• For candidates who are preparing for the Zend exam
• For student o
I need to disable the "Daylight saving time" in PHP 5.
My servers (Windows, both XP and Vista) have correct local time but PHP 5
adds an extra hour when I use date("H") or other time functions. Instead of
getting 9 AM, I get 10 AM.
If I run date("I"), I get 1, which confirms that PHP 5 is using "
On 4/6/07, SED <[EMAIL PROTECTED]> wrote:
I need to disable the "Daylight saving time" in PHP 5.
My servers (Windows, both XP and Vista) have correct local time but PHP 5
adds an extra hour when I use date("H") or other time functions. Instead of
getting 9 AM, I get 10 AM.
If I run date("I"), I
Tijnema ! wrote:
> On 4/6/07, SED <[EMAIL PROTECTED]> wrote:
>> I need to disable the "Daylight saving time" in PHP 5.
>>
>> My servers (Windows, both XP and Vista) have correct local time but PHP 5
these are not servers - they barely run something worthy of calling an OS.
>> adds an extra hour w
I changed my timezone in php.ini to:
date.timezone = GMT0 ;
...and it works! Thanks!
Regards,
Summi
Netfang [EMAIL PROTECTED]
Heimasíða http://www.sed.is
-Original Message-
From: Tijnema ! [mailto:[EMAIL PROTECTED]
Sent: 6. apríl 2007 09:43
To: SED
Cc: php-general@lists.ph
The Windows clocks are correct. The PHP 5 added always one hour. However,
Tijnema pointed me to his solution:
Change in php.ini date.timezone = GMT0
And therefore it will not add one hour to the system clock which is correct.
Regards,
Summi
Netfang [EMAIL PROTECTED]
Heimasíða http://www.sed.is
Danial Rahmanzadeh wrote:
> I think PHP Architect's Zend PHP5 certification Study guide is good. as
> authors indicate in the book:
>
> "We wrote php|architect's Zend PHP 5 Certification Study Guide with the
> specific intent
> of making it useful in two situations:
> • For candidates who are prep
Tijnema ! wrote:
On 4/5/07, Sébastien WENSKE <[EMAIL PROTECTED]> wrote:
Yes it's exactly the error, see the output :
DOMDocument::schemaValidate() Generated Errors!
Error 1871: Element 'EcheanceRMC': This element is not expected. in
file:///D%3A/wamp/www/XML%20Validator/xml/Edit4.xml on lin
i thought of an idea of counting the number of links to reduce comment spam.
unfortunately my methods is not reliable, i haven't tested it yet
though.. anyone have maybe a better solution using some regexp?
$links = array('http://', 'https://', 'www.');
$total_links = 0;
foreach($links as $li
At 6:36 PM -0400 4/5/07, Robert Cummings wrote:
But still, relying on Javascript is a bit flakey IMHO.
There's nothing wrong with javascript -- you just need to know it's
limitations.
My audio captcha relies on javascript, namely ajax. The problem I had
was how to deliver the sound once the
On 4/6/07, Sebe <[EMAIL PROTECTED]> wrote:
i thought of an idea of counting the number of links to reduce comment spam.
unfortunately my methods is not reliable, i haven't tested it yet
though.. anyone have maybe a better solution using some regexp?
$links = array('http://', 'https://', 'www.')
[snip]
i thought of an idea of counting the number of links to reduce comment
spam.
unfortunately my methods is not reliable, i haven't tested it yet
though.. anyone have maybe a better solution using some regexp?
$links = array('http://', 'https://', 'www.');
$total_links = 0;
foreach($links a
On Fri, 2007-04-06 at 09:08 -0400, tedd wrote:
> At 6:36 PM -0400 4/5/07, Robert Cummings wrote:
> >But still, relying on Javascript is a bit flakey IMHO.
>
> There's nothing wrong with javascript -- you just need to know it's
> limitations.
*lol* You misunderstood me, I'm in no way dissing on J
At 7:54 PM +0200 4/5/07, Tijnema ! wrote:
About your dot-captcha program tedd, it's another trick, it hasn't
been used yet, so somebody needs to look at it to crack. Like Jochem
said, if someone really wants to break it, he will do it. Making a
real though CAPTCHA isn't that hard, it's hard to cr
Hi All,
I'm just add php_apc.dll in my module, but when I'm restart apache there error
as :
"
The instruction at "0x097f2e5e" referenced memory at "0x0019". The memory
could not be "read".
"
Is this cause of the module or apache itself?
Thanks in advance
bn
On 4/6/07, tedd <[EMAIL PROTECTED]> wrote:
At 7:54 PM +0200 4/5/07, Tijnema ! wrote:
>About your dot-captcha program tedd, it's another trick, it hasn't
>been used yet, so somebody needs to look at it to crack. Like Jochem
>said, if someone really wants to break it, he will do it. Making a
>real
I have a catalog in XML format:
...
...
...
Now I want to add another book,
which I have as a SimpleXMLElement:
$book = new SimpleXMLElement($string);
where $string reads
...
Can I add this new entry to the catalog
using SimpleXML functions,
or do I h
At 10:17 AM -0400 4/5/07, Jason Pruim wrote:
There has to be some commonality -- any suggestions?
Would it be possible to change the phrase in your audio captcha
depending on the character set chosen by the user? In other words,
if someone is using a chinese character set, could you have it s
I'd still like some actual recommendations for a good book for beginners.
I think this discussion is getting a little ridiculous... I have my
preferences for a textbook based on 5 years of experience in teaching
this class. Of course I teach my students about superfluous
parentheses as in:
print
I see a couple of recommendations for textbooks now... thanks.
As to why I think one style is good or bad-- probably the same reasons
any of you prefer yours + in my experience, the style that I have
adopted is the easiest for the beginners to understand and not be
confused by. This list (natural
[snip]
I see a couple of recommendations for textbooks now... thanks.
[/snip]
One of the problems is trying to find a textbook for beginning
programmers, then adding the specifics of PHP on top of it. The best
that I can think of would be PHP for Dummies as it assumes no prior
programming experien
At 9:24 AM -0400 4/6/07, Robert Cummings wrote:
What I'm saying is that's it's a
fairly poor choice from an accessibility perspective.
I thought that as well, but it seems that at least visually impaired
users using screen readers don't have any problems with it.
Not that I have any support
At 2:55 PM +0100 4/6/07, Tijnema ! wrote:
I know, but animated gifs are still quite easy to read with a bot.
Really?
What if I a created a box surrounded by letters, like so:
A B C
D E F
G H I
However, where "E" is located I have a gif (animated or not) pointing
to a letter, which would be
On Fri, 06 Apr 2007 09:01:20 -0400, Sebe wrote:
> i thought of an idea of counting the number of links to reduce comment spam.
>
> unfortunately my methods is not reliable, i haven't tested it yet
> though.. anyone have maybe a better solution using some regexp?
>
> $links = array('http://', 'http
At 2:06 PM -0500 4/5/07, [EMAIL PROTECTED] wrote:
Hey... I am new to the list so please forgive me if I say anything
that might have already been discussed. So here we go...
OK I am attempting to start a new application using PHP. I have
started and stoped this application now 2 times cause
At 9:59 PM +0200 4/5/07, [EMAIL PROTECTED] wrote:
and yes, I (still) use paper and pencil because never find good app for
it. if you can recommend - I'll be more than happy to use it and stop
wasting paper (agree with you on "poor tree" :D)
-afan
Pencil and paper? What's that?
I had a good fr
Chris Lott wrote:
> I'd still like some actual recommendations for a good book for beginners.
>
> I think this discussion is getting a little ridiculous... I have my
> preferences for a textbook based on 5 years of experience in teaching
> this class. Of course I teach my students about superfluou
there is this:
http://php.net/manual/en/function.simplexml-element-addChild.php
which will allow adding of string data (so you won't be needing to
create the new SimpleXMLElement object as per your example below).
obviously you will have to first load tghe complete xml document
into simplexml us
At 4:23 PM -0400 4/5/07, Robert Cummings wrote:
I use two things... my brain for the overall idea. A notes.txt file for
specific remarks that are too complicated to keep up top :)
Cheers,
Rob.
I use: 1) my vast (literally hundreds) of working examples created
from dozens of my php, mysql, aja
At 4/6/2007 06:01 AM, Sebe wrote:
i thought of an idea of counting the number of links to reduce comment spam.
I do this by counting the number of 'http://' instances in the
text. You can use a variety of PHP functions:
- substr_count()
- preg_match_all() then count() the result array
- st
At 1:36 PM -0700 4/5/07, Warren Vail wrote:
(Google is also your friend :-)). Look for code
and modules that you can employ in your solutions
Let me add to that -- sometimes when I am trying to see how a
function/technique/code is used, I simply take a quoted portion of
the code and Google
On Fri, 2007-04-06 at 11:41 -0400, tedd wrote:
> At 4:23 PM -0400 4/5/07, Robert Cummings wrote:
> >I use two things... my brain for the overall idea. A notes.txt file for
> >specific remarks that are too complicated to keep up top :)
> >
> >Cheers,
> >Rob.
>
> I use: 1) my vast (literally hundred
Has anyone tried to assign a default value of null for an object passed
by reference in PHP4?
Let's say I had this code:
$mObj = new testModel();
$mObj->msg = "Bubba";
testFunc();
class testModel {
var $msg;
}
function testFunc(&$msg=null) {
echo $msg->msg;
}
Under PHP
On Fri, 2007-04-06 at 12:19 -0400, Shu Chow wrote:
> Has anyone tried to assign a default value of null for an object passed
> by reference in PHP4?
>
> Let's say I had this code:
>
>$mObj = new testModel();
>$mObj->msg = "Bubba";
>
>testFunc();
>
>class testModel {
> var
On 4/6/07, tedd <[EMAIL PROTECTED]> wrote:
At 2:55 PM +0100 4/6/07, Tijnema ! wrote:
>I know, but animated gifs are still quite easy to read with a bot.
Really?
What if I a created a box surrounded by letters, like so:
A B C
D E F
G H I
However, where "E" is located I have a gif (animated or
My Peeps,
I only know of one reason to submit a form as POST and that is because
you can submit more data in one shot.
What other reasons are there?
Chris.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've been searching all day (read wasting) trying to get a working SOAP
example that uses the new PHP SOAP functions.
http://us2.php.net/manual/en/ref.soap.php
I've tried this one from nearly THREE years ago (03/16/2004):
http://devzone.zend.com/node/view/id/689
And this one, which is apparently
barophobia wrote:
> My Peeps,
>
> I only know of one reason to submit a form as POST and that is because
> you can submit more data in one shot.
>
>
> What other reasons are there?
upload a file?
not have bag of cruft in the url/addressbar?
because POST and GET are semantically different ...
P
Chris,
When you submit via GET, all the info shows up in the URL, so people can
tamper with it however they like. Also, people can bookmark it as well.
With POST, everything stays hidden, mostly untamperable, and
unbookmarkable. POST might sound clearly better, but unless it's
important that
not very helpful, but an apt quote from 'the man':
http://fplanque.net/Blog/devblog/2005/12/21/rasmus_i_don_t_like_soap
Daevid Vincent wrote:
> I've been searching all day (read wasting) trying to get a working SOAP
> example that uses the new PHP SOAP functions.
>
> http://us2.php.net/manual/en
On Fri, 2007-04-06 at 20:44 -0400, Mike Shanley wrote:
> Chris,
>
> When you submit via GET, all the info shows up in the URL, so people can
> tamper with it however they like. Also, people can bookmark it as well.
Quite true.
> With POST, everything stays hidden, mostly untamperable, and
Bul
> not very helpful, but an apt quote from 'the man':
> http://fplanque.net/Blog/devblog/2005/12/21/rasmus_i_don_t_like_soap
Yeah, unfortunately, I *must* use SOAP. Not my choice, but politics and
company decree, blah blah...
> b, you should catch exceptions
These were the examples from the page.
barophobia wrote:
I only know of one reason to submit a form as POST and that is because
you can submit more data in one shot.
At 4/6/2007 05:44 PM, Mike Shanley wrote:
When you submit via GET, all the info shows up in the URL, so people
can tamper with it however they like. Also, people can
hi,
I just installed php 5.2.1-win32-installer on win box (XP). use IIS.
created index.html file and localhost/index.html is ok.
created phpinfo.php (with only phpinfo()) and was ok.
then installed Zend 5.5.0 (try) and suddenly, IE is giving me blank screen.
installed firefox 2 and got the error m
Actually there is a tool available for automated validation of PHP code.
It's called static source code analysis which, very simply stated, acts like
a spell checker for custom developed code. This tool is very accurate at
finding, especially SQL injection and XSS, and can be run directly agains
48 matches
Mail list logo