LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-25-2004, 05:24 AM   #1
surfinrhino
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
HTMLDOC, Magic Quotes and Red Hat 9


BACKGROUND: I'm running RH9 and have HTMLDOC 1.8.23 compiled using gcc from intrepid.com and in my php.ini I have magic_quotes_gpc set to on.

SCENARIO: I'm generating a html page using PHP passing the parameters across as;
passthru("htmldoc -t pdf14 --webpage --left 5mm --gray --topmargin 50 --landscape --bodyfont Arial --browserwidth 960 --fontsize 12 " . stripslashes($url_list_decoded));

PROBLEM: When passing a file ($url_list_decoded) to HTMLDOC enclosed with a single quote I get an HTMLDOC error 5 with the full $url_list_decoded double quoted and including my single quotes. Running the same PHP in a Linux Schell environment is okay.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using single quotes vs double quotes in PHP strings vharishankar Programming 6 07-11-2005 11:41 AM
simple: php addslashes, magic quotes, etc etc? opioid Programming 6 03-01-2005 01:43 PM
PostNuke install, magic quotes problem HippieCat Linux - Software 0 02-21-2005 04:06 PM
Partition Magic 8 hangs in XP after installing Red Hat 9 varunj Linux - Software 1 11-07-2003 06:25 AM
Red Hat does not plan to release another product in the red hat linux line... Whitehat General 5 11-03-2003 06:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration