2007. 02. 27, kedd keltezéssel 14.15-kor tedd ezt írta:
> Németh:
(call me Zoltán please as that's my first name ;) )
>
> As you know, I'm having more problems with my
> CAPTCHA experiment, so back to basics. (as my mum
> used to say "No good deed goes unpunished."
>
> I need your review. Al
# [EMAIL PROTECTED] / 2007-02-27 20:38:37 -0800:
> Does anyone know where I could find PHP Documentation in XML or in an SQL
> dump?
In the source repository. http://www.php.net/anoncvs.php
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Ca
M5 wrote:
> No, it's not a very good solution. Striptags will leave everything
> within ,
OK. Blank entries means that as date is passed in and validated via forms,
it is then entered into $_SESSION so data can be persistent as the user goes
back and forth. These values are eventually entered into the database and
are blank, whereas the few values that are entered from $_POST (ie credi
Hi,
I'm building an CMS system (for practice and experience :)).
And of course like many times before I have encountered a problem.
The problem is:
I have a index.php that takes the news from the database and publishes
them. And by the end of every news on index.php I have a link ('href="show
2007. 02. 28, szerda keltezéssel 10.24-kor Delta Storm ezt írta:
> Hi,
>
> I'm building an CMS system (for practice and experience :)).
>
> And of course like many times before I have encountered a problem.
>
> The problem is:
>
> I have a index.php that takes the news from the database and pub
- Original Message -
From: "Richard Lynch" <[EMAIL PROTECTED]>
To: "james james" <[EMAIL PROTECTED]>
Cc:
Sent: Wednesday, February 28, 2007 1:33 AM
Subject: Re: [PHP] destructor sequence explained
On Tue, February 27, 2007 6:11 pm, james james wrote:
Can someone please help explain
Stut wrote:
> John Taylor-Johnston wrote:
>> Neat, and thnaks.
>> How spam-spider-proof is it? I will try this though.
>> But I will also try it with "mailto:"; in entities as well.
>> Thanks!
>> John
>>
>>
>> > href="mailto:me@somewhere.com";>me@somewhere.com
>>
>>
>
> Of all the possible metho
Ryan wrote:
> Richard et al.,
>
> You are right, the variable was not being provided for the apache
> server. Essentially I found the answer here
>
> http://httpd.apache.org/docs/1.3/misc/FAQ-F.html#remote-user-var
>
> The document has to be protected in order for apache create the
> REMOTE_
StainOnRug wrote:
> Hello I am a beginner at PHP. I searched for my ? but couldn’t pinpoint it..
> My question is, How do I upload include files onto my website include
> directory. Im hosted through Yahoo, I am not running a server on my
> computer. When I check out my PHP info it tells me the in
On Wed, 2007-02-28 at 18:43 +1100, Chris wrote:
> Peter Lauri wrote:
> > [snap]
> > [snip]
> > He would need to work in-house. And the location is somewhere in
> > Scandinavia. He could work as sub contractor or employed for my company.
> > [/snip]
> >
> > I don't know too many list denizens who l
At 11:22 PM -0500 2/27/07, John Taylor-Johnston wrote:
I need an anti-spam-spider measure for my site. Too many addresses
are getting raked. In once instance, I created a flash page:
http://erasethis.glquebec.org/English/contact.htm
But I just don't have the time to create a flash image for ever
The following issues are not really PHP issues, but more properly FTP
server issues, but perhaps people on the list have some ideas on how to
solve my problems.
I've written a PHP program to "mirror" data on a local drive to a remote
FTP server. It compares file mod times, and only uploads fil
On 2/28/07, tedd <[EMAIL PROTECTED]> wrote:
At 11:22 PM -0500 2/27/07, John Taylor-Johnston wrote:
>I need an anti-spam-spider measure for my site. Too many addresses
>are getting raked. In once instance, I created a flash page:
>http://erasethis.glquebec.org/English/contact.htm
>But I just don'
At 5:28 PM -0600 2/27/07, Richard Lynch wrote:
On Sun, February 25, 2007 9:22 am, tedd wrote:
> However, I can't do the same with .WAV files. Does anyone know a way
to combine .WAV files similar to the way shown above?
The first 256 bytes of a .WAV file contains magic numbers indicating
the
[snippidge]
[snap]
[snip]
He would need to work in-house. And the location is somewhere in
Scandinavia. He could work as sub contractor or employed for my company.
[/snip]
I don't know too many list denizens who live in Scandinavia, so that
severely limits your choices.
[/snap]
I live in Thailand
At 5:12 PM -0600 2/27/07, Richard Lynch wrote:
Personally, I think your first mistake was putting the image into the
DB at all.
Unless you're the CIA doing pixel comparisons actually in SQL stored
procedures or something. :-)
Richard:
I highly respect your opinion and on this list you provide
At 10:24 AM +0100 2/28/07, Delta Storm wrote:
The problem is:
I have a index.php that takes the news from the database and
publishes them. And by the end of every news on index.php I have a
link ('Show full news')
Yep, that may be the problem -- try:
Show full news
Cheers,
tedd
--
---
Dear all,
How to config the default Character Set and Collation with big5 ?
Edward.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Message d'origine-
> De : Delta Storm [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 28 février 2007 10:24
> À : php-general@lists.php.net
> Objet : [PHP] ID problem
>
> Hi,
>
> I'm building an CMS system (for practice and experience :)).
>
> And of course like many times before I
> -Message d'origine-
> De : tedd [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 28 février 2007 15:54
> À : Delta Storm; php-general@lists.php.net
> Objet : Re: [PHP] ID problem
>
> At 10:24 AM +0100 2/28/07, Delta Storm wrote:
> >The problem is:
> >
> >I have a index.php that takes th
tedd wrote:
> I'm not sure I can or need to run exec, nor do I actually know how. I'll
> deal with that later in my life.
Go on, it's easy!
http://uk2.php.net/manual/en/function.exec.php
That said, depending on your hosting, you may be banned from exec.
> For the moment, I can use a HEX Editor
Why still use Big5, this pre-historical encoding? Come on, we're in
the 21st century. You should use Unicode!
[EMAIL PROTECTED] wrote:
> Dear all,
>
> How to config the default Character Set and Collation with big5 ?
>
> Edward.
>
--
* Zoner PhotoStudio 8 - Your Photos perfect, sh
Seak, Teng-Fong wrote:
>Why still use Big5, this pre-historical encoding? Come on, we're in
>the 21st century. You should use Unicode!
>
>[EMAIL PROTECTED] wrote:
>
>
>>Dear all,
>>
>>How to config the default Character Set and Collation with big5 ?
>>
>>Edward.
>>
>>
>>
>
>
>
>---
is your 'local system' linux? then the totally non answer is probably
that you should be using rsync.
if it's a windows machine you can probably still use rsync there by running
it on top of cygwin.
I would also recommend tunnelling the rsync traffic through an SSH connection.
Larry Bradley wrot
I am writing a PHP file that outputs a PDF file that will have a bunch
of data from the data base. After the ammount of data hits 24 pieces(23
with 0) i need it to go to a new page. I am using the PDFB Library which
contains a custom barcode thing, FPDI+FPDF.
Thank's for your help in advance,
[EMAIL PROTECTED] wrote:
>
> Seak, Teng-Fong wrote:
>> Why still use Big5, this pre-historical encoding? Come on, we're in
>> the 21st century. You should use Unicode!
>>
> Hello,
>
> Due to some of DB data still stored with big5...
>
> Edward.
You could export your data out of your DB
On Wed, February 28, 2007 8:52 am, [EMAIL PROTECTED] wrote:
> Dear all,
>
> How to config the default Character Set and Collation with big5 ?
Web page:
http://php.net/header and charset on Content-type
Plus you need it in META HTTP-EQUIV tag for IE and off-line saved HTML.
MySQL:
SET CHARACTER SE
Hi there. I'm hoping someone can help me with what I think might be a
slightly obscure problem.
I'm trying to get the SimpleXML extension to read an XML file and
process the XInclude statements within the XML file.
The SimpleXML docs state that libxml options may be specified using the
pre
Can I PHP generate a flash *.swf? How?
If not how do I PHP generate a *.png or gif?
Jochem Maas wrote:
Stut wrote:
Of course the best way is to use an image and don't link it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ben Roberts wrote:
I'm trying to get the SimpleXML extension to read an XML file and
process the XInclude statements within the XML file.
The SimpleXML docs state that libxml options may be specified using the
predefined constants that are available when PHP is compiled with libxml
support (
On Wed, February 28, 2007 8:21 am, Larry Bradley wrote:
> I've written a PHP program to "mirror" data on a local drive to a
> remote
> FTP server. It compares file mod times, and only uploads files that
> are
> newer. Works like a charm. Except ---
Did you consider just using rsync?...
> To exam
On Wed, February 28, 2007 3:24 am, Delta Storm wrote:
> I'm building an CMS system (for practice and experience :)).
>
> And of course like many times before I have encountered a problem.
>
> The problem is:
>
> I have a index.php that takes the news from the database and publishes
> them. And by t
On Wed, February 28, 2007 3:21 am, Dave Goodchild wrote:
> OK. Blank entries means that as date is passed in and validated via
> forms,
> it is then entered into $_SESSION so data can be persistent as the
> user goes
> back and forth. These values are eventually entered into the database
> and
> ar
On Wed, February 28, 2007 8:28 am, tedd wrote:
> For the moment, I can use a HEX Editor and inspect the first 256
> bytes of a wav file and find out all the goodies therein, but do you
> know if I strip out the first 256 bytes can I then combine the files
> so they will work (providing the sample r
Rob wrote:
Ben Roberts wrote:
I'm trying to get the SimpleXML extension to read an XML file and
process the XInclude statements within the XML file.
The SimpleXML docs state that libxml options may be specified using
the predefined constants that are available when PHP is compiled with
libx
On Tue, February 27, 2007 10:22 pm, John Taylor-Johnston wrote:
> I need an anti-spam-spider measure for my site. Too many addresses are
> getting raked. In once instance, I created a flash page:
> http://erasethis.glquebec.org/English/contact.htm
> But I just don't have the time to create a flash
You could also use %XX in HEX on the mailto:
On Tue, February 27, 2007 11:09 pm, Casey Chu wrote:
> It works. =P I tested it.
>
> Try it here! =P
>
> http://themfund.com/snippets/test.php
>
> On 2/27/07, Casey Chu <[EMAIL PROTECTED]> wrote:
>> I'm not sure with both of your questions. I'm too lazy
Ben Roberts wrote:
Thanks Rob. That works. And it appears to work flawlessly if you
subsequently convert it back to a SimpleXML object too:
$xml = new SimpleXMLElement($xml_file, 0, true);
$dom = dom_import_simplexml($xml);
$dom->ownerDocument->xinclude();
$xml = simplexml_import_dom($dom);
D
Rob Richards wrote:
No need to even do that. The document is the same document (zero copy
which is why going back and forth is efficient), so when its changed by
the xinclude call, it is reflected in $xml already. Only reason you
would need to do conversions back and forth is if you need speci
Ben Roberts wrote:
So really when you perform:
$dom = dom_import_simplexml($xml);
the $dom object is really created by taking a reference to the $xml
object rather than copying it? i.e. (I know this isn't real code)
$dom = dom_import_simplexml(& $xml);
Not exactly, but the idea is along
On Tue, February 27, 2007 8:03 pm, Kevin Waterson wrote:
> This one time, at band camp, "Richard Lynch" <[EMAIL PROTECTED]> wrote:
>
>> *ALL* of the arguments on this topic, and benchmarks, are in the PHP
>> General archives.
> I am not concerned with past benchmarks done by others, I am asking
> w
> Rob Richards wrote:
> Although I doubt someone use the code above, it is the smallest piece
> of code I could write to demonstrate the possibility.
Thanks Rob - that does demonstrate things nicely. Cheers for your help.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
Perhaps try just opening TWO old-school sockets, one for write, one
for read...
On Tue, February 27, 2007 8:12 pm, Bob Dusek wrote:
> The company I work for is currently doing this... using PHP in a
> retail
> environment, with a Linux server in every store, talking to the POS
> controller via a s
On Wed, February 28, 2007 1:20 am, Stut wrote:
> Of all the possible methods, entities are the easiest for bots to
> handle. They just need to decode the entities.
>
> More reliable methods involve using javascript to write out the
> mailto:
> tag. Do it in several statements. But even then, some o
Is there a well-known bug I'm up against with the IPC socket pair?
If I were to revert to a standard socket approach (ie. I already posted
an issue with the standard socket and nobody volunteered any help, so I
switched to IPC sockets)...
aren't sockets supposed to be two-way communication?
On Tue, February 27, 2007 6:41 pm, Jay Blanchard wrote:
> [snip]
> He would need to work in-house. And the location is somewhere in
> Scandinavia. He could work as sub contractor or employed for my
> company.
> [/snip]
>
> I don't know too many list denizens who live in Scandinavia, so that
> sever
On Wed, February 28, 2007 3:32 pm, Bob Dusek wrote:
> Is there a well-known bug I'm up against with the IPC socket pair?
...
> aren't sockets supposed to be two-way communication?
Put it this way...
If my memory serves me correctly, and understanding that I'm talking
about several years of list r
On Tue, February 27, 2007 6:59 pm, Jay Blanchard wrote:
> I had an interesting thought after watching a demo of a POS system and
> wondered if the same type of methodology could be applied in a PHP
> application. I haven't thought this all the way through, but a
> fully-hatched idea like this could
Kevin Waterson wrote:
> This one time, at band camp, zerof <[EMAIL PROTECTED]> wrote:
>
>> It is not a good practice to store pictures in DataBases, use links,
>> instead of.
>
> Rubbish, where are your benchmarks?
It has almost nothing to do with benchmarks.
Images are typically best supporte
Wow. That pretty much sums it up!
I'll probably give the standard sockets another try. I'll report back
on my problems.
> -Original Message-
> From: Richard Lynch [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 28, 2007 4:32 PM
> To: Bob Dusek
> Cc: Robert Cummings; Jay Blancha
I found various links via Google mentioning the problem of ordering
the extension in the ini file. In my case this hasn't produced quite
the result. I haven't found an order that works for me.
Here the problem:
Freebsd 6
apache 1.3.34
PHP 5.2.1
I am using the ports collection and I have don
On Wed, 2007-02-28 at 17:04 -0500, Mark wrote:
> Kevin Waterson wrote:
>
> > This one time, at band camp, zerof <[EMAIL PROTECTED]> wrote:
> >
> >> It is not a good practice to store pictures in DataBases, use links,
> >> instead of.
> >
> > Rubbish, where are your benchmarks?
>
> It has almost
tedd wrote:
At 5:12 PM -0600 2/27/07, Richard Lynch wrote:
Personally, I think your first mistake was putting the image into the
DB at all.
Unless you're the CIA doing pixel comparisons actually in SQL stored
procedures or something. :-)
Richard:
I highly respect your opinion and on this lis
Marc Burgauer wrote:
I found various links via Google mentioning the problem of ordering the
extension in the ini file. In my case this hasn't produced quite the
result. I haven't found an order that works for me.
Here the problem:
Freebsd 6
apache 1.3.34
PHP 5.2.1
I am using the ports colle
I have a client that bought some property that he'd like to have a website
and have people bid on the land? Does anyone know of any software or could
write something simple for me to put this on his site?
thanks,
Lisa A
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
On 28-Feb-07, at 1:48 AM, Colin Guthrie wrote:
M5 wrote:
No, it's not a very good solution. Striptags will leave everything
within ,
Hey all,
I have been having some trouble with the "eregi" function. I have the
following piece of code in my application:
function standard_input($input, $min=0, $max=50){
if (strlen($input) <= $max and strlen($input) >= $min ) {
$pattern = '^[a-z0-9\!\_ \.- ,/]*$';
> On Wed, 2007-02-28 at 17:04 -0500, Mark wrote:
>> Kevin Waterson wrote:
>>
>> > This one time, at band camp, zerof <[EMAIL PROTECTED]> wrote:
>> >
>> >> It is not a good practice to store pictures in DataBases, use links,
>> >> instead of.
>> >
>> > Rubbish, where are your benchmarks?
>>
>> It ha
On Wed, 2007-02-28 at 22:08 -0500, markw@mohawksoft.com wrote:
> > On Wed, 2007-02-28 at 17:04 -0500, Mark wrote:
> >> Kevin Waterson wrote:
> >>
> >> > This one time, at band camp, zerof <[EMAIL PROTECTED]> wrote:
> >> >
> >> >> It is not a good practice to store pictures in DataBases, use links,
> >> The web browser sees an image as a single HTTP request. Invoking the PHP
> >> script engine, parsing the script, and executing a SQL query to retrieve
> >> the image from the database is less efficient than letting the web
> >> server
> >> just send the file.
In a simple setup, that is pro
http://themfund.com/snippets/test.php
Has %HEX, entity;, and even a entity version of the hex!
On 2/28/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Wed, February 28, 2007 1:20 am, Stut wrote:
> Of all the possible methods, entities are the easiest for bots to
> handle. They just need to de
Not sure, but I don't think you should escape all those characters inside of
the character class. I might be wrong. However, that might not have anything
to do with the error. But I do think you need to escape the / in the end...
And the - you should have in the beginning of the character class, ot
Lisa A wrote:
I have a client that bought some property that he'd like to have a website
and have people bid on the land? Does anyone know of any software or could
write something simple for me to put this on his site?
This wheel is not simply a round object, and it already exists...
http://
64 matches
Mail list logo