User Profile

Collapse

Profile Sidebar

Collapse
carllucas
carllucas
Last Activity: Mar 29 '07, 11:01 AM
Joined: Oct 15 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Problem seems to be solved...

    This solution did the trick... compatibility issues as always...
    http://www.thescripts.com/forum/thread603298.html
    See more | Go to post

    Leave a comment:


  • Okay then... I'm willing to give that a try. How do you change the <OBJECT> parameters dynamically? Is it like with <FORM> (i.e.: document.object 1.param1.value = newValue) ?

    Will this then automatically load a new movie?

    I'm going to go give this a try. If I'm heading in the wrong direction please tell me. But (and not to sound stuborn here...) i still don't understand why the original method wouldn't work...
    See more | Go to post

    Leave a comment:


  • I need the flash object to be reloaded with a fresh flash movie each time a user calls a function and I need some of the flash variables in the object declaration to change. This is why I need the object to be dynamically loaded and placed into a div each time.

    This system work perfectly excpet with MSIE5.5 and MSIE 6.0 which won't load any flash movie.

    Perhaps someone can put my code in a function and test it on their...
    See more | Go to post

    Leave a comment:


  • carllucas
    started a topic Dynamically loading swf with innerHTML

    Dynamically loading swf with innerHTML

    I'm not really a IE (Internet Explorer) basher but sometimes it does get really trying!

    I'm trying to dynamically load a swf (Flash) file into a div using innerHTML. 2 versions of IE won't do it properly:

    MSIE 6.0 on Windows
    MSIE 5.5 on Windows

    Both don't load anything...

    Does anyone know what on earth could be the problem? It works flawlessly with almost every other browser (including...
    See more | Go to post

  • carllucas
    started a topic Document.prototype issue!

    Document.prototype issue!

    I'm in the process of creating my own getElementsByCl assName function...

    why does this not work in IE and it does on firefox?

    Code:
    Document.prototype.getElementsByClassName = function(para)
    {
    	alert(para);
    }
    the error i keep getting on IE (7) is:

    object doesn't support this property

    please help.
    See more | Go to post

  • How do you stop PHP from printing warnings on the screen for everyone to see?

    How do you stop PHP from printing warnings on the screen for everyone to see?

    For example: Warning: .... in /.../.../...script.php on line 19

    I tried using die but is still prints the error or warning.
    See more | Go to post

  • carllucas
    replied to pushin' arrays
    in PHP
    Yup I did just that, cos the above worked. Miss-named a variable.

    *shaking my head in shame*...
    See more | Go to post

    Leave a comment:


  • carllucas
    started a topic pushin' arrays
    in PHP

    pushin' arrays

    Can anyone explain this error.

    My code:
    Code:
    $myArray = array();
    array_push($myArray, $path);
    The error (warning) I continue to get is:
    Warning: array_push(): First argument should be an array

    Any help much appriciated. Thanks :)
    See more | Go to post

  • carllucas
    replied to creating a directory with PHP
    in PHP
    Thanks subach. Can you tell me how to check the permission on my parent directory because I tried exec(mkdir($dir , 0775)) doesn't work.

    I think it is a permission thing or a safemode thing with php.
    See more | Go to post

    Leave a comment:


  • carllucas
    started a topic creating a directory with PHP
    in PHP

    creating a directory with PHP

    Hi there. I'm trying to create a temporary directory using php.

    I use the mkdir function but it doesn't seem to work. This is my code:


    Code:
    if(!file_exists($dir))
    {
    	$attempt = mkdir($dir, 0775);
    
    	if ($attempt) { echo "sucess"; }
    
    	else { echo "error"; }
    }
    I keep getting "error".

    Any help will be much app...
    See more | Go to post

  • Okay, I'm going to look into "SOAP" since I've heard quite a bit about it. Thanks again.
    See more | Go to post

    Leave a comment:


  • Elgemcdlf, I gather from what you're saying that the way to get around this is to use cgi to fetch and parse the data then just display it from my server, right? This might be the way I'll have to do it.

    But is still begs the question as to how Netvibes is able to get you to enter in a remote xml file from anywhere and it parses it for you live.

    It's generous of you to offer to share your code. It would be very helpful....
    See more | Go to post

    Leave a comment:


  • Thanks, B1randon. What sort of call to my server do I have to make that will allow me to aggregate data from remote sources, and how do I do this? And how do I "pack it up in XML"?

    Have you been able to do it this way?...
    See more | Go to post

    Leave a comment:


  • carllucas
    started a topic Accessing remote XML files like Netvibes.com does
    in XML

    Accessing remote XML files like Netvibes.com does

    I would like to create my onw rss feed reader. I've been able to get as far as being able to fetch parse and print news stories form various different sources however I have a big problem.

    When I try to run it online I get an "access denied" error. There reason for this error I know is that most browers have a security setting that won't allow you to access files across servers.

    In order to get the javascript...
    See more | Go to post

  • Thanks, arne. That does answer my question. I wanted to know whether this was possible before I embarked on a dead end.

    Peace
    See more | Go to post

    Leave a comment:


  • carllucas
    started a topic Is a perpetually running perl script possible?
    in Perl

    Is a perpetually running perl script possible?

    I have no exprience with perl.

    What I'm trying to do is have a script/program constantly (perpetually) running on my server so that it performs a routine (like every hour) and automatic check of something like the current weather in Tokyo and records it.

    The catch is that I want this to be done back-end and automatically without someone having to go onto the website and doing a "check" or something. This would...
    See more | Go to post

  • This is my XML document named myLibrary.xml

    Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <library>
    
    <book>
      <title>My Family</title>
      <category>Biography</category>
      <author>John Smith
      <year>2004</year>
      <price>30.00</price>
    </book>
    
    <book>
    ...
    See more | Go to post

    Leave a comment:


  • carllucas
    started a topic how to use "prototype"

    how to use "prototype"

    i'm using action script 1.0 I'm try to create a "class" using prototype. I then want to apply an onEnterFrame function on this new object. I can successfully create the object but I can't get the onEnterFrame function to work. The code is below.

    Code:
    function vehicle() {
    	this.v = {x:0, y:0};
    	this.a = {x:0, y:0};
    }
    
    vehicle.prototype.onEnterFrame = function() {
    	trace("Testing");
    ...
    See more | Go to post

  • I've tried this and it doesn't work.

    when I hover over the link the status bar shows "javascript : open(f, "

    and when you click the link you get:

    "Error: syntax error"

    How for example do internet email apps allow the user to click a message title and follow the link. Is there a way I can use this methodoly with XML instead of PHP?...
    See more | Go to post

    Leave a comment:


  • passing variable problem or quotation syntax conundrum

    I'm having issues trying to pass a variable

    basically I get information from an external xml document like this

    Code:
    function run(file) {
    	t = file.getElementsByTagName("category");
    
    	for(i=0; i<t.length; i++) {
    	  element = file.getElementsByTagName("category")[i].childNodes[0].nodeValue;
    	  theMenu +=	"<a href='javascript:open(f, "+
    ...
    See more | Go to post
No activity results to display
Show More
Working...