The forums have permanently moved to forum.kirupa.com. This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.


Results 1 to 4 of 4

Thread: simple php question: opendir("something".$dir); ?

  1. #1

    simple php question: opendir("something".$dir); ?

    hi there,

    i've some code with this line:
    PHP Code:
    if ($handle opendir("http://www.base-ment.com/Flash/source/".$dir)) { 
    this gives this error:
    Warning: opendir(http://www.base-ment.com/Flash/source/band): failed to open dir: not implemented in i:\mijn documenten\inet\basement new\flash\flash\source\pics2.php on line 6


    what i want is this:
    if i call file.php?dir=band from my flash file i want this in the php file:
    if ($handle = opendir(http://www.base-ment.com/Flash/source/band)){

    who knows what's wrong and how to correct it?


    Last edited by 2nd day; March 10th, 2005 at 01:07 PM.

  2. #2
    i found out you can only opendir a dir on the same server... that's what is wrong with the code...

  3. #3
    what do you want to do with your script?

  4. #4
    thanks for you offer to help me... but i already solved the problem

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012