"Number: " . $s. " count: " . $count[$s] . "Br";
}
-Opprinnelig melding-
Fra: CDitty [mailto:[EMAIL PROTECTED]]
Sendt: 18. januar 2001 12:40
Til: [EMAIL PROTECTED]
Emne: [PHP] Array help needed
Hello all,
I have 6 numbers that are in an arr
Thanks. Didn't see that myself.
Thanks for the help
Chris
At 10:28 AM 1/18/01, [EMAIL PROTECTED] wrote:
Addressed to: CDitty [EMAIL PROTECTED]
[EMAIL PROTECTED]
** Reply to note from CDitty [EMAIL PROTECTED] Thu, 18 Jan 2001
06:58:22 -0600
I see someone else has another
give me an example? iewhat date/time does 977676902 come
out to?
Thanks
CDitty
--
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]
How about something like this.
?
$Total_emails = 100;
$i = 1;
if($Total_emails != $i){
// send email code
$i++;
}
?
This should be all you need. I used something similar to crash my work's
email system by accident. :) Whoops.
CDitty
At 12:40 PM 4/22/2002 +1000, Liam MacKenzie
Ditty [EMAIL PROTECTED]
I need to be able to strip the quotes and everything between them and the
signs from the first one and then the name and the signs from the
second.
Does anyone know how to do this quickly and easily?
Thanks
CDitty
--
PHP General Mailing List (http://www.php.net
Can someone offer any help with the code below? I have a cookie that is
set and is separated by pipes (|). For each segment, I have to look up
the id in a text file. I can loop through the cookie and get each segment,
but when I open the text file and loop through it, it only matches the
first
Hello all. I am trying to write a small program that will run everytime an
email is received at a certain mailbox on my sever. I had this running at
one time, but for some reason, it will not run. I am not getting any
errors and I can't figure out what is going on. Below is the code that I
it to ZendOptimiser.so and ran it again. No error, but still
getting the code output.
Chris
At 11:17 PM 5/19/2002, you wrote:
On 05/20/2002 12:38 AM, Cditty wrote:
Hello all. I am trying to write a small program that will run everytime
an email is received at a certain mailbox on my sever. I
VAA27003;
Thu, 23 May 2002 21:23:51 -0500
Date: Thu, 23 May 2002 21:23:51 -0500
Message-Id: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: test
From: [EMAIL PROTECTED]
Status:
Content-type: text/plain; charset=us-ascii; format=flowed
test 1234
Can anyone give me any tips?
Thanks
CDitty
Actually tried that earlier. No difference in the result.
Chris
At 10:48 PM 5/23/2002, you wrote:
dunno if this helps, but try using \r\n instead of just \n when you
create $headers
-Original Message-
From: CDitty [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 1:20 PM
;
}
if(IsSet($Content_Type)){
$Content_Type = Content-type: $Content_Type\r\n;
}
At 11:55 PM 5/23/2002, you wrote:
On Thu, May 23, 2002 at 10:19:51PM -0500, CDitty wrote:
$to = $user_email[0];
$subj = $Subject;
$msg = $Message;
$headers = From: $From[1]\n;
$headers
I have looked at it and from what I understand, it should be working but
it's not.
At 12:18 PM 5/24/2002, you wrote:
Hi:
Per your request..
[... code snipped ...]
My request was really for you to examine your code, not to send the code
to me:
... I'm guessing the $Mime_Version is
fp, $text);
fclose($fp);
I am getting this error BEFORE it tries to write the file.
Can anyone offer any ideas or solutions?
Thanks
CDitty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact t
My apologies. I should have said what line the error was on. The problem
lines was $text = "\n";. I tried an experiment and put a space before the
\ and that got rid of the error. Go figure.
Chris
At 06:53 PM 2/9/01, Gobins, Debbie wrote:
You might try this, putting the escape character
strongest
point.
Also, at what point should I start writing the file out? Wouldn't there be
a permissions error if I was reading and writing at the same time?
Thanks
CDitty
$oldemail = "[EMAIL PROTECTED]";
$newemail = "[EMAIL PROTECTED]";
$user = "cditty";
$file =
A co-worker is teaching me to move to the next level in php. I have
started using associative arrays for my scripts, but I am having a problem
using them to do an insert into MySQL. Can someone give me an example of
how to do an insert to the database using these arrays? My array is
I have written a script that runs fine when I run it via the command
line. However, when I tack on variables to the command line, I get an error.
This works.
php -q ./import.php
This doesn't
php -q ./import.php?feed=eastwood
This is the error that it returns - Could not open input file:
Thanks man. That got rid of the error, however it is not using the
variable in the script. I can't run this via wget or the browser since
the importing files are rather large.
Any other ideas?
Chris
At 11:33 PM 7/23/2003, Chris Shiflett wrote:
--- CDitty [EMAIL PROTECTED] wrote:
I have
That worked like a charm. Thanks Chris. I've added this to my snippet
collection. :)
At 12:02 AM 7/24/2003, Chris Shiflett wrote:
--- CDitty [EMAIL PROTECTED] wrote:
Thanks man. That got rid of the error, however it is not using the
variable in the script.
You have to read them in. I think
Have you tried downloading the file to your server and then read it from
there? I do this at least 15 times a day with several different sites and
I rarely have any problems.
CDitty
At 11:28 AM 7/26/2003, Thomas wrote:
I know the url is good, cause I can go on to this domain and look at all
Is it possible to change the ?, :, and / characters to their respective
hex(?) values automatically? That is without having to use str_replace for
each one? Anyone know how?
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
DUH
Thanks all. This is exactly what I was looking for. Couldn't remember the
exact term of the chars though. Thanks again.
Chris
At 05:19 PM 8/5/2003, David Nicholson wrote:
Hello,
This is a reply to an e-mail that you wrote on Tue, 5 Aug 2003 at
23:16, lines prefixed by '' were
Can database sessions and file system sessions co-exist on the same
server. I have 2 applications that use sessions. One uses the standard
php sessions and the other uses sessions that are stored in the
database. Neither of these can be changed.
Can anyone offer any advice on this?
Chris
Someone has sent me a line of text that is base32 encrypted that I need to
decrypt. Does anyone know of a php module or snippet that can decrypt
this? I have searched on google and the php.net site, but was unable to
find anything that can help.
Thanks
CDitty
--
PHP General Mailing List
I have a foreach loop in a while loop that retrieves information from my
database. The foreach loop works fine if there is data in the database for
that loop. But if nothing is found in the database, I get a Invalid
argument supplied error.
Can anyone suggest a fix for this? The foreach
Got it fixed. Never mind.
Thanks
At 10:49 PM 6/13/2003, CDitty wrote:
I have a foreach loop in a while loop that retrieves information from my
database. The foreach loop works fine if there is data in the database
for that loop. But if nothing is found in the database, I get a Invalid
Can someone please show me how to change the display font to a TTF in this
code? I looked at the online manual under imageloadfont(), but I did not
understand it enough. I have the MS TTFs installed on my server and they
are working correctly.
Thanks
Chris
?php
header (Content-type:
I just updated my 4.2.x to 4.3.2 and when I restart the apache, I get the
error [warn] module php4_module is already loaded, skipping.
Can anyone offer any suggestions? I searched the archives, but didn't see
anything that would help. Apache/PHP seem to be running ok, but I would
like to get
Has anyone successfully gotten fusebox for php to work on AIX w/
4.3.1? The server I am using has globals turned off, but I have this in
the index file,
extract($_SERVER);
extract($_GET);
extract($_POST);
extract($_COOKIE);
but all I get is a blank screen. The code is fine because when it is
I have a customer who's webhost upgraded their server recently and a script
that was working fine quit working. The error they are getting is this
fgetcsv(): supplied argument is not a valid stream resource. I don't
know what they did with Apache, but as far as I know, nothing else changed.
through some
debug code around the area that is failing.
Jason
On Sun, 2003-03-09 at 18:50, CDitty wrote:
I have a customer who's webhost upgraded their server recently and a
script
that was working fine quit working. The error they are getting is this
fgetcsv(): supplied argument is not a valid
was restarted.
CDitty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 09:42 PM 3/10/2003, Liam Gibbs wrote:
This is the code around line 30.
$local_file = $feed;
$fp = fopen($local_file, r);
Anyone have any ideas? I have looked over the manual and the only thing I
could find similar to this is in the comments. Apache was restarted.
I get the same
Hello all. I am trying to figure out some session management that is in
the O'reilly book - Web Database Applications. I am getting the following
error - Error 1045 : Access denied for user: '[EMAIL PROTECTED]' (Using
password: YES)
Normally, I would think that this is because the userid
function: mysql_connect()
I am using MySQL 4.0.12. I installed MySQL from rpms and installed the
following ones.
client, devel, server, shared, embedded
Anyone have any ideas?
CDitty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 11:24 PM 3/28/2003, Pete James wrote:
BTW. After some re-factoring I may release the code to the community.
I for one would really like this.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and they believe it could
be some type of problem or limitation with php.
Can anyone offer any advice on how to track this down? When I look at the
core file, this is what it says...core: ELF 32-bit LSB core file of 'php'
(signal 11), Intel 80386, version 1
CDitty
--
PHP General Mailing List (http
37 matches
Mail list logo