We regularly use PHP to send messages to a 100,000+ member mailing list. No
problem. I did insert some periodic pauses to give the mail server some
breathing room. :)
- Tim
http://www.phptemplates.org
>From: "Matthew Delmarter" <[EMAIL PROTECTED]>
> I at looking at using PHP to send a monthl
Hey,
Right at the end i get a prase error, which i figure i have missed a
break; or a }
but i just can't seem to find it, can some one look thro it, tell me if they
spot it?
My Code:
User :
Password :
if the windows machine is the "host machine" ie for your internet http://localhost/
will only be for the windows machine so if you are tring to get to that address from
your linux machine you won't be able to ... however if your machines ip was say
123.123.123.123(windows machine) then from you
Hi, has anyone successfully posted an XML data file using the PHP cURL functions? If
so, could you please send an example of the "curl_setopt" function names used.
Thanks in advance
Petras
Hi there I need some hand here...
I'm trying to write a script that call wget
about like this
$filename="someurl";
$get=`/usr/local/bin/wget -t0 -c $filename`;
while (ereg("saved",$get)) {
echo "file get";
}
from wget program i get this kind of output
0K -> .. .
i'm guessing your problems are unrelated.
for your network problem, it seems that you didn't really achieve
'networking linux box to windows host' correctly. can you currently ping
localhost? what does your route table look like?
as for the php problem. it's definitely a problem with your path.
Thanks for your help. The server document root is: /etc/httpd/htdocs.
Perhaps I need to point to this document in root in php.ini file?
Anyway, I cannot try that now as I have finally achieved networking linux
box to windows host that acts as our internet server. Now when I try to
connect to: htt
Hello everyone,
I'm wondering if there is anyway to compile php, apache, and mod_ssl together. I know
there is, and I have done it many times. However, I always have to compile php as a
static apache module. How can php be installed --with-apxs=/path/to/apxs with
mod_ssl? Has anyone done t
I Just needed it to make Auto Install Script. :)
- Original Message -
From: Chris Anderson <[EMAIL PROTECTED]>
To: Jason Murray <[EMAIL PROTECTED]>; 'ReDucTor'
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 2:51 PM
Subject: Re: [PHP] Quicky, I forgot a Varible ):
>
There's several ways to look at this too. Currently I'm doing some work for
a small/home business owner. She needed some work done with some shopping
cart stuff, a little MySQL DB and some smart forms. Not a lot of work, but
then some of the stuff I've not worked with before. We ended up agree
Maybe he means $PHP_SELF?
Then again he just kindof rambled
- Original Message -
From: "Jason Murray" <[EMAIL PROTECTED]>
To: "'ReDucTor'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 12:37 AM
Subject: RE: [PHP] Quicky, I forgot a Varible ):
> > Hey, I Forgot the
$HTTP_SERVER_VARS["PATH_TRANSLATED"]
I got it :)
- Original Message -
From: Jason Murray <[EMAIL PROTECTED]>
To: 'ReDucTor' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 2:37 PM
Subject: RE: [PHP] Quicky, I forgot a Varible ):
> > Hey, I Forgot the Variable that h
> Hey, I Forgot the Variable that has the current
> Document/script or Folder of the Docment/script
Look at the output from phpInfo(), then - you'll find it there.
I didn't answer you because I can't figure out precisely which
variable you want based on your question.
Jason
--
PHP General Ma
Hey, I Forgot the Variable that has the current Document/script or Folder of the
Docment/script
check out the mail() function.
Tyler
> -Original Message-
> From: Jason Brashear [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 01, 2001 11:08 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] question about forms
>
>
> I have a question. I am using PHP MySQL.
> > I am able to quary to DB a
I have a question. I am using PHP MySQL.
> I am able to quary to DB and edit post delete through forms.
> Problem. I need to be able to also send out emails when something is
posted
> to the databas as well as send the information that was submitted like a
> recipt.
>
> Any ideas?
> Please help.
At 06:27 PM 6/29/2001 -0500, Dean Hall wrote:
>Okay, perhaps I need to spend some more time studying language
>compilers/interpreters, but I've got a question regarding object creation in
>the PHP core.
>
>Basically, what, internally, is part of a PHP object (class instantiation)?
>I know Zend sta
On 02-Jul-01 Clayton Dukes wrote:
> Hi everyone,
>
> Is it possible to get information from a POST to a cgi and return the value?
Yes.
function openpost($host, $path, $poststr) {
$errno=0;
$errstr='';
$hdr=sprintf("POST /%s HTTP/1.0\r\nContent-Length: %d\r\n",
$path, strlen(
Anyone have an RPM for any newer than php-4.0.4pl1-3 (Red Hat 7)?
Thanks,
Steven
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
At 10:49 PM 7/1/2001 +0300, Rouvas Stathis wrote:
>Andi Gutmans wrote:
> >
> > At 10:17 PM 7/1/2001 +0300, Rouvas Stathis wrote:
> > >It is indeed strange, since in the sources I have (downloaded about a
> > >week ago), I already have the exact source that the patch presents
> > >(without the line
Has anyone ever done or attempted a conversion of PHPLib from PHP3 to PHP4?
There are a number of things that are not making sense in terms of why they
don't work and I was wondering if anyone had done a conversion (and yes I
know that much of the functionality is already in 4)
Thanks.
Bob.
-
> Can this be done? If so, can someone point me in the right direction?
> Specifically, how to get the CGI Post data returned from thier server?
As a starting point, grab their form, including all the javascript
associated with it, and put it onto your own page.
Change the tag to submit to a P
Hi everyone,
Is it possible to get information from a POST to a cgi and return the value?
I want to try to get a script that will check on an airline's flight status,
and if it returns "cancelled", then send me an e-mail (to my cell or pager).
I wanna do this because I get tired of driving an ho
Yes, but data access from Ultradev on Macintosh is a currently a
dealbreaker.
No adodb, so you cannot work with database enabled sites.
regards,
andrew
On Sunday, July 1, 2001, at 09:50 PM, John Monfort wrote:
>
>
>I used it.
>It's a great tool.
>
>Did you have any specific questio
PHP can handle this (although you will definitely have to disable
script timeout) in one run. But a smarter thing to do would be to not
send all the 5000 emails at one time rather come up with a method
that runs the PHP script every 5 minutes (a cron job) and send the
newsletter out in 200+ e
Don't post the question in a reply and someone will see your question
- Original Message -
From: "Jason brashear" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, July 01, 2001 5:34 PM
Subject: [PHP] question about forms.
> I have a question. I am using PHP MySQL.
> I am able t
I used it.
It's a great tool.
Did you have any specific question?
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-
Using DW & UD 4 I've found no problems with it.. how ever I will suggest that you use
something else to do the bulk of your php coding, although the new layout in UD & DW 4
does make it easier than in prevous versions to edit code directly
Peter
-Original Message-
From: Matthew De
On Mon, 2 Jul 2001 01:51, ReDucTor wrote:
> I lost half this subject whilst i format'd
> some one mind explaining what you are talking about with
> your foos, bars, foobars, dofoos, etc :)
One of the original posters suggested charging by line for programming work.
We were pointing out how this
On Sun, Jul 01, 2001 at 07:44:19PM -0500, Ryan wrote:
> I have chrooted apache+php but am having simple problems
> like not being able to exec uptime.
> uptime has been moved to /usr/serv/apache/usr/bin/uptime..
> Well anyways heres my lil php line im tring to get running
>
>
> I get no errors f
Hi,
I have PHP 4 installed on Win98 with PWS 4.
I am getting 'Page cannot be displayed' on pages with .php extentions. If I
change the extensions to .php3 everything is fine.
I used the installer to set PHP up and I have checked my registry to ensure
that .php .php3 and .phtml pages are set and
I have just found PHAkt for Macromedia UltraDev.
http://www.interakt.ro/products/PHAkt/
Has anyone out there used it?
I am interested in your opinion of the code it writes. Does it speed up
development? Is it easy to jump in and edit the code without breaking
something?
Any feedback appreciated
I at looking at using PHP to send a monthly newsletter to 5000+ users who
have subscribed via our site. The newsletter will be in HTML format for
those who have selected this option - otherwise plain text.
Can PHP handle something like this?
Regards,
Matthew Delmarter
--
PHP General Mailing
Hi Ryan!
On Sun, 01 Jul 2001, Ryan wrote:
> I have chrooted apache+php but am having simple problems like not being
> able to exec uptime.
> uptime has been moved to /usr/serv/apache/usr/bin/uptime..
> Well anyways heres my lil php line im tring to get running
>
>
> I get no errors from php, ju
I have chrooted apache+php but am having simple problems like not being able to exec
uptime.
uptime has been moved to /usr/serv/apache/usr/bin/uptime..
Well anyways heres my lil php line im tring to get running
I get no errors from php, just doesnt show anything.. I realize it needs a shell to
Hi, I am already using some of the openssl functions and are working ok. Up
to now, I am using openssl_seal and openssl_open to pass encripted data
through forms (if anoybody needs help with that pls tell me, I had to use
base64_encode/decode functions to convert non printable characters generated
Take a look at: http://phpclasses.upperdesign.com/browse.html
-Original Message-
From: ReDucTor [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 01, 2001 11:29 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Class/Func Librarys
Hey,
Just Wondering if any one knows, any sites that havea
I do the majority of my site development on a combination of Athlon 800
w/Win2k for graphics, and a P-133 w/16 megs of RAM running Slackware
Linux (gulp!)...
The Linux box performance with PHP is actually decent-- EXCEPT when
doing database queries locally. I tried running queries on Mysql
loca
Andi Gutmans wrote:
>
> At 10:17 PM 7/1/2001 +0300, Rouvas Stathis wrote:
> >It is indeed strange, since in the sources I have (downloaded about a
> >week ago), I already have the exact source that the patch presents
> >(without the lines prefixed with +).
> >I'm looking at $PHPHOME/Zend/zend_all
I have a question. I am using PHP MySQL.
I am able to quary to DB and edit post delete through forms.
Problem. I need to be able to also send out emails when something is posted
to the databas as well as send the information that was submitted like a
recipt.
Any ideas?
Please help.
-Jason
--
At 10:17 PM 7/1/2001 +0300, Rouvas Stathis wrote:
>It is indeed strange, since in the sources I have (downloaded about a
>week ago), I already have the exact source that the patch presents
>(without the lines prefixed with +).
>I'm looking at $PHPHOME/Zend/zend_alloc.c file.
>
>Am I to suppose tha
It is indeed strange, since in the sources I have (downloaded about a
week ago), I already have the exact source that the patch presents
(without the lines prefixed with +).
I'm looking at $PHPHOME/Zend/zend_alloc.c file.
Am I to suppose that there is no need to patch anything?
-Stathis.
Andi G
Jon,
Looked like a nice solution, but couldn't get the code to work. Kept going
into an endless loop or wait state somewhere.
still forced to use rexec.
Warren Vail
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 30, 2001 11:06 AM
To: Warren
I've spent a bit of time on it, and it looks to me that I've gotten an
infinite loop going in a database query. I'm not certain, as something
else has come up, and it's something I'll have to get back to (hopefully
today). This may or may not have been the case with yours. I'll let you
know what I
Very strange. I just checked it and it worked for me with GNU patch 2.5.
Do you know how to apply it yourself? You just need to add those three
lines (without the leading +).
Andi
At 07:48 PM 7/1/2001 +0300, Rouvas Stathis wrote:
>Patch cannot be successfully applied. Any suggestions ?
>
>Outpu
No Problem
- Original Message -
From: Jeff Lewis <[EMAIL PROTECTED]>
To: ReDucTor <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 2:48 AM
Subject: RE: [PHP] Website dealing with PHP image generation?
> I used ImageCreateFromPNG and it worked great! Thanks a lot! GI
I used ImageCreateFromPNG and it worked great! Thanks a lot! GIF wasn't
supported (due to GD 1.6+).
Jeff
> -Original Message-
> From: ReDucTor [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 01, 2001 12:38 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Website
Patch cannot be successfully applied. Any suggestions ?
Output from patch application:
rouvas@aspasia(12) /opt/ide2/rouvas/tmp/php-4.0.6/Zend >patch -i
patch.zend_alloc.c
patching file zend_alloc.c
Hunk #1 FAILED at 446.
1 out of 1 hunk FAILED -- saving rejects to file zend_alloc.c.rej
rouvas@
Try
$image = ImageCreate(500, 70);
$bg = ImageColorAllocate($image, 255, 255, 255);
$blue = ImageColorAllocate($image, 0, 0, 255);
$black = ImageColorAllocate($image, 0, 0, 0);
$himage=
ImageCreateFromGIF("/usr/hyrum/public_html/images/topics/hyrum.gif");
ImageRectangle($image, 0, 0, 500, 70, $wh
Thanks i will test it.
-Ursprüngliche Nachricht-
Von: Gyozo Papp [mailto:[EMAIL PROTECTED]]
Gesendet: Sonntag, 1. Juli 2001 18:26
An: [EMAIL PROTECTED]
Betreff: Re: [PHP] Replacing colors in an image?
Hello,
If you 'd like to change/replace only one colour / image, you might use
transp
Tried with and without and no luck, it has me stumped :)
Jeff
> -Original Message-
> From: ReDucTor [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 01, 2001 11:53 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Website dealing with PHP image generation?
>
>
> shou
is it possible to create an image on a website and then to replace colors or
parts of this image with another color?
imagine we have a left and a right part. they're both white at the
beginning. now i randomly choose a color and now the right part becomes
green and the left part red...
is it pos
Hey,
A Site one of my sites is hosted on(H4P), with it's php, when there is an
error, it just doesn't display the page, any one ever had this problem? I tried it on
another server, removed the error works on both now, but i don't want to have to
switch just to test it, so does any one kn
FWIW, i run php.40, apache and mysql on both my
desktops and my laptop, the laptop has 32 megs and a
166 processor. The arrangement runs fairly well on
the laptop. What you might want to do is to check and
see what other processes are running on your machine
that you may not know about or need.
There is a bug in PHP 4.0.6 which affects PHP users who use the memory
limit option. (i.e. developers who include --enable-memory-limit in their
configure line).
The patch is posted at http://www.php.net/downloads.php. If you don't use
this option there is no need for you to download and apply
shouldn't it be
$himage= "/usr/hyrum/public_html/images/topics/hyrum.gif";
not
$himage= "usr/hyrum/public_html/images/topics/hyrum.gif";
notice the first slash
- Original Message -
From: Jeff Lewis <[EMAIL PROTECTED]>
To: Jon Yaggie <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, J
I lost half this subject whilst i format'd
some one mind explaining what you are talking about with
your foos, bars, foobars, dofoos, etc :)
- James "ReDucTor" Mitchell
- Original Message -
From: Brad Hubbard <[EMAIL PROTECTED]>
To: PHP List <[EMAIL PROTECTED]>
Sent: Saturday, June
I have changed it to below but still get this error "Warning: Supplied
argument is not a valid Image resource in /home/hyrum/public_html/test.php
on line 41" and that is the ImageCopy line:
$image = ImageCreate(500, 70);
$bg = ImageColorAllocate($image, 255, 255, 255);
$blue = ImageColorAllocate(
On Fri, 29 Jun 2001 01:42, Thomas Deliduka wrote:
> You get paid more
> depending on your style:
>
> If ($foo == "bar") {
> $dofoo = fobar($foo);
> } else {
> $dofoo = foobar($bar);
> }
>
> Or
> If ($foo == "bar")
> {
> $dofoo = fobar($foo);
> }
> else
> {
> $dofoo = foobar($bar);
If you view the source of this email, you will see headers.
If there is a header reply-to: it will send replys to the email address
there
so you don't need to add [EMAIL PROTECTED] to the to: or cc:
- Original Message -
From: power jessie <[EMAIL PROTECTED]>
To: ReDucTor <[EMAIL PROTECTED]
They need to add the header
reply-to: [EMAIL PROTECTED]
here :)
- Original Message -
From: power jessie <[EMAIL PROTECTED]>
To: ReDucTor <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 4:40 PM
Subject: RE: [PHP] Class/Func Librarys
>
> try the PHP Classes Repository
try the PHP Classes Repository site on
http://phpclasses.upperdesign.com
hope that helps!
jessie
-Original Message-
From: ReDucTor [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 01, 2001 8:29 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Class/Func Librarys
Hey,
Just Wondering if an
Hey,
Just Wondering if any one knows, any sites that havea a function and/or class
library on there site, for any thing? Might save some time if i find some functions
and/or classes :)
Come on might just be a function you put in a script you made, send them!!!
- James "R
Thanks Jeff,
Thats just the job.
Ade
<< Here is the function I use when I am comparing differences ($now and $old
are Unix timestamps):
function datediff($now, $old)
{
$DIS = $now - $old; // Diff In Secs
$secs = $DIS % 60; // modulo
$DIS -= $secs;
$days = floor($DIS / (24*60
On 01/07/2001 02:49, Jack wrote:
>hi everyone,
> Does anyone know the best way to secure php source code so it is not
>group/world readable?
>I can read other users' php source code by writing a simple php script.
>I do not prefer to run php as cgi because all user's php file need to
>add the hea
Here is the function I use when I am comparing differences ($now and $old
are Unix timestamps):
function datediff($now, $old)
{
$DIS = $now - $old; // Diff In Secs
$secs = $DIS % 60; // modulo
$DIS -= $secs;
$days = floor($DIS / (24*60*60));
$DIS -= $days * (24*60*60);
$hours = flo
I use PHP 4 + Apache + Win95 + MS Access (ODBC), and my scripts generate
very long (10-15s with 15 records from DB - on localhost).
Why is it so? I have slow computer (166MHz, 32MB RAM), is it the main
problem? Or is there also a problem with ODBC (Access) or Win? Which is the
main reason?
Tha
php-general Digest 1 Jul 2001 15:11:50 - Issue 729
Topics (messages 55704 through 55729):
GMT Time and Setting Cookies in PHP
55704 by: Gonyou, Austin
Re: (slightly OT) the bad and the good (hosting recommentations)
55705 by: Jack Sasportas
55710 by: Justin French
Hi,
I`m trying to get the difference between two date/times and then state how
many days, hours and minutes there are between them.
So I take my date and convert it into unix time. Then get the current time,
and then subtract the two to get the current difference in unix seconds. What
I`m ha
Jamie Saunders wrote:
> What I would like to happen is for the PHP script to be able to look for the
> tags within the text files and parse them as PHP
> include(""); tags. Is there any way of achieving this?
It can be done with regular expressions (but i'll leave that to someone
who is GOOD a
I had the same problem whenever retrieving data from MSSQL using ODBC from a
NULL field.
To "solve" the problem I had to add a character asd default to that field.
I added a dot.
descr nvarchar default '.' .
(the sql sintax here is not the correct one.)
- Original Message -
Fr
On Sun, 1 Jul 2001 03:43, [EMAIL PROTECTED] wrote:
> to make you feel better, lemme tell you that after more than 3ys w/ PHP
> I earn somewhere arround 3 ( I mean 3!) $/h in Romania
> so let me tell you more about geographic disadvantages :)
Hi Teo,
Point taken. The grass is always greener tho
Hi,
In my site I use shtml extensively. Therefore I have quite a number of
text files that serve as shtml includes. Often these text files contain
more shtml includes. I'm creating PHP pages and wish to use these text
files within the pages, I know how to do this easily enough by using:
inclu
On Friday 29 June 2001 23:09, Craig Simon wrote:
> from html it would look like this
>
> "Asst"
>
> So I am trying to figure out how to write this. I have a statement
> like this:
>
> print (" href=\"wtai://wp/mc;"$row["officenum"]"\">Office");
>
> Although I can't get this to parse!
Use the st
On Saturday 30 June 2001 18:17, adam (dahamsta) wrote:
> making it too awkward - in a forms- and sessions- based situation. What
> I have difficulty with is understanding how the thousands of websites I
> mentioned manage it without being overly concerned about security. Or
> is that the problem
On Friday 29 June 2001 17:27, bill wrote:
> $breaks=preg_match_all("/\s+/i", "$text", $parts)
>
> and this
>
> preg_replace("/\s+/i","",$text)
>
>
> Now that PHP 4.0.5 has changed the nl2br() function, it no longer
> replaces new lines with:
>
>
>
> but instead with the new XHTML compliant break
On Saturday 30 June 2001 04:31, Richard Lynch wrote:
> >I'd like to know how small my content gets when i use
> >ob_gzhandler.
> Does gz-handler not provide any facility for measuring its performance
> or anything?... You'd think it would...
Using gzencode () should perform identical (compress
77 matches
Mail list logo