Jump to content

Search the Community

Showing results for tags 'php glob'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 1 result

  1. hi everyone, i've got a script that works on one website, that lists files in a directory. ive moved the script to another website but now the script isnt working. the script: <ul><?php foreach (glob('../../_docs/*.*') as $file){ $file = basename($file); if ($file != 'index.php') {?> <li><?php echo"$file"?> <a href="../../_docs/<?php echo"$file"?>" target="_blank">[View]</a> <a href="../products/delete/?id=<?php echo"$file"?>">[Delete]</a></br> URL: http://xxxxxxxx.com/CYC/_docs/<?php echo"$file"?> </li> <?php } } ?></ul> the error: Warning: Invalid argument supplied for foreach() in/xxxxxxx/documents/index.php on line 188 [this refers to the line with the foreach glob in it]
×
×
  • Create New...