Could someone recommend a good php email class. Im trying out
class.phpmailer.php, but its not jiving right with me...
Thanks
--
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
Hey all. Im trying out a script that where I can download the contents
of a database as a dump.
On a large database, the end get truncated. ie, there were still maybe
6-7 more tables more till the end out of maybe 100 tables.
The behaviour is erratic. It is not consistent with where the dump
I got a fairly big script with a lot of functions.
Which is more effiecient to pass global information to functions
ie
50 variables
50 constants
or 1 array with 50 values
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I came across an application sourcewell and it requires PHPLib.
My server has php4 on it. I never played with php3 before (dont know if
I want to), and I didn't see anything in its docs about php4
Is it possible to run this thing on a box with php4??
Thanks
--
PHP General Mailing List
of displaying phpinfo().
Anyone knows of any pointers of getting php4 to recoginise php3 files as
php files. Im currently using apache 1.3.22, php 4.0.6.
Thanks..
Björn Schotte wrote:
Hi,
* Gerard Samuel wrote:
I want to), and I didn't see anything in its docs about php4
Is it possible to run
Need some help with this one. Dont know where to begin. I have content
in a string and a constant that changes depending on if yourre in the
root or in a directory.
The purpose of the constant is to provide dynamic links.
The string will have href links like a href=index.phpIndex/a
I want to
), $regs);
$c = explode(/, $regs[1]);
?
On Wed, 09 Jan 2002 22:00:49 -0500, Gerard Samuel wrote:
Hey all. Im putting together a script and Im having a couple people
test it out.
Here is a bit of code...
$c = explode ('/', dirname($PHP_SELF));
array_shift($c);
It runs fine on my box
Thats my biggest concern now, performance with whatever alternatives
that can be dreamed up...
Anyway, its 6 in the morning, time for sleep. Maybe Ill dream up
something else
[EMAIL PROTECTED] wrote:
You are right, I should've known (used it before) ..
Ofcourse you could do an
If != is the opposite of ==
What is the opposite of === ??
Thanks...
--
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]
Hey all. I was wondering. Is it safe to use HTTP global variables ie
$HTTP_POST_VARS etc in my scripts?
Thought I read somewhere that they weren't safe.
Got a lot of forms to work with, it sure would make life easier...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hey all. I was making a menu, and I was using too many links, so I
figure use a form with drop down lists.
Im trying to use the form using the get method.
echo 'form action=test.php?ft=first method=get';
It doesn't seem to behave correctly. Can one use test.php?ft=first in
the action of a get
Just want to bounce this idea off you guys/gals.
Im looking to improve the security of my scripts. Now lets say, I
initialise the script with a constant in the main config file that all
the pages access. Then when Im accepting data from a form or maybe even
a link I could do
if
:
how is that going to increase security?
-Original Message-
From: Gerard Samuel [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 15, 2002 11:21 AM
To: php
Subject: [PHP] An idea...
Just want to bounce this idea off you guys/gals.
Im looking to improve the security of my scripts
guess what I had in mind is along the lines of #2. What I had in mind
was that each install would have a different value for the constant. So
will others be able to see the source code, no not unless the webserver
becomes compromised...
-Original Message-
From: Gerard Samuel [mailto
Is that supposed to be -
$db = mysql_pconnect(localhost, bookorama, bookorama123);
Jim Hankins wrote:
I'm doing a simple database connection using the follow syntax:
html
head
titleBook-O-Rama Search Results/title
/head
body
h1Book-O-Rama Search Results/h1
?
if (!$searchtype ||
Im in a debate with someone else.
Basically were debating code bulk.
This is just an example -
?php
if (isset($run_this_code)) {
echo $this-run_this_code;
}
echo 'Finished';
?
Now, if I understand php correctly, the whole script gets parsed, but
since $run_this code isn't set,
/negligible - is speed, to the
microsecond, important in this situation?
-Original Message-
From: Gerard Samuel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 11:23 AM
To: PHP
Subject: [PHP] Code Bulk
Im in a debate with someone else.
Basically were debating code bulk
like:
print microtime();
include thatfile.php;
print microtime();
and see how long it took to parse 3000 lines... one more line isn't going
to make that much difference.
On Tue, 26 Mar 2002, Gerard Samuel wrote:
Actually, the file in question is 3000 lines long, 99% in functions.
Im
Ok, this one is breaking my back all day.
First some sudo-code -
fuction email_to_user() {
$sql = 'select distinct(email) from user';
$emailfetch = mysql_query($sql);
$sql = 'select news, date from news order by sid desc limit 10';
$newsfetch = mysql_query($sql);
while
(made a correction in sudo code)
Ok, this one is breaking my back all day.
First some sudo-code -
fuction email_to_user() {
$sql = 'select distinct(email) from user';
$emailfetch = mysql_query($sql);
$sql = 'select news, date from news order by sid desc limit 10';
() call against
that to reset it for the next time through the loop. Otherwise you'll
just get a null result because you're already at the end of the data.
-Steve
On Wednesday, April 3, 2002, at 02:30 PM, Gerard Samuel wrote:
(made a correction in sudo code)
Ok, this one is breaking my
Maybe a simple question.
But can one file contain 2 or more classes??
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes true, but I have only written one class 3 weeks ago, and now Im
about to go deep into it. I wasn't sure like down the line like 2
months from now that Im unable to extend it etc, because I didn't follow
guidelines...
Miguel Cruz wrote:
On Thu, 4 Apr 2002, Gerard Samuel wrote:
Maybe
Well yesterday, my test box went down because of the powersupply failed.
I replaced it today, and I just so happened to pull up a phpinfo() page,
and it would display half the page and hang.
The test site seems to be operating normally, but phpinfo page isn't
like it should.
I tried
/error.log');
if ($exit === TRUE) exit;
}
When I trigger and error with E_USER_ERROR, it executes error_display()
but it continues to display the rest of the content for the page.
I thought E_USER_ERROR stops execution of the script.
Thanks for any input.
--
Gerard Samuel
http://www.trini0.org
(!feof($filehandle))
{
$data .= fgets($filehandle, 1024);
}
}
$cacheFile = fopen( _CACHEDIR. $cacheFile, w);
fwrite($cacheFile, $data);
fclose($cacheFile);
fclose($filehandle);
?
---
Does anyone see anything wrong with this code??
Thanks
--
Gerard
Oh I forgot to mention that its not writing any content to the cache file...
Gerard Samuel wrote:
Im trying to modify a script that fetches rss newfeeds.
I was using fopen, but I decided to use fsockopen() for the timeout
value.
--
?php
$data = '';
$filehandle
(Benchmark/Timer.php);|
Warning: Failed opening 'Benchmark/Timer.php' for inclusion
(include_path='.:/usr/local/lib/php')
Also on a side note, I dont know much about benchmarking utilities, but
what else is out there for windows/bsd??
Thanks
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0
:
I added a comment to the FAQ:
http://www.php.net/manual/en/function.date.php
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
will be in identifying where the user is. Probably
the only truly reliable way is to ask them to tell you what their time
zone is. Pretty much every other method will result in a percentage of
inaccurate reporting - the degree of error will be dependant on the
method chosen.
CYA, Dave
--
Gerard
{
$this-two = new Two;
$this-test = $this-two-test();
}
}
Can you do that? If so is that how you do it?
Thanks.
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
It is supposed to contain alpha numeric characters and '_' and '-'.
Thanks for any input.
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well Ive gotten
(.*)
and
([a-z]*[0-9]*_*-*)
to work thus far as the first group.
I would like to avoid option 1, and option 2 doesn't seem right
Gerard Samuel wrote:
Im expecting a string like foo.png.
Im trying to replace 'foo' with another value that I have.
Im trying this -
$file
= 'should';
this('This %s work', $str); // work
$str = 'is, a';
this('This %s just %s test', $str); // doesn't work
So I guess, arguments passed to it has to be physical arguments, and not
represented in a string.
Am I banging my head on a wall with this??
Thanks
--
Gerard Samuel
http
Well I figured out a solution. Using a combination of explode() to
create an array from $bar,
check to see if $bar is an array and
feed the array to vprintf()
Gerard Samuel wrote:
Im trying to make a dynamic printf().
By that I mean -
function this($foo, $bar)
{
if (strlen($bar
'
as it supposed to be.
Any help would be appreciated.
Thanks
?php
define('_L_OL_HERE', 'here');
$foo = 'a href=there.com=_L_OL_HERE=/a';
$bar = preg_replace('/(=)([A-Z0-9_])(=)/e', ' . constant($2) . ', $foo);
echo $bar;
?
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP
('/\', '/\/\/\', $data);
Im getting -
Unexpected character in input: '\' (ASCII=92) state=1
I guess my str_replace() isn't correct.
Am I going about the right way to double escape them.
Thanks.
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http
up with one too many which is what the error is referring to.
..micahel..
On Thu, 2002-06-20 at 10:59, Gerard Samuel wrote:
Im trying to move some binary strings from mysql to postgresql,
and the binary strings has escape chars '\' in them.
I was told to double escape them like so
on and there is no
'white space' before or after ?php ?
Are there any other reasons why header() would fail while output
buffering is off.
Im running php 4.2.1 on FreeBSD 4.5-R p6
Thanks
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http
or after ?php ?
Maybe Im missing something. I think Ill put it aside and look at it
when the brain is fresh...
Thanks
Erik Price wrote:
On Monday, June 24, 2002, at 04:15 PM, Gerard Samuel wrote:
Are there any other reasons why header() would fail while output
buffering is off.
Hm
with a HTTP/1.1 400 Bad Request
Any help would be greatly appreciated.
Thanks
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Worked perfectly.
Thanks.
Evan Nemerson wrote:
Try
fputs ($fp,GET .$url[path]. HTTP/1.0\r\nHost: . $url[host] . \r\n\r\n);
Your old request looked like GET / HTTP/1.0\r\nHost:value_of_host/\r\n\r\n,
hence the 400.
On Monday 24 June 2002 17:40 pm, Gerard Samuel wrote:
Im trying
What other characters are possible from the output of base64_encode()
except [A-Za-z0-9] ??
Thanks
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
like + and /.
26+26+10+2=64 sounds right.
HTH
Andrew Braund
-Original Message-
From: Gerard Samuel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 27 June 2002 11:15
To: php-gen
Subject: [PHP] base64_encode
What other characters are possible from the output of base64_encode()
except
window at the correct location and the right size?
thanks in advanced for your help!!
nik crosina
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/a
I briefly looked through through the specs, but it didn't say that
links/urls shouldn't be formatted like the first example above...
Any insight, would be grateful.
Thanks
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net
be used. You can
omit the http:// and the host name if you like.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Gerard Samuel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 12:40 PM
To: php-gen
Subject: [PHP
(http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
PROTECTED]
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
may provide...
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Just catching up on my emails and saw this thread.
Just a note that it didn't happen under
FreeBSD 4.5-R p3
PHP 4.1.2 (Apache module)
386M Ram, PIII 450 box
The script died after the max_time setting, and apache's children
returned back to their happy go lucky nature all by themselves...
I redoing some code, and the original author has code like
if
elseif
elseif
elseif
else
I have always known it to have just one elseif, not multiple ones.
I was going to move it to a switch/case, but there is no common switch.
So I wanted to know if its technically ok, or just ok to use
Im trying to modify a poll script to not use the hard coded image files
and use php's image functions.
On the file that will be outputing the poll graphics, I tried at the top
of the page -
header(Content-type: image/png);
and
header(Content-type: image/jpeg);
For some reason, when the page is
Im trying to get a random value to select a random row out of *a*
database. Not just mysql.
array_rand would do me just fine, but Im reading in the manual -
Don't forget to call *srand()*
http://www.php.net/manual/en/function.srand.php to seed the random
number generator.
Im not too
Is it possible to have PHP find out the ethernet's card MAC address??
I know that one can parse the output of dmesg or equvalent to find it
out, but that would be OS platform
specific code.
I just want to know if php has a native way of finding out that information.
Thanks
Gerard
--
PHP
Quick question. Im using srand to seed array_rand in a script.
I read that srand should only be called once per script under the srand
manual page.
Im using ADODB, and that also uses srand. Now should that warning be a
literal warning or should that
be 'use srand once per page'??
Thanks
--
Hi all. Im trying to get gettext working. It is compiled in php 4.1.2
on a FreeBSD-4.5 p4 box.
In the root of the webserver I have
-
?php
// User language here
putenv(LANG=fr);
putenv (LC_ALL=fr);
// Specify location of translation tables
Im running php 4.1.2 on a test box, and Im doing some recoding on an
application Im writing.
The new version, I intend be be compliant with php new $_* global arrays.
But I dont want to waste time redoing the old version, so I tried setting
ini_set('register_globals', 1);
at the top of the main
I didn't know about the run-time issue, I guess I didnt see that.
Thanks for the heads up...
Jason Wong wrote:
On Tuesday 14 May 2002 13:32, Gerard Samuel wrote:
Im running php 4.1.2 on a test box, and Im doing some recoding on an
application Im writing.
The new version, I intend
I think I remember that thread. Ill track it down tomorrow.
Thanks
Jason Wong wrote:
On Tuesday 14 May 2002 13:43, Jason Wong wrote:
Is there something else I can do so I can have the old scripts work
while php is has register_globals off.
As you're running your own server, set it
Just looking for opinions/comments of how others are working with
switch() while register_globals is off
With register_globals off, switch() has a little handicap.
ie
switch($foo)
{
break;
}
$foo, is now illegal/not set. So far, I've been using this before
switch statements.
I like this idea...
Collins, Robert wrote:
IMHO The best way as a contractor to protect yourself against dishonest
companies or people is a contract. However, there maybe a simple method to
programmatically help.
Put something like this in the top of each of the pages that have common
2 things that are foriegn to me. Im trying to construct a class to
handle errors.
I started out trying to make it recognise errors in the first place and
then expand, but Im having difficulty.
class.php
?php
class eh
{
function eh()
{
error_reporting (E_ERROR | E_WARNING |
these might help you
Martin
-Original Message-
From: Gerard Samuel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 3:52 PM
To: PHP
Subject: [PHP] class and error handling
2 things that are foriegn to me. Im trying to construct a class to
handle errors.
I started out trying to make
I was about to modify a script that fetches files for xml content. It
currently does so using fsockopen.
I originally was going to use plain fopen, and I know that curl can also
be used.
Im looking for preferences as to use one method over another. Why one
is better than the other etc.
Im looking to know how to handle it.
HTTP_ACCEPT_LANGUAGE = en-us, en;q=0.75, th;q=0.50, yi;q=0.25
What are the 'q' values for?
Thanks...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well this is the first time actually creating a regex.
It works, but was wondering if the regex was created properly.
HTTP_ACCEPT_LANGUAGE is 'en-us, en;q=0.75, nl;q=0.50, fr;q=0.25'
/* Explode the browser report to get each language */
$foo = split(',', $_SERVER['HTTP_ACCEPT_LANGUAGE'] );
/*
I got this example from Beginning PHP 4. Unfortunately, I cant get to
wrox's site to see if there were any errata updates for this piece of
code, but for the life of me, I dont know whats wrong with it. All its
displaying is '-'. If anyone could direct me to where its broken, Ill
be very
Im trying to get a final output to be 'item' but Im unable to get
working. Could someone point me where Im going wrong.
Thanks
?php
$a = 'item rdf:about=http://www.trini0.org;';
$b = preg_replace(/(item)(\s.*)()/i, $1 . $3, $a );
echo $b;
?
--
PHP General Mailing List
I figured it out. Change the last line to
echo htmlspecialchars($b);
and you'll get the proper output.
Gerard Samuel wrote:
Im trying to get a final output to be 'item' but Im unable to get
working. Could someone point me where Im going wrong.
Thanks
?php
$a = 'item rdf:about=http
If Im not mistaken, all the current and recent Micro$oft, Netscape
friends support it.
Jason Caldwell wrote:
Is there a listing somewhere that shows which web browsers support
gz-encoded web pages?
Thanks
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Im just double checking on the use of clearstatcache.
I have a function that checks whether a file exists and loads it like so
function foo($bar)
{
if (file_exists($bar))
{
include($bar);
}
}
According to clearstat cache, its use is for files that change often.
In my
I was about to start putting together some code for a text editor.
One of its requirements is that the files that it creates, must be able
to be used in utf-8 char. encoded page.
Then I started to wonder if php's fwrite() is character set aware.
I did some preliminary searching, but I didn't
Take a look at move_uploaded_file()
http://www.php.net/manual/en/function.move-uploaded-file.php
Jas wrote:
Ok here is my error message:
Warning: Unable to open '' for reading: No such file or directory in
upload_done.php on line 9
I have checked permissions on the folder and they are correct,
Im trying to use dynamic buttons, and Im trying to figure out how to get
around the header call.
I figure use output buffering, but so far Ive only come up with errors.
Anyone see a better way or any errors in my code.
Thanks
nb: Uncomment the echo() statement to get the error.
-Original Message-
From: Gerard Samuel [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 2:37 PM
To: PHP
Subject: [PHP] image_create(), header.
Im trying to use dynamic buttons, and Im trying to figure out how to get
around the header call.
I figure use output buffering
Double check your file for the whitspace like the others have stated.
I tried your example and had no problems with it...
Dani wrote:
Hi again,
I have got this script :
?PHP
//setup image
$height = 200;
$width = 200;
$im = ImageCreate($width,$height);
$white = ImageColorAllocate($im, 255,
I hope this makes sense to someone
Im converting a script over to work with 4.1.x +.
Im running php 4.1.2 on FreeBSD/Apache and I have 4.2.0 on w2k/IIS/Apache.
I sent the script to a friend of mine who is running w2k/Apache with 4.2.0.
He told me that the script isn't working for him but it
' are in $_POST.
For some reason, this is working on my boxes with register_globals set
to off.
Martin Towell wrote:
code snippets would be good, if possible
-Original Message-
From: Gerard Samuel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 10:46 AM
To: PHP
Subject: [PHP] PHP new
to be
with register_globals set to off.
If its going to run on my box, it would be nice if it ran on everyone
elses to.
Lars Torben Wilson wrote:
On Tue, 2002-05-28 at 18:05, Gerard Samuel wrote:
Its a fairly long script but this is a basic rundown of the mechanics.
some_page.php
the database is set up to
_dis_allow zero length strings... I'd suggest looking at the two database
schemas to see if they're exactly to same
-Original Message-
From: Gerard Samuel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 11:30 AM
To: PHP
Subject: Re: [PHP] PHP new super
set? Why doesn't this file get uploaded?
Thanks!
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
been covered repeatedly, I've only just rejoined the
list after a break from the relentless volume (of great, useful info).
TIA
Michael Hall [EMAIL PROTECTED]
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0
);
$bar-tpl_obj-do_this_for_me($bar);
?
It works but was wondering if its 'legal' to use it like this -
$lcre-db_obj-run_some_code($bar);
$lcre-tpl_obj-do_this_for_me($bar);
Im not extending the classes, just using them, so is what Im doing ok??
Thanks
--
Gerard
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
it makes more sense as you are passing a reference to $bar
into $lcre - as long as your function is setup to accept this type of object
and knows what to do with it.
Mikey
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net
Just a general question. Is it possible to embed php in pure
javascript/dhtml code??
I tried but it didn't work, not sure if it was me or its not possible.
Thanks...
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net
back. The
cookie's lifetime is 1 month.
Thanks
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
help would be much appreciated.
Hugo
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
A philosophical question
Are there any standards to naming variables??
I was told that one should include a letter or combination of letters to
describe a variable
i.e.
$sfoo = 'string'; // string
$bfoo = true; // bool
$nfoo = 10; // interger
etc
Thanks
--
Gerard Samuel
http
get an empty page,
instead of the expected error page or the page hangs, depending on the
browser.
Has anyone gotten both forms of output control to work together without
ill side effects??
Thanks
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing
?
regards
Eric
Gerard Samuel [EMAIL PROTECTED] a écrit dans le message de news:
[EMAIL PROTECTED]
In an included file, I have an error handler that is using the 'output
buffering' trick to
dump a page in progress to display the error page.
I also happened to have a switch to turn on output
;
}
?
Rendering only 6. That's it. Just 6. What am I missing here?
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
by compiling with
--enable-trans-sid.
session.use_trans_sid = 1
url_rewriter.tags = a=href,area=href,frame=src,input=src,form=fakeentry
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
And I feel foolish asking...
What is meant by 'procedural code' ???
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ogle. Type:
"procedural code"
You might want to check,
"object-oriented"
as well...
I'm sure, you'll find helpful explanations...
- E
And I feel foolish asking...
What is meant by 'procedural code' ???
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trin
/BeginSQL/beginSQL2_1.html
and
http://www.wdvl.com/Authoring/DB/SQL/BeginSQL/beginSQL2_2.html
There may be other contexts that the term procedural could be used
in, and if so it may have other meanings that I am not aware of
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org
);
print($str);
?
Any help would be appreciated.
Thanks
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
()
{
..
function outside_data($bar)
{
$this-bar = $bar;
}
..
}
// class constructor here
...
$class-outside_data($php);
?
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
it.
Thanks
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 392 matches
Mail list logo