wonderfully well on windows machine and appear broken on Macs.
Mark Cain
- Original Message -
From: Dustin Krysak [EMAIL PROTECTED]
To: PHP php-general@lists.php.net
Sent: Wednesday, May 18, 2005 6:02 PM
Subject: [PHP] html editor written in PHP
Has anyone seen an example of a HTML editor
Net Mechanic
free for up to 5 pages
spellchecker
browser check
image check
link check
load time calculations
I've used it for many years.
http://www.netmechanic.com/toolbox/html-code.htm
Mark Cain
- Original Message -
From: Richard Lynch [EMAIL PROTECTED]
To: php-general@lists.php.net
write your data in a
manner like this:
file_put_contents('/root/directory/pathtoyourfile/mydata.txt',$filecontent);
Mark Cain
- Original Message -
From: mayo [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Wednesday, June 01, 2005 7:01 PM
Subject: [PHP] write to file question
-technical volunteers and they have
populated hundreds of articles on dozen of pages.
:
http://www.southshorechurch.com/index.htl?php_gen
If you need more info or functions to make this work, let me know.
Hope this helps,
Mark Cain
.
- Original Message -
From: asinning [EMAIL PROTECTED
()
{
var flashMovie=getFlashMovieObject();
flashMovie.StopPlay();
}
/SCRIPT
Remember that if you change the name from test1 to something else, it must
be change everywhere in the functions also.
HTH,
Mark Cain
- Original Message -
From: Ryan A [EMAIL PROTECTED]
To: php php-general
$lines = file('http://www.example.com/');
foreach ($lines as $line) {
echo $line . \n;
}
This ought to do it. Try it and see.
But be aware that if the allow_url_fopen was not enable at the compile
time, this won't work.
Mark Cain
- Original Message -
From: vlad georgescu [EMAIL
Time: . $end1 . P .
$lapse1;
?
Mark Cain
- Original Message -
From: Andy Pieters [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Sunday, June 05, 2005 12:24 PM
Subject: [PHP] What is faster?
Hi all
Of these two expressions, which one is faster?
if(!(is_null($customMenu
One way to do it is to change this :
$pub_sidebar[] = ul class='sidebar-menu'a class='img-link'
to this:
$pub_sidebar[$cartoon['publisher_id']] = ul class='sidebar-menu'a
class='img-link'
Mark Cain
- Original Message -
From: Jack Jackson [EMAIL PROTECTED]
To: php-general@lists.php.net
learn more?
Mark Cain
- Original Message -
From: Chris Shiflett [EMAIL PROTECTED]
To: Mark Cain [EMAIL PROTECTED]
Cc: Andy Pieters [EMAIL PROTECTED]; php-general@lists.php.net
Sent: Sunday, June 05, 2005 9:56 PM
Subject: Re: [PHP] What is faster?
Mark Cain wrote:
I checked the first
Here is one way to do it:
$rr=thisscritjajsj[ OUT1 ]ajdamsda;sjo;tkpdk[ OUT2 ]sdfmjs[ OUT3 ]dfjlsd;
preg_match(/.*\[(.*)\].*\[(.*)\].*\[(.*)\].*/, $rr, $match);
list($whole_match[],$a[],$a[],$a[]) = $match;
print pre;
print_r ($a);
print /pre;
exit;
Mark Cain
- Original Message
against the contents of the cookie, if they are
different, delete the cookie and assign the new cookie (also remember to
assign to the first page variable).
Read this:
http://us2.php.net/manual/en/function.setcookie.php
Mark Cain
- Original Message -
From: Steve Turnbull [EMAIL
? if ($shipped_via == UPS) echo selected;
?UPS
/select
Mark Cain
- Original Message -
From: Jack Jackson [EMAIL PROTECTED]
To: [php] PHP General List php-general@lists.php.net
Sent: Monday, July 25, 2005 2:37 PM
Subject: [PHP] Prepopulating form fields afer an error
Hi,
I have a form
the handling of an actual 404 just in case you don't have a
user named joe or the surfer miss types.
There's a ton of work in getting all of the bases covered - but it's sweet
when it's done and you will know a lot of how a server works.
Hope this helps.
Mark Cain
- Original Message
I'm new to PHP (which will be obvious in just a minute).
In Perl I can assign dynamic keys ad infinitum to an array such as:
$sku{$id}{$line}{$price} = 99;
But the syntax is escaping me for the same function in PHP.
As I was trying to debug my thinking, I ran the following little test and am
? In
other words, I want the name of #1 to be reported in #4. If I use
$_SERVER[PHP_SELF], that variable reports the name of #4. It gets a little
tricky because #3 is called from within a JavaScript tag.
Got any suggestions?
Mark Cain
array_key_exists('c', $a)? 'empty':'not empty';
Mark Cain
- Original Message -
From: Gabriel Birke [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Sunday, May 01, 2005 4:47 PM
Subject: [PHP] empty function and array indices
Hello!
Suppose I have the following code:
$a = array
like that.
Mark Cain
- Original Message -
From: Thomas Bonham [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Sunday, May 01, 2005 10:39 PM
Subject: [PHP] Newbie Help
Hello All,
First of I'm new to this a hop I'm doing this right.
If some one can help me with my web site
first remove the space between GET and [
I think this keeps your script from find the variable page
secondly the variable page already has the php extension being passed to
it via the GET statement
make the include like:
{include($_GET['page']);}
try it and let us know.
Mark Cain
The code
,
email/email.php.php and so forth.
Do it one place or the other -- but do it consistently.
Looks like you're close to getting it to work and I'm close to going to bed.
Mark Cain
The code that I'm trying to do this is the following:
?php
if(isset($_GET ['page
;
$new_data = preg_replace('/(.*)(\/.*)$/i', '$1' . $my_data . '$2',
file_get_contents('./test.txt'));
echo $new_data;
Mark Cain
- Original Message -
From: Jared Sherman [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Tuesday, May 03, 2005 2:00 AM
Subject: [PHP] php newbie question with xml
;
$new_data = preg_replace('/(.*)(\/.*)$/i', '$1' . $my_data . '$2',
file_get_contents('./test.txt'));
echo $new_data;
Mark Cain
- Original Message -
From: Jared Sherman [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Tuesday, May 03, 2005 2:00 AM
Subject: [PHP] php newbie question with xml
);
$dob_day=substr($date_of_birth, 8, 2);
if($cur_month$dob_month || ($dob_month==$cur_month
$cur_day=$dob_day) )
return $cur_year-$dob_year;
else
return $cur_year-$dob_year-1;
}
?
Mark Cain`
- Original Message -
From: Ryan A [EMAIL PROTECTED
you how many websites are on that server. I ran across one the other day
that had about 4.000 websites on it.
http://www.whois.sc/e-zekiel.com
Mark Cain
- Original Message -
From: Computer Programmer [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Wednesday, May 04, 2005 7:44 AM
You could try this link. I know that you will find something there:
http://www.phpclasses.org/
Mark Cain
- Original Message -
From: Bosky, Dave [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Friday, May 06, 2005 12:44 PM
Subject: [PHP] need class to send email w/attachments
24 matches
Mail list logo