php-general Digest 9 Aug 2003 16:37:37 -0000 Issue 2226
Topics (messages 158973 through 158991):
Re: Mail
158973 by: Mike Brum
158975 by: John W. Holmes
158983 by: Sean
158989 by: Sean
Re: WYSIWYG editor for PHP
158974 by: Bix
mail() usage in for loops
158976 by: Mohanaraj
158977 by: Michael Geier
158978 by: Mohanaraj
158979 by: Curt Zirzow
158980 by: John W. Holmes
158981 by: Curt Zirzow
158986 by: Dasmeet
Re: PHP Newbie needs assistance to highlight a specific item in a frame window
158982 by: Mary D. Taffet
running scripts
158984 by: BrianS
Re: info
158985 by: Dasmeet
php.net is broke
158987 by: Rodney Green
www.php.net
158988 by: Tom Miller
Configuring PHP to use aspell
158990 by: Jeff Lewis
gzip to max 9
158991 by: Decapode Azur
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Do you have an SMTP server installed on your machine? If not, add one to IIS
(probably the simplest way to do it in Win2k).
-M
-----Original Message-----
From: Sean [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 11:11 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Mail
I cannot get mail() to work any idea's
I get a server error.
Windows 2000 the SMTP port is 25.
No default values have being changed from the original PHP installation.
In it's simplest form
mail("[EMAIL PROTECTED]", "My Subject", "Test");
Gives the error as do more complicated scripts that I copied. Thanks Sean
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Sean wrote:
I cannot get mail() to work any idea's
I get a server error.
Windows 2000 the SMTP port is 25.
No default values have being changed from the original PHP installation.
In it's simplest form
mail("[EMAIL PROTECTED]", "My Subject", "Test");
Gives the error as do more complicated scripts that I copied.
Thanks
Sean
Follow the guidelines at the following URL to see where the error lies.
http://support.microsoft.com/?kbid=286421
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
PHP|Architect: A magazine for PHP Professionals – www.phparch.com
--- End Message ---
--- Begin Message ---
Thanks for the quick response. 1 and 2 work 3 does not giving "unable to
relay for...."
I had slight doubts about what to use for [EMAIL PROTECTED] I used my
normal email address.
1.. Type helo me and press ENTER. The output resembles the following:
250 OK
2.. Type mail from:[EMAIL PROTECTED] and press
ENTER. The output
resembles the following:
250 OK - mail from <[EMAIL PROTECTED]>
3.. Type rcpt to:[EMAIL PROTECTED] and press
ENTER. The output
resembles the following:
250 OK - Recipient <[EMAIL PROTECTED]>
Hope you can help
Thanks
Sean
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Sean wrote:
>
> > I cannot get mail() to work any idea's
> > I get a server error.
> > Windows 2000 the SMTP port is 25.
> > No default values have being changed from the original PHP installation.
> >
> > In it's simplest form
> > mail("[EMAIL PROTECTED]", "My Subject", "Test");
> > Gives the error as do more complicated scripts that I copied.
> > Thanks
> > Sean
>
> Follow the guidelines at the following URL to see where the error lies.
>
> http://support.microsoft.com/?kbid=286421
>
> --
> ---John Holmes...
>
> Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
>
> PHP|Architect: A magazine for PHP Professionals – www.phparch.com
>
>
>
>
--- End Message ---
--- Begin Message ---
I have searched various other places for an answer but have found none. I
imagine that the problem is caused by something simple that I am doing wrong
but if not this will be going on a Linux server when it works is there
another commonly used way of sending mail that the web hosting service will
not complain about setting up.
Also I don't think there should be any major difference between php script
for Windows or Linux is that right?
Thanks
Sean
"Sean" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thanks for the quick response. 1 and 2 work 3 does not giving "unable to
> relay for...."
> I had slight doubts about what to use for [EMAIL PROTECTED] I used my
> normal email address.
>
> 1.. Type helo me and press ENTER. The output resembles the following:
> 250 OK
> 2.. Type mail from:[EMAIL PROTECTED] and press ENTER. The output
> resembles the following:
> 250 OK - mail from <[EMAIL PROTECTED]>
> 3.. Type rcpt to:[EMAIL PROTECTED] and press ENTER. The output
> resembles the following:
> 250 OK - Recipient <[EMAIL PROTECTED]>
> Hope you can help
> Thanks
> Sean
>
> "John W. Holmes" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Sean wrote:
> >
> > > I cannot get mail() to work any idea's
> > > I get a server error.
> > > Windows 2000 the SMTP port is 25.
> > > No default values have being changed from the original PHP
installation.
> > >
> > > In it's simplest form
> > > mail("[EMAIL PROTECTED]", "My Subject", "Test");
> > > Gives the error as do more complicated scripts that I copied.
> > > Thanks
> > > Sean
> >
> > Follow the guidelines at the following URL to see where the error lies.
> >
> > http://support.microsoft.com/?kbid=286421
> >
> > --
> > ---John Holmes...
> >
> > Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
> >
> > PHP|Architect: A magazine for PHP Professionals - www.phparch.com
> >
> >
> >
> >
>
>
--- End Message ---
--- Begin Message ---
I use dreamweaver in live data mode quite often, really works a treat!
Set up a a site and in the testing server, just set it as /beta or the like,
then edit your script, and run it in live data and you can feed it
post/get/cookie data on the fly.
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[snip]
I need a WYSIWYG editor for PHP. That is all.
Can any1 advice me one( or more :-) )?
[/snip]
Dreamweaver?
--- End Message ---
--- Begin Message ---
Dear all,
I have read that using mail() in a for loop to send a lot of emails (
around 1k-10k ) emails is not advised due to the fact that it can be
resource intensive hence or the script might take so much time that it
ti,es out. However what if i append all the emails into the Bcc: header
as follows and make only 1 call to mail.
1. Is this better?
2.Will it still be resource hungry?
3.What would be the best way to handle mailing to many email addresses
from PHP. This is for a newsletter (not SPAM) application I am working on.
4.How does this compare against using sockets to directly speak to the
SMTP server from a efficiency aspect?
The code I am planning on using (which I got online too ) is as follows :
$email = "[EMAIL PROTECTED]";
$subject = "test";
$body = "This is a test.";
$headers = "From: [EMAIL PROTECTED]";
$headers .= "Reply-to: [EMAIL PROTECTED]";
//the following willl have all the email addresses which will receive
the email
$headers .= "Bcc: [EMAIL PROTECTED]";
$headers .= "Bcc: [EMAIL PROTECTED]";
$headers .= "Bcc: [EMAIL PROTECTED]";
$headers .= "Bcc: [EMAIL PROTECTED]";
$headers .= "Bcc: [EMAIL PROTECTED]";
//..and so on...
$headers .= "Content-Type: text/plain; charset=iso-8859-1\n";
mail ($email, $subject, $body, $headers);
--- End Message ---
--- Begin Message ---
1. many providers will not accept email messages with horrendous amounts of
BCC: entries (very spam indicative)
2. do not use mail() to do this
3. there are many excellent PHP mail classes (PHPClasses has a few and
PHPMailer is an excellent alternative as well)
4. IM(H)O, if you are going to send out large amounts of mail, dump sendmail.
QMail is much faster at SMTP.
Factors you may need to consider:
If this is a newsletter, why not use something like ezmlm or majordomo?
Are these individualized messages (custom inserts for names or email addresses,
custom unsubscribes, etc.)?
Many other programmers will mention things like having a dedicated outbound-
SMTP machine, while fending the bounces and unsubscribes on another, hardware
types (SCSI over IDE), etc. Make sure you have thought your application needs
through before beginning programming.
Quoting Mohanaraj <[EMAIL PROTECTED]>:
> Dear all,
>
> I have read that using mail() in a for loop to send a lot of emails (
> around 1k-10k ) emails is not advised due to the fact that it can be
> resource intensive hence or the script might take so much time that it
> ti,es out. However what if i append all the emails into the Bcc: header
> as follows and make only 1 call to mail.
>
> 1. Is this better?
> 2.Will it still be resource hungry?
> 3.What would be the best way to handle mailing to many email addresses
> from PHP. This is for a newsletter (not SPAM) application I am working on.
> 4.How does this compare against using sockets to directly speak to the
> SMTP server from a efficiency aspect?
>
> The code I am planning on using (which I got online too ) is as follows :
>
> $email = "[EMAIL PROTECTED]";
> $subject = "test";
>
> $body = "This is a test.";
>
> $headers = "From: [EMAIL PROTECTED]";
> $headers .= "Reply-to: [EMAIL PROTECTED]";
>
> //the following willl have all the email addresses which will receive
> the email
>
> $headers .= "Bcc: [EMAIL PROTECTED]";
> $headers .= "Bcc: [EMAIL PROTECTED]";
> $headers .= "Bcc: [EMAIL PROTECTED]";
> $headers .= "Bcc: [EMAIL PROTECTED]";
> $headers .= "Bcc: [EMAIL PROTECTED]";
> //..and so on...
>
> $headers .= "Content-Type: text/plain; charset=iso-8859-1\n";
>
> mail ($email, $subject, $body, $headers);
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
=======================================
Michael Geier
CDM Sports, Inc. Systems Administration
email: [EMAIL PROTECTED]
phone: 314.692.3540
-----------------------------------------------
This email sent using CDM Sports Webmail v3.1
[ http://webmail.cdmsports.com ]
--- End Message ---
--- Begin Message ---
Michael Geier wrote:
1. many providers will not accept email messages with horrendous amounts of
BCC: entries (very spam indicative)
Say we limit the BCC list to a hundred email addresesses. And use cron
jobs to send the emails out every hour -- would that be ok?
What would you consider excessive, say we limit each email list to about
1k subscribers, do you think your average hosting company will have a
problem with that ?
3. there are many excellent PHP mail classes (PHPClasses has a few and
PHPMailer is an excellent alternative as well)
Thanks a lot. Looking at them now.
4. IM(H)O, if you are going to send out large amounts of mail, dump sendmail.
QMail is much faster at SMTP.
Ok.
Factors you may need to consider:
If this is a newsletter, why not use something like ezmlm or majordomo?
Are these individualized messages (custom inserts for names or email addresses,
custom unsubscribes, etc.)?
The messages will be individualized. Hence we would need to send out
individual emails. Its possible that the BCC way also will not work,
because we would need to process each email individually before sending
them out.
What would be the best way to handle this ?
Many other programmers will mention things like having a dedicated outbound-
SMTP machine, while fending the bounces and unsubscribes on another, hardware
types (SCSI over IDE), etc. Make sure you have thought your application needs
through before beginning programming.
I can get a dedicated SMTP machine. That should be ok.
Thanks for your input mate.
Mohan
Quoting Mohanaraj <[EMAIL PROTECTED]>:
Dear all,
I have read that using mail() in a for loop to send a lot of emails (
around 1k-10k ) emails is not advised due to the fact that it can be
resource intensive hence or the script might take so much time that it
ti,es out. However what if i append all the emails into the Bcc: header
as follows and make only 1 call to mail.
1. Is this better?
2.Will it still be resource hungry?
3.What would be the best way to handle mailing to many email addresses
from PHP. This is for a newsletter (not SPAM) application I am working on.
4.How does this compare against using sockets to directly speak to the
SMTP server from a efficiency aspect?
The code I am planning on using (which I got online too ) is as follows :
$email = "[EMAIL PROTECTED]";
$subject = "test";
$body = "This is a test.";
$headers = "From: [EMAIL PROTECTED]";
$headers .= "Reply-to: [EMAIL PROTECTED]";
//the following willl have all the email addresses which will receive
the email
$headers .= "Bcc: [EMAIL PROTECTED]";
$headers .= "Bcc: [EMAIL PROTECTED]";
$headers .= "Bcc: [EMAIL PROTECTED]";
$headers .= "Bcc: [EMAIL PROTECTED]";
$headers .= "Bcc: [EMAIL PROTECTED]";
//..and so on...
$headers .= "Content-Type: text/plain; charset=iso-8859-1\n";
mail ($email, $subject, $body, $headers);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
=======================================
Michael Geier
CDM Sports, Inc. Systems Administration
email: [EMAIL PROTECTED]
phone: 314.692.3540
-----------------------------------------------
This email sent using CDM Sports Webmail v3.1
[ http://webmail.cdmsports.com ]
--- End Message ---
--- Begin Message ---
* Thus wrote Mohanaraj ([EMAIL PROTECTED]):
> Dear all,
>
> I have read that using mail() in a for loop to send a lot of emails (
> around 1k-10k ) emails is not advised due to the fact that it can be
> resource intensive hence or the script might take so much time that it
> ti,es out. However what if i append all the emails into the Bcc: header
> as follows and make only 1 call to mail.
Its not the mail() function itself that is resource intensive. It
is when you rapidly send 10k messages to a mailserver it has to
queue them up (move them to a queue folder.) Then, usually the queue
manager goes through the queue and sends each one individually.
This is one of the reasons why ISP's don't allow spamming on their
servers. It puts heavy loads on their servers and delays everyone
else's mail while your 10k messages get processed.
>
> 1. Is this better?
> 2.Will it still be resource hungry?
1. no
2. yes
The reason being is that when you bcc mail, the mail client
(php being the client in this case) prepares a separate message for
each bcc user, thus the same effect of loading down the mailserver
occurs.
> 3.What would be the best way to handle mailing to many email addresses
> from PHP. This is for a newsletter (not SPAM) application I am working on.
I think the best approach in sending a large amount of mail out at
one time, would bet to send them out in little bursts (1-5
messages) and have php sleep (like 1-2 seconds) in between, so the
mailserver can breath a little.
If you send out 1 mail per second with 10k emails, that would come
to about 2.7 hours spent sending. That might seem like a long time
but considering the risks, loosing your mail account or loading
down the mailserver etc.., it is a very low cost IMO.
To get around the timeout issue, you can use the set_time_limit()
function.
> 4.How does this compare against using sockets to directly speak to the
> SMTP server from a efficiency aspect?
Talking directly to an SMTP server is error prone, unless your up
on the SMTP protocol specs. And besides it wont change any of the
heavy load the mail server will get.
I would recommend sticking with mail() or some other already
existing package that sends mail.
HTH,
Curt
--
"I used to think I was indecisive, but now I'm not so sure."
--- End Message ---
--- Begin Message ---
Mohanaraj wrote:
What would be the best way to handle this ?
Go get a program that's made to send out emails like this. Odds are
it'll be faster and less of a strain on your server. PHP is great, but
there are other solutions out there.
My $0.02, of course. :)
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
PHP|Architect: A magazine for PHP Professionals – www.phparch.com
--- End Message ---
--- Begin Message ---
* Thus wrote John W. Holmes ([EMAIL PROTECTED]):
> Mohanaraj wrote:
>
> >What would be the best way to handle this ?
>
> Go get a program that's made to send out emails like this. Odds are
> it'll be faster and less of a strain on your server. PHP is great, but
> there are other solutions out there.
yeah this might be a better suggestion than trying to handle all
the mails yourself. ezmlm or majordomo would do the job quite
well.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."
--- End Message ---
--- Begin Message ---
Hi! Mohanaraj,
If you have still not decided about what you are going to use, you can
check the several mailing list managers at
http://www.hotscripts.com/PHP/Scripts_and_Programs/Mailing_List_Managers/index.html
(this will help you get more confused ;) ). Also there seems to be a
good script.. MyMail.. http://scripts.codingclick.com/MyMail/
Bye!
Dasmeet
--
Domainwala.com
Domain Names from $7.99
Mohanaraj wrote:
Dear all,
I have read that using mail() in a for loop to send a lot of emails (
around 1k-10k ) emails is not advised due to the fact that it can be
resource intensive hence or the script might take so much time that it
ti,es out. However what if i append all the emails into the Bcc: header
as follows and make only 1 call to mail.
1. Is this better?
2.Will it still be resource hungry?
3.What would be the best way to handle mailing to many email addresses
from PHP. This is for a newsletter (not SPAM) application I am working
on.
4.How does this compare against using sockets to directly speak to the
SMTP server from a efficiency aspect?
The code I am planning on using (which I got online too ) is as follows :
$email = "[EMAIL PROTECTED]";
$subject = "test";
$body = "This is a test.";
$headers = "From: [EMAIL PROTECTED]";
$headers .= "Reply-to: [EMAIL PROTECTED]";
//the following willl have all the email addresses which will receive
the email
$headers .= "Bcc: [EMAIL PROTECTED]";
$headers .= "Bcc: [EMAIL PROTECTED]";
$headers .= "Bcc: [EMAIL PROTECTED]";
$headers .= "Bcc: [EMAIL PROTECTED]";
$headers .= "Bcc: [EMAIL PROTECTED]";
//..and so on...
$headers .= "Content-Type: text/plain; charset=iso-8859-1\n";
mail ($email, $subject, $body, $headers);
--- End Message ---
--- Begin Message ---
Bill,
I have posted this same question in one other spot, and so far you are
the first one to reply. I thank you for that. Maybe there is hope
after all!
I'm currently not using any GET's at all -- I'm not passing anything in
the URL at this time; I'm currently using only $_SESSION variables.
The left frame is populated by resource_left.php, and the right frame is
populated by resource_right.php.
The current code for resource_left.php is shown below as an example
(both are the same, just focusing on a different side of the total
frame):
<?
include('application.php');
init();
include('./db.php');
session_start();
$current_said=$session_set_array[$session_curr_array_member];
$server_path="[snipped out]";
$resource_path="DISSERTATION_PILOT_STUDY/docs/";
//find out additional information about the resource
$query="SELECT nameid_left,docid_left FROM diss_set_assign WHERE
said='$current_said'";
$result=mysql_db_query("$db","$query") or die(query_fail("$query"));
$data=mysql_fetch_array($result);
$resource_nameid_left=$data['nameid_left'];
$resource_docid_left=$data['docid_left'];
$resource_idselector_left = "#ID".$resource_nameid_left;
$query="SELECT docalpha,resource_name FROM diss_docinfo WHERE
docid='$resource_docid_left'";
$result=mysql_db_query("$db","$query") or die(query_fail("$query"));
$data=mysql_fetch_array($result);
$resource_alpha=$data['docalpha'];
$resource_name=$data['resource_name'];
//build & include URL
$resource_url=$server_path.$resource_path.$resource_alpha."/".$resource_name."#".$resource_nameid_left;
//highlight desired person name -- don't know how to do this yet
header("location: $resource_url");
?>
Bill wrote:
>
> Long description, so I'm not sure exactly what you're doing, so I'll restate my
> understanding.
>
> You have a frameset with multiple pages. Pages are called via PHP. Each page
> may be the same but may need to highlight a different name. You want to
> highlight using CSS and IDs.
So, far, your understanding is correct -- unless there is another option
for highlighting dynamically that doesn't involve CSS and ID Selectors.
>
> At heart, here's my recommendation.
>
> Each page in the frame is called via php, let's call it get_page.php
>
> Each page has a different highlight, somehow php must get to know that, maybe as
> a result of a survey, etc. For convenience, let's say your surveys want to
> highlight 1234 on the first page, and 5678 on the second.
That's the general idea, but not as the result of the survey. Pointing
out the two person names is the entire basis for doing the survey -- to
gather judgments about the two names by comparing them and their
surrounding contexts.
>
> Don't know your survey mechanism, so we'll use a "Get" request as an example.
> So, the first page will be get_page.php?id=1234 and the second page will be
> get_page.php?id=5678
I'm using mysql to determine the specific ID's, as I explained in my
message, and as shown in my code above.
>
> Then, in the get_page.php we have the normal css code and we'll add some php to
> it:
>
> At the top of get_page.php somewhere we have:
>
> <?php
> $id=$_GET["id"];
> // filter this any other way we want, too
> ?>
>
> Then later,
>
> <STYLE TYPE="text/css">
> //<!--
> ...
> a { letter-spacing: 0.3em }
> <?php
> if ($id) {
> echo "a#$id { letter-spacing: 0.5em }\n";
> }
> ?>
> ...
> //-->
> </STYLE>
How would I get this code, or something like it, to connect up to the
actual HTML page, which has already been created elsewhere, and has no
specific mention of a CSS at all? Can I push in a CSS after the fact to
an already created HTML page?
Or do I need to rethink how I am creating the HTML pages to start with?
Perhaps instead of pre-adding the <HTML> <HEAD>, etc. tags in the
14,000+ pre-prepared HTML documents (which I am creating myself), I
should include only the actual body text in the pre-generated documents,
then generate everything outside the <BODY>...</BODY> tags on the fly,
and then somehow connect that generated/dynamic header to the static
body? The dynamically generated header tags could be set up with code
similar to what you have shown above, but instead changing the text at
that ID value in terms of color and boldface.
That would probably require a different mechanism than a simple
redirection for actually displaying the page....I'll have to think about
that.....
Alternatively, perhaps I could re-generate each of the 14,000+ HTML
documents with a static pointer to an external .css file, and just
constantly dynamically change the contents of that external .css file to
rewrite the actual ID value. -- that is, if that can be done
simultaneously for the right and left frames with a different value for
each......
>
> Note the extra php code in the CSS. Normal anchor tags (<a>) will have .3em
> while the anchor tag with id from the GET request should have .5em. If there is
> no highlight the extra "a" line won't be printed in the CSS.
I gather that if I'm not using a GET, this shouldn't matter, right?
>
> There's a lot of other ways to do it, but this should give you a start.
>
> kind regards,
>
> bill
Thanks again for your reply; I was beginning to think my question had
scared everybody away.
-- Mary Taffet
[EMAIL PROTECTED]
>
> "Mary D. Taffet" wrote:
>
> > While I am technically capable, having worked with COBOL and perl
> > extensively (but not at the same time <g>!), I am a newbie to PHP.
> >
> > I have the basics for a survey application up and running, but need to
> > be able to highlight one specific piece of text in each of the two main
> > frame windows, and I'm not entirely sure how to accomplish this with
> > PHP.
> >
> > Both frame windows are pulling in HTML documents from a pool of over
> > 14,000 pre-prepared documents, all of which have specific ID values
> > incorporated as part of the NAME anchor element, for example:
> >
> > <A NAME="J145-37" ID="IDJ145-37">Thomas Jefferson</A>
> >
> > <A NAME="W169-157" ID="IDW169-157">George Washington</A>
> >
> > I have a mysql table that I am using to tell me, at any one point in
> > time, which specific NAME value should be pointed to in each frame.
> > They may or may not be within the same physical HTML document.
> >
> > If it were the case that I were pointing to Thomas Jefferson in the left
> > frame and George Washington in the right frame, I would like to be able
> > to highlight each name so that it is immediately visible within the
> > surrounding document context. I would like to minimally use a different
> > color for the specific name in each frame that I am pointing to.
> >
> > Because each document is filled with multiple NAME values, each with
> > it's own separate ID value, theoretically it should be possible to
> > highlight only the one speicific NAME value I am interested in at a
> > particular point -- leaving all the other NAME values the same color as
> > the surrounding text. Hopefully this is even possible when I am pulling
> > in the same physical document twice, once in each frame (using separate
> > PHP programs for the left and right frames). If the two snippets of
> > text above were found in the same sentence in the same physical HTML
> > document, I would want one highlighted in the left frame and the other
> > highlighted in the right frame.
> >
> > The mysql table will tell me at any one point which specific ID value
> > should be highlighted in each frame, but only through a variable name (I
> > am currently using $resource_nameid_left and $resource_nameid_right for
> > these two values). I am already incorporating these values in the URL
> > pulled into each frame as each URL points to the specified NAME anchor
> > specifically.
> >
> > But I also need to be able to use the ID Selector property of CSS
> > through PHP, pointing to a variable name. This is the part that I don't
> > have any examples for. Can I do this easily? Will it require the use
> > of Javascript?
> >
> > If anybody has some sample code that will do this, or can point me to
> > sample code that does this, I would appreciate it very much.
> >
> > If I have not explained fully what I am seeking, please let me know and
> > I can elaborate further.
> >
> > -- Thanks,
> > Mary D. Taffet
> > Syracuse University
> > Ph.D. Student/School of Information Studies
> > E-mail: [EMAIL PROTECTED]
> > Web: http://web.syr.edu/~mdtaffet/
--- End Message ---
--- Begin Message ---
I am sure this has been asked dozens of times so please forgive if this is
repetitive.
I have an application from which I would like to incorporate running
scripts. I saw that I can pass files to php.exe but this is more for a batch
process and so my application wouldn't have access to any script scope
variables.
What I want to do is to load a script, run portions every few seconds and
read changed varibles so as to alter the behaviors of the application in
time.
I've looked at incorporating use of the php DLL but could find no
documentation for the many functions exposed.
Any input would be greatly appreciated.
TIA
Brian
--- End Message ---
--- Begin Message ---
What are these un/pwds for? guess these were not meant to be posted to
mailing list
Kevin Stone wrote:
domain: asiostudios.com
host: Helpelf
ftp_un: asio
ftp_pw: uZGG7ai
registrar: Godaddy
reg_un: 1398706
reg_pw: iktomi
reg-account email: [EMAIL PROTECTED]
email1: [EMAIL PROTECTED]
un: asio
pw: iktomi
email2: [EMAIL PROTECTED]
un: webmaster
pw: turtle
email3: [EMAIL PROTECTED]
un: bonny
pw: spinfly
www.helpelf.com
un: helpelf
pw: spinfly
cp: www.helpelf.com/menu
www.bubbleshop.net
un: bubble
pw: bubble
www.legendsandlore.com
menu: www.legendsandlore.com/controlpanel
un: legends
pw: pp782on
godaddy un: leglore
godaddy pw: iktomi
Mals-e un: 3843396
Mals-e pw: helpelf
Mals-e server: www.aitsafe.com
www.dakotatextiles.com
un: bhssc
pw: JmvKShfE
cp: www.dakotatextiles.com/menu
www.montileaux.com
cp: www.montileaux.com/menu
un: ybird
pw: gvqAFXYv
godaddy un: ybird
godaddy pw: gvqAFXYv
Mals-e un: 5823628
Mals-e pw: horses
Mals-e server: ww3.aitsafe.com
www.dragonsaretooseldom.com
un: puppets
pw: YysQTNKS
godaddy un: dragonsr
godaddy pw: puppets
Domain Expires: 12/6/2003
Mals-e un: 6165274
Mals-e pw: qw72707
Mals-e server: ww4.aitsafe.com
www.stockmanboot.com
www.stockmans.com
menu: www.stockmanboot.com/menu
ip: 64.177.22.228
un: taxicab
pw: jimjana
www.psdoffice.com
un: sunshine
pw: awUHvgTo
menu: www.psdoffice.com/menu
Mals-e un: 4743333
Mals-e pw: dh4855
reg_un: 688782
reg_pw: ballball
www.mycampground.com
un: edge
pw: kN5XC2xg
www.genewoodle.com
host: Internet Planners
un: woodle
pw: cXm8vfo9
www.termespheres.com
host: Internet Planners
ip: 64.176.99.91
un: dtermes
pw: y4JwbGpp
registrar: Godaddy
reg_un: 688782
reg_pw: ballball
mals-e_serv: www.aitsafe.com
mals-e_un: 4743045
mals-e_pw: eagle
www.yippykiyo.com
reg_un: 688782
reg_pw: ballball
www.langtermes.com
menu: not available
un: lang
pw: Lp5mvoa4
www.brewereducationalresources.com
menu: www.brewereducationalresources.com/menu
un: brewer
pw: taxicab
reg_un: 688782
reg_pw: ballball
www.bigbats.biz
menu: www.bigbats.biz/menu
ip: 208.56.137.167
un: bigbats
pw: cwQur3MK
reg_un: 688782
reg_pw: ballball
www.ecoloringpages.com
menu: www.ecoloringpages.com/menu
un: ecolor
pw: igvWKSUQ
mals-e un: 6463616
mals-e pw: pk34421
registrar: Godaddy
reg_un: iktomi
reg_pw: buffalo
www.scentsandsuch.com
ip: 64.176.84.196
menu: 64.176.84.196/menu
un: scents
pw: F3gBraQM
registrar: Godaddy
reg_un: scents1
reg_pw: F3gBraQM
mals-e server: ww3.aitsafe.com
mals-e un: 5208542
mals-e pw: hg7414
www.leadoperahouse.org
menu: www.leadoperahouse.org/menu
host: Internet Planners
un: lopera
pw: FLNH67YR
mals-server: ww5.aitsafe.com
mals-un: 7920820
mals-pw: kg46715
godaddy un: humming
godaddy pw: birds
www.bocabeth.com
menu: www.bocabeth.com/menu
un: bocab
pw: RBECB3uG
mals-server: ww4.aitsafe.com
mals-un: 6085847
mals-pw: bocab
go-daddy un: toucan
go-daddy pw: toucan
reg2_un: 688782
reg2_pw: ballball
www.rallytradingcards.com
host: Internet Planners
un: cards
pw: QpoaxWT
mals-server: ww4.aitsafe.com
mals-un: 6285886
mals-pw: xk48666
godaddy-un: vsteele
godaddy-pw: spice
www.tonyramer.com
menu: www.tonyramer.com/menu
un: tramer
pw: APYDDQ6T
godaddy-un: Phillip J LaQua
godaddy-pw: Olivia
www.wildideabuffalo.com
un: buffalo
pw: 9CcS6Yun
www.FabulousOneGuy.com
menu: www.fabulousoneguy.com/menu
un: oneguy
pw: v3mhaHMV
mals-un:
godaddy-un: jeager
godaddy-pw: jeager
www.vanwaytrophy.com
ip: ???
un: vanway
pw: cheemohd
Defunct..
networksolutions_un: 15357249
networksolutions_pw: nolan
www.oldfarmcampground.com
un: oldfarm
pw: k4Nw89q8
mals-un : 7953755
mals-pw : qe73611
www.gordypratt.com
ip: 65.108.5.92
un: gpratt
pw: WKFftqaQ
www.jamesvannuys.com
un: vannuys
pw: E7zndZV6
mals_un: 8565605
mals_pw: pp15101
www.leadmethere.org
host: Internet Planners
ip: 65.109.88.27
un: chamber
pw: SupbXSX
registrar: Network Solutions
ns_account: 27766779
ns_pass: 374BwX2i
previous name servers: NS.BLACKHILLSCORP.COM, NS3.MCI.NET
previous host: Black Hills Fibercom
www.thestudiollc.com
registrar: Godaddy
reg un: 1398706
reg pw: iktomi
www.mycampground.com (edgewater acers)
un: edge
pw: kN5XC2xg
www.thudbuster.com (rjconcepts.com)
menu: rjconcepts.com/vadmin
un: rjci
pw: 29ryan29
registrar: www.directnic.com
reg_un: mcfarlandryan
reg:pw: 29ryan29
mals-e server: ww4.aitsafe.com
mals-e un: 6719593
mals-e pw: rb49506
www.thudbuster.com
ip: 65.109.74.59
un: thudbust
pw: Ps5EStFu
registrar: www.directnic.com
reg_un: mcfarlandryan
reg_pw: 29ryan29
mals un: 6719593
mals pw: rb49506
www.jermacsracing.com
ip: 65.109.74.52
un: racing
pw: 7x3XPvLn
registrar: www.directnic.com
reg_un: mcfarlandryan
reg_pw: 29ryan29
www.rjworldwide.com
un: rjdesign
pw: KTogLYCf
ip: 65.109.74.54
registrar: www.directnic.com
reg_un: mcfarlandryan
reg_pw: 29ryan29
www.1508mtrushmorerd.com
un: mortgage
pw: if5KwhPT
ip: 65.109.74.53
registrar: www.directnic.com
reg_un: mcfarlandryan
reg_pw: 29ryan29
www.crawfordcable.com
ip: 65.109.74.51
un: crawford
pw: 7BhaPJqL
registrar: www.directnic.com
reg_un: mcfarlandryan
reg_pw: 29ryan29
www.rockinrsaloon.com
ip: 65.109.74.57
un: rocking
pw: a5VTvTro
registrar: www.directnic.com
reg_un: mcfarlandryan
reg_pw: 29ryan29
www.rjconcepts.com
ip: 65.109.74.223
un: concepts
pw: bWefBeEZ
www.smatterings.com
mals-e_server: ww6.aitsafe.com
mals-e_un: 8134925
mals-e_pw: kk75559
host: enetis.net
un: compvill
pw: 0060
www.funnywords.net
ip: 65.109.88.117
un: funny
pw: ANb3R67h
host: Internet Planners
www.jenifleming.com
ip: 65.109.88.127
un: fleming
pw: c5V7VUua
host: Internet Planners
registrar: Godaddy
reg_un: 688782
reg_pw: ballball
paypal_un: [EMAIL PROTECTED]
paypal_pw: I Kikn't Go
www.lampherestudio.com
ip:
un:
pw:
registrar: godaddy
reg_cn: 2112592
reg_un: lamphere
reg_pw: bostontea
www.chapelview.com
host: html.com
controlpanel: www.chapelview.com/manager
un: chapelviewcom
pw: chapel
www.prairieharvest.com
ip: 65.109.88.71
un: harvest
pw: tEBqEWVe
www.speckulate.com
host: Isaac (call 381-3450 / 721-9866)
un: pianoman
pw: xj53l0p
*DUMMY ACCOUNT*
Mals Server: ww5.aitsafe.com
Mals Username : 7740888
Mals Password : xw47456
--
--
Domainwala.com
Domain Names from $7.99
--- End Message ---
--- Begin Message ---
php.net is broke. There's an undefined function error.
********************************************
CinchHost.com - Web Hosting Made Easier
ASP, PHP, CGI, WEBMAIL, And More
Packages as Low as $9.99 - No Set Up fees
http://www.cinchhost.com/
********************************************
--- End Message ---
--- Begin Message ---
Clear Daywww.php.net has an error on the main page.
Tom
--
==============================================
--- End Message ---
--- Begin Message ---
I have the following set up...
RH Linux version 7.3
PHP 4.3.2
Aspell installed on the server
I have NEVER configured PHP and am looking for some assistance in
configuring PHP to use Aspell so I can take advantage of this great
feature that (as I can see from my searches) is not as well documented.
I'm not sure of the path to my Aspell either...
Jeff
--- End Message ---
--- Begin Message ---
Dear All,
<?php
function wrl2wrz($buffer) { return gzencode ($buffer, 9); }
ob_start("wrl2wrz");
/* here the file */
ob_end_flush(); # end of the output buffering
?>
In this exemple with output beffering it is possible to select the maximum
compression level,
is it possible to select the maximum compression level too
when writing in a file like below ??
$gzp = fopen($output_file, 'w');
gzwrite($gzp, $content);
gzclose($gzp);
I think that the default compression level here is 6,
and I would like to bring it to the maximum value 9.
--
cheers
--- End Message ---