Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jms8142

    extending a class from an include file

    Version 5.0.4
  2. jms8142

    extending a class from an include file

    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 () {...
  3. jms8142

    extending a class from an include file

    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...
  4. jms8142

    single quotes are doubled

    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.
  5. jms8142

    single quotes are doubled

    PHP Version 4.3.2 on Linux
  6. jms8142

    single quotes are doubled

    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.
  7. jms8142

    single quotes are doubled

    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?
  8. jms8142

    /: keyword before a variable

    Thanks. I realized I should upgrade to actionscript 2.0.
  9. jms8142

    /: keyword before a variable

    anyone recognize using /: before a variable and what it denotes? I came across it in some code, perhaps its from actionscript 1.0.
  10. jms8142

    Closing window without IE warning message

    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();
  11. jms8142

    Closing window without IE warning message

    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.
  12. jms8142

    Closing window without IE warning message

    Same deal, I can initiate the close, I just need to get rid of the warning &quot;The web page you are viewing is trying to close the window...&quot;
  13. jms8142

    Closing window without IE warning message

    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...
  14. jms8142

    Referring to an object dynamically

    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 = &quot;report0&quot;, id = &quot;report1&quot;, id = &quot;report2&quot;). What I'm doing is...
  15. jms8142

    Launching executables (exe) from PDF reader

    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...
  16. jms8142

    Dynamically Hiding Sections

    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...

Part and Inventory Search

Back
Top