in answer to litton1, yes, it is in the same directory.
Strange, so when i tried sleipnir214's test code, adding
class foo
{
function __construct ()
{
print 'in base constructor';
}
}
to my include file and
class bar extends foo
{
function __construct ()
{...
Does any know of any issues with extending a class from an include file?
i have:
include("include.inc");
class groupadmin extends groups {
function __construct() {
print "In groupsadmin constructor\n";
}
}
$obj = new groupadmin();
the groups class is in the include.inc file...
ok, I did some more research on this, and I realize that it's because magic_quotes_sybase is set to on in the php config. This escapes a single quote with another single quote, which is nessessary because they're running mssql queries, which require single quotes to be escaped this way.
Thanks.
It's some PHP configuration thing, the code is not doing anything...
<form method=post>
<textarea name="form_content" cols="75" rows="20" wrap="virtual">
</textarea>
<input type=submit value=post>
</form>
<?=$form_content?>
A single quote posted from this text area comes back repeated.
This is strange, but when I'm posting a string from a textbox with a single quote, it gets double.
'''''single quote'''''
becomes
''''''''''single quote''''''''''
magic_quotes_gpc is on, but i didn't think that would make a difference.
double quotes are fine.
Any ideas?
Someone forwarded this to me and it works! It looks to me like it's doing the same thing that's been suggested here, but I guess it's slightly different. Thanks for everyone's help here.
firstwindow = window.self;
firstwindow.opener = window.self;
firstwindow.close();
the code is fine, the window does try to close, but IE still prompts the user. I guess this is more of a browser setting issue and perhaps cannot be resolved in code.
Hello,
right now I'm using a primary window (default.htm on the server) to launch a secondary window without any buttons as the first true page of the website. My problem occurs when I try to close the initial window, like so:
window.open(2nd page with no buttons, etc.)
document.close
I get...
hello,
I have a number of html tables created in an asp file that are enclosed by <div></div> tags. Each successive <div> tag includes an id attribute that increments by 1 for each section. (e.g. id = "report0", id = "report1", id = "report2").
What I'm doing is...
I have a custom app made in VB (.exe file) that I'd like to launch from a toolbar button in PDF reader. I've fooled around with .api creation for Acrobat but I cannot find any commands that will launch a file type other than PDF (or PDF compatible). Is there a simple way to create a toolbar...
I am using Crystal 6.
My question is this: Is it possible to somehow reference the page number of specific sections or fields or any objects (once the report has been rendered)? I have a number of sections each comprised of an empty underlined text object (intended as a comments section for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.