. This allows us
to handle bounces (another script is triggered when email bounces back
to the reply-to address).
So, on your web-based front-end, when you click 'Send', it actually
simply places the information in a database queue, and the cronjob does
the actual sending.
--
Matthew Weier O'Phinney
Zend
* Manuel Lemos [EMAIL PROTECTED] :
Hello,
on 09/12/2005 02:56 PM Chris W. Parker said the following:
Matthew Weier O'Phinney mailto:[EMAIL PROTECTED]
on Monday, September 12, 2005 6:55 AM said:
Mails are then queued to an MTA -- in our case, Postfix.
This is the part I don't
* Manuel Lemos [EMAIL PROTECTED] :
on 09/12/2005 05:18 PM Matthew Weier O'Phinney said the following:
Mails are then queued to an MTA -- in our case, Postfix.
This is the part I don't know how to do. Can you explain/show
some code?
Just use the mail function and it will get queued
try{
$test = 1;
echo $test1
You're missing a semicolon at the end of the above line.
}
catch (Exception $e) {
print Exception caught\n;
}
?
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net
.
explode() works the same in both PHP4 and PHP5. Additionally, the manual
is very good at detailing in what versions of PHP a function is valid.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
* bala chandar [EMAIL PROTECTED]:
i am now using apache 1.3.x with php 4.3.4
is it worth upgrading to apache 2.x
Currently, no:
http://ilia.ws/archives/32-Apache-1-vs-Apache-2-Performance.html
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP
, $from_invoice);
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
!
Quoting Matthew Weier O'Phinney [EMAIL PROTECTED] :
* Roger Thomas [EMAIL PROTECTED] :
My PHP script is in svrA. How do I run a shell script in svrB?
svrB does not have PHP and Apache :(
Is this at all possible? Please advise.
Use ssh. You will have to setup remote key
connecting on a different
port, or to a different domain, or a different URL (maybe) so you can
configure your box to use your server for these weird requests.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net
), and then in your script
you would call:
system('ssh svrB /path/to/scriptToRun');
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
:
$link = array_shift($args);
}
...
}
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is still pending, but much of the usage is documented in
the class files themselves.
http://solarphp.com/
/shamelessSelfPromotion
patForms also looks good, and is a stable, robust product --
http://www.php-tools.net/site.php?file=/patForms/overview.xml
--
Matthew Weier O'Phinney
Zend Certified
, and usually down
time.
Debian and Gentoo are very nice in that you can upgrade packages as they
become available, usually with no issues. You might also want to look
into one of the BSDs, as the ports system many of them employ also
allows seamless upgrades in most situations.
--
Matthew Weier
* Sebastian [EMAIL PROTECTED] :
Matthew Weier O'Phinney wrote:
* Sebastian [EMAIL PROTECTED] :
why php6 and not php5? look how long it took to get to php4 (with php5
just starting to rolling out) and people are already talking about php6?
My observation was that more people jumped
with PHP5, and see if you
get similar results. You shouldn't.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* Robert Cummings [EMAIL PROTECTED] :
On Sat, 2005-08-13 at 23:51, Matthew Weier O'Phinney wrote:
* Sebastian [EMAIL PROTECTED] :
Jochem Maas wrote:
if you haven't seen it yet and are interested in the future
of php you might be interested in the _big_ thread on php-internals
: [EMAIL PROTECTED]\r\nFrom: \[foo] foo\ [EMAIL
PROTECTED]\r\nbcc:
$bcc \r\nReply-To: [EMAIL PROTECTED] \r\n.X-Mailer: PHP/ . phpversion());
Make stripslashes($message) into
wordwrap(stripslashes($message), 72).
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net
taking up resources.
I think one of the things I like most about PHP is that you can easily
compile it with *only* the features you need -- it only needs as much
bloat as you need to use it.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General
-- and that they have
permissions such that the web server can open them.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to disallow based on the
UserAgent string, simply tell Apache, via an .htaccess file, to pass
robots.txt to PHP for handling. Then have that script do the processing
and return output compatible with the robots.txt specification.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net
* Jesús Fernández [EMAIL PROTECTED]:
thanks, it works, but that returns the php code.
what i actually need is the output of that php code evaluated.
So eval() the string...
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http
; in this case 'init':
return call_user_func_array(array($class, 'init'), $args);
// Or use a function named after the class name as the instantiator
// method (ala PHP4):
return call_user_func_array(array($class, $class), $args);
}
--
Matthew Weier O'Phinney
Zend Certified Engineer
if() blocks).
//Function saves time and space by eliminating unneccesary code
function check($fieldname)
{
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
* Jochem Maas [EMAIL PROTECTED] :
Matthew Weier O'Phinney wrote:
* Bruce Gilbert [EMAIL PROTECTED] :
I am getting this on the following code, and I am not sure what is
causing the error and need some pros to take a look at it for me.
the error is:
Parse error: parse error
);
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Please note this is just an example page which highlights what I am after...
There's a few ways. highlight_file() and highlight_string() will do it.
Another way is to symlink to the .php file as extension .phps -- and
provide a link to the .phps file.
--
Matthew Weier O'Phinney
Zend Certified
!
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
fine.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is undeclared, it is assumed public, so you can
set undefined properties without issue. If defined private or protected,
the calling script will not be able to alter the value.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http
, the issues you're seeing are consistent with the
documentation.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(5.2, 5.3) before
it's complete.
By the way -- I'm hoping you meant Apache 1.3.33, and not Apache
1.3.3... ;-)
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. Capture your output into a variable and send it to
output once all processing is done. This may be done using output
buffering or other techniques.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
heredocs when using long, multiline strings to using double quotes --
they're easier to maintain.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
'] (note the quotes), which would refer to the
value associated with the array key 'sender_emaail' in the $_POST
array.
You should probably do some reading in the introductory chapters of the
PHP manual, specifically the variables section:
http://php.net/variables
Cheers!
--
Matthew Weier
,
from what I can tell, and some of the more recent changes had to do with
MS-SQL report, if memory serves.
Good luck!
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
to the screen. The 'solution' was to use
different URLs, and set Content-Disposition to either 'attachment' or
'inline', respectively.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
into ... values($thisdata) where ...);
}
Hope this helps, but it would be useful to have code examples, etc so that a
more relevant answer could be rendered.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net
for 'download' requests, don't otherwise.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, big error message when it does so they know why the upload
failed.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
for. You're
manipulating a string, so look in the 'Strings' section of the manual
(http://php.net/strings). Then look for words like 'case' or 'upper',
and you'll find:
strtoupper - Make a string uppercase
Enjoy!
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew
.
That should work. Have you checked your include_path to make sure a
different, unmodified version of the parent class isn't getting loaded?
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
discussion on this, see:
http://blog.phpdoc.info/archives/13-XSS-Woes.html
If you're using Apache, the safer bet is to use $_SERVER['SCRIPT_NAME'];
otherwise, use PHP_SELF, but filter it to exclude the path information.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http
such resources listed on his
blog).
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
for
this? I have php 5.0.3
You need to compile PHP --with-mcrypt and --with-mhash, as the PEAR
installer for =1.4.0 is dependent on one or more libraries that require
these.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http
to that count. Again, storage
could be in either a file or a DB.
Either way, you're down to doing the count at most 12 times per hour,
instead of every time your scripts are hit.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http
)
$dif_s = ($day2-$day1);
$dif_d = ($dif_s/60/60/24);
$age = round(($dif_d/365.24));
And, as someone else mentioned, you want to do floor() here, as somebody
is 16 until their 17th birthday.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General
platform addresses that issue.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. Thanks, Richard!
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of these may be true for ColdFusion as well. What the OP needs to
do is determine what merits PHP or ColdFusion may have over the other,
as well as what demerits might be present for each, and then evaluate
those in the context of their work environment.
--
Matthew Weier O'Phinney
Zend Certified
as
it is TODAY, not 3 years ago, when I last tried it -- these comments
would have more weight. As it is, I feel they're just FUD based on
ignorance.
/rant
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http
* Robert Cummings [EMAIL PROTECTED] :
On Sat, 2005-06-25 at 10:32, Matthew Weier O'Phinney wrote:
* Catalin Trifu [EMAIL PROTECTED] :
I also tend to stay away from PEAR, which is kinda bloated for my
taste, except the Log package.
rant
I hear that a lot on this list, and I don't
* Robert Cummings [EMAIL PROTECTED] :
On Sat, 2005-06-25 at 11:06, Matthew Weier O'Phinney wrote:
* Robert Cummings [EMAIL PROTECTED] :
On Sat, 2005-06-25 at 10:32, Matthew Weier O'Phinney wrote:
* Catalin Trifu [EMAIL PROTECTED] :
I also tend to stay away from PEAR, which is kinda
* Paul Waring [EMAIL PROTECTED] :
On Sat, Jun 25, 2005 at 10:32:41AM -0400, Matthew Weier O'Phinney wrote:
If somebody could offer some *constructive* criticism of PEAR -- PEAR as
it is TODAY, not 3 years ago, when I last tried it -- these comments
would have more weight. As it is, I feel
* Chris Shiflett [EMAIL PROTECTED] :
Matthew Weier O'Phinney wrote:
The perl culture is one that includes testing and documentation as
the norm
You might be interested to know that there is a PHP equivalent for
Test::More, the CPAN library that prompted the testing revolution that
Perl
' without
the authors of said statements offering any reasons why they think so. I
wanted to address these reasons, instead of just letting the comment
slide on by this time.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening
!
Good discussion!
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org
mailto:[EMAIL PROTECTED] | http
company.
It's robust and tested.
If you give it a whirl and have questions, feel free to email me
directly.
/shamelessSelfPromotion
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http
://somelink/link';
echo '/item';
echo '/channel/rss';
?
You need to add the following before echoing anything:
header('Content-type: text/xml');
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http
in an
array or another object (otherwise you got a copy of the object, which
means state would then differ between the original and the copy).
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http
* Robert Cummings [EMAIL PROTECTED] :
On Thu, 2005-06-23 at 11:32, Matthew Weier O'Phinney wrote:
* Michael Stepanov [EMAIL PROTECTED] :
Usually, I develop on Perl. But my current task pushes me to start use
PHP. Generally, it's great but sometimes I'm a little bit confused
* Robert Cummings [EMAIL PROTECTED] :
On Thu, 2005-06-23 at 13:36, Matthew Weier O'Phinney wrote:
* Robert Cummings [EMAIL PROTECTED] :
On Thu, 2005-06-23 at 11:32, Matthew Weier O'Phinney wrote:
The above notation is unnecessary when developing in PHP5, as objects in
PHP5 are passed
* Robert Cummings [EMAIL PROTECTED] :
On Thu, 2005-06-23 at 15:28, Matthew Weier O'Phinney wrote:
* Robert Cummings [EMAIL PROTECTED] :
On Thu, 2005-06-23 at 13:36, Matthew Weier O'Phinney wrote:
* Robert Cummings [EMAIL PROTECTED] :
On Thu, 2005-06-23 at 11:32, Matthew Weier
* Jason Barnett [EMAIL PROTECTED] :
Matthew Weier O'Phinney wrote:
...
This doesn't demonstrate what the OP was talking about, which is initial
assignment of an object using a reference operator. The results of this
make perfect sense to me -- the references are passed exactly as I would
* david forums [EMAIL PROTECTED]:
Why don't you try to get interactivity with ID machin which is unique, or
with mac address.
MAC address wouldn't work if the user is behind a proxy.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
* Rory Browne [EMAIL PROTECTED] :
On 6/21/05, Matthew Weier O'Phinney [EMAIL PROTECTED] wrote:
* david forums [EMAIL PROTECTED] :
Why don't you try to get interactivity with ID machin which is unique, or
with mac address.
MAC address wouldn't work if the user is behind a proxy.
I
is meant to give hints as to how to perform layout, but in the end, it's
just a huge string.
Is there some specific issue you're thinking about?
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http
provide a service that can be agnostic of the device using it.
I understand your concerns, but they come more from a world where
environments can be strictly controlled, and the web ain't one of them.
-Original Message-
From: Matthew Weier O'Phinney [mailto:[EMAIL PROTECTED]
Sent: Monday
a command line and type
# telnet php.net 80
My point? Anything that can communicate over TCP and talk using HTTP
commands is a valid client. That's the way the web was designed, and
that's the way it works.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist
, if they were there at the
moment, I'll get an answer immediately. Here, sometimes I'm scared to
ask because of RTFM
Why be scared? Good thing this isn't Usenet. ;)
Speak for yourself... I read via news.php.net... ;-)
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster
).
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org
mailto:[EMAIL PROTECTED] | http://vermontbotanical.org
with the form.
If this can be done in php then great. If not any other suggestions are
welcome.
The form handler can be done in any language you want... so, of course,
use PHP!
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National
(no
braces):
Array
(
[0] = Array
(
[0] = [ OUT1 ]
[1] = [ OUT2 ]
[2] = [ OUT3 ]
)
[1] = Array
(
[0] = OUT1
[1] = OUT2
[2] = OUT3
)
)
--
Matthew Weier O'Phinney | WEBSITES
/STATE_PROVINCE_CODE/City_Name.gif, and that when you choose
what type of sticker you want, that determines the path and the image
size.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http
] = [ OUT2 ]
[2] = [ OUT3 ]
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org
mailto:[EMAIL PROTECTED
in your
scripts.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org
mailto:[EMAIL PROTECTED] | http
, then it will even link to that class'
documentation; if not, it shows it statically.
I tend to go with the class name, as it gives more information to the
individual reading the documentation.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
so I don't have to call that repair
function on every page call,
2. I am using xhtml1.1 as DOCTYPE and tidy only gives me the 1.0
transitional version.
tidy_repair_string() OR
tidy_parse_string() + tidy_clean_repair()
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster
and Apache and/or the
underlying OS. You want to set it to a value that matches Apache's
buffer size and/or the OS's network buffer size. If you don't know
these, using the defaults is probably the best bet.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http
should try to write efficient code. But sometimes
you have to look at programmer efficiency as well -- if you're working
for a client under a deadline, you don't always have that luxury.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
of a string of text I could not get.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org
mailto:[EMAIL PROTECTED
as my primary editor :-)
On 6/6/05, Clive Zagno [EMAIL PROTECTED] wrote:
what php GUI editors do you recommend.
any other recommendations, thanks
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association
will only contain the values you expect it to - they
should be moved out into a clean array first for further inspection
and filtering, if anything else lingers in the $_POST array, it's most
likely been tainted.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist
()
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org
mailto:[EMAIL PROTECTED] | http://vermontbotanical.org
the details differ.
If you have more info (like books, urls, examples) please send me.
Unfortunately, no. Most of this is personal experience, a little of it
was garnered from php|Tropics, and that portion wasn't an official part
of Jason Sweat's presentation.
On 6/2/05, Matthew Weier O'Phinney [EMAIL
* John Nichel [EMAIL PROTECTED] :
Matthew Weier O'Phinney wrote:
* Mauricio Pellegrini [EMAIL PROTECTED] :
Some one has asked me to set a web page from within wich users could
launch local applications. Those applications are allready installed in
the client PC.
The link
if
// desired
}
}
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org
config.inc.php have any whitespace following the closing ? tag, or
does it output any HTML? That could be your culprit.
What happens if you do your $_SESSION setting *before* the require, but
directly after the initial header() call?
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster
* Merlin [EMAIL PROTECTED] :
Matthew Weier O'Phinney wrote:
* Merlin [EMAIL PROTECTED] :
I am outputting an multidim. array. That works fine, except one thing.
The first
letter of the value inside dimension 1 always gets printed.
For example:
I fill the arrays:
while
, output will have been sent, and you will not be
able to send a cookie or additional HTTP headers.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http://www.kidsgardening.com
802-863-5251 x156
contortions in PHP4 to get similar functionality with microtime.)
From my own benchmarks, it looks like the if-else is slightly faster.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http
)*?(.|\s)*?\/head/i , ,
$text);
==^
It seems to be pointing to the 'e' is 'head'. Why? Thanks.
Why are you using regexes instead of strip_tags()?
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
* Chris Boget [EMAIL PROTECTED]:
You can use defined() to check to see if a constant has been
defined. You can use function_exists() to see if a function
has been defined. But what can you use to check to see if
a class has been defined?
class_exists()
--
Matthew Weier O'Phinney
that it helps.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org
mailto:[EMAIL PROTECTED] | http
will actually generate some
notices -- but since you're developing for PHP4, you can safely ignore
them).
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http://www.kidsgardening.com
802-863-5251 x156
is, so keep your case consistent throughout.
Docs are here: http://www.php.net/manual/en/language.oop5.autoload.php
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http://www.kidsgardening.com
802
likely get that 'for free'.
If all else fails... you're a PHP developer -- code your own!
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http://www.kidsgardening.com
802-863-5251 x156
with the
func_get_arg() calls, you still get a variable number of arguments, and
you can easily pass references.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| http://www.kidsgardening.com
802-863-5251 x156
1 - 100 of 291 matches
Mail list logo