[PHP] Deleted Files

2002-03-27 Thread Jesse Warden
It seems that in using the PHP delete file function, I have inadvertently deleted the root folder instead, waxing the majority of my PHP files. Is there a recovery mechanism on Windows or am I getting burned by playing with fire? J ** Scanned for Viruses ** -- PHP General Mailing List (http:

[PHP] File Upload

2002-03-27 Thread Jesse Warden
I am having a problem with a file upload. When I submit the file, I get an error saying "Could not open the file for reading: No such file or directory exists.". However, when looking on the C drive (windows) where I have the file and browsed for it using the Browse button, it certainly is there

[PHP] Filing Structure

2002-03-20 Thread Jesse Warden
I am coming from a Flash, Director, and VB type programming world. Filing structure and code structure in PHP is really new to me. Therefore, does anyone have some an example filing structure I can look at or documentation on how to best structure? I downloaded a free message board (phpBB2) fro

[PHP] Session Data Not Saving

2002-03-19 Thread Jesse Warden
I am getting errors when I try to start a session. I get a "permission denied (13)" for trying to open the session data. I also get "Failed to write session data (files). Please verify that the current setting of session.save_path is correct." I got a few others, but they didn't look to pertine

[PHP] Cookie Woes

2002-03-18 Thread Jesse Warden
I performed a: setCookie($username, $username, time()+3600,"", "", "0"); echo header("Location: projects.php"); ... on a php page that deals with a form submission. However, when I get to projects.php, it claims $username doesn't exist. The book said that to get a variable from a cookie, all I

[PHP] Testing for NULL

2002-03-18 Thread Jesse Warden
Hi, I am new... hope I am using this list correctly. I am trying to test for a null value, and if it is null, then to use a default value instead. The login page that I have, I want to show nothing in the username field unless it is passed a username from another PHP page via the header function