[PHP] curl CUSTOMREQUEST

2004-12-21 Thread Juan Nin
I saw a post at http://www.php.net/manual/en/ref.curl.php where it says: "Using the customrequest for a complete post is wrong. Libcurl will add a partial url, the http version and the standard headers after the post data - while this works with a non-persistent connection and an apache web server

[PHP] GD, problem adding text to GIF images

2004-12-16 Thread Juan Nin
Hi, I'm adding text to images using the native gd in PHP 4.3.9 I have no problems with jpg images, but with gif ones, the colour of the text added to the image always results a dark grey The image itself and text are fine, but not the colour, which should be white.. Has anyone experienced this p

Re: [PHP] looking for a good FormMail PHP script

2004-08-16 Thread Juan Nin
raditha dissanayake wrote: This mail probably shows how little you know about matt wright's FormMail more than anything else - just to give you an idea it's banned on all shared servers of our ISP. I'm very aware of the FormMail.pl's problems and bugs, and I'm definetely not going to use it...

Re: [PHP] looking for a good FormMail PHP script

2004-08-15 Thread Juan Nin
Hannes Magnusson wrote: Are we just suppost to know "Matt Wright's FormMail.pl" ? Matt Wright's FormMail.pl script is a very well known script, that's been used by thousands of people for several years. So it was very likely that many of the people who read the e-mail knew what I was talking ab

Re: [PHP] looking for a good FormMail PHP script

2004-08-14 Thread Juan Nin
raditha dissanayake wrote: Juan Nin wrote: Hi I'm looking for a good FormMail PHP script which beheaves like Matt Wright's FormMail.pl script (but lacks it's exploitable problems :) I found several on the net, but didn't like them too much... any recommendations? you have

[PHP] looking for a good FormMail PHP script

2004-08-13 Thread Juan Nin
Hi I'm looking for a good FormMail PHP script which beheaves like Matt Wright's FormMail.pl script (but lacks it's exploitable problems :) I found several on the net, but didn't like them too much... any recommendations? Thanks in advance, Juan -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] some kind of redirection (not the header function)

2003-09-11 Thread Juan Nin
On Thu, 2003-09-11 at 16:20, Peter James wrote: > mod_rewrite allows you to do internal redirects. This would keep your > user's URL the same, but actually point to a different page internally. > This is, of course, depends on whether you or your host have mod_rewrite > installed. cool, it was t

Re: [PHP] some kind of redirection (not the header function)

2003-09-11 Thread Juan Nin
On Thu, 2003-09-11 at 16:04, Ed Curtis wrote: > I'm pretty sure that YahooGroups uses cookies for this to hold values > while you're not on their site. When you return it checks for the cookies > and reloads the values from the last visit. You can accomplish this with > PHP as well. that´s clear,

Re: [PHP] some kind of redirection (not the header function)

2003-09-11 Thread Juan Nin
On Thu, 2003-09-11 at 15:39, Ed Curtis wrote: > Is there any type of criteria that would point a user to directoryA or > directoryB? > > I recently rebuilt a site that handled a couple thousand > different working directories for clients but used only one set of > scripts for all. The user would

[PHP] some kind of redirection (not the header function)

2003-09-11 Thread Juan Nin
Hi!!! I´m programming a site in PHP, where I want to do the following: I will have a set of different directories, where each directory must execute the same PHP pages, but giving as result different data, according to the directory where you are located (obtained by $_SERVER[´PHP_SELF´] for exam

Re: [PHP] "back" works in opera but not in internet explorer

2003-08-19 Thread Juan Nin
look where it says "Microsoft Internet Explorer Sessions Fix" at: http://www.phpfreaks.com/tutorials/41/1.php regards, Juan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] GPL question

2003-08-19 Thread Juan Nin
If I use Smarty or PEAR on my software, does it make my software GPL? Thanks in advance, Juan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] setting function variables

2003-08-14 Thread Juan Nin
"Micah Montoy" <[EMAIL PROTECTED]> wrote: > Anyone know of way to do this, so I can use a generic name for all the functions > and be able to distribute it to those using either SQL Server or MySQL > without them having to go through the code and manually change it? use Pear's DB abstraction laye

Re: [PHP] shell_exec

2003-08-14 Thread Juan Nin
From: "Rodney Green" <[EMAIL PROTECTED]> > Hello. I've been attempting to write a script that will run a shell script > using the shell_exec function and haven't had any success with getting it to > run in the browser. My web server runs as the user 'apache.' I'm able to run > the script successfu

Re: [PHP] Stop neurotic posting

2003-08-14 Thread Juan Nin
This kind of opiniion wars appear every since in many of the lists I'm subscribed to. The thing is that they ussually tend to nothing, since there are always people who think on one way, and otehrs who think the other, and no matter what you say, they will continue thinking that way. I agree that

Re: [PHP] Re: module to display e-mail from source

2003-08-14 Thread Juan Nin
From: "Dan Phiffer" <[EMAIL PROTECTED]> > I don't think I've seen anything like what you're describing, but you ought > to be able to use the standard mod_imap functions to determine whether a > message has MIME components, HTML and the like, then output to the client as > desired. The problem is

Re: [PHP] htmlspecialchars() and HTML code

2003-08-12 Thread Juan Nin
From: "Thaddeus J. Quintin" <[EMAIL PROTECTED]> > If the HTML file that they upload has '<' or '>' entities, then > these characters will be displayed in the text area as '<' and '>' > symbols. So when the text is submitted from the textarea, all of the > user's HTML entities will have been dest

[PHP] module to display e-mail from source

2003-08-07 Thread Juan Nin
Does anyone know of any module which can display an e-mail from it's source? I mean, that it receives the mails source, and displays it as it is displayed in a webmail for example.. It should be able to hand HTML messages and attachments I searched the web and found nothing... I could take code f

Re: [PHP] Correct Coding

2003-08-07 Thread Juan Nin
> Is this the best way to do this? > if(isset($Task) && $Task == "Add") { Do something } > I want to check if the variable is set and if so, if it is "Add". why don't just do: if($Task == "Add") { Do something } regards, Juan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] moderator: has anything on this list changed?

2003-08-07 Thread Juan Nin
From: "Curt Zirzow" <[EMAIL PROTECTED]> > well, I guess we are on are own, the bcc bounced :/ what about [EMAIL PROTECTED] or [EMAIL PROTECTED] ? regards, Juan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Stop neurotic posting

2003-08-06 Thread Juan Nin
and please don't answer saying that you aggree or don't agree with me I don't care just cut off with this thread please :) Juan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP / Oracle support (8/9) under Redhat 9

2003-08-04 Thread Juan Nin
From: "Robert Mena" <[EMAIL PROTECTED]> > But I'd need to compile php with oracle support. > Do you have any experience with this setup ? RH9 + PHP > with oracle support ? nope, have only used it with MySQL... the problem is that the php RPM does not have Oracle support compiled in? if it's that

Re: [PHP] PHP / Oracle support (8/9) under Redhat 9

2003-08-04 Thread Juan Nin
From: "Robert Mena" <[EMAIL PROTECTED]> > a) apache > > It seems that apache + php does not work well under > heavy load so I should stick with 1.3.X right ? Any > ideas where I can find a rpm package for redhat 9 ? Yes, stick with apache-1.3.x Latest 1.3.x version RPM from Red Hat for RH 7.3 is

Re: [PHP] removing parts of a string...

2003-07-24 Thread Juan Nin
From: <[EMAIL PROTECTED]> > I wanna be able to take a URL > http://www.mysite.com/downloads/file_1_a.pdf > > and then remove: > http;//www.mysite.com/ [...] look at preg_match() regards, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] arguments against moving site from Linux/Apache/PHP server to Windows/IIS/PHP needed

2003-07-23 Thread Juan Nin
First of all, security.. Windows is full of security holes Second, a Win2k server ussually needs to be rebooted after several days of running A Linux box usually stays months and months running without any problem without having to touch it I got a Linux box running Apache + PHP + MySQL, Postfix +

Re: [PHP] Setting total db size to a variable.

2003-07-19 Thread Juan Nin
From: "Curt Zirzow" <[EMAIL PROTECTED]> > > I have a question in regards to finding the total db size and setting it to a variable. > > This is rather vague in several aspects. Please expand on your question > with more details, otherwise it makes it hard to help with with your > question. I thin

Re: [PHP] else needed?

2003-07-19 Thread Juan Nin
From: "Larry Brown" <[EMAIL PROTECTED]> > On if statements, I periodically don't want anything to happen if the > requisite is not met. In most cases just writing the statement in the > format if (this) { do that; } and nothing more will work. However, I > periodically get weird results with thi

Re: [PHP] The stupidest question of the month.

2003-07-19 Thread Juan Nin
From: "René Fournier" <[EMAIL PROTECTED]> > I need to write a little program that opens and maintains a TCP socket > connection to a server across the Internet. This little program would > wait for messages from the server it's connected to, then record those > messages and send a kinda of acknowl

Re: [PHP] Protecting files with PHP

2003-07-17 Thread Juan Nin
I need to do the same and a .htacces file would not suite the problem I need to do as yahoogroups does When you upload a file to the Files section, it send by default an e-mail to the group members with a link to the file When you click on the link, you're sent to a login page, and after login in

Re: [PHP] Send mail using external server

2003-07-14 Thread Juan Nin
From: "Maria Garcia Suarez" <[EMAIL PROTECTED]> > With the proposed changes does it become something usable? it all depends on what you mean by "usable"!!! :oP if it works for what you want, and it satisfies your needs, then you can use it test it, and if it works ok for you, and don't want to

Re: [PHP] Send mail using external server

2003-07-14 Thread Juan Nin
From: "Curt Zirzow" <[EMAIL PROTECTED]> > You must send the rctp to's bfore you start sending the data. To be > a more stable smtp client there should be more sanity checking before > blindy doing this: > > if ($cc != "") { > $CC = split(',', $cc); > foreach ($CC as $ccemal) { > talk2serv

Re: [PHP] Send mail using external server

2003-07-14 Thread Juan Nin
From: "Maria Garcia Suarez" <[EMAIL PROTECTED]> > Hola Juan! Hola! :) (Hi!) > Thanks for your help Juan :-) de nada!!! (you are welcome) > What should I change in the script in order to make it > work? after the "RCPT TO" for the $to variable, you should check if $cc is defined, if it is, t

Re: [PHP] Send mail using external server

2003-07-14 Thread Juan Nin
From: "Maria Garcia Suarez" <[EMAIL PROTECTED]> > The problem is that blind copies > don't reach destination, mails in the To: field arrive > well, mails in the BCC: desappear and never reach the > mailbox (nor get back :-? [...] >talk2server("MAIL FROM: ".$from."\n"); >if (listen2server()

Re: [PHP] Re: Mailing list server with PHP frontend

2003-07-12 Thread Juan Nin
From: "Manuel Lemos" <[EMAIL PROTECTED]> > You may want to try this class for creating lists with the ezmlm mailing > list manager. It has support for creating and editing the lists > properties and even has a SOAP interface for accessing the subscriptions > from remote machines. > > http://www.ph

Re: [PHP] Mailing list server with PHP frontend

2003-07-11 Thread Juan Nin
From: "Frank Keessen" <[EMAIL PROTECTED]> > Maybe is this what you want; > > http://www.eternalmart.com/ nope, I had already seen it.. that's the kind of software I found lots, it's for sending announcements via a web form to subscribed users, but it's not a mailing list server thanks anyway J

[PHP] Mailing list server with PHP frontend

2003-07-11 Thread Juan Nin
Hi! I want to know if anyone knows about a good mailing list manager that has got a PHP administration frontend I've found many PHP scripts for sending newsletters and announcementes, but that's it's not what I want I want a system like Mailman, Sympa or Majordomo (the mailing list server may be p