Re: [PHP] Slash Problems When Using PHP and POST.

2001-07-18 Thread Dave Stewart
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

[PHP] Apostrophe's

2001-07-10 Thread Dave Stewart
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

Re: [PHP] Page Cannot Be Displayed

2001-07-02 Thread Dave Stewart
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)"

[PHP] Page Cannot Be Displayed

2001-07-01 Thread Dave Stewart
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

[PHP] CGI and PHP

2001-01-25 Thread Dave Stewart
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

[PHP] Hyperlink using thumnail

2001-01-23 Thread Dave Stewart
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

Re: [PHP] Sub Newbie Question On Error Message

2001-01-17 Thread Dave Stewart
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

[PHP] Sub Newbie Question On Error Message

2001-01-17 Thread Dave Stewart
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