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!
i need to open a file in the location which is in the location
"E:Work/Tools/copypaste.php".what is the correct syntax to be given for it in fopen? .when i gave the above syntax,i got the following error:"PHP Warning: fopen(E:Work/Tools/copypaste.php) [function.fopen]: failed to open stream: No such file or directory in E:\Work\Tools for download\filetest1.php on line 10"
Use DIRECTORY_SEPARATOR instead of \ or /.
Usually it does not matter, but it is more elegant and portable and you won't run into any weird problems like that.
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.