Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
PHP quotation mark escape
Name: Spinal Date: January 22, 2005 at 10:12:48 Pacific OS: PHP4-ish CPU/Ram: irrelevant
Comment:
Hello! Im trying to implement a system where a user can enter some HTML code into a text box, it gets saved to a file, then the file can be see as a html file. ALso, the user can modify the file. All is well until the uder decides to put " marks in his text. Php, cleverly, escapes them with \'s BUT in some cases, thats not wanted. Like, if the user wants to put: <i_mg src ="myImage.jpg">, php will put: <i_mg src =\"myImage.jpg\"> (underscored to stop ur browser interpreting) whick kinda screws up the code. The files are all invoked usinmg double quotation marks (") as my server doesn't seem to like single quotation marks ('). Any ideas on how to solve this? Spina
Summary: Hello again, I had asked for info on quotation mark escapes and got told to use htmlentity(), but alas that makes no difference. Copied below are my two source codes... can anyone help? #!/usr/bin/ph...
Summary: I'm relatively new to PHP and created a portfolio script that downloads quotes from Yahoo. It does this by using fopen to download the csv file, and fgetcsv to parse it into an array. The problem is,...
Summary: Hi all, I don't know if this is the right place to put a google related question. But I try if some one can answer my questions. I have two question regarding searching on Google search engine. 1)- I ...