<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem with a php script. in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730660#M101006</link>
    <description>Another bunny to Paul, because solving my issue was very important.&lt;BR /&gt;&lt;BR /&gt;I will read the site.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Mon, 13 Feb 2006 18:40:32 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2006-02-13T18:40:32Z</dc:date>
    <item>
      <title>Problem with a php script.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730653#M100999</link>
      <description>I know nothing about php, other than some very basic manipulation of other peoples code.&lt;BR /&gt;&lt;BR /&gt;I have a php script that is malfunctioning and therefore keeping a website offline. The website was functioning but I discovered an error while creating the user guide and asked the developer to fix it.&lt;BR /&gt;&lt;BR /&gt;He says he did, but I guess he didn't test it well. Now he's unavailable for a few days and I'd like to get the site back online.&lt;BR /&gt;&lt;BR /&gt;The error from the error log of apache:&lt;BR /&gt;&lt;BR /&gt;[client 82.81.181.6] PHP Parse error:  parse error, unexpected '{' in /home/httpd/chicago50thward/htdocs/db_functions.php on line 385&lt;BR /&gt;[client 82.81.181.6] PHP Parse error:  parse error, unexpected '{' in /home/httpd/chicago50thward/htdocs/db_functions.php on line 603&lt;BR /&gt;&lt;BR /&gt;The code is attached.&lt;BR /&gt;&lt;BR /&gt;The core functionality of the entire website is built into this module. At least thats what I believe.&lt;BR /&gt;&lt;BR /&gt;Anyway I believe this is a simple syntax error and that someone might spot the code quickly.&lt;BR /&gt;&lt;BR /&gt;I know the developer will eventually fix this, but I'm on an airplane in 54 hours and really hope I can fix this now.&lt;BR /&gt;&lt;BR /&gt;TIA, 10 points for a fix that works. I will provide further information upon request.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 13 Feb 2006 17:21:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730653#M100999</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-02-13T17:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a php script.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730654#M101000</link>
      <description>Took a quick look in Dreamweaver - doesn't look like any code errors - have to go now - if I get a chance I'll look tomorrow in more detail if this isn't solved.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 13 Feb 2006 17:33:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730654#M101000</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-02-13T17:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a php script.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730655#M101001</link>
      <description>It looks like you are missing a right paren ")" on line #384.  &lt;BR /&gt;&lt;BR /&gt;if (mysql_escape_string(strip_tags(trim($curr_ans)))&lt;BR /&gt;&lt;BR /&gt;The "if" statement isn't being closed out.&lt;BR /&gt;&lt;BR /&gt;And on line #602, there is no right paren ")" closing out the mysql_escape_string() call.&lt;BR /&gt;&lt;BR /&gt;if (mysql_escape_string(strip_tags(trim($curr_status)) !&lt;BR /&gt;= "")&lt;BR /&gt;&lt;BR /&gt;Paul</description>
      <pubDate>Mon, 13 Feb 2006 17:53:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730655#M101001</guid>
      <dc:creator>Paul F. Carlson</dc:creator>
      <dc:date>2006-02-13T17:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a php script.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730656#M101002</link>
      <description>I thought it was the parens but only tried to fix one. duh, maybe if I fixed both.&lt;BR /&gt;&lt;BR /&gt;I'll give it a try on Tuesday, IST.&lt;BR /&gt;&lt;BR /&gt;Please feel free to add new suggestions, there is always some reward for posting to my threads.&lt;BR /&gt;&lt;BR /&gt;I'm sleepy and going to act on that situation befor trying to fix it.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 13 Feb 2006 18:01:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730656#M101002</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-02-13T18:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a php script.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730657#M101003</link>
      <description>New code:&lt;BR /&gt;&lt;BR /&gt;384&lt;BR /&gt; if (mysql_escape_string(strip_tags(trim($curr_ans))))&lt;BR /&gt;                                &lt;BR /&gt;602&lt;BR /&gt;&lt;BR /&gt;                       if (mysql_escape_string(strip_tags(trim($curr_status)) != ""))&lt;BR /&gt;&lt;BR /&gt;New log results:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[client 82.81.181.6] PHP Parse error:  parse error, unexpected '{' in /home/httpd/chicago50thward/htdocs/db_functions.php on line 385&lt;BR /&gt;[Mon Feb 13 16:16:42 2006] [error] [client 82.81.181.6] File does not exist: /web/chicago50thward/htdocs/favicon.ico&lt;BR /&gt;[client 82.81.181.6] PHP Parse error:  parse error, unexpected '{' in /home/httpd/chicago50thward/htdocs/db_functions.php on line 641&lt;BR /&gt;&lt;BR /&gt;I corrected an error on line 640 and.....&lt;BR /&gt;&lt;BR /&gt;WALA!&lt;BR /&gt;&lt;BR /&gt;Site is working.&lt;BR /&gt;&lt;BR /&gt;ITRC is best. A particularly busy ITRC member needs to buy me a beer next time I'm in Tel Aviv.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot. Points Inbound.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Feb 2006 18:17:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730657#M101003</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-02-13T18:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a php script.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730658#M101004</link>
      <description>I need a primer in how to maintain this code.&lt;BR /&gt;&lt;BR /&gt;Something I can print and read when I want to sleep on the plane.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 13 Feb 2006 18:21:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730658#M101004</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-02-13T18:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a php script.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730659#M101005</link>
      <description>I actually think that the documentation on php.net is pretty good.  It's quite long though.  You could just print out the first few sections, and get a taste for it.&lt;BR /&gt;&lt;BR /&gt;Paul</description>
      <pubDate>Mon, 13 Feb 2006 18:30:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730659#M101005</guid>
      <dc:creator>Paul F. Carlson</dc:creator>
      <dc:date>2006-02-13T18:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a php script.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730660#M101006</link>
      <description>Another bunny to Paul, because solving my issue was very important.&lt;BR /&gt;&lt;BR /&gt;I will read the site.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 13 Feb 2006 18:40:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730660#M101006</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-02-13T18:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a php script.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730661#M101007</link>
      <description>Hi SEP, &lt;BR /&gt;&lt;BR /&gt;When i was managing a PHP project, many develeopers in our team used only this guide, &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us2.php.net/distributions/manual/php_manual_en.chm" target="_blank"&gt;http://us2.php.net/distributions/manual/php_manual_en.chm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;PHP manual is the best thing to start with. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us3.php.net/manual/en/" target="_blank"&gt;http://us3.php.net/manual/en/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Mon, 13 Feb 2006 23:11:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730661#M101007</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-13T23:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a php script.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730662#M101008</link>
      <description>SEP,&lt;BR /&gt;&lt;BR /&gt;If you are having php manual then php is nothing. Hope you are great in html, perl and c. Then it is simple. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.php.net/download-docs.php" target="_blank"&gt;http://www.php.net/download-docs.php&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Download manual to your desktop and use whenever you are getting problem with php. And more php list is veryyyy active.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Tue, 14 Feb 2006 01:00:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730662#M101008</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-02-14T01:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a php script.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730663#M101009</link>
      <description>hi Steven,&lt;BR /&gt;&lt;BR /&gt;this was my starting point in the PHP quest:&lt;BR /&gt;&lt;A href="http://www.oracle.com/technology/pub/articles/php_experts/rasmus_php.html" target="_blank"&gt;http://www.oracle.com/technology/pub/articles/php_experts/rasmus_php.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hope this is useful to you too!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Tue, 14 Feb 2006 04:41:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730663#M101009</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-02-14T04:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a php script.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730664#M101010</link>
      <description>Arunvijai &amp;amp; Muthukumar,&lt;BR /&gt;&lt;BR /&gt;Thanks for your refinement of Robert's suggestion.&lt;BR /&gt;&lt;BR /&gt;This was generated because I was feeling uncertain about making more than one change to the PHP file.&lt;BR /&gt;&lt;BR /&gt;This configuration however is secure and I like it very much and I'm going to learn how to do this. Its a leap forward for all my websites.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 14 Feb 2006 05:10:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-a-php-script/m-p/3730664#M101010</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-02-14T05:10:35Z</dc:date>
    </item>
  </channel>
</rss>

