[PHP] Redirecting to a URL
Hi, how do I redirect to a different URL, e.g. as a result of an IF condition being true. I'm basically looking for a PHP version of the ASP - Response.Redirect("/otherpage.htm") -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] StripSlashes() & quotes in text boxes
Hi, I have had a few problems retrieving MySql entries that contain quote marks. Slashes have been added before storing an item description such as: 17" SVGA Monitor. They've been removed before display too - and the description appears correctly on a page except when displaying in a text box (for an administrator to edit the item description. When displayed in a text box the description just shows 17. The only solution I can find is to swap the quote marks for " when storing the item initially and when any update has been submitted by the user. Is this the best way, and are there any other characters waiting to cause the same problem that I don't know about yet? Thanks, Robert MacCombe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] file uploading from browser
Hi, I'm having trouble with a file upload php script. I can upload a file, but when I try to transfer it from the temporary location to anywhere within my domain, permission is denied. I had exactly the same problem with the same script on another server and tech support fixed it with the following explanation: "What is happening is that the user php runs as ends up as the file owner - and you are not having permission to do anything to these files. To resolve the problem I have added you to the php group." What I need to know is - how I do this on my new server? As before the server is linux/apache. I have full telnet access, but I have no idea how to add myself to the php group. Regards, Robert MacCombe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php