I had this problem last week
You need to add the stripslashes function to the string that contains the
uploaded text.
print stripslashes($file) or print stripslashes($contents) I think should do
it.
Dave
- Original Message -
From: "Corin Rathbone" <[EMAIL PROTECTED]>
To: <[EMAIL PROTE
Hi,
I have a script that let's me update news on my site but recently whenever I
use ' apostrphe's or " speechmarks I end up with a slash i.e Jack's becomes
Jack\'s
>From reading here and in the archives it appears I have to edit the script
with the stripslashes function.
I was wondering if any
Fixed it.
Seems I had to copy a file php4ts.dll to c:\windows\system.
Found the answer here;
http://www.faqts.com/knowledge_base/view.phtml/aid/5495/fid/336
Cheers,
Dave
- Original Message -
From: "Dave Stewart" <[EMAIL PROTECTED]>
To: "PHP (General)"
Hi,
I have PHP 4 installed on Win98 with PWS 4.
I am getting 'Page cannot be displayed' on pages with .php extentions. If I
change the extensions to .php3 everything is fine.
I used the installer to set PHP up and I have checked my registry to ensure
that .php .php3 and .phtml pages are set and
Hi,
I have this line in my shtml pages...
How do I write this as a function to include in my .php files.
(I've looked up virtual () in the manual but can't make head nor tail
of it).
Many thanks,
Dave Stewart
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
Hi again,
How do I link this image file so that when users click on it they get
the bigger version (which is named 01.jpg).
" : "No Photo Yet\n";
echo "$photo";
?>
Here is the html version of what I am trying to do, as you can see the
'' is a variable.
Thanks again,
Dave
Yep, that worked a treat thanks. All those danged those brackets are
what keep tripping me up.
The fog is lifting :-)
I'll now go back to lurking and see what else I can learn.
Regards,
Dave
- Original Message -
From: Toby Butzon <[EMAIL PROTECTED]>
To: Dave Stew
lts/race01.html",
"r");
$rf = fread($file, 20);
$grab = eregi("(.*)", $rf, $printing);
fclose($file);
echo "";
echo $printing[1];
?>
Thanks in advance.
Dave Stewart
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTEC
8 matches
Mail list logo