Error Message:
Fatal error: User error handler must not modify error context in
[FILENAME] on line 58
This error seems to occur only when I use:
$old_error_handler = set_error_handler ('userErrorHandler');
The error number is pointing to this code:
LINE 57: global $mywebsite;
LINE 58: if ($_PO
Actually, that's all of it aside from the function statement and the
return statement.
function funcTitle ($title='') {
global $mywebsite;
if ($_POST['title']) $title = $_POST['title'];
elseif ($_GET['title']) $title = $_GET['title'];
elseif (!$title) $title = $my
Why not top-post? It's much faster to read so I won't have to scroll
down to read the message.
Michael Sims already solved my problem. But thanks for the help and
to Robert also. :)
Jasper Bryant-Greene...
Please don't top-post. Sorry, I assumed that code was part of your
error_handler. Can
NOT put a newline on the end of a string?
Thanks in Advance,
--Noel Wade
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ile) and a FALSE return from fgets() ??
Thanks a bunch,
--Noel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
27;m just doing
if($foo)
And "\n" seems to equate to FALSE with this sort of conditional /
comparison...
Thanks, take care,
--Noel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm trying to get my head around php classes. I want to write a small php
file (call it genericly uniquepagesomething.php) that will call the
pagemaker.class. For example Apples3.php that calls pagemaker.class. In
pagemaker.class, it will look up page 3 of the topic apples from a table
and get
POST form I could do
it)... I've looked at manually copying and "forwarding" each original
variable by including it in the URL for the "result page"; but I was hoping
for something more elegant and flexible...
Any thoughts or ideas?
Thanks a bunch in advance! Take care,
into either of these globals so that the
"$url" page can access 'em?
Thanks a bunch!
--Noel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
already registered their session
else
//session not registered!
Hope this helps!
Take care,
--Noel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks - I understand that method; but I'm really looking for a way to pass
them without them being visible / mucking up the URL line with a buncha
stuff...
Take care,
--Noel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This will work perfectly! Actually, building a dynamic javascript function
and/or hidden form will allow me to collapse a couple of other redirect
systems on my site into one... Thanks a bunch!
--Noel
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECT
the text string. Then you use the .
concatenation operator, followed by your variable. To add further text, use
another . operator, then " to open up the text string, then \" for the HTML
close-quote, then the > to close the HTML tag, then " to close out the echo
or print stat
statement in the main document is ALREADY between PHP tags, the parser looks
for an opening PHP tag in the included file to find where to begin parsing -
anything before that opening tag is echo'ed out as plain text).
Hope this helps!
Take care,
--Noel
--
d as a security concern, someone could
use a GET request (http://somehost/mypage.php?varX=0) to spoof the script
into thinking that "varX" is the wrong value.
So, is there any way in a script to specify that I want to retrieve the
value stored in the registered session_variable("varX&qu
Nevermind, just found the $HTTP_SESSION_VARS array...
Thanks anyways! Take care,
--Noel
"Noel Wade" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> So I have a session variable; but with register_globals active
tsize($HTTP_SESSION_VARS['fontC'],$HTTP_SESSION_VARS['FontC']);
$pagemaker->set_stdwidth($HTTP_SESSION_VARS['width']);
$pagemaker->set_stdheight($HTTP_SESSION_VARS['height']);
$pagemaker->find("test_1");
//print($pagemaker->Errno);
print($pagemaker->Error);
print($pagemaker->haltmsg);
print($pagemaker->contents);
?>
Pagemaker.class worked before I started wwith all this session stuff. (with
different code ofcourse)
Please help. Any suggestions will be helpful.
Thanks
Noel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
LTIPLE has
numerical values, and the dysfunctional one uses string values - but the
values ARE enclosed in quotation-marks... so I don't know why they're not
POSTing properly as an array. Is this a known bug or issue? Any thoughts
or solutions?
Thanks a bunch, take care,
--Noel
--
Its the littlest things that kill ya Thanks a ton!
As a side note, I definitely do NOT have the brackets on the working page -
so its an undefined "feature" (or bug) that numerical-value SELECT MULTIPLE
variables post as an array to PHP.
Take care, and thanks again!
--Noel
ke
track your custom object-functions and color them or present their
arguments - but for a quick, simple, helpful tool - its just perfect!
Take care,
--Noel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ook is aimed a little bit more at people who can already do some
programming; but you should pick it up to start with, and if it doesn't make
sense grab a smaller "beginner" book on programming and then come back to
"PHP & MySQL"
Good luck! Take care,
--Noel
-
to do something like this:
...
And get a nice array with your text values. Anyone know if this (A) works and (B) is
not actually just some undefined behavior that's risky to use?
Thanks! Take care,
--Noel
Hello,
Question 1:
A long time ago, I started my first big project using php3 and MySQL that
would return on a query a listing of info from the database that was
displayed in the browser with nested tables. If a user really wanted to
test the limits of the database, he/she could get back over 3
I'm going to created a database with the use of a php/html page on my
commercial host (forsite.net). I have yet to master the unix directory
system so I don't want to play around looking for it. Does a database have
to "live" in the MySQL directory, or can it be in my html web directory?
How d
where is -> and <<< in the manual? I see -> used with vars and <<< with
doc. I assume that they are operators of some kind, but didn't find them in
the operators section of the manual. Are there any other items like these
found in php4?
thanks
--
PHP General Mailing List (http://www.php.net/
parse lines right to left
thanks anyway
--
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]
Ok, I'm reading the manual for the new php4 stuff. Now, I'm not new to php.
I started with php/fi with a little script to add links to a database. I
did a little work in php3. I just don't make enough php stuff to get a frim
grip on everything. That is changing as I am building a second pc to s
Would there be any point in using php sessions if you aren't using cookies?
You have to store login info anyway, why not just use a temp table to store
transaction info and write to the database at the end of a session? From
what I've read on sessions, you have to use cookies
thanks
--
PHP G
Learn about computers and the Internet and build a business while you are
doing it.
Just hit:
mailto:[EMAIL PROTECTED]?Subject=Education
To be removed from this list, hit:
mailto:[EMAIL PROTECTED]?Subject=Remove
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAI
Take our course in computers and the Internet; and then we'll show you how
to build a business with your new skills.
Just hit:
mailto:[EMAIL PROTECTED]?Subject=Education
To be removed from this list, hit:
mailto:[EMAIL PROTECTED]?Subject=Remove
--
PHP General Mailing List (http://www.php.ne
Hi,
Is there any easy way to copy a "template" mysql table to enable data to
processed in batches?
I would prefer to just copy a table rather than hard-code a table create
query, if possible.
Regards
Ray
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTE
Here is an opportunity that you can take up FREE. If you join as an
affiliate, we'll teach you how to build a profitable business on the
Internet, using our system to create an income stream and earn income
globally, 24 hours a day.
Don't let this opportunity slip past you - our organization i
Here is an opportunity that you can take up FREE. If you join as an
affiliate, we'll teach you how to build a profitable business on the
Internet, using our system to create an income stream and earn income
globally, 24 hours a day.
Don't let this opportunity slip past you - our organization i
Here is an opportunity that you can take up FREE. If you join as an
affiliate, we'll teach you how to build a profitable business on the
Internet, using our system to create an income stream and earn income
globally, 24 hours a day.
Don't let this opportunity slip past you - our organization i
Here is an opportunity that you can take up FREE. If you join as an
affiliate, we'll teach you how to build a profitable business on the
Internet, using our system to create an income stream and earn income
globally, 24 hours a day.
Don't let this opportunity slip past you - our organization i
Hi All,
Can someone suggest a reputable vote script in php that uses mysql,
doesnt need to be fancy, just have a decent reputation for not
being exloited :) also tracking of users via IP to prevent ghost
voting...WE are using php 5.3.0, the old one fails under that, adn it
had known issues so we du
On Fri, 2009-08-28 at 08:33 -0400, Bob McConnell wrote:
>
> Forging IP addresses is actually quite simple. VMs do it all the time
> when bridged to the real NIC. There are also some projects on Source
> Forge designed to load test HTTP servers that do similar things. I have
> an application I wr
Hello,
I found this script at zend. Please note the getenv("HTTP_REFFERER").
http://www.odey.com.
Turn the refererring URL into a variable */
$from = getenv("HTTP_REFERER");
/* Check to see if the URL in the variable is a valid referrer. Add the
page URL which you would like people to arrive fr
Hello,
I'm trying to build the first page to a database driven website. The first
thing I'm trying to do is detect if cookies are enabled on the users
browser, and then, via a header(location: mysite.php), redirect the user to
either a cookie supported page, or cookie unsupported page. I will
I wanted to let you know about a new opportunity that you can take up FREE.
If you join as an affiliate, we'll teach you how to build a profitable
business on the Internet; how to use our system to create an income stream;
and how to earn income globally, 24 hours a day.
Don't let this opport
Get a FREE copy of the exciting 48-page booklet "Inside Secrets to Wealth
on the Web".
Just hit Reply and send a blank message with "Inside Secrets" on the
Subject line.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
osted that
question on php.install), but what I'm wondering is...
Is there perhaps a code fix/work-around I could apply in my scripts to
replace the $PATH_INFO with something that achieves the same effect, without
having to redisign my entire nav system.
Thanks,
Noel
--
PHP General Mai
we just re-compiled PHP
on the test server... and now my script won't run on the test server too!!
Noel
"Torsten Roehr" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Noel Da Costa" <[EMAIL PROTECTED]>
>
> Hi Noel,
>
> try acce
43 matches
Mail list logo