<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[passing parameter to checkdir.php]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">One my user needs pop up &amp; one does not.<br />
Hence I created a small html form which asks for Need POPUP [Y/N].<br />
The result is submitted to /fop2/index.php (I renamed index.html to index.php)</p>
<p dir="auto">But the popup happens via an internal script call to checkdir.php</p>
<p dir="auto">How can I pass the variable $_POST[pop_up] to checkdir.php and then to the function custom_popup($_GET)</p>
<p dir="auto">I tried SESSION, COOKIES, GLOBAL and none seem to be working.<br />
SESSION works, but expires if there is no call for a long time, I can increase the value of session expire to a longer duration, but I do not want to risk.  COOKIES, once again, my comfort level is low.</p>
<p dir="auto">Could not get GLOBAL to work. I followed a text book example, but some how its not working, I am sure I am missing something.</p>
<p dir="auto">Any help is appreciated.</p>
<p dir="auto">Thx<br />
Sans</p>
]]></description><link>http://localhost:4567/topic/734/passing-parameter-to-checkdir.php</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 03:12:42 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/734.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 25 Apr 2011 16:42:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to passing parameter to checkdir.php on Mon, 25 Apr 2011 17:34:17 GMT]]></title><description><![CDATA[<p dir="auto">fop2 will not pass more variables that the ones it is already sending, and none of them is related to a user preference. You must solve your issue with using php sessions or hardcoding allowed extensions in your checkdir.php script.</p>
<p dir="auto">You can very well store preference in a mysql table and check that table in checkdir.php. mysql will persist "forever" and you wont have the problems you are facing with php sessions.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/3245</link><guid isPermaLink="true">http://localhost:4567/post/3245</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 25 Apr 2011 17:34:17 GMT</pubDate></item></channel></rss>