[PHP] SMTP server response: 550 5.7.1 Unable to relay for

2003-08-27 Thread Àlex Camps
i have windows xp with apache,php and argomail but i cant send emails from php why? thaks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PERL exec() replacement?

2003-08-27 Thread DvDmanDT
Isn't there any Perl exec() replacement (I might be wrong about the name of the function, I mean the one that lets you run a Perl command and return the expression value)? I'd really like one for different reasons (my preg_repace("#e#e",$command,"e") doesn't really work tooo great)... If there is o

RE: Re[2]: [PHP] PHP Interview questions

2003-08-27 Thread Chris W. Parker
Jay Blanchard on Wednesday, August 27, 2003 9:13 AM said: > You are taking a fruit from the crate labeled "apples and oranges", > right? If so, you would be correct. Well done! I hate not being able to figure these things out. :( ME SAD! c. -- PHP General Maili

[PHP] Re: SMTP server response: 550 5.7.1 Unable to relay for

2003-08-27 Thread DvDmanDT
Maybe that feature is disabled or you didn't enter your DNS servers... If you add me to MSN, I can help you set that up... I had some problems myself you see (Xp, Apache, PHP, Argomail).. -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "ÀLex Camps" <[EMAIL PROTECTED]> skrev i meddel

[PHP] Animating with GD?

2003-08-27 Thread Simon Fredriksson
Is it possible to create GIF animations using GD? //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE:[PHP] mail mime attachment

2003-08-27 Thread Steven Murphy
I've been working on a simple mail attachment script, that is now working. Its pretty well documented in the code. You can download it at www.pfohlsolutions.com/projects/mailer/mailer.zip. It verifies fields and hides the to email address from spiders. Email me if you have any questions or suggesti

[PHP] IS THIS A BUG?

2003-08-27 Thread Steve Todd
Is it possible to define a variable, such as: $foo = "bar"; and then do as follows to create a totally different variable: $$foo = "text here"; this seems to mean $bar = "text here";. Is this a bug or can we legally use it. Steve

[PHP] multiple mailings

2003-08-27 Thread Jay Fitzgerald
sorry for the multiple mailings...I'm not meaning to spam the list, but apparently when i send an email to the list, it takes almost 2 hours for me to receive a copy of it letting me know that it went through ok Jay Fitzgerald, Design Director

[PHP] SOLUTION [PHP] including .shtml file within my php script

2003-08-27 Thread Gronquist, Jim M
The solution to using .shtml files from within your PHP scripts is as simple as: include ("somefile.shtml"); Very handy if you have header, sidebar, footer templates setup using SSI. -Jim -Original Message- From: Gronquist, Jim M Sent: Wednesday, August 27, 2003 11:13 AM To: [EMAIL PR

[PHP] Re: IS THIS A BUG?

2003-08-27 Thread DvDmanDT
Considering the manual has examples using that method (or at least had), and many tutorials, I think you can use it... When using register_globals=off, this might be off intrest: (notice $$var) while(list($var,$val)=each($_REQUEST))$$var=$val; -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PR

[PHP] How to exec PHP as CGI

2003-08-27 Thread Lowell Allen
My PHP script for updating some static HTML pages no longer works on a commercial host that changed their setup so PHP can't write files to the public_html directory. The host's tech support says that a PHP script executed as a CGI can still write to public_html. The site has PHP 4.3.2 on Apache 1

Re: [PHP] can pdf forms be used to submit data into db?

2003-08-27 Thread Curt Zirzow
* Thus wrote Chris Boget ([EMAIL PROTECTED]): > > Yes you can! > > All the information is on www.php.net/fdf. > > I just read the above page and I can't for the life of me figure out > why anyone would want to do this. Of course, it's likely that I am > simply being myopic. > Would anyone who's a

Re: [PHP] can pdf forms be used to submit data into db?

2003-08-27 Thread Curt Zirzow
* Thus wrote Cesar Cordovez ([EMAIL PROTECTED]): > Yes you can! > > All the information is on www.php.net/fdf. You don't reall need to compile --with-fdftk, to generate fdf files. If you're not doing really fancy stuff (just filling out a form) then, be sure to take a look at the notes on this

Re: [PHP] dealing with arrays

2003-08-27 Thread Curt Zirzow
* Thus wrote Ford, Mike [LSS] ([EMAIL PROTECTED]): > On 27 August 2003 04:22, Aris Santillan wrote: > > > I Have > > Entry One > > > > > > > > The way to combat this is to use explicit subscripts in your form field names, like > so: > > Entry One > > > I would also add

[PHP] php equivalent to asp's instr()

2003-08-27 Thread Chris W. Parker
Hi. I don't know why but I've had the darndest time trying to find an easy equivalent of asp's InStr() function in PHP. I know there is preg_match(), strpos(), and strstr(), but none of them work like I want them to. In fact, except for maybe preg_match(), I can't get any of them to work right.

Re: [PHP] Implode slows down file reading? [was: str_replace performance in large mailing script]

2003-08-27 Thread Curt Zirzow
* Thus wrote CPT John W. Holmes ([EMAIL PROTECTED]): > From: "frederik feys" <[EMAIL PROTECTED]> > > > I thought str_replace caused slow down of my mailing script, but it > > seems to be this line of code: > > > > $fd = > > implode("",file("http://www.domain.org/store/min/Mailing_template.html";)

[PHP] Re: php equivalent to asp's instr()

2003-08-27 Thread DvDmanDT
Hmm... Are you sure strpos doesn't work for you? Sure worked for me when I wanted something like that Otherwise, checkout following: http://se2.php.net/strings function instr($needle, $haystack,$case_sensitive=true) { return (($case_sensitive?strpos($needle,$haystack):stripos($needle,$haystack))!=

Re: [PHP] Re: Website templating schemes

2003-08-27 Thread John W. Holmes
rush wrote: While PHP is often considered as template system in it self, I think it is is not very strong, or efficient one. Wow... where'd you pull that from?? Any facts to back that up? :) FYI: I've got a template benchmark site running at http://sepodati.realxl.net/tpl_bench/ Any interest in

Re: [PHP] IS THIS A BUG?

2003-08-27 Thread Curt Zirzow
* Thus wrote Steve Todd ([EMAIL PROTECTED]): > Is it possible to define a variable, such as: > $foo = "bar"; > > and then do as follows to create a totally different variable: > $$foo = "text here"; > > this seems to mean $bar = "text here";. > > Is this a bug or can we legally use it. perf

Re: [PHP] IS THIS A BUG?

2003-08-27 Thread John W. Holmes
Steve Todd wrote: Is it possible to define a variable, such as: $foo = "bar"; and then do as follows to create a totally different variable: $$foo = "text here"; this seems to mean $bar = "text here";. Is this a bug or can we legally use it. Yes it's legal. http://us2.php.net/manual/en/lan

Re: [PHP] can pdf forms be used to submit data into db?

2003-08-27 Thread John W. Holmes
Chris Boget wrote: All the information is on www.php.net/fdf. I just read the above page and I can't for the life of me figure out why anyone would want to do this. Of course, it's likely that I am simply being myopic. Would anyone who's actually used fdf enlighten as to the need to do it this wa

Re: [PHP] can pdf forms be used to submit data into db?

2003-08-27 Thread Ryan . K . Look
John, that is EXACTLY what i want, now the question is...have you seen this implemented somewhere? so php would pass the data to a database and when a user/client wants to see that data again, php would "re-generate" the form with the data that is being requested right? and that is what FDF can

Re: [PHP] IS THIS A BUG?

2003-08-27 Thread Chris Shiflett
--- Steve Todd <[EMAIL PROTECTED]> wrote: > Is it possible to define a variable, such as: > $foo = "bar"; > > and then do as follows to create a totally different variable: > $$foo = "text here"; > > this seems to mean $bar = "text here";. > > Is this a bug or can we legally use it. It is n

RE: [PHP] IS THIS A BUG?

2003-08-27 Thread Chris W. Parker
Steve Todd on Wednesday, August 27, 2003 1:28 PM said: > Is this a bug or can we legally use it. It's legal. And here is an article that explains it: http://www.phphideout.com/articleview.php/5 (read near the bottom) Chris. -- PHP General Mailing List (http://w

Re: [PHP] IS THIS A BUG?

2003-08-27 Thread Chris Sherwood
No its not a bug basically what you did was assign a value to a value of a variable a $$ is how you access the value of a variable as a variable - Original Message - From: "Steve Todd" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 27, 2003 1:27 PM Subject: [PHP] I

Re: [PHP] IS THIS A BUG?

2003-08-27 Thread Leif K-Brooks
Steve Todd wrote: Is this a bug or can we legally use it. Please RTFM before posting! http://php.net/variables.variable -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. -- PHP General Mailing

RE: [PHP] SMTP server response: 550 5.7.1 Unable to relay for

2003-08-27 Thread Chris W. Parker
Àlex Camps on Wednesday, August 27, 2003 12:04 PM said: > i have windows xp with apache,php and argomail > but i cant send emails from php why? According to your subject it looks like the computer you are trying to use to send the email does not allow relaying. >

<    1   2