[PHP-DB] Re: Can PHP exclude % characters in external txt file?

2001-08-13 Thread Phillip Bow
I can't think of a simple way to do it off of an include, but off the top of my head: ?php $file = file(data.txt); for($x=0; $xcount($file); $x++){ $temp = str_replace(%, , $file[$x]); print $temp\n; } unset($file, $temp); ? -- phill Brian Tegtmeier [EMAIL PROTECTED] wrote in message

[PHP-DB] Re: PHP redirect?

2001-08-02 Thread Phillip Bow
JavaScript would allow them to immediately be sent to the page. -- phill Webmaster [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have a form and based off of this form if my user selects option a then I want them to be redirected to another page. If they

[PHP-DB] Re: php script showing up on web page!!!!

2001-07-24 Thread Phillip Bow
Well unless you set up your webserver to parse .htm pages then your code will not be parsed and is displayed as plain text. -- phill Tony [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Here is the link to the problem page,

[PHP-DB] Re: Persistent connection Oracle 8.0.5 and PHP 4.0.6

2001-07-17 Thread Phillip Bow
Also are you running the ISAPI version of PHP or are you running it as a CGI? -- phill Jean Castonguay [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I try to make a persistent connection with Oracle because I retrieve information in Oracle but each call

Re: [PHP-DB] How to display HTML code?

2001-03-20 Thread Phillip Bow
Now that is cool. I wish I had noticed that one before. Would have saved a lot of odd keystrokes. -- phill ""Joe Brown"" [EMAIL PROTECTED] wrote in message 996a64$k3a$[EMAIL PROTECTED]">news:996a64$k3a$[EMAIL PROTECTED]... try: ?php echo htmlentities("A HREF=home.phpHome/A"); ? ""Osman

Re: [PHP-DB] How to display HTML code?

2001-03-19 Thread Phillip Bow
Well you don't need PHP to do it, but you can replace the greater than and less than signs with their html entities(lt; and gt;) which the browser will parse, and it will display the appropriate chars. So... ?php print "lt;font size=+2gt"; ? will print the html without parsing it. Now if only