Hello
I do have the following problem
I read a file line by line into an array I use to email address ( a value
of the line) to email each client with custom information from this file
what I read into the buffer.
The script is working everything is send the way I wish, the only problem is
t
Mail-Priority: High\r\n";
$headers .= "X-Mailer: Server here";
mail($contactemail, $subject, $message, $headers);
echo " mail to $Realf
$RealL done ... ";
}
fclose ($fp);
?>
- Original Message -
From: John W. Holmes <[EMAIL PROTECTED]>
To: 'WebDev' <[E
mine with name and
email addreses and info in and uses the data to mail his clients all at
ones??? Please if it that is easy for you can u help me out ?
- Original Message -
From: John W. Holmes <[EMAIL PROTECTED]>
To: 'WebDev' <[EMAIL PROTECTED]>; <[EMAIL PROTEC
Hello again
I worked on it so long now I have to come back to you
it gives me an Parse error:
Parse error: parse error, expecting `'('' in members_read_send.php on line
5
Iam so sorry to bug u so much but can u help me finish here please?
\r\n";
$headers .= "To: ".$contactname." <".$contactemail
Hello all
I hat some help last night from John Holmes but I am still stuck with even more option
in the code
My Problem:
I have a text data file of users I wish to email all with custom information from the
file, each line represents a user with 21 seperated datafields ( serperator "|" )
...
I just got it working with this following code and again the problem the
first person in the list gets a perfect email, 2 person will see the first
person emailed in the list and so on the third sees the 2 and 1 I
got 1000 entries in the file and it is unexceptable to let person nr. 800
see
Ok I got it figuered
please do not reply to this subject anymore
Thank you all who helped
- Original Message -
From: Kevin Stone <[EMAIL PROTECTED]>
To: WebDev <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, March 03, 2003 1:56 PM
Subject: Re: [PHP] working
how can you return this randomized?
how can I get every time I call this function a random set of lines ?
Working Code to read 10 first lines and split the individual line into info careeners
and do something with it
$i = 0;
$fp = fopen ("../../../../../public/httpd/html/datacon
the last script gives me no error but it returns nothing on the page only
empty
- Original Message -
From: Marek Kilimajer <[EMAIL PROTECTED]>
To: WebDev <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 9:11 AM
Subject: Re: [PHP] pharse file random work with -n lines
// Code start
$i = 0;
$fp = fopen ("./../../cgi-bin/Classifieds/data/ads.data", "r");
while($tmp= fgetcsv($fp,5,"\|")) { $array[]=$tmp; }
fclose ($fp);
$rand_array=array_rand($array, 10);
foreach($rand_array as $line) {
list($adnr, $user, $date, $listed, $hlong, $eins, $zwei, $drei, $vier
Yes I did all what you suggested !
tried all value carrieres and none has a value
as well tried print_r($line); and it gives me the last random line number
from 10 random line numbers displayed already if I use $line
The sdcript dosn't grab the line only the random numbers are ready
Can somebody
How to grab the last -n lines from a data file and display the stored data
Only the the last 10 line numbers coming back when I echo $i
How do I get the list($adnr, $user, $date, $listed to catch the datafields
datafile looks like
23|Werner|LastN|Street|etc|etc.|etc||
24|Veronika
/
How to grab the last -n lines from a data file and display the stored data
Only the the last 10 line numbers coming back when I echo $i
How do I get the list($adnr, $user, $date, $listed to catch the datafields
datafile looks like
23|Werner|LastN|Street|etc|etc.|etc||
24|Veronika
/
How to grab the last -n lines from a data file and display the stored data
Only the the last 10 line numbers coming back when I echo $i
How do I get the list($adnr, $user, $date, $listed to catch the datafields
datafile looks like
23|Werner|LastN|Street|etc|etc.|etc||
24|Veronika
/
How to grab the last -n lines from a data file and display the stored data
Only the the last 10 line numbers coming back when I echo $i
How do I get the list($adnr, $user, $date, $listed to catch the datafields
datafile looks like
23|Werner|LastN|Street|etc|etc.|etc||
24|Veronika
/
utton=on&db_id=$adnr&query=retrieval\"
target=\"_blanko\">$Endzwei $End3";
}
// Code end
- Original Message -
From: Kevin Stone <[EMAIL PROTECTED]>
To: WebDev <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 11:42 AM
Su
, $dreifunf, $dreisechs ) = split ("\|", $buffer);
> > echo "Line #$i.\n ";
> > print " >
>
href=\"http://www.browseabit.com/cgi-bin/Classifieds/classifieds.cgi?session
> > _key=&search_and_display_db_button=on&db_id=$adnr&query=retrieval\&
If I remove the "/" then I get this error
Warning: bad regular expression for split() in
/home/virtual/browse/home/httpd/html/Classifieds/infobox2.php on line 14
- Original Message -
From: Kevin Stone <[EMAIL PROTECTED]>
To: WebDev <[EMAIL PROTECTED]>; <[EMAIL P
-
From: Kevin Stone <[EMAIL PROTECTED]>
To: Kevin Stone <[EMAIL PROTECTED]>; WebDev <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 12:55 PM
Subject: Re: [PHP] reading last -n lines array is emty
> Holy crap looks like I was wrong! I jus
the code only displays the 10 random line numbers
somehow again the arrays are empty, tried all tricks to see if arrays are carrieng
anything but the are all empty
data file loks like :
123|name|LastN|City|Country|||etc|etc|
124|names|lastN|||etc||etc|
could somebody please find the error, thank
Hello all
can somebody please tell how do I get any subject of the general list into my inbox
not only the topics I start
Tx
Hello all
how do we replace this out of an array element
"~nl~" with " "
Thank you
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
OK
This function is supported in PHP 4.2.0 or higher.
mb_ereg_replace() scans string for matches to pattern, then replaces the
matched text with replacement and returns the result string or FALSE on
error.
ok gotta try that now quick
--
PHP General Mailing List (http://www.php.net/)
To uns
- Original Message -
From: WebDev <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 1:24 AM
Subject: Re: [PHP] replace question
Hello
How could I know recognize a URL in $a
$a contains often a URL htp://www.mysite.com but as well more tex
- Original Message -
From: WebDev <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 1:24 AM
Subject: Re: [PHP] replace question
Hello
How could I know recognize a URL in $a
$a contains often a URL htp://www.mysite.com but as well more tex
Hello all
A frind of mine likes to count the impressions on each of his photgraphy online
and as well he likes to display this number under each image
he dosn't wish to use for each image a new request to the different count script
..all should be counted with one script and saved in one datafil
somehow when I have try to develop an application where I read five or six
values into an individual arrays the array who carries the emails has the
email and an additional empty field after the email somehow complex well
they way the information has been stored is that the email was the last
v
Hello Alex,
www.visualphpstudio.com
/Merle
Friday, October 19, 2001, 6:19:30 PM, you wrote:
AS> Where you find it? Why not show up the link?
AS> Actually I have been always thinking of a php studio. I think at least
AS> following
AS> things could be integrated into such a studio: a php IDE b
Hello Jason,
your resource name from the query is '$result' not '$results'
change '$results' to '$result' on both lines.
/Merle
Tuesday, October 23, 2001, 5:07:37 PM, you wrote:
J> Ok I made the changes and now I am getting these 2 errors...
J> Warning: 0 is not a MySQL result index in search
Hello Andy,
Its just a way of passing along variable information as you would do
with a form except you attach the variable/args directly to the URL.
For example if you have a script that list all records in a database,
you may have a link for deleting records that would be attached to
each reco
Hi
what is the script that was mentioned a while back that you use to
allow apache access to a directory that has all world/group access
turned off. It think the discussion was protecting mysql information
on a shared server.
I know this is a popular topic, sorry. I did check the archives but
Hello,
Andy I have been trying to solve the same problem.
But after some testing I have found that it is not only db access that
causes the lag, it seems to be when submitting forms.
I wrote a very simple test script have a form reload itself. In IE it
happens almost instantly, but in NC it tak
Hi all,
I have a form which sends off the contents of a page as an HTML
formatted email. However, it appears that certain attempts to send
these emails never show up at the intended email address even though no
errors are reported upon sending while others work perfectly.
It there any way to co
Sorry if this is a little off topic.
I was wondering if anyone knew of a simple yet effective CRM package
written in PHP and MySQL. If have seen a couple on hotscriptsw.com
but they are a little outside what I need.
All I need is a package that you can install on a webserver which
would allow v
Hi, folks,
I'm wondering how to checking existence of a given
mail address like f...@bar.com .
At 1st I tried:
if f (filter_var ($maddr, FILTER_VALIDATE_EMAIL) === false) {
/* some sort of error handling code here */
}
where $maddr is the address to be checked.
But this checks only synt
Hi Daniel, hi Jonathan, hi folks,
many THX for Your quick replies!
On Mon, 25 Oct 2010 18:46:02 -0400, "Daniel P. Brown"
wrote:
> On Mon, Oct 25, 2010 at 18:38, wrote:
> >
> > Is there any other function which checks whether this
> > address really exists?
>
> Of course not! Can you imag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, folks,
good morning !
Since I'm a newbie with respect of sessions & cookies
I'm quite lost here getting always a warning when
calling session_start();
I developed and tested some php code using a session
to pass some values betwen different scripts on my
local machine. All went O.K.
But whe
Hi, folks,
On Tue, 21 Dec 2010 21:35:17 -0800 [06:35:17 AM CET],
Michael Shadle wrote:
> first - this is probably your culprit:
> don't output empty lines before you do
> anything (just a general good practice)
Whow! This did the trick !
Warning vanished when I changed beginning of
script to:
lo all,
don't really know if it's the correct list to post to but didn't see any
xml lists besides the dev one, so don't hesitate to tell me where i
should post if i was wrong..
i'm no php coder so my experience is quite thin, if you have an answer
to my prob please keep that in mind ;)
i'm u
Richard Lynch wrote:
In my limited XML experience...
I have found that firing up the fancy XML parsers and tree-walkers and
XML-writers and all that stuff, pretty much entailed a *LOT* more work
than just hacking the file directly, and stuffing in the XML text that
need to be there, or readi
41 matches
Mail list logo