PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Sorry this is probably a simple question. I want to make a php page that will automatically list all the files (usually .bat, .vbs, and exe) in a directory. I'm using a while loop to make the list but I want to also make the list as links with the while loop is that possible? I don't want to manually add each file as a link with <a href> Here's what I have so far, any suggestions is greatly appreciated.
tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
hrm... it makes the list as links but when i click on the links it gives me a page cannot be found. How do i make the list of files link up with the actual files on the computer example
Make a while loop listing the files and having them as links. these are files so when i click on them it should ask if i would like to "open, save, or cancel" dialog box.
Pretty much like a directory listing but i want to be able to change and edit the page
do i have to use the <a href> on all the files manually? or would I be able to do a loop that will list the files and link the files accordingly so when the user clicks on the link lets say Install.bat it will ask the user to "open or save" the file?