[PHP] Re: PHP and SSL Path Reference

2003-12-29 Thread Manuel Lemos
for this url (notice phps extension), but you have to enable support in your server. https://www.myIPDomain.com/myLoginID/mySubdirectories/test.phps -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net

[PHP] Re: curl tutorial

2003-12-29 Thread Manuel Lemos
pages (https): http://www.phpclasses.org/httpclient -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Object Oriented Programming Book(s)?

2003-12-26 Thread Manuel Lemos
the latest PHP books. Some are already reviewed: http://www.phpclasses.org/products.html/products.html -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: array data to XML

2003-12-24 Thread Manuel Lemos
documents without requiring any extension: Class: XML Writer class http://www.phpclasses.org/xmlwriter -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: Https

2003-12-23 Thread Manuel Lemos
://www.phpclasses.org/httpclient -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: progress in PHP

2003-12-23 Thread Manuel Lemos
to handle streams of HTTP requests. Therefore, there is no way to handle upload progress with a PHP only solution. The Raditha megaupload solution is based on a combination of Perl with PHP. It is probably the solution that uses more PHP but the hard work is done using Perl. -- Regards, Manuel

Re: [PHP] Re: progress in PHP

2003-12-23 Thread Manuel Lemos
, PHP already processed the uploaded copying the incoming data to a temporary file. OTOH, Perl provides support to handle the incoming HTTP request as it happens, not after it is done. -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 12:46

Re: [PHP] Re: progress in PHP

2003-12-23 Thread Manuel Lemos
that is something handled at the HTTP request level. The Perl solution is based on a script that handles and tracks the upload and another that shows the progress. That is why you need to show progress in a popup or a separate frame. -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED

Re: [PHP] Re: progress in PHP

2003-12-23 Thread Manuel Lemos
, nobody with enough karma seemed interested to commit the patch. It probably needs further checking to ensure that it is safe to execute, especially in shared environments where different hosting clients may be using the same Web server. -- Regards, Manuel Lemos Free ready to use OOP components

[PHP] Re: HTTP headers, IE and downloading

2003-12-22 Thread Manuel Lemos
Hi! Andreas Magnusson wrote: I'm writing a script to view/download an email-attachment. If the file happens to be an MS Word document and the browser IE (only tried with 6.0), then the download fails. If I choose to download (Content-Disposition: attachment; filename=whatever.doc) then only a

[PHP] Re: Https

2003-12-22 Thread Manuel Lemos
you may want to use the Curl library. It is a bit more complicated but using this HTTP client class it becomes much simpler and you can make more complex request like posting forms and handling cookies. http://www.phpclasses.org/httpclient -- Regards, Manuel Lemos Free ready to use OOP

[PHP] Re: Post New Email to Website?

2003-12-18 Thread Manuel Lemos
that mailbox regularly to extract the mailing list messages. In that case you may want to try this POP3 client class: http://www.phpclasses.org/pop3class -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: rss/rdf feed classes

2003-12-12 Thread Manuel Lemos
into an array... I am not sure if you want to generate or parse a RSS feed. Either way you may want to look at it here where there are solutions for both tasks: http://www.phpclasses.org/search.html?words=rssgo_search=1 -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http

[PHP] Bad characters in a text field

2003-12-12 Thread Manuel Ochoa
I have a form with a text area that when submited, get stored in a text type field of a MySQL database. Occasionaly some of our users copy data from a DOS program and paste it in the text area which results in unwanted characters getting stored in the text field. What function can I use to

[PHP] ereg is failing on this simple test

2003-12-12 Thread Manuel Ochoa
Why is this test failing? $data = A Simple test.; If (ereg(^[a-zA-Z0-9\s.\-_']+$, $data)) { echo Valid text; } else { echo Not valid text; } I'm running PHP 4.34 on a windows pc. This function is new to me, any help would be appreciated.

[PHP] Re: XML Strategdy

2003-12-11 Thread Manuel Lemos
retrieve, you may want to try this class: http://www.phpclasses.org/xmlwriter -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: rss/rdf feed classes

2003-12-11 Thread Manuel Lemos
where there are solutions for both tasks: http://www.phpclasses.org/search.html?words=rssgo_search=1 -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Re: rss/rdf feed classes

2003-12-11 Thread Manuel Lemos
where there are solutions for both tasks: http://www.phpclasses.org/search.html?words=rssgo_search=1 Manuel - Currently, I'm using class_RSS_feed.php... which I actually pulled down (with some examples) from phpclasses.. But it dumps back some formatted html, and what I would like

[PHP] Re: mail() issue

2003-12-10 Thread Manuel Lemos
-- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Writing a native PHP extension - versions?

2003-12-10 Thread Manuel Lemos
. You may want to check this book precisely about building custom PHP extensions. Here is a review: http://www.phpclasses.org/products.html/id/1411601882.html#review48 -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List

[PHP] Re: Leechers...

2003-12-09 Thread Manuel Lemos
I could gather it does not require that you change the code that generates your image tags as it does some magic with your page HTML. http://www.phpclasses.org/class_protect_pictur -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General

Re: [PHP] Re: spambothoney: script to pollute spammer's databases

2003-12-09 Thread Manuel Lemos
it. Are you sure that will not get yourself into problems with FTC for forwarding SPAM? Even if that nothing happens, I am afraid that soon nobody will be listening to messages sent to that [EMAIL PROTECTED] address. -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http

[PHP] Re: PHP, XML, UTF-8

2003-12-08 Thread Manuel Lemos
? There is the function utf8_encode() but if you want to generate XML, you may also want to try this class that performs whatever conversions you need: http://www.phpclasses.org/xmlwriter -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List

[PHP] Re: PHP My SQL vs ASP.NET SQL 2000 Server

2003-12-08 Thread Manuel Lemos
to take a look at Care 2000 before going to reinvent the wheel: http://www.care2x.net/ -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Reading email from sendmail

2003-12-08 Thread Manuel Lemos
to take a look at this POP3 client class: http://www.phpclasses.org/pop3class -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: post an array into another site

2003-12-08 Thread Manuel Lemos
a normal browser: http://www.phpclasses.org/httpclient -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: post an array into another site

2003-12-08 Thread Manuel Lemos
://www.phpclasses.org/httpclient Or even better, use PEAR's HTTP_Client. http://pear.php.net/package/ HTTP_Client Why better? Have you tried both packages? -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http

[PHP] Re: post an array into another site

2003-12-08 Thread Manuel Lemos
gives you a centralized way of dealing with errors. You meant that 800 line fat base class that many PEAR classes inherit and require in order to run even when developers do not want anything from it? No thanks, I am not interested in bloated software development. -- Regards, Manuel Lemos

Re: [PHP] Re: post an array into another site

2003-12-08 Thread Manuel Lemos
person with good sense would try both before coming to any conclusions. -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: post an array into another site

2003-12-08 Thread Manuel Lemos
, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: spambothoney: script to pollute spammer's databases

2003-12-08 Thread Manuel Lemos
decide which is more useful. -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php validator

2003-12-08 Thread Manuel Lemos
they will not fix them. There are certainly many functions that were broken between versions but were fixed. For that you may want to try PHP test suite scripts that come with the latest PHP version and try them in the PHP version that you use. -- Regards, Manuel Lemos Free ready to use OOP components

Re: [PHP] Re: post an array into another site

2003-12-08 Thread Manuel Lemos
like yourself deserves to be reviewed in the site. -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP RSS sites and SlashDot

2003-12-05 Thread Manuel Lemos
/latest/latest.xml -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: SMTP vs POP3

2003-12-05 Thread Manuel Lemos
of the email information?, thanks for any help, bye. Sure, try this class: http://www.phpclasses.org/pop3class -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: validating email address

2003-12-03 Thread Manuel Lemos
Hello, On 12/03/2003 04:31 PM, Blake Schroeder wrote: Whats the best way to validate email address (check for white space, check for .com, .net.edu etc) Try this class: http://www.phpclasses.org/emailvalidation -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http

[PHP] Re: validating email address

2003-12-03 Thread Manuel Lemos
to the specified address, like this does: http://www.phpclasses.org/emailvalidation -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: XML, strings and foreign (swedish/danish) characters

2003-12-02 Thread Manuel Lemos
these XML parser and writer classes: http://www.phpclasses.org/xmlparser http://www.phpclasses.org/xmlwriter -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: sendmail vs smpt

2003-12-02 Thread Manuel Lemos
queueing, set the delivery_mode variable of the sendmail_message_class to SENDMAIL_DELIVERY_DEFERRED . If you can have a qmail MTA in your machine, use qmail because it is by far the most efficient. http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos Free ready to use OOP components

[PHP] Re: HTML email enconding

2003-11-24 Thread Manuel Lemos
-- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Zip Code Locator / Radius Search

2003-11-20 Thread Manuel Lemos
to a link? Thanks a lot. This class does exactly what you need: Class: phpZipLocator http://www.phpclasses.org/phpziplocator -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: Zip Code Locator / Radius Search

2003-11-20 Thread Manuel Lemos
categories that they should, awaiting for somebody to classify them better. I have added the class to that category now. Thanks for the suggestion. -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net

[PHP] array_diff question

2003-11-19 Thread Manuel Vázquez Acosta
Hi: I read on the docs that array_diff and array_intersect were broken on 4.0.4. Does this mean that there is a best method to do it? Manu. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP Mail handler?

2003-11-19 Thread Manuel Lemos
://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: HTTP Authentication thru PHP

2003-11-19 Thread Manuel Lemos
the $password is starting with a semicolon, Ex: what if the $username =chandu: Is there any solution for this ? You need to encode user names properly. You may want to take a look at this class to see how it is done: http://www.phpclasses.org/httpclient -- Regards, Manuel Lemos Free ready to use OOP

[PHP] Re: HTML email problem

2003-11-19 Thread Manuel Lemos
to try this class: http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: mail -f option for removing nobody@localhost Return-Path

2003-11-19 Thread Manuel Lemos
. You may also have other problems probably affected with bugs in the mail function. Anyway, you may want to try this class that has work arounds to mail function bugs and emulates what you want by passing the Return-Path header: http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos Free

[PHP] Re: how can i use sessions with frames

2003-11-19 Thread Manuel Vázquez Acosta
You can use a query technique: if (!session_registered(..)) session_start(); Or you can use the @ sign: @session_start(); Manu. Phptom [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi folks, I want to use a frameset with two frames, one leftFrame and one

[PHP] Re: file_exists on Windows problem

2003-11-19 Thread Manuel Vázquez Acosta
It may be an OS feature file_exists relies on... But you can use is_uploaded_file() function to check whether the file exists or not. Manu. Chris Williams [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm again trying to understand differences in Apache and Windows installs of PHP

[PHP] Re: IE 6 mangling posted code

2003-11-19 Thread Manuel Vázquez Acosta
It seems to me a problem with the ' signs. I have posted, stored, and retrieved html in many projects, using IE6, and every time an error like this one showed up, the causes happened to be one of these: magic_quotes of PHP were not taken into account in the PHP code. strings delimiters

Re: [PHP] Include an encoder into PHP distribution?

2003-11-17 Thread Manuel Lemos
extensions directory and enable it in php.ini . -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Include an encoder into PHP distribution?

2003-11-17 Thread Manuel Lemos
that there is a build to build it with CygWin though. Anyway, the Turck author provides already built extensions DLL for the latest PHP versions. So you really do not have build it yourself. http://sourceforge.net/project/showfiles.php?group_id=69426 -- Regards, Manuel Lemos Free ready to use OOP components

[PHP] Re: Fwd: MMCache segmentation faults

2003-11-17 Thread Manuel Lemos
tried it with the optimizer off? Anyway, you may want to enable debug to be able to see in the Web server error log, which scripts are actually crashing. Then you may try isolating the fault to figure what exactly is the code that make the server segfault. -- Regards, Manuel Lemos Free

[PHP] Re: Limiting repetitive file access

2003-11-16 Thread Manuel Lemos
://www.phpclasses.org/logwatcher -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Include an encoder into PHP distribution?

2003-11-16 Thread Manuel Lemos
group. I don't see the point in your hostility trying to act as censorship. You are not adding anything to the thread. I agree with you here Manuel. Thanks for the explanation about GPL and BSD, and it was a good point to add. However, I think that an encoder should not be part of the default

Re: [PHP] Include an encoder into PHP distribution?

2003-11-16 Thread Manuel Lemos
this thread belongs to php.evangelism... Forget that list. It is moderated and the moderators boycott subjects that do not interest them. Basically it is censored. -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http

Re: [PHP] Re: Limiting repetitive file access

2003-11-16 Thread Manuel Lemos
, but if there is interest, I can release it later as a part of this class that already provides log watching services: http://www.phpclasses.org/logwatcher Thanks Manuel, Actually I like your idea -- it is much better. However, I do not use .htaccess permissions -- When I tried uploading

[PHP] Re: Can't fetch HTTP POST data in PHP?

2003-11-15 Thread Manuel Lemos
/httpclient -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Include an encoder into PHP distribution?

2003-11-15 Thread Manuel Lemos
is what Apache, PHP and others with BSD like licenses, with strictly conditional free of the GPL software. IMHO, if you really want to make software free without confusion, forget GPL. -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP

Re: [PHP] Include an encoder into PHP distribution?

2003-11-15 Thread Manuel Lemos
to act as censorship. You are not adding anything to the thread. -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Include an encoder into PHP distribution?

2003-11-15 Thread Manuel Lemos
that seem to be probably the best in the market. The contact address is below in this page but I am not sure if it is upto date. http://turck-mmcache.sourceforge.net/ -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List

[PHP] Re: Calling mail() in a loop

2003-11-13 Thread Manuel Lemos
called this many times, and secondly any other function that I could call that would be a similar test without having to send out emails. It depends on your what OS are you using and what local mailer (sendmail/qmail/postfix/etc.. ) you use in case it is under Linux/Unix. -- Regards, Manuel

[PHP] getaddrinfo failed in fsockopen()

2003-11-11 Thread Manuel Rodríguez Cayetano
postgresql support) gives no errors... Any help would be greatly appreciated. Thanks. Manuel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Trouble sending an image's contents as output using header Content-Type...

2003-11-10 Thread Manuel Vázquez Acosta
Type http://server.com/getthumbnail.php?fileid=12230983 in the location bar and see what happens. I have already done it; it didn't work. Manu. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Trouble sending an image's contents as output using header Content-Type...

2003-11-10 Thread Manuel Vázquez Acosta
Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Manuel Vázquez Acosta wrote: Type http://server.com/getthumbnail.php?fileid=12230983 in the location bar and see what happens. I have already done it; it didn't work. Manu. Did you see any error? If not, do

[PHP] Trouble sending an image's contents as output using header Content-Type...

2003-11-09 Thread Manuel Vázquez Acosta
Hi all: I have a page with a img tag: img src=/getthumbnail.php?fileid=12230983 The script getthumbnail.php searchs for a thumbnail of the specified image id; if not thumbnail exists, the script creates one; and then using readfile() and header() functions flushes it contents to the browser. But

Re: [PHP] Trouble sending an image's contents as output using header Content-Type...

2003-11-09 Thread Manuel Vázquez Acosta
Maybe there's an error with _generateThumbnail() ? Do you know for certain that _generateThumbnail() works okay ? Martin I do; it works correctly, the returned path exists. I also tested sending the Content-Length header and it didn't work either. Manu. -- PHP General Mailing List

[PHP] Re: MX lookup email verification on Windows

2003-11-08 Thread Manuel Lemos
. These classes can be used in conjunction to do exactly what you need: Class: E-mail address validation class http://www.phpclasses.org/emailvalidation Class: DNSResolver http://www.phpclasses.org/phpresolver -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http

[PHP] Re: mail function error - win32

2003-11-01 Thread Manuel Lemos
and recipient addresses. If you still have problems, you may want to try this class that has workarounds for some of the problems of the mail() function: http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP

[PHP] Re: Object References Problem

2003-10-31 Thread Manuel Vázquez Acosta
I think, as for PHP4, that the problem is this function: function object_2($parent_object) { $this-my_parent = $parent_object; } Although you are passing the object by reference you're assigning a copy of it. Try this: $this-my_parent = $parent_object; Manu. -- PHP

[PHP] Re: Files question

2003-10-30 Thread Manuel Vázquez Acosta
Try file() function Bas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How can i read all files line by line? I am running windows. I know that there is then a \r\n but i don't know how to extract them... Can you help me? -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: PHP Script Output as HTML Mail

2003-10-29 Thread Manuel Lemos
that your message gets filtered. Composing multipart/alternative messages is not trivial, but fortunately you can resort to ready to use classes like this one that simplifies the composition of multipart messages: http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos Free ready

[PHP] Trying to craft a regexp

2003-10-29 Thread Manuel Vázquez Acosta
Hi all: I'm trying to find every simple mail address in an HTML that is not inside an A tag. I have tried this regexp: (?!maito\:)([EMAIL PROTECTED](?:\.\w+)+)(?![^]*?/a) But its not working as I expect cause the only address in my tested HTML is: a href=mailto:[EMAIL PROTECTED]

[PHP] Re: XML/MySQL

2003-10-26 Thread Manuel Lemos
://www.phpclasses.org/search.html?words=xml+mysqlrestrict=Cgo_search=1 -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Attachments with Mail()

2003-10-23 Thread Manuel Lemos
may want to try this class that lets you add attached files easily either from local files, remote files (http) or data in strings. It can also guess the correct file type from the file name: http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos Free ready to use OOP components written

[PHP] Re: using mail() - what is max number of email addresses I can specify in To field?

2003-10-22 Thread Manuel Lemos
...) that your hosting uses, so I can make an adequate recomendation. -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: String to Array or Hash Table

2003-10-20 Thread Manuel Vázquez Acosta
Try: parse_str($theStr, $assocArray); Manu. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: turck-mmcache compiled loader

2003-10-19 Thread Manuel Lemos
install -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: turck-mmcache compiled loader

2003-10-19 Thread Manuel Lemos
in your machine with a common user, thus without administration (root) privileges. If you could do that, the security of that machine would be compromised. -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http

[PHP] Re: What's a good regex to validate an email address? ;)

2003-10-17 Thread Manuel Lemos
://www.phpclasses.org/emailvalidation http://www.phpclasses.org/formsgeneration -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: generating nested xml from mysql

2003-10-17 Thread Manuel Lemos
this class? http://www.phpclasses.org/xmlwriter -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP Class ArrayQueue

2003-10-17 Thread Manuel Lemos
what's wrong? Thanks Have you checked these classes? They seem to do what you want. Class: Queue http://www.phpclasses.org/class_queue Class: FIFO Queue http://www.phpclasses.org/queue -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General

[PHP] Re: SQL injection

2003-10-17 Thread Manuel Lemos
://www.phpclasses.org/aclass Class: class_sql_inject http://www.phpclasses.org/class_sql_inject -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: File attachment to mail() doesn't work....

2003-10-17 Thread Manuel Lemos
into it and correct it for me? That looks like one of those mail() function bugs. You may want to try this class that has workarounds for such bugs and provides an easy way to compose and send messages with attachments. http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos Free ready

Re: [PHP] HTTP_POST_RAW_DATA problem

2003-10-16 Thread Manuel Vázquez Acosta
building the megaupload progress bar. Manuel Vázquez Acosta wrote: Hello: I'm running into a problem when trying to get $HTTP_POST_RAW_DATA; it always returns NULL althought my php.ini always_populate_raw_post_data is set to On. My env: Windows XP-Pro; Apache 1.3.24/PHP module 4.3.3 Any

Re: [PHP] Return to browser and keep running!

2003-10-16 Thread Manuel Vázquez Acosta
Outch! I have read the long discussion of this bug. But I tested the register_shutdown_function on a RH system with Apache 1.3.24 and it didn't work either (the connection keeps alive). The apache_register_shutdown_function doesn't exists in either system. Manu. -- PHP General Mailing List

[PHP] Re: Regular Expressions

2003-10-16 Thread Manuel Vázquez Acosta
Um! This is like an OCR error. Maybe you'll need a dictionary and craft a soundex/diffin' scheme. I don't think regexp will solve this problem nicely. Manu. Shmuel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a misspelled sentence like this: I am not aIone. I want to change

Re: [PHP] Slow searches in large database

2003-10-15 Thread Manuel Vázquez Acosta
I used a variant of this scheme a time ago and it worked well though I had not reached 2 000 records. I separated the words using strtok(). Manu. PD: How large is the http://www.alenet.com DB; I searched the word 'the' (which is likely to be in every english doc) and it returned only 28 docs.

Re: [PHP] Run the same php function several times in th background

2003-10-15 Thread Manuel Vázquez Acosta
There's a PEAR (o PCLE, can't remeber, search at http://pear.php.net) implementation of threads, though its experimental yet. Manu. Kb [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dear Mohamed Yes, I am looking for multithreading process , thank you for the suggestion charles

[PHP] Return to browser and keep running!

2003-10-15 Thread Manuel Vázquez Acosta
Hi all: I need to know if there is a way to send the output buffer to the browser, disconnect from it but keep running a task the user doesn't need to realize that is happening and that may take a few minutes to be complete. Something like: ?php /// PREPARE OUTPUT... flush();

Re: [PHP] Return to browser and keep running!

2003-10-15 Thread Manuel Vázquez Acosta
Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Use register_shutdown_function() I made this test: ?php function shutingdown() { $fh = fopen('d:/tmp/test.out', 'w'); if ($fh) { for($i=0; $i1000; $i++) fwrite($fh, $i\n);

Re: [PHP] Return to browser and keep running!

2003-10-15 Thread Manuel Vázquez Acosta
Add before the exit: set_time_limit(0); http://php.net/set_time_limit Curt You didn't get the idea. I want to be able to keep running a script disconnected from the browser; once all the output has been sent to the browser there's no need for the user to wait until the script finish its

[PHP] HTTP_POST_RAW_DATA problem

2003-10-15 Thread Manuel Vázquez Acosta
Hello: I'm running into a problem when trying to get $HTTP_POST_RAW_DATA; it always returns NULL althought my php.ini always_populate_raw_post_data is set to On. My env: Windows XP-Pro; Apache 1.3.24/PHP module 4.3.3 Any ideas? Manu. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] mail() php in message

2003-10-13 Thread Manuel Lemos
. Sending an HTML message properly requires that you compose a message according to the MIME standards. Just try this class that makes it easy: http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General

Re: [PHP] mail() php in message

2003-10-13 Thread Manuel Lemos
buffering functions. -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: I can't make 'read_tag.php' file

2003-10-12 Thread Manuel Vázquez Acosta
Try this: function readTag($filenane, $tagtype, $degub = false) // I prefer boolean for debug :) { $filedata = file_get_contents($filename); $tagtype = preg_quote($tagtype); $tagRegExp = /battag=$tagtype\s*((?:.|\s)*?)/battag\s*/; preg_replace_callback($tagRegExp, 'replaceFunc',

[PHP] Re: Search for an exact string inside of another string

2003-10-11 Thread Manuel Vázquez Acosta
Try: if (strpos($str2, $str1) !== false) echo $str1 is inside $str2; else echo could not find $str1 inside $str2; Php Webmaster [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, I have a little problem that I hope you can help me with. I have the following strings:

[PHP] Re: Detecting devices i.e. PDA, Mobile

2003-10-11 Thread Manuel Vázquez Acosta
Take a look at what is printed by: var_dump($_SERVER); Maybe the HTTP_USER_AGENT can lead you to somewhere out of this problem. Manu. Shaun [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I have created an online system, and have created a WAP version, and am currently

[PHP] Re: Credit Card Validation

2003-10-08 Thread Manuel Lemos
://www.phpclasses.org/credit -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Compiled Regular Expressions?

2003-10-06 Thread Manuel Vázquez Acosta
Hi all: I need to know if PHP compiles regular expressions. If it does so, is there any way to cache the compiled resource in order to speed up next calls to preg_* functions? Manu. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    4   5   6   7   8   9   10   11   12   13   >