<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-536205883388015755</id><updated>2011-04-21T15:06:45.522-07:00</updated><title type='text'>PHP Maillist</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://php-maillist.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default?start-index=101&amp;max-results=100'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6562</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-6118273182548107045</id><published>2011-03-20T02:04:00.001-07:00</published><updated>2011-03-20T02:04:16.191-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] .htaccess</title><content type='html'>if you have seo friendly links you should change the second line &lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "&gt;RewriteCond $1 !^(index\.php|worldwidetravel) into &lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "&gt;RewriteCond $1 !^(worldwidetravel)&lt;/span&gt;&lt;div&gt; &lt;font class="Apple-style-span" face="arial, sans-serif"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" face="arial, sans-serif"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;Cheers!&lt;br&gt; &lt;/span&gt;&lt;/font&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;On Sat, Mar 19, 2011 at 11:15 PM, Ovidiu Alexa &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:ovidiu.alexa@gmail.com"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"&gt; SOLVED again&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;so it&amp;#39;s &lt;a href="http://worldwidetravel.ro" target="_blank"&gt;worldwidetravel.ro&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;here&amp;#39;s my htaccess hope it helps somebody. i wasted all my day for 5 lines of code but it was worth it.&lt;/div&gt;  &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;RewriteCond %{HTTP_HOST} ^www\.worldwidetravel\.ro$ [NC]&lt;/div&gt;&lt;div&gt;RewriteCond $1 !^(index\.php|worldwidetravel)&lt;/div&gt;&lt;div&gt;RewriteRule ^(.*)$ worldwidetravel/$1 [L]&lt;/div&gt;&lt;div&gt;RewriteCond %{HTTP_HOST} !www\.worldwidetravel\.ro$ [NC]&lt;/div&gt;  &lt;div&gt;RewriteRule ^(.*)$ index.php?uri=$1 [L]&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;so the first 2 lines redirects the non-www domain to the www domain. IF the requested file is not index.php (default apache setting is index.php) AND the folder is NOT the one that you are trying to redirect to AND the domain is &lt;a href="http://worldwidetravel.ro" target="_blank"&gt;worldwidetravel.ro&lt;/a&gt; THEN read everything from worldwidetravel/&lt;/div&gt;  &lt;div&gt;After this the main domain can go about it&amp;#39;s business but ONLY if the HTTP_HOST is not &lt;a href="http://worldwidetravel.ro" target="_blank"&gt;worldwidetravel.ro&lt;/a&gt; &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;So basically what I did:&lt;/div&gt;  &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;1. buy domain.&lt;/div&gt;&lt;div&gt;2. register it as parked domain.&lt;/div&gt;&lt;div&gt;3. make a folder and put content for the parked domain.&lt;/div&gt;&lt;div&gt;4. add the first 3 lines of code into .htaccess&lt;/div&gt;&lt;div&gt;5. if there&amp;#39;s some rewrite conditions for the main domain add all the lines&lt;/div&gt;  &lt;div&gt;6. replace worldwidetravel with your domain and ro with your domain extension (com or net or whatever)&lt;/div&gt;&lt;div&gt;7. send me an email if you found this useful.&lt;/div&gt;&lt;div&gt;8. a big THANKS for nothing to the server admins &amp;lt;- more than 1.&lt;/div&gt;  &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks for having me here, I&amp;#39;m going out to celebrate. I wasted my saturday but what the heck the night is still young.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Cheers&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="h5"&gt;&lt;div&gt;&lt;br&gt; &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt; &lt;br&gt;&lt;div class="gmail_quote"&gt;On Sat, Mar 19, 2011 at 9:55 PM, Ovidiu Alexa &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:ovidiu.alexa@gmail.com" target="_blank"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"&gt;  &lt;div&gt;SOLVED&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;this works&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;RewriteCond %{HTTP_HOST} ^www\.site2\.com$ [NC]&lt;div&gt;RewriteRule ^&lt;span style="font-family:monospace;white-space:pre-wrap;font-size:medium"&gt;([^/]+)&lt;/span&gt;$ site2/$1 [L]&lt;/div&gt;    &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:monospace;white-space:pre-wrap;font-size:medium"&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;font face="monospace" size="3"&gt;&lt;span style="white-space:pre-wrap"&gt;&lt;br&gt;    &lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;so when I try to access &lt;a href="http://site2.com/admin/" target="_blank"&gt;site2.com/admin/&lt;/a&gt; it will look in /public_html/admin not /public_html/site2/admin&lt;/div&gt;&lt;div&gt;  &lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt; &lt;br&gt;&lt;/div&gt;&lt;br&gt; &lt;div class="gmail_quote"&gt;On Sat, Mar 19, 2011 at 5:46 PM, Robert Gonzalez &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:robert.anthony.gonzalez@gmail.com" target="_blank"&gt;robert.anthony.gonzalez@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;   &lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"&gt; I don&amp;#39;t think you&amp;#39;re going to get this to work the way you want it to. Your DNS entries aren&amp;#39;t going to take paths, they will take IPs. You might be able to get away with a subdomain of the one that you set up to push requests off to the other, but that will be more involved.&lt;div&gt;     &lt;br&gt;&lt;/div&gt;&lt;div&gt;Basically what you are looking to do is send all requests for either domain to the same IP and handle the request at that IP. Nothing new here... we servers do this by their very nature. The challenge you have is that you have no access to your web server&amp;#39;s config so you can&amp;#39;t create any virtual hosts. I don&amp;#39;t think a .htaccess file will do this since, by the nature of these files, the request would have already had to have been routed in order for the .htaccess file to be read.&lt;/div&gt;     &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Does that make sense?&lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;On Sat, Mar 19, 2011 at 2:22 AM, Ovidiu Alexa &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:ovidiu.alexa@gmail.com" target="_blank"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;     &lt;/div&gt;&lt;/div&gt;&lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Hi,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;thanks for your suggestion. I&amp;#39;m limited with only the &amp;quot;&lt;span style="font-family:verdana, arial, helvetica, sans-serif;font-size:12px;font-weight:bold"&gt;Simple DNS Zone Editor &amp;quot; &lt;/span&gt;&lt;span style="font-family:verdana, arial, helvetica, sans-serif;font-size:12px"&gt;in Cpanel. This is a public server and I don&amp;#39;t have access to WHM. I&amp;#39;ll put up a screen shot. Are you saying that I should delete the &lt;/span&gt;&lt;font face="verdana, arial, helvetica, sans-serif"&gt;&lt;span style="font-size:12px"&gt;&lt;b&gt;&lt;a href="http://www.worldwidetravel.ro" target="_blank"&gt;www.worldwidetravel.ro&lt;/a&gt;.&lt;span style="white-space:pre-wrap"&gt;	&lt;/span&gt;CNAME&lt;span style="white-space:pre-wrap"&gt;	&lt;/span&gt;&lt;a href="http://worldwidetravel.ro" target="_blank"&gt;worldwidetravel.ro&lt;/a&gt;&lt;/b&gt; record and make a new one like this: &lt;b&gt;&lt;a href="http://www.worldwidetravel.ro" target="_blank"&gt;www.worldwidetravel.ro&lt;/a&gt;.&lt;span style="white-space:pre-wrap"&gt;	&lt;/span&gt;CNAME&lt;span style="white-space:pre-wrap"&gt;	&lt;/span&gt;/worldwidetravel/&lt;/b&gt; ?&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;      &lt;div&gt;&lt;font face="verdana, arial, helvetica, sans-serif"&gt;&lt;span style="font-size:12px"&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face="verdana, arial, helvetica, sans-serif"&gt;&lt;span style="font-size:12px"&gt;&lt;br&gt; &lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face="verdana, arial, helvetica, sans-serif"&gt;&lt;span style="font-size:12px"&gt;Thanks.&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;font face="verdana, arial, helvetica, sans-serif"&gt;&lt;span style="font-size:12px"&gt;&lt;br&gt;      &lt;/span&gt;&lt;/font&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;On Sat, Mar 19, 2011 at 2:13 AM, Cesar Ramos &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:cesarramose@gmail.com" target="_blank"&gt;cesarramose@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"&gt;      you have to manage the dns of the domain so you can point it to the folder&lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;On Fri, Mar 18, 2011 at 7:10 PM, Ovidiu &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:ovidiu.alexa@gmail.com" target="_blank"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;       &lt;/div&gt;&lt;/div&gt;&lt;blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Hello,&lt;br&gt; &lt;br&gt; it seems to me that google has failed me for the first time. I have&lt;br&gt; purchased 2 domains and I would like to have 2 sites for one hosting&lt;br&gt; service :) it&amp;#39;s cheaper:&lt;br&gt; &lt;br&gt; so my target is to have the fisrt domain (lets call it site1) read&lt;br&gt; the /&lt;br&gt; and site2 should read the /site2/ contents. I know that in Cpanel you&lt;br&gt; can include addon domains, but like I said, it&amp;#39;s another hosting&lt;br&gt; service for more bucks.&lt;br&gt; &lt;br&gt; &lt;br&gt; so far not even the server administrator has a good ideea for this&lt;br&gt; problem, even though it&amp;#39;s not a service I should pay for he wanted to&lt;br&gt; help me.&lt;br&gt; &lt;br&gt; before this I used an old trick with php like $_SERVER[&amp;#39;HTTP_HOST&amp;#39;]&lt;br&gt; and if the host is site2 then include site2/index.php&lt;br&gt; &lt;br&gt; well, I found this not to be enough because all the files should be&lt;br&gt; accessed from that particular directory.&lt;br&gt; &lt;br&gt; so why not .htaccess?&lt;br&gt; &lt;br&gt; I have found on the web that you can permanently redirect a non-www&lt;br&gt; domain to the same domain but with the www. added. which goes a little&lt;br&gt; like this:&lt;br&gt; &lt;br&gt; &lt;br&gt; RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC]&lt;br&gt; RewriteRule ^(.*)$ &lt;a href="http://www.mysite.com/$1" target="_blank"&gt;http://www.mysite.com/$1&lt;/a&gt; [R=301,L]&lt;br&gt; &lt;br&gt; &lt;br&gt; I can&amp;#39;t seem to get around this idea that there must be a way to have&lt;br&gt; that parked domain behave like a stand-alone domain but within the&lt;br&gt; same hosting package.&lt;br&gt; &lt;br&gt; I am asking anyone that can help me on this one, if there&amp;#39;s a way.&lt;br&gt; &lt;br&gt; So far, with this kind of rewrite rule I have a redirect loop. I&amp;#39;m&lt;br&gt; stuck.&lt;br&gt; &lt;br&gt; Please help me. I don&amp;#39;t want to pay those bastards for something that&lt;br&gt; should be free because my hosting package is not the cheapest from&lt;br&gt; their list.&lt;br&gt; &lt;br&gt; I mean why do I get 2 extra parked domains, 2 data bases and 1 GB of&lt;br&gt; space but no addon domains?&lt;br&gt; &lt;br&gt; Thanks in advance.&lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;br&gt;&lt;/div&gt;&lt;/div&gt; --&lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt; &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt; &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"&gt;       &lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;  &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;  &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;  &lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;  -- &lt;br&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;  &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;  &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;    &lt;/div&gt;&lt;div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;  &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;  &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt; &lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt; &lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-6118273182548107045?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/6118273182548107045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/6118273182548107045'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-htaccess_20.html' title='Re: [Pro. PHP Dev.] .htaccess'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-6795670979363745368</id><published>2011-03-19T14:15:00.001-07:00</published><updated>2011-03-19T14:15:45.876-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] .htaccess</title><content type='html'>SOLVED again&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;so it&amp;#39;s &lt;a href="http://worldwidetravel.ro"&gt;worldwidetravel.ro&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;here&amp;#39;s my htaccess hope it helps somebody. i wasted all my day for 5 lines of code but it was worth it.&lt;/div&gt; &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;RewriteCond %{HTTP_HOST} ^www\.worldwidetravel\.ro$ [NC]&lt;/div&gt;&lt;div&gt;RewriteCond $1 !^(index\.php|worldwidetravel)&lt;/div&gt;&lt;div&gt;RewriteRule ^(.*)$ worldwidetravel/$1 [L]&lt;/div&gt;&lt;div&gt;RewriteCond %{HTTP_HOST} !www\.worldwidetravel\.ro$ [NC]&lt;/div&gt; &lt;div&gt;RewriteRule ^(.*)$ index.php?uri=$1 [L]&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;so the first 2 lines redirects the non-www domain to the www domain. IF the requested file is not index.php (default apache setting is index.php) AND the folder is NOT the one that you are trying to redirect to AND the domain is &lt;a href="http://worldwidetravel.ro"&gt;worldwidetravel.ro&lt;/a&gt; THEN read everything from worldwidetravel/&lt;/div&gt; &lt;div&gt;After this the main domain can go about it&amp;#39;s business but ONLY if the HTTP_HOST is not &lt;a href="http://worldwidetravel.ro"&gt;worldwidetravel.ro&lt;/a&gt; &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;So basically what I did:&lt;/div&gt; &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;1. buy domain.&lt;/div&gt;&lt;div&gt;2. register it as parked domain.&lt;/div&gt;&lt;div&gt;3. make a folder and put content for the parked domain.&lt;/div&gt;&lt;div&gt;4. add the first 3 lines of code into .htaccess&lt;/div&gt;&lt;div&gt;5. if there&amp;#39;s some rewrite conditions for the main domain add all the lines&lt;/div&gt; &lt;div&gt;6. replace worldwidetravel with your domain and ro with your domain extension (com or net or whatever)&lt;/div&gt;&lt;div&gt;7. send me an email if you found this useful.&lt;/div&gt;&lt;div&gt;8. a big THANKS for nothing to the server admins &amp;lt;- more than 1.&lt;/div&gt; &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks for having me here, I&amp;#39;m going out to celebrate. I wasted my saturday but what the heck the night is still young.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Cheers&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt; &lt;br&gt;&lt;div class="gmail_quote"&gt;On Sat, Mar 19, 2011 at 9:55 PM, Ovidiu Alexa &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:ovidiu.alexa@gmail.com"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"&gt; &lt;div&gt;SOLVED&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;this works&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;RewriteCond %{HTTP_HOST} ^www\.site2\.com$ [NC]&lt;div&gt;RewriteRule ^&lt;span style="font-family:monospace;white-space:pre-wrap;font-size:medium"&gt;([^/]+)&lt;/span&gt;$ site2/$1 [L]&lt;/div&gt;   &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:monospace;white-space:pre-wrap;font-size:medium"&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;font face="monospace" size="3"&gt;&lt;span style="white-space:pre-wrap"&gt;&lt;br&gt;   &lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;so when I try to access &lt;a href="http://site2.com/admin/" target="_blank"&gt;site2.com/admin/&lt;/a&gt; it will look in /public_html/admin not /public_html/site2/admin&lt;/div&gt;&lt;div&gt; &lt;div&gt;&lt;/div&gt;&lt;div class="h5"&gt;&lt;div&gt; &lt;br&gt;&lt;/div&gt;&lt;br&gt; &lt;div class="gmail_quote"&gt;On Sat, Mar 19, 2011 at 5:46 PM, Robert Gonzalez &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:robert.anthony.gonzalez@gmail.com" target="_blank"&gt;robert.anthony.gonzalez@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;  &lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"&gt; I don&amp;#39;t think you&amp;#39;re going to get this to work the way you want it to. Your DNS entries aren&amp;#39;t going to take paths, they will take IPs. You might be able to get away with a subdomain of the one that you set up to push requests off to the other, but that will be more involved.&lt;div&gt;    &lt;br&gt;&lt;/div&gt;&lt;div&gt;Basically what you are looking to do is send all requests for either domain to the same IP and handle the request at that IP. Nothing new here... we servers do this by their very nature. The challenge you have is that you have no access to your web server&amp;#39;s config so you can&amp;#39;t create any virtual hosts. I don&amp;#39;t think a .htaccess file will do this since, by the nature of these files, the request would have already had to have been routed in order for the .htaccess file to be read.&lt;/div&gt;    &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Does that make sense?&lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;On Sat, Mar 19, 2011 at 2:22 AM, Ovidiu Alexa &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:ovidiu.alexa@gmail.com" target="_blank"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;    &lt;/div&gt;&lt;/div&gt;&lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Hi,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;thanks for your suggestion. I&amp;#39;m limited with only the &amp;quot;&lt;span style="font-family:verdana, arial, helvetica, sans-serif;font-size:12px;font-weight:bold"&gt;Simple DNS Zone Editor &amp;quot; &lt;/span&gt;&lt;span style="font-family:verdana, arial, helvetica, sans-serif;font-size:12px"&gt;in Cpanel. This is a public server and I don&amp;#39;t have access to WHM. I&amp;#39;ll put up a screen shot. Are you saying that I should delete the &lt;/span&gt;&lt;font face="verdana, arial, helvetica, sans-serif"&gt;&lt;span style="font-size:12px"&gt;&lt;b&gt;&lt;a href="http://www.worldwidetravel.ro" target="_blank"&gt;www.worldwidetravel.ro&lt;/a&gt;.&lt;span style="white-space:pre-wrap"&gt;	&lt;/span&gt;CNAME&lt;span style="white-space:pre-wrap"&gt;	&lt;/span&gt;&lt;a href="http://worldwidetravel.ro" target="_blank"&gt;worldwidetravel.ro&lt;/a&gt;&lt;/b&gt; record and make a new one like this: &lt;b&gt;&lt;a href="http://www.worldwidetravel.ro" target="_blank"&gt;www.worldwidetravel.ro&lt;/a&gt;.&lt;span style="white-space:pre-wrap"&gt;	&lt;/span&gt;CNAME&lt;span style="white-space:pre-wrap"&gt;	&lt;/span&gt;/worldwidetravel/&lt;/b&gt; ?&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;     &lt;div&gt;&lt;font face="verdana, arial, helvetica, sans-serif"&gt;&lt;span style="font-size:12px"&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face="verdana, arial, helvetica, sans-serif"&gt;&lt;span style="font-size:12px"&gt;&lt;br&gt; &lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face="verdana, arial, helvetica, sans-serif"&gt;&lt;span style="font-size:12px"&gt;Thanks.&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;font face="verdana, arial, helvetica, sans-serif"&gt;&lt;span style="font-size:12px"&gt;&lt;br&gt;     &lt;/span&gt;&lt;/font&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;On Sat, Mar 19, 2011 at 2:13 AM, Cesar Ramos &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:cesarramose@gmail.com" target="_blank"&gt;cesarramose@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"&gt;     you have to manage the dns of the domain so you can point it to the folder&lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;On Fri, Mar 18, 2011 at 7:10 PM, Ovidiu &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:ovidiu.alexa@gmail.com" target="_blank"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;      &lt;/div&gt;&lt;/div&gt;&lt;blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Hello,&lt;br&gt; &lt;br&gt; it seems to me that google has failed me for the first time. I have&lt;br&gt; purchased 2 domains and I would like to have 2 sites for one hosting&lt;br&gt; service :) it&amp;#39;s cheaper:&lt;br&gt; &lt;br&gt; so my target is to have the fisrt domain (lets call it site1) read&lt;br&gt; the /&lt;br&gt; and site2 should read the /site2/ contents. I know that in Cpanel you&lt;br&gt; can include addon domains, but like I said, it&amp;#39;s another hosting&lt;br&gt; service for more bucks.&lt;br&gt; &lt;br&gt; &lt;br&gt; so far not even the server administrator has a good ideea for this&lt;br&gt; problem, even though it&amp;#39;s not a service I should pay for he wanted to&lt;br&gt; help me.&lt;br&gt; &lt;br&gt; before this I used an old trick with php like $_SERVER[&amp;#39;HTTP_HOST&amp;#39;]&lt;br&gt; and if the host is site2 then include site2/index.php&lt;br&gt; &lt;br&gt; well, I found this not to be enough because all the files should be&lt;br&gt; accessed from that particular directory.&lt;br&gt; &lt;br&gt; so why not .htaccess?&lt;br&gt; &lt;br&gt; I have found on the web that you can permanently redirect a non-www&lt;br&gt; domain to the same domain but with the www. added. which goes a little&lt;br&gt; like this:&lt;br&gt; &lt;br&gt; &lt;br&gt; RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC]&lt;br&gt; RewriteRule ^(.*)$ &lt;a href="http://www.mysite.com/$1" target="_blank"&gt;http://www.mysite.com/$1&lt;/a&gt; [R=301,L]&lt;br&gt; &lt;br&gt; &lt;br&gt; I can&amp;#39;t seem to get around this idea that there must be a way to have&lt;br&gt; that parked domain behave like a stand-alone domain but within the&lt;br&gt; same hosting package.&lt;br&gt; &lt;br&gt; I am asking anyone that can help me on this one, if there&amp;#39;s a way.&lt;br&gt; &lt;br&gt; So far, with this kind of rewrite rule I have a redirect loop. I&amp;#39;m&lt;br&gt; stuck.&lt;br&gt; &lt;br&gt; Please help me. I don&amp;#39;t want to pay those bastards for something that&lt;br&gt; should be free because my hosting package is not the cheapest from&lt;br&gt; their list.&lt;br&gt; &lt;br&gt; I mean why do I get 2 extra parked domains, 2 data bases and 1 GB of&lt;br&gt; space but no addon domains?&lt;br&gt; &lt;br&gt; Thanks in advance.&lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;br&gt;&lt;/div&gt;&lt;/div&gt; --&lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt; &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt; &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"&gt;      &lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;  &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;  &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;  &lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;  -- &lt;br&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;  &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;  &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;   &lt;/div&gt;&lt;div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;  &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;  &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt; &lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-6795670979363745368?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/6795670979363745368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/6795670979363745368'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-htaccess_6544.html' title='Re: [Pro. PHP Dev.] .htaccess'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-8667504237576757317</id><published>2011-03-19T12:55:00.001-07:00</published><updated>2011-03-19T12:55:30.885-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] .htaccess</title><content type='html'>&lt;div&gt;SOLVED&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;this works&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;RewriteCond %{HTTP_HOST} ^www\.site2\.com$ [NC]&lt;div&gt;RewriteRule ^&lt;span style="font-family:monospace;white-space:pre-wrap;font-size:medium"&gt;([^/]+)&lt;/span&gt;$ site2/$1 [L]&lt;/div&gt;  &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:monospace;white-space:pre-wrap;font-size:medium"&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;font face="monospace" size="3"&gt;&lt;span style="white-space:pre-wrap"&gt;&lt;br&gt;  &lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;so when I try to access &lt;a href="http://site2.com/admin/" target="_blank"&gt;site2.com/admin/&lt;/a&gt; it will look in /public_html/admin not /public_html/site2/admin&lt;/div&gt;&lt;div&gt; &lt;br&gt;&lt;/div&gt;&lt;br&gt; &lt;div class="gmail_quote"&gt;On Sat, Mar 19, 2011 at 5:46 PM, Robert Gonzalez &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:robert.anthony.gonzalez@gmail.com" target="_blank"&gt;robert.anthony.gonzalez@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt; &lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"&gt; I don&amp;#39;t think you&amp;#39;re going to get this to work the way you want it to. Your DNS entries aren&amp;#39;t going to take paths, they will take IPs. You might be able to get away with a subdomain of the one that you set up to push requests off to the other, but that will be more involved.&lt;div&gt;   &lt;br&gt;&lt;/div&gt;&lt;div&gt;Basically what you are looking to do is send all requests for either domain to the same IP and handle the request at that IP. Nothing new here... we servers do this by their very nature. The challenge you have is that you have no access to your web server&amp;#39;s config so you can&amp;#39;t create any virtual hosts. I don&amp;#39;t think a .htaccess file will do this since, by the nature of these files, the request would have already had to have been routed in order for the .htaccess file to be read.&lt;/div&gt;   &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Does that make sense?&lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;On Sat, Mar 19, 2011 at 2:22 AM, Ovidiu Alexa &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:ovidiu.alexa@gmail.com" target="_blank"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;   &lt;/div&gt;&lt;/div&gt;&lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Hi,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;thanks for your suggestion. I&amp;#39;m limited with only the &amp;quot;&lt;span style="font-family:verdana, arial, helvetica, sans-serif;font-size:12px;font-weight:bold"&gt;Simple DNS Zone Editor &amp;quot; &lt;/span&gt;&lt;span style="font-family:verdana, arial, helvetica, sans-serif;font-size:12px"&gt;in Cpanel. This is a public server and I don&amp;#39;t have access to WHM. I&amp;#39;ll put up a screen shot. Are you saying that I should delete the &lt;/span&gt;&lt;font face="verdana, arial, helvetica, sans-serif"&gt;&lt;span style="font-size:12px"&gt;&lt;b&gt;&lt;a href="http://www.worldwidetravel.ro" target="_blank"&gt;www.worldwidetravel.ro&lt;/a&gt;.&lt;span style="white-space:pre-wrap"&gt;	&lt;/span&gt;CNAME&lt;span style="white-space:pre-wrap"&gt;	&lt;/span&gt;&lt;a href="http://worldwidetravel.ro" target="_blank"&gt;worldwidetravel.ro&lt;/a&gt;&lt;/b&gt; record and make a new one like this: &lt;b&gt;&lt;a href="http://www.worldwidetravel.ro" target="_blank"&gt;www.worldwidetravel.ro&lt;/a&gt;.&lt;span style="white-space:pre-wrap"&gt;	&lt;/span&gt;CNAME&lt;span style="white-space:pre-wrap"&gt;	&lt;/span&gt;/worldwidetravel/&lt;/b&gt; ?&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;    &lt;div&gt;&lt;font face="verdana, arial, helvetica, sans-serif"&gt;&lt;span style="font-size:12px"&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face="verdana, arial, helvetica, sans-serif"&gt;&lt;span style="font-size:12px"&gt;&lt;br&gt; &lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face="verdana, arial, helvetica, sans-serif"&gt;&lt;span style="font-size:12px"&gt;Thanks.&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;font face="verdana, arial, helvetica, sans-serif"&gt;&lt;span style="font-size:12px"&gt;&lt;br&gt;    &lt;/span&gt;&lt;/font&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;On Sat, Mar 19, 2011 at 2:13 AM, Cesar Ramos &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:cesarramose@gmail.com" target="_blank"&gt;cesarramose@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"&gt;    you have to manage the dns of the domain so you can point it to the folder&lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;On Fri, Mar 18, 2011 at 7:10 PM, Ovidiu &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:ovidiu.alexa@gmail.com" target="_blank"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;     &lt;/div&gt;&lt;/div&gt;&lt;blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Hello,&lt;br&gt; &lt;br&gt; it seems to me that google has failed me for the first time. I have&lt;br&gt; purchased 2 domains and I would like to have 2 sites for one hosting&lt;br&gt; service :) it&amp;#39;s cheaper:&lt;br&gt; &lt;br&gt; so my target is to have the fisrt domain (lets call it site1) read&lt;br&gt; the /&lt;br&gt; and site2 should read the /site2/ contents. I know that in Cpanel you&lt;br&gt; can include addon domains, but like I said, it&amp;#39;s another hosting&lt;br&gt; service for more bucks.&lt;br&gt; &lt;br&gt; &lt;br&gt; so far not even the server administrator has a good ideea for this&lt;br&gt; problem, even though it&amp;#39;s not a service I should pay for he wanted to&lt;br&gt; help me.&lt;br&gt; &lt;br&gt; before this I used an old trick with php like $_SERVER[&amp;#39;HTTP_HOST&amp;#39;]&lt;br&gt; and if the host is site2 then include site2/index.php&lt;br&gt; &lt;br&gt; well, I found this not to be enough because all the files should be&lt;br&gt; accessed from that particular directory.&lt;br&gt; &lt;br&gt; so why not .htaccess?&lt;br&gt; &lt;br&gt; I have found on the web that you can permanently redirect a non-www&lt;br&gt; domain to the same domain but with the www. added. which goes a little&lt;br&gt; like this:&lt;br&gt; &lt;br&gt; &lt;br&gt; RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC]&lt;br&gt; RewriteRule ^(.*)$ &lt;a href="http://www.mysite.com/$1" target="_blank"&gt;http://www.mysite.com/$1&lt;/a&gt; [R=301,L]&lt;br&gt; &lt;br&gt; &lt;br&gt; I can&amp;#39;t seem to get around this idea that there must be a way to have&lt;br&gt; that parked domain behave like a stand-alone domain but within the&lt;br&gt; same hosting package.&lt;br&gt; &lt;br&gt; I am asking anyone that can help me on this one, if there&amp;#39;s a way.&lt;br&gt; &lt;br&gt; So far, with this kind of rewrite rule I have a redirect loop. I&amp;#39;m&lt;br&gt; stuck.&lt;br&gt; &lt;br&gt; Please help me. I don&amp;#39;t want to pay those bastards for something that&lt;br&gt; should be free because my hosting package is not the cheapest from&lt;br&gt; their list.&lt;br&gt; &lt;br&gt; I mean why do I get 2 extra parked domains, 2 data bases and 1 GB of&lt;br&gt; space but no addon domains?&lt;br&gt; &lt;br&gt; Thanks in advance.&lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;br&gt;&lt;/div&gt;&lt;/div&gt; --&lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt; &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt; &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"&gt;     &lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;  &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;  &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;  &lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;  -- &lt;br&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;  &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;  &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;  &lt;/div&gt;&lt;div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;  &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;  &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-8667504237576757317?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/8667504237576757317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/8667504237576757317'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-htaccess_1620.html' title='Re: [Pro. PHP Dev.] .htaccess'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-5186498440877218994</id><published>2011-03-19T11:29:00.000-07:00</published><updated>2011-03-19T11:31:38.372-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] how to add php code to cms</title><content type='html'>Consult the oreo foundation Club&lt;p&gt;______________&lt;br&gt;Sam Doyle&lt;br&gt;@sam_doyle&lt;p&gt;On 17 Mar 2011, at 16:53, harish moghe &amp;lt;&lt;a href="mailto:harishmoghe@gmail.com"&gt;harishmoghe@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;p&gt;&amp;gt; How to ADD functionality to joomla or drupal using custom&lt;br&gt;&amp;gt; php/ajax/Javascript code.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; -- &lt;br&gt;&amp;gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; For information or project assistance please visit :&lt;br&gt;&amp;gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;&amp;gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-5186498440877218994?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/5186498440877218994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/5186498440877218994'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-how-to-add-php-code-to.html' title='Re: [Pro. PHP Dev.] how to add php code to cms'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-5180256895860296234</id><published>2011-03-19T08:46:00.001-07:00</published><updated>2011-03-19T08:46:24.023-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] .htaccess</title><content type='html'>I don&amp;#39;t think you&amp;#39;re going to get this to work the way you want it to. Your DNS entries aren&amp;#39;t going to take paths, they will take IPs. You might be able to get away with a subdomain of the one that you set up to push requests off to the other, but that will be more involved.&lt;div&gt; &lt;br&gt;&lt;/div&gt;&lt;div&gt;Basically what you are looking to do is send all requests for either domain to the same IP and handle the request at that IP. Nothing new here... we servers do this by their very nature. The challenge you have is that you have no access to your web server&amp;#39;s config so you can&amp;#39;t create any virtual hosts. I don&amp;#39;t think a .htaccess file will do this since, by the nature of these files, the request would have already had to have been routed in order for the .htaccess file to be read.&lt;/div&gt; &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Does that make sense?&lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;On Sat, Mar 19, 2011 at 2:22 AM, Ovidiu Alexa &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:ovidiu.alexa@gmail.com"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt; &lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"&gt;Hi,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;thanks for your suggestion. I&amp;#39;m limited with only the &amp;quot;&lt;span style="font-family:verdana, arial, helvetica, sans-serif;font-size:12px;font-weight:bold"&gt;Simple DNS Zone Editor &amp;quot; &lt;/span&gt;&lt;span style="font-family:verdana, arial, helvetica, sans-serif;font-size:12px"&gt;in Cpanel. This is a public server and I don&amp;#39;t have access to WHM. I&amp;#39;ll put up a screen shot. Are you saying that I should delete the &lt;/span&gt;&lt;font face="verdana, arial, helvetica, sans-serif"&gt;&lt;span style="font-size:12px"&gt;&lt;b&gt;&lt;a href="http://www.worldwidetravel.ro" target="_blank"&gt;www.worldwidetravel.ro&lt;/a&gt;.&lt;span style="white-space:pre-wrap"&gt;	&lt;/span&gt;CNAME&lt;span style="white-space:pre-wrap"&gt;	&lt;/span&gt;&lt;a href="http://worldwidetravel.ro" target="_blank"&gt;worldwidetravel.ro&lt;/a&gt;&lt;/b&gt; record and make a new one like this: &lt;b&gt;&lt;a href="http://www.worldwidetravel.ro" target="_blank"&gt;www.worldwidetravel.ro&lt;/a&gt;.&lt;span style="white-space:pre-wrap"&gt;	&lt;/span&gt;CNAME&lt;span style="white-space:pre-wrap"&gt;	&lt;/span&gt;/worldwidetravel/&lt;/b&gt; ?&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;  &lt;div&gt;&lt;font face="verdana, arial, helvetica, sans-serif"&gt;&lt;span style="font-size:12px"&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face="verdana, arial, helvetica, sans-serif"&gt;&lt;span style="font-size:12px"&gt;&lt;br&gt; &lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face="verdana, arial, helvetica, sans-serif"&gt;&lt;span style="font-size:12px"&gt;Thanks.&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="h5"&gt;&lt;div&gt;&lt;font face="verdana, arial, helvetica, sans-serif"&gt;&lt;span style="font-size:12px"&gt;&lt;br&gt;  &lt;/span&gt;&lt;/font&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;On Sat, Mar 19, 2011 at 2:13 AM, Cesar Ramos &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:cesarramose@gmail.com" target="_blank"&gt;cesarramose@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"&gt;  you have to manage the dns of the domain so you can point it to the folder&lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;On Fri, Mar 18, 2011 at 7:10 PM, Ovidiu &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:ovidiu.alexa@gmail.com" target="_blank"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;   &lt;/div&gt;&lt;/div&gt;&lt;blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Hello,&lt;br&gt; &lt;br&gt; it seems to me that google has failed me for the first time. I have&lt;br&gt; purchased 2 domains and I would like to have 2 sites for one hosting&lt;br&gt; service :) it&amp;#39;s cheaper:&lt;br&gt; &lt;br&gt; so my target is to have the fisrt domain (lets call it site1) read&lt;br&gt; the /&lt;br&gt; and site2 should read the /site2/ contents. I know that in Cpanel you&lt;br&gt; can include addon domains, but like I said, it&amp;#39;s another hosting&lt;br&gt; service for more bucks.&lt;br&gt; &lt;br&gt; &lt;br&gt; so far not even the server administrator has a good ideea for this&lt;br&gt; problem, even though it&amp;#39;s not a service I should pay for he wanted to&lt;br&gt; help me.&lt;br&gt; &lt;br&gt; before this I used an old trick with php like $_SERVER[&amp;#39;HTTP_HOST&amp;#39;]&lt;br&gt; and if the host is site2 then include site2/index.php&lt;br&gt; &lt;br&gt; well, I found this not to be enough because all the files should be&lt;br&gt; accessed from that particular directory.&lt;br&gt; &lt;br&gt; so why not .htaccess?&lt;br&gt; &lt;br&gt; I have found on the web that you can permanently redirect a non-www&lt;br&gt; domain to the same domain but with the www. added. which goes a little&lt;br&gt; like this:&lt;br&gt; &lt;br&gt; &lt;br&gt; RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC]&lt;br&gt; RewriteRule ^(.*)$ &lt;a href="http://www.mysite.com/$1" target="_blank"&gt;http://www.mysite.com/$1&lt;/a&gt; [R=301,L]&lt;br&gt; &lt;br&gt; &lt;br&gt; I can&amp;#39;t seem to get around this idea that there must be a way to have&lt;br&gt; that parked domain behave like a stand-alone domain but within the&lt;br&gt; same hosting package.&lt;br&gt; &lt;br&gt; I am asking anyone that can help me on this one, if there&amp;#39;s a way.&lt;br&gt; &lt;br&gt; So far, with this kind of rewrite rule I have a redirect loop. I&amp;#39;m&lt;br&gt; stuck.&lt;br&gt; &lt;br&gt; Please help me. I don&amp;#39;t want to pay those bastards for something that&lt;br&gt; should be free because my hosting package is not the cheapest from&lt;br&gt; their list.&lt;br&gt; &lt;br&gt; I mean why do I get 2 extra parked domains, 2 data bases and 1 GB of&lt;br&gt; space but no addon domains?&lt;br&gt; &lt;br&gt; Thanks in advance.&lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;br&gt;&lt;/div&gt;&lt;/div&gt; --&lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt; &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt; &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"&gt;   &lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;  &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;  &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;  &lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;  -- &lt;br&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="h5"&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;  &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;  &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-5180256895860296234?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/5180256895860296234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/5180256895860296234'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-htaccess_6501.html' title='Re: [Pro. PHP Dev.] .htaccess'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-1974880025018472377</id><published>2011-03-19T02:22:00.000-07:00</published><updated>2011-03-19T02:23:01.434-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] .htaccess</title><content type='html'>Hi,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;thanks for your suggestion. I&amp;#39;m limited with only the &amp;quot;&lt;span class="Apple-style-span" style="font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; font-weight: bold; "&gt;Simple DNS Zone Editor &amp;quot; &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; "&gt;in Cpanel. This is a public server and I don&amp;#39;t have access to WHM. I&amp;#39;ll put up a screen shot. Are you saying that I should delete the &lt;/span&gt;&lt;font class="Apple-style-span" face="verdana, arial, helvetica, sans-serif"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;b&gt;&lt;a href="http://www.worldwidetravel.ro"&gt;www.worldwidetravel.ro&lt;/a&gt;.&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;CNAME&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;&lt;a href="http://worldwidetravel.ro"&gt;worldwidetravel.ro&lt;/a&gt;&lt;/b&gt; record and make a new one like this: &lt;b&gt;&lt;a href="http://www.worldwidetravel.ro"&gt;www.worldwidetravel.ro&lt;/a&gt;.&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;CNAME&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;/worldwidetravel/&lt;/b&gt; ?&lt;/span&gt;&lt;/font&gt;&lt;/div&gt; &lt;div&gt;&lt;font class="Apple-style-span" face="verdana, arial, helvetica, sans-serif"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" face="verdana, arial, helvetica, sans-serif"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;br&gt; &lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" face="verdana, arial, helvetica, sans-serif"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;Thanks.&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" face="verdana, arial, helvetica, sans-serif"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;br&gt; &lt;/span&gt;&lt;/font&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;On Sat, Mar 19, 2011 at 2:13 AM, Cesar Ramos &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:cesarramose@gmail.com"&gt;cesarramose@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"&gt; you have to manage the dns of the domain so you can point it to the folder&lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="h5"&gt;On Fri, Mar 18, 2011 at 7:10 PM, Ovidiu &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:ovidiu.alexa@gmail.com" target="_blank"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;  &lt;/div&gt;&lt;/div&gt;&lt;blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="h5"&gt;Hello,&lt;br&gt; &lt;br&gt; it seems to me that google has failed me for the first time. I have&lt;br&gt; purchased 2 domains and I would like to have 2 sites for one hosting&lt;br&gt; service :) it&amp;#39;s cheaper:&lt;br&gt; &lt;br&gt; so my target is to have the fisrt domain (lets call it site1) read&lt;br&gt; the /&lt;br&gt; and site2 should read the /site2/ contents. I know that in Cpanel you&lt;br&gt; can include addon domains, but like I said, it&amp;#39;s another hosting&lt;br&gt; service for more bucks.&lt;br&gt; &lt;br&gt; &lt;br&gt; so far not even the server administrator has a good ideea for this&lt;br&gt; problem, even though it&amp;#39;s not a service I should pay for he wanted to&lt;br&gt; help me.&lt;br&gt; &lt;br&gt; before this I used an old trick with php like $_SERVER[&amp;#39;HTTP_HOST&amp;#39;]&lt;br&gt; and if the host is site2 then include site2/index.php&lt;br&gt; &lt;br&gt; well, I found this not to be enough because all the files should be&lt;br&gt; accessed from that particular directory.&lt;br&gt; &lt;br&gt; so why not .htaccess?&lt;br&gt; &lt;br&gt; I have found on the web that you can permanently redirect a non-www&lt;br&gt; domain to the same domain but with the www. added. which goes a little&lt;br&gt; like this:&lt;br&gt; &lt;br&gt; &lt;br&gt; RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC]&lt;br&gt; RewriteRule ^(.*)$ &lt;a href="http://www.mysite.com/$1" target="_blank"&gt;http://www.mysite.com/$1&lt;/a&gt; [R=301,L]&lt;br&gt; &lt;br&gt; &lt;br&gt; I can&amp;#39;t seem to get around this idea that there must be a way to have&lt;br&gt; that parked domain behave like a stand-alone domain but within the&lt;br&gt; same hosting package.&lt;br&gt; &lt;br&gt; I am asking anyone that can help me on this one, if there&amp;#39;s a way.&lt;br&gt; &lt;br&gt; So far, with this kind of rewrite rule I have a redirect loop. I&amp;#39;m&lt;br&gt; stuck.&lt;br&gt; &lt;br&gt; Please help me. I don&amp;#39;t want to pay those bastards for something that&lt;br&gt; should be free because my hosting package is not the cheapest from&lt;br&gt; their list.&lt;br&gt; &lt;br&gt; I mean why do I get 2 extra parked domains, 2 data bases and 1 GB of&lt;br&gt; space but no addon domains?&lt;br&gt; &lt;br&gt; Thanks in advance.&lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;br&gt;&lt;/div&gt;&lt;/div&gt; --&lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt; &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt; &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"&gt;  &lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;  &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;  &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-1974880025018472377?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/1974880025018472377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/1974880025018472377'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-htaccess_19.html' title='Re: [Pro. PHP Dev.] .htaccess'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-248450391992513970</id><published>2011-03-18T17:13:00.001-07:00</published><updated>2011-03-18T17:13:37.394-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] .htaccess</title><content type='html'>you have to manage the dns of the domain so you can point it to the folder&lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;On Fri, Mar 18, 2011 at 7:10 PM, Ovidiu &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:ovidiu.alexa@gmail.com"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt; &lt;blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"&gt;Hello,&lt;br&gt; &lt;br&gt; it seems to me that google has failed me for the first time. I have&lt;br&gt; purchased 2 domains and I would like to have 2 sites for one hosting&lt;br&gt; service :) it&amp;#39;s cheaper:&lt;br&gt; &lt;br&gt; so my target is to have the fisrt domain (lets call it site1) read&lt;br&gt; the /&lt;br&gt; and site2 should read the /site2/ contents. I know that in Cpanel you&lt;br&gt; can include addon domains, but like I said, it&amp;#39;s another hosting&lt;br&gt; service for more bucks.&lt;br&gt; &lt;br&gt; &lt;br&gt; so far not even the server administrator has a good ideea for this&lt;br&gt; problem, even though it&amp;#39;s not a service I should pay for he wanted to&lt;br&gt; help me.&lt;br&gt; &lt;br&gt; before this I used an old trick with php like $_SERVER[&amp;#39;HTTP_HOST&amp;#39;]&lt;br&gt; and if the host is site2 then include site2/index.php&lt;br&gt; &lt;br&gt; well, I found this not to be enough because all the files should be&lt;br&gt; accessed from that particular directory.&lt;br&gt; &lt;br&gt; so why not .htaccess?&lt;br&gt; &lt;br&gt; I have found on the web that you can permanently redirect a non-www&lt;br&gt; domain to the same domain but with the www. added. which goes a little&lt;br&gt; like this:&lt;br&gt; &lt;br&gt; &lt;br&gt; RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC]&lt;br&gt; RewriteRule ^(.*)$ &lt;a href="http://www.mysite.com/$1" target="_blank"&gt;http://www.mysite.com/$1&lt;/a&gt; [R=301,L]&lt;br&gt; &lt;br&gt; &lt;br&gt; I can&amp;#39;t seem to get around this idea that there must be a way to have&lt;br&gt; that parked domain behave like a stand-alone domain but within the&lt;br&gt; same hosting package.&lt;br&gt; &lt;br&gt; I am asking anyone that can help me on this one, if there&amp;#39;s a way.&lt;br&gt; &lt;br&gt; So far, with this kind of rewrite rule I have a redirect loop. I&amp;#39;m&lt;br&gt; stuck.&lt;br&gt; &lt;br&gt; Please help me. I don&amp;#39;t want to pay those bastards for something that&lt;br&gt; should be free because my hosting package is not the cheapest from&lt;br&gt; their list.&lt;br&gt; &lt;br&gt; I mean why do I get 2 extra parked domains, 2 data bases and 1 GB of&lt;br&gt; space but no addon domains?&lt;br&gt; &lt;br&gt; Thanks in advance.&lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;br&gt; --&lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt; &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt; &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup"&gt; &lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-248450391992513970?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/248450391992513970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/248450391992513970'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-htaccess.html' title='Re: [Pro. PHP Dev.] .htaccess'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-7011222030630867133</id><published>2011-03-18T17:10:00.001-07:00</published><updated>2011-03-18T17:10:28.586-07:00</updated><title type='text'>[Pro. PHP Dev.] .htaccess</title><content type='html'>Hello,&lt;p&gt;it seems to me that google has failed me for the first time. I have&lt;br&gt;purchased 2 domains and I would like to have 2 sites for one hosting&lt;br&gt;service :) it&amp;#39;s cheaper:&lt;p&gt;so my target is to have the fisrt domain (lets call it site1) read&lt;br&gt;the /&lt;br&gt;and site2 should read the /site2/ contents. I know that in Cpanel you&lt;br&gt;can include addon domains, but like I said, it&amp;#39;s another hosting&lt;br&gt;service for more bucks.&lt;p&gt;&lt;br&gt;so far not even the server administrator has a good ideea for this&lt;br&gt;problem, even though it&amp;#39;s not a service I should pay for he wanted to&lt;br&gt;help me.&lt;p&gt;before this I used an old trick with php like $_SERVER[&amp;#39;HTTP_HOST&amp;#39;]&lt;br&gt;and if the host is site2 then include site2/index.php&lt;p&gt;well, I found this not to be enough because all the files should be&lt;br&gt;accessed from that particular directory.&lt;p&gt;so why not .htaccess?&lt;p&gt;I have found on the web that you can permanently redirect a non-www&lt;br&gt;domain to the same domain but with the www. added. which goes a little&lt;br&gt;like this:&lt;p&gt;&lt;br&gt;RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC]&lt;br&gt;RewriteRule ^(.*)$ &lt;a href="http://www.mysite.com/$1"&gt;http://www.mysite.com/$1&lt;/a&gt; [R=301,L]&lt;p&gt;&lt;br&gt;I can&amp;#39;t seem to get around this idea that there must be a way to have&lt;br&gt;that parked domain behave like a stand-alone domain but within the&lt;br&gt;same hosting package.&lt;p&gt;I am asking anyone that can help me on this one, if there&amp;#39;s a way.&lt;p&gt;So far, with this kind of rewrite rule I have a redirect loop. I&amp;#39;m&lt;br&gt;stuck.&lt;p&gt;Please help me. I don&amp;#39;t want to pay those bastards for something that&lt;br&gt;should be free because my hosting package is not the cheapest from&lt;br&gt;their list.&lt;p&gt;I mean why do I get 2 extra parked domains, 2 data bases and 1 GB of&lt;br&gt;space but no addon domains?&lt;p&gt;Thanks in advance.&lt;p&gt;&lt;p&gt;&lt;br&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-7011222030630867133?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/7011222030630867133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/7011222030630867133'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-htaccess.html' title='[Pro. PHP Dev.] .htaccess'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-3265563157970445471</id><published>2011-03-17T09:53:00.000-07:00</published><updated>2011-03-19T11:29:51.504-07:00</updated><title type='text'>[Pro. PHP Dev.] how to add php code to cms</title><content type='html'>How to ADD functionality to joomla or drupal using custom&lt;br&gt;php/ajax/Javascript code.&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-3265563157970445471?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3265563157970445471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3265563157970445471'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-how-to-add-php-code-to-cms.html' title='[Pro. PHP Dev.] how to add php code to cms'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-7316001904124836248</id><published>2011-03-17T07:29:00.001-07:00</published><updated>2011-03-17T07:29:27.105-07:00</updated><title type='text'>[Pro. PHP Dev.] Re: FILE_GET_CONTENTS with SSL on XAMPP</title><content type='html'>&amp;gt; &amp;gt; Well, if I didn&amp;#39;t know so much about SSL I&amp;#39;d think that was all&lt;br&gt;&amp;gt; &amp;gt; hieroglyphics!&lt;p&gt;On Mar 16, 5:04&amp;#160;pm, N&amp;#233;stor &amp;lt;&lt;a href="mailto:rot...@gmail.com"&gt;rot...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; Sorry Charlie,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Did not mean to make it harder on you.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; :-)&lt;p&gt;Now who says the antecedent is true?  Or that hieroglyphics are&lt;br&gt;undesirable?  Why, many people take powerful hallucinogens just to see&lt;br&gt;hieroglyphics.  (Maybe even you?)&lt;p&gt;Charlie&lt;p&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; On Wed, Mar 16, 2011 at 1:59 PM, Charlie &amp;lt;&lt;a href="mailto:shymath...@gmail.com"&gt;shymath...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; &amp;gt; Well, if I didn&amp;#39;t know so much about SSL I&amp;#39;d think that was all&lt;br&gt;&amp;gt; &amp;gt; hieroglyphics!&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; Charlie&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; On Mar 16, 4:52 pm, N&amp;#233;stor &amp;lt;&lt;a href="mailto:rot...@gmail.com"&gt;rot...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Here is an example httpd.conf file running both port 80 and port 443&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; after google search &amp;quot;apache httpd.conf port 443 80&amp;quot;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;#160;&lt;a href="http://www.apache-ssl.org/httpd.conf.example"&gt;http://www.apache-ssl.org/httpd.conf.example&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; You might want to read this also:&lt;br&gt;&amp;gt; &amp;gt;&lt;a href="http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html"&gt;http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; On Wed, Mar 16, 2011 at 12:56 PM, Charlie &amp;lt;&lt;a href="mailto:shymath...@gmail.com"&gt;shymath...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Ok, what do I do? &amp;#160;Remember, I don&amp;#39;t know anything about SSL.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; On Mar 16, 3:41 pm, Joseph Williams &amp;lt;&lt;a href="mailto:joseph.s.willi...@gmail.com"&gt;joseph.s.willi...@gmail.com&lt;/a&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; wrote:&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Might have to do with http defaults to port 80 and https defaults to&lt;br&gt;&amp;gt; &amp;gt; 443&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; On Mar 16, 2011 2:32 PM, &amp;quot;Charlie&amp;quot; &amp;lt;&lt;a href="mailto:shymath...@gmail.com"&gt;shymath...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Hello All,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I am trying to use file_get_contents($url) under XAMPP to get the&lt;br&gt;&amp;gt; &amp;gt; HTML&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; where $url starts with &amp;quot;&lt;a href="https://ssl.companyname"&gt;https://ssl.companyname&lt;/a&gt;&amp;quot;and it says &amp;quot;failed&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; to open stream&amp;quot;. &amp;#160;It works when $url starts with &amp;quot;&lt;br&gt;&amp;gt; &amp;gt;&lt;a href="http://www.domain.com"&gt;http://www.domain.com&lt;/a&gt;&amp;quot;.&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;#160;I read to remove the # in line &amp;quot;#LoadModule&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; ssl_module modules/mod_ssl.so&amp;quot; in file httpd.conf but it is already&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; removed. &amp;#160;Here are all references to &amp;quot;ssl&amp;quot; in this file:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; LoadModule ssl_module modules/mod_ssl.so&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; . . .&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; #&amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; # &amp;#160; &amp;#160;LoadModule log_sql_ssl_module modules/mod_log_sql_ssl.so&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; . . .&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; # Secure (SSL/TLS) connections&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Include conf/extra/httpd-ssl.conf&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; #&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; # Note: The following must must be present to support&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; # &amp;#160; &amp;#160; &amp;#160; starting without SSL on platforms with no /dev/random&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; equivalent&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; # &amp;#160; &amp;#160; &amp;#160; but a statically compiled-in mod_ssl.&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; #&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; SSLRandomSeed startup builtin&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; SSLRandomSeed connect builtin&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;lt;/IfModule&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I know PHP programming but I don&amp;#39;t know anything about SSL.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Thanks,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Charlie&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; --&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; This group is managed and maintained by the development staff at 360&lt;br&gt;&amp;gt; &amp;gt; PSG.&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; An&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; enterprise application development company utilizing open-source&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; technologies for todays small-to-medium size businesses.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; For information or project assistance please visit :&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; You received this message because you are subscribed to the Google&lt;br&gt;&amp;gt; &amp;gt; Groups&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; To post to this group, send email to&lt;br&gt;&amp;gt; &amp;gt; &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; To unsubscribe from this group, send email to&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; For more options, visit this group athttp://&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; --&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; This group is managed and maintained by the development staff at 360&lt;br&gt;&amp;gt; &amp;gt; PSG.&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; An enterprise application development company utilizing open-source&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; technologies for todays small-to-medium size businesses.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; For information or project assistance please visit :&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; You received this message because you are subscribed to the Google&lt;br&gt;&amp;gt; &amp;gt; Groups&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; To unsubscribe from this group, send email to&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; For more options, visit this group at&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;a href="http://groups.google.com/group/Professional-PHP-Hide"&gt;http://groups.google.com/group/Professional-PHP-Hide&lt;/a&gt; quoted text -&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; - Show quoted text -&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; --&lt;br&gt;&amp;gt; &amp;gt; This group is managed and maintained by the development staff at 360 PSG.&lt;br&gt;&amp;gt; &amp;gt; An enterprise application development company utilizing open-source&lt;br&gt;&amp;gt; &amp;gt; technologies for todays small-to-medium size businesses.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; For information or project assistance please visit :&lt;br&gt;&amp;gt; &amp;gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; You received this message because you are subscribed to the Google Groups&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;&amp;gt; &amp;gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; To unsubscribe from this group, send email to&lt;br&gt;&amp;gt; &amp;gt; &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; For more options, visit this group at&lt;br&gt;&amp;gt; &amp;gt;&lt;a href="http://groups.google.com/group/Professional-PHP-"&gt;http://groups.google.com/group/Professional-PHP-&lt;/a&gt; Hide quoted text -&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; - Show quoted text -&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-7316001904124836248?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/7316001904124836248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/7316001904124836248'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-re-filegetcontents-with-ssl_9613.html' title='[Pro. PHP Dev.] Re: FILE_GET_CONTENTS with SSL on XAMPP'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-3956632586308809409</id><published>2011-03-17T07:22:00.000-07:00</published><updated>2011-03-17T07:24:28.471-07:00</updated><title type='text'>[Pro. PHP Dev.] Re: FILE_GET_CONTENTS with SSL on XAMPP</title><content type='html'>On Mar 17, 5:11&amp;#160;am, Ovidiu Alexa &amp;lt;&lt;a href="mailto:ovidiu.al...@gmail.com"&gt;ovidiu.al...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; oh, have you not heard?&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; The BIRD is the WORD&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &lt;a href="http://www.youtube.com/watch?v=2WNrx2jq184"&gt;http://www.youtube.com/watch?v=2WNrx2jq184&lt;/a&gt;&lt;p&gt;Bird is a word?  No, &amp;quot;bird&amp;quot; is a word.  You see, that&amp;#39;s the difference&lt;br&gt;between knowing a concept and knowing about precision.  Because, with&lt;br&gt;computers (and documentation) precision is crucial.  Why?  Because,&lt;br&gt;unfortunately, computers (as currently formulated) have the inherent&lt;br&gt;flaw that if just ONE thing goes wrong in a computer program, then it&lt;br&gt;refuses to run it at all. :(&lt;p&gt;&amp;gt; Cheers!&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; I&amp;#39;m not always right,&lt;br&gt;&amp;gt; but I&amp;#39;m never wrong.&lt;p&gt;But are you always wrong?&lt;p&gt;&amp;gt; Please visit my site &amp;lt;&lt;a href="http://bit.ly/fT24vu"&gt;http://bit.ly/fT24vu&lt;/a&gt;&amp;gt;&lt;p&gt;Flashy site - hieroglyphics and all!&lt;p&gt;&amp;gt; On 3/16/2011 23:13, Charlie wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; The road to hell is littered with bodies of people with good&lt;br&gt;&amp;gt; &amp;gt; intentions.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; But where there is sin there is redemption.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; You need only hear The Word and to speak The Word.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; And The Word . . . is English.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; On Mar 16, 5:04 pm, Nďż˝stor&amp;lt;&lt;a href="mailto:rot...@gmail.com"&gt;rot...@gmail.com&lt;/a&gt;&amp;gt; &amp;#160;wrote:&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Sorry Charlie,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Did not mean to make it harder on you.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; :-)&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; On Wed, Mar 16, 2011 at 1:59 PM, Charlie&amp;lt;&lt;a href="mailto:shymath...@gmail.com"&gt;shymath...@gmail.com&lt;/a&gt;&amp;gt; &amp;#160;wrote:&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Well, if I didn&amp;#39;t know so much about SSL I&amp;#39;d think that was all&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; hieroglyphics!&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Charlie&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; On Mar 16, 4:52 pm, Nďż˝stor&amp;lt;&lt;a href="mailto:rot...@gmail.com"&gt;rot...@gmail.com&lt;/a&gt;&amp;gt; &amp;#160;wrote:&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Here is an example httpd.conf file running both port 80 and port 443&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; after google search &amp;quot;apache httpd.conf port 443 80&amp;quot;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;#160;&lt;a href="http://www.apache-ssl.org/httpd.conf.example"&gt;http://www.apache-ssl.org/httpd.conf.example&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; You might want to read this also:&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&lt;a href="http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html"&gt;http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; On Wed, Mar 16, 2011 at 12:56 PM, Charlie&amp;lt;&lt;a href="mailto:shymath...@gmail.com"&gt;shymath...@gmail.com&lt;/a&gt;&amp;gt; &amp;#160;wrote:&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Ok, what do I do? &amp;#160;Remember, I don&amp;#39;t know anything about SSL.&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Mar 16, 3:41 pm, Joseph Williams&amp;lt;&lt;a href="mailto:joseph.s.willi...@gmail.com"&gt;joseph.s.willi...@gmail.com&lt;/a&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Might have to do with http defaults to port 80 and https defaults to&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; 443&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Mar 16, 2011 2:32 PM, &amp;quot;Charlie&amp;quot;&amp;lt;&lt;a href="mailto:shymath...@gmail.com"&gt;shymath...@gmail.com&lt;/a&gt;&amp;gt; &amp;#160;wrote:&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hello All,&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I am trying to use file_get_contents($url) under XAMPP to get the&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; HTML&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; where $url starts with &amp;quot;&lt;a href="https://ssl.companyname"&gt;https://ssl.companyname&lt;/a&gt;&amp;quot;and it says &amp;quot;failed&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; to open stream&amp;quot;. &amp;#160;It works when $url starts with &amp;quot;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&lt;a href="http://www.domain.com"&gt;http://www.domain.com&lt;/a&gt;&amp;quot;.&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;#160; I read to remove the # in line &amp;quot;#LoadModule&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ssl_module modules/mod_ssl.so&amp;quot; in file httpd.conf but it is already&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; removed. &amp;#160;Here are all references to &amp;quot;ssl&amp;quot; in this file:&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; LoadModule ssl_module modules/mod_ssl.so&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; . . .&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #&amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; # &amp;#160; &amp;#160;LoadModule log_sql_ssl_module modules/mod_log_sql_ssl.so&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; . . .&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; # Secure (SSL/TLS) connections&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Include conf/extra/httpd-ssl.conf&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; # Note: The following must must be present to support&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; # &amp;#160; &amp;#160; &amp;#160; starting without SSL on platforms with no /dev/random&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; equivalent&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; # &amp;#160; &amp;#160; &amp;#160; but a statically compiled-in mod_ssl.&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; SSLRandomSeed startup builtin&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; SSLRandomSeed connect builtin&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;/IfModule&amp;gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I know PHP programming but I don&amp;#39;t know anything about SSL.&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thanks,&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Charlie&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; --&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; This group is managed and maintained by the development staff at 360&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; PSG.&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; An&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; enterprise application development company utilizing open-source&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; technologies for todays small-to-medium size businesses.&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; For information or project assistance please visit :&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; You received this message because you are subscribed to the Google&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Groups&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; To post to this group, send email to&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; To unsubscribe from this group, send email to&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; For more options, visit this group athttp://&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; --&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; This group is managed and maintained by the development staff at 360&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; PSG.&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; An enterprise application development company utilizing open-source&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; technologies for todays small-to-medium size businesses.&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; For information or project assistance please visit :&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; You received this message because you are subscribed to the Google&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Groups&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; To unsubscribe from this group, send email to&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; For more options, visit this group at&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;a href="http://groups.google.com/group/Professional-PHP-Hidequoted"&gt;http://groups.google.com/group/Professional-PHP-Hidequoted&lt;/a&gt; text -&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; - Show quoted text -&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; --&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; This group is managed and maintained by the development staff at 360 PSG.&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; An enterprise application development company utilizing open-source&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; technologies for todays small-to-medium size businesses.&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; For information or project assistance please visit :&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; You received this message because you are subscribed to the Google Groups&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; To unsubscribe from this group, send email to&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; For more options, visit this group at&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&lt;a href="http://groups.google.com/group/Professional-PHP-Hide"&gt;http://groups.google.com/group/Professional-PHP-Hide&lt;/a&gt; quoted text -&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; - Show quoted text -- Hide quoted text -&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; - Show quoted text -&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-3956632586308809409?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3956632586308809409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3956632586308809409'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-re-filegetcontents-with-ssl_3833.html' title='[Pro. PHP Dev.] Re: FILE_GET_CONTENTS with SSL on XAMPP'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-8730483491639731922</id><published>2011-03-17T07:08:00.000-07:00</published><updated>2011-03-17T07:18:23.498-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] Re: FILE_GET_CONTENTS with SSL on XAMPP</title><content type='html'>also &lt;br&gt;     &lt;br&gt;     &lt;span class="Apple-style-span" style="border-collapse: separate;       color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:       normal; font-variant: normal; font-weight: normal; letter-spacing:       normal; line-height: normal; orphans: 2; text-indent: 0px;       text-transform: none; white-space: normal; widows: 2;       word-spacing: 0px; font-size: medium;"&gt;&lt;span         class="Apple-style-span" style="border-collapse: collapse;         color: rgb(102, 0, 0); font-family:         verdana,arial,helvetica,sans-serif; font-size: 14px; text-align:         center;"&gt;&lt;b class="warning"&gt;Warning&lt;/b&gt;         &lt;p class="para" style="text-align: justify;"&gt;When using SSL,           Microsoft IIS will violate the protocol by closing the           connection without sending a&lt;span             class="Apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;close_notify&lt;/i&gt;&lt;span             class="Apple-converted-space"&gt; &lt;/span&gt;indicator. PHP will           report this as "SSL: Fatal Protocol Error" when you reach the           end of the data. To work around this, the value of&lt;span             class="Apple-converted-space"&gt; &lt;/span&gt;&lt;a href="http://www.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting"             class="link" style="color: rgb(0, 0, 153); background-color:             transparent; text-decoration: none; border-bottom: 1px solid             rgb(0, 0, 153);"&gt;error_reporting&lt;/a&gt;&lt;span             class="Apple-converted-space"&gt; &lt;/span&gt;should be lowered to a           level that does not include warnings. PHP 4.3.7 and higher can           detect buggy IIS server software when you open the stream           using the&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;&lt;a class="moz-txt-link-freetext" href="https://"&gt;https://&lt;/a&gt;&lt;/i&gt;&lt;span             class="Apple-converted-space"&gt; &lt;/span&gt;wrapper and will           suppress the warning. When using&lt;span             class="Apple-converted-space"&gt; &lt;/span&gt;&lt;span class="function"&gt;&lt;a               href="http://www.php.net/manual/en/function.fsockopen.php"               class="function" style="color: rgb(0, 0, 153);               background-color: transparent; text-decoration: none;               border-bottom: 1px solid rgb(0, 0, 153);"&gt;fsockopen()&lt;/a&gt;&lt;/span&gt;&lt;span             class="Apple-converted-space"&gt; &lt;/span&gt;to create an&lt;span             class="Apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;ssl://&lt;/i&gt;&lt;span             class="Apple-converted-space"&gt; &lt;/span&gt;socket, the developer           is responsible for detecting and suppressing this warning&lt;br&gt;         &lt;/p&gt;         &lt;p class="para" style="text-align: justify;"&gt;&lt;a             href="http://php.net/manual/en/function.file-get-contents.php"&gt;http://php.net/manual/en/function.file-get-contents.php&lt;/a&gt;&lt;/p&gt;         &lt;p class="para" style="text-align: justify;"&gt;&lt;br&gt;           Cheers!&lt;br&gt;         &lt;/p&gt;       &lt;/span&gt;&lt;/span&gt;&lt;br&gt;     &lt;div class="moz-signature"&gt;       &lt;div style="font-family: Arial,Helvetica,sans-serif; font-size:         14px; color: rgb(51, 51, 51); text-decoration: none;"&gt;         I'm not always right,&lt;br&gt;         but I'm never wrong.&lt;br&gt;         &lt;a href="http://bit.ly/fT24vu" target="_blank" style="cursor:           pointer ! important; text-decoration: none ! important; color:           rgb(0, 153, 204); font-family: Arial,Helvetica,sans-serif;           font-size: 11px;" title="Party Helpers"&gt;Please visit my site&lt;/a&gt;       &lt;/div&gt;     &lt;/div&gt;     &lt;br&gt;     On 3/17/2011 11:11, Ovidiu Alexa wrote:     &lt;blockquote cite="mid:4D81D05D.6040106@gmail.com" type="cite"&gt;       &lt;meta content="text/html; charset=ISO-8859-2"         http-equiv="Content-Type"&gt;       &lt;title&gt;&lt;/title&gt;       oh, have you not heard?&lt;br&gt;       &lt;br&gt;       The BIRD is the WORD&lt;br&gt;       &lt;br&gt;       &lt;br&gt;       &lt;a moz-do-not-send="true"         href="http://www.youtube.com/watch?v=2WNrx2jq184"&gt;http://www.youtube.com/watch?v=2WNrx2jq184&lt;/a&gt;&lt;br&gt;       &lt;br&gt;       Cheers!&lt;br&gt;       &lt;br&gt;       &lt;br&gt;       &lt;br&gt;       &lt;div class="moz-signature"&gt;         &lt;div style="font-family: Arial,Helvetica,sans-serif; font-size:           14px; color: rgb(51, 51, 51); text-decoration: none;"&gt; I'm not           always right,&lt;br&gt;           but I'm never wrong.&lt;br&gt;           &lt;a moz-do-not-send="true" href="http://bit.ly/fT24vu"             target="_blank" style="cursor: pointer ! important;             text-decoration: none ! important; color: rgb(0, 153, 204);             font-family: Arial,Helvetica,sans-serif; font-size: 11px;"             title="Party Helpers"&gt;Please visit my site&lt;/a&gt; &lt;/div&gt;       &lt;/div&gt;       &lt;br&gt;       On 3/16/2011 23:13, Charlie wrote:       &lt;blockquote cite="mid:3005c884-076e-4e60-ae3d-fe370d0a87f7@a11g2000pri.googlegroups.com"         type="cite"&gt;         &lt;pre wrap=""&gt;The road to hell is littered with bodies of people with good intentions.  But where there is sin there is redemption.  You need only hear The Word and to speak The Word.  And The Word . . . is English.  On Mar 16, 5:04 pm, Néstor &lt;a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:rot...@gmail.com"&gt;&amp;lt;rot...@gmail.com&amp;gt;&lt;/a&gt; wrote: &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;pre wrap=""&gt;Sorry Charlie,  Did not mean to make it harder on you.  :-)    On Wed, Mar 16, 2011 at 1:59 PM, Charlie &lt;a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:shymath...@gmail.com"&gt;&amp;lt;shymath...@gmail.com&amp;gt;&lt;/a&gt; wrote: &lt;/pre&gt;           &lt;blockquote type="cite"&gt;             &lt;pre wrap=""&gt;Well, if I didn't know so much about SSL I'd think that was all hieroglyphics! &lt;/pre&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;pre wrap=""&gt;Charlie &lt;/pre&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;pre wrap=""&gt;On Mar 16, 4:52 pm, Néstor &lt;a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:rot...@gmail.com"&gt;&amp;lt;rot...@gmail.com&amp;gt;&lt;/a&gt; wrote: &lt;/pre&gt;             &lt;blockquote type="cite"&gt;               &lt;pre wrap=""&gt;Here is an example httpd.conf file running both port 80 and port 443 after google search "apache httpd.conf port 443 80"  &lt;a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.apache-ssl.org/httpd.conf.example"&gt;http://www.apache-ssl.org/httpd.conf.example&lt;/a&gt; &lt;/pre&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;pre wrap=""&gt;You might want to read this also: &lt;/pre&gt;             &lt;/blockquote&gt;             &lt;pre wrap=""&gt;&lt;a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html"&gt;http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html&lt;/a&gt; &lt;/pre&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;pre wrap=""&gt;On Wed, Mar 16, 2011 at 12:56 PM, Charlie &lt;a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:shymath...@gmail.com"&gt;&amp;lt;shymath...@gmail.com&amp;gt;&lt;/a&gt; wrote: &lt;/pre&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;Ok, what do I do?  Remember, I don't know anything about SSL. &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;On Mar 16, 3:41 pm, Joseph Williams &lt;a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:joseph.s.willi...@gmail.com"&gt;&amp;lt;joseph.s.willi...@gmail.com&amp;gt;&lt;/a&gt; wrote: &lt;/pre&gt;                 &lt;blockquote type="cite"&gt;                   &lt;pre wrap=""&gt;Might have to do with http defaults to port 80 and https defaults to &lt;/pre&gt;                 &lt;/blockquote&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;             &lt;pre wrap=""&gt;443 &lt;/pre&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;blockquote type="cite"&gt;                   &lt;pre wrap=""&gt;On Mar 16, 2011 2:32 PM, "Charlie" &lt;a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:shymath...@gmail.com"&gt;&amp;lt;shymath...@gmail.com&amp;gt;&lt;/a&gt; wrote: &lt;/pre&gt;                 &lt;/blockquote&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;blockquote type="cite"&gt;                   &lt;pre wrap=""&gt;Hello All, &lt;/pre&gt;                 &lt;/blockquote&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;blockquote type="cite"&gt;                   &lt;pre wrap=""&gt;I am trying to use file_get_contents($url) under XAMPP to get the &lt;/pre&gt;                 &lt;/blockquote&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;             &lt;pre wrap=""&gt;HTML &lt;/pre&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;blockquote type="cite"&gt;                   &lt;pre wrap=""&gt;where $url starts with "&lt;a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://ssl.companyname%3Fand"&gt;https://ssl.companyname&amp;#8221;and&lt;/a&gt; it says &amp;#8220;failed to open stream&amp;#8221;.  It works when $url starts with &amp;#8220; &lt;/pre&gt;                 &lt;/blockquote&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;             &lt;pre wrap=""&gt;&lt;a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.domain.com%3F"&gt;http://www.domain.com&amp;#8221;&lt;/a&gt;. &lt;/pre&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt; I read to remove the # in line &amp;#8220;#LoadModule &lt;/pre&gt;                 &lt;blockquote type="cite"&gt;                   &lt;pre wrap=""&gt;ssl_module modules/mod_ssl.so&amp;#8221; in file httpd.conf but it is already removed.  Here are all references to &amp;#8220;ssl&amp;#8221; in this file: &lt;/pre&gt;                 &lt;/blockquote&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;blockquote type="cite"&gt;                   &lt;pre wrap=""&gt;LoadModule ssl_module modules/mod_ssl.so . . . #&amp;lt;IfModule ssl_module&amp;gt; #    LoadModule log_sql_ssl_module modules/mod_log_sql_ssl.so . . . # Secure (SSL/TLS) connections Include conf/extra/httpd-ssl.conf # # Note: The following must must be present to support #       starting without SSL on platforms with no /dev/random equivalent #       but a statically compiled-in mod_ssl. # &amp;lt;IfModule ssl_module&amp;gt; SSLRandomSeed startup builtin SSLRandomSeed connect builtin &amp;lt;/IfModule&amp;gt; &lt;/pre&gt;                 &lt;/blockquote&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;blockquote type="cite"&gt;                   &lt;pre wrap=""&gt;I know PHP programming but I don&amp;#8217;t know anything about SSL. &lt;/pre&gt;                 &lt;/blockquote&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;blockquote type="cite"&gt;                   &lt;pre wrap=""&gt;Thanks, &lt;/pre&gt;                 &lt;/blockquote&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;blockquote type="cite"&gt;                   &lt;pre wrap=""&gt;Charlie &lt;/pre&gt;                 &lt;/blockquote&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;blockquote type="cite"&gt;                   &lt;pre wrap=""&gt;-- This group is managed and maintained by the development staff at 360 &lt;/pre&gt;                 &lt;/blockquote&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;             &lt;pre wrap=""&gt;PSG. &lt;/pre&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;An &lt;/pre&gt;                 &lt;blockquote type="cite"&gt;                   &lt;pre wrap=""&gt;enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses. &lt;/pre&gt;                 &lt;/blockquote&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;blockquote type="cite"&gt;                   &lt;pre wrap=""&gt;For information or project assistance please visit : &lt;/pre&gt;                 &lt;/blockquote&gt;                 &lt;pre wrap=""&gt;&lt;a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt; &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;blockquote type="cite"&gt;                   &lt;pre wrap=""&gt;You received this message because you are subscribed to the Google &lt;/pre&gt;                 &lt;/blockquote&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;             &lt;pre wrap=""&gt;Groups &lt;/pre&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;blockquote type="cite"&gt;                   &lt;pre wrap=""&gt;"Professional PHP Developers" group. To post to this group, send email to &lt;/pre&gt;                 &lt;/blockquote&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;             &lt;pre wrap=""&gt;&lt;a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt; &lt;/pre&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;blockquote type="cite"&gt;                   &lt;pre wrap=""&gt;To unsubscribe from this group, send email to &lt;a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt; For more options, visit this group athttp:// &lt;/pre&gt;                 &lt;/blockquote&gt;                 &lt;pre wrap=""&gt;groups.google.com/group/Professional-PHP &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;-- This group is managed and maintained by the development staff at 360 &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;             &lt;pre wrap=""&gt;PSG. &lt;/pre&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses. &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;For information or project assistance please visit : &lt;a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt; &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;You received this message because you are subscribed to the Google &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;             &lt;pre wrap=""&gt;Groups &lt;/pre&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;"Professional PHP Developers" group. To post to this group, send email to &lt;a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt; To unsubscribe from this group, send email to &lt;a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt; For more options, visit this group at &lt;a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://groups.google.com/group/Professional-PHP-Hide"&gt;http://groups.google.com/group/Professional-PHP-Hide&lt;/a&gt; quoted text - &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;pre wrap=""&gt;- Show quoted text - &lt;/pre&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;pre wrap=""&gt;-- This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses. &lt;/pre&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;pre wrap=""&gt;For information or project assistance please visit : &lt;a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt; &lt;/pre&gt;           &lt;/blockquote&gt;           &lt;blockquote type="cite"&gt;             &lt;pre wrap=""&gt;You received this message because you are subscribed to the Google Groups "Professional PHP Developers" group. To post to this group, send email to &lt;a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt; To unsubscribe from this group, send email to &lt;a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt; For more options, visit this group at &lt;a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;- Hide quoted text - &lt;/pre&gt;           &lt;/blockquote&gt;           &lt;pre wrap=""&gt;- Show quoted text - &lt;/pre&gt;         &lt;/blockquote&gt;       &lt;/blockquote&gt;     &lt;/blockquote&gt;   &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-8730483491639731922?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/8730483491639731922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/8730483491639731922'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-re-filegetcontents-with_2341.html' title='Re: [Pro. PHP Dev.] Re: FILE_GET_CONTENTS with SSL on XAMPP'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-4443613339531439851</id><published>2011-03-17T07:02:00.001-07:00</published><updated>2011-03-17T07:02:26.770-07:00</updated><title type='text'>[Pro. PHP Dev.] Re: FILE_GET_CONTENTS with SSL on XAMPP</title><content type='html'>On Mar 16, 6:01&amp;#160;pm, Robert Gonzalez&lt;br&gt;&amp;lt;&lt;a href="mailto:robert.anthony.gonza...@gmail.com"&gt;robert.anthony.gonza...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; I think you&amp;#39;re going to need to add a stream wrapper for https since that is&lt;br&gt;&amp;gt; not setup by default for PHP. http is, but https is not.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Read up on PHP streams and how to register/unregister stream wrappers. It&amp;#39;s&lt;br&gt;&amp;gt; pretty simple, but is an excellent learning opportunity for you.&lt;p&gt;An opportunity to learn how to do something I&amp;#39;ll never use again?&lt;br&gt;Things like that I usually pay others to do.  I&amp;#39;d rather learn how to&lt;br&gt;tie my shoes - that&amp;#39;s something I do every day!  &lt;a href="http://www.youtube.com/watch?v=SY6b9eVsPr8"&gt;http://www.youtube.com/watch?v=SY6b9eVsPr8&lt;/a&gt;&lt;p&gt;Simple?  Now, don&amp;#39;t you know that the quality of documentation varies&lt;br&gt;from one document to the next?&lt;p&gt;Thanks.&lt;p&gt;Charlie&lt;p&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; On Wed, Mar 16, 2011 at 12:32 PM, Charlie &amp;lt;&lt;a href="mailto:shymath...@gmail.com"&gt;shymath...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; Hello All,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; I am trying to use file_get_contents($url) under XAMPP to get the HTML&lt;br&gt;&amp;gt; &amp;gt; where $url starts with &amp;quot;&lt;a href="https://ssl.companyname"&gt;https://ssl.companyname&lt;/a&gt;&amp;quot;and it says &amp;quot;failed&lt;br&gt;&amp;gt; &amp;gt; to open stream&amp;quot;. &amp;#160;It works when $url starts with &amp;quot;http://&lt;br&gt;&amp;gt; &amp;gt;&lt;a href="http://www.domain.com"&gt;www.domain.com&lt;/a&gt;&amp;quot;. &amp;#160;I read to remove the # in line &amp;quot;#LoadModule&lt;br&gt;&amp;gt; &amp;gt; ssl_module modules/mod_ssl.so&amp;quot; in file httpd.conf but it is already&lt;br&gt;&amp;gt; &amp;gt; removed. &amp;#160;Here are all references to &amp;quot;ssl&amp;quot; in this file:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; LoadModule ssl_module modules/mod_ssl.so&lt;br&gt;&amp;gt; &amp;gt; . . .&lt;br&gt;&amp;gt; &amp;gt; #&amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; # &amp;#160; &amp;#160;LoadModule log_sql_ssl_module modules/mod_log_sql_ssl.so&lt;br&gt;&amp;gt; &amp;gt; . . .&lt;br&gt;&amp;gt; &amp;gt; # Secure (SSL/TLS) connections&lt;br&gt;&amp;gt; &amp;gt; Include conf/extra/httpd-ssl.conf&lt;br&gt;&amp;gt; &amp;gt; #&lt;br&gt;&amp;gt; &amp;gt; # Note: The following must must be present to support&lt;br&gt;&amp;gt; &amp;gt; # &amp;#160; &amp;#160; &amp;#160; starting without SSL on platforms with no /dev/random&lt;br&gt;&amp;gt; &amp;gt; equivalent&lt;br&gt;&amp;gt; &amp;gt; # &amp;#160; &amp;#160; &amp;#160; but a statically compiled-in mod_ssl.&lt;br&gt;&amp;gt; &amp;gt; #&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; SSLRandomSeed startup builtin&lt;br&gt;&amp;gt; &amp;gt; SSLRandomSeed connect builtin&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;/IfModule&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; I know PHP programming but I don&amp;#39;t know anything about SSL.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; Thanks,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; Charlie&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; --&lt;br&gt;&amp;gt; &amp;gt; This group is managed and maintained by the development staff at 360 PSG.&lt;br&gt;&amp;gt; &amp;gt; An enterprise application development company utilizing open-source&lt;br&gt;&amp;gt; &amp;gt; technologies for todays small-to-medium size businesses.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; For information or project assistance please visit :&lt;br&gt;&amp;gt; &amp;gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; You received this message because you are subscribed to the Google Groups&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;&amp;gt; &amp;gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; To unsubscribe from this group, send email to&lt;br&gt;&amp;gt; &amp;gt; &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; For more options, visit this group at&lt;br&gt;&amp;gt; &amp;gt;&lt;a href="http://groups.google.com/group/Professional-PHP-"&gt;http://groups.google.com/group/Professional-PHP-&lt;/a&gt; Hide quoted text -&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; - Show quoted text -&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-4443613339531439851?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/4443613339531439851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/4443613339531439851'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-re-filegetcontents-with-ssl_17.html' title='[Pro. PHP Dev.] Re: FILE_GET_CONTENTS with SSL on XAMPP'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-4384198018991393129</id><published>2011-03-17T02:11:00.000-07:00</published><updated>2011-03-17T02:12:19.833-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] Re: FILE_GET_CONTENTS with SSL on XAMPP</title><content type='html'>oh, have you not heard?&lt;br&gt;     &lt;br&gt;     The BIRD is the WORD&lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;a href="http://www.youtube.com/watch?v=2WNrx2jq184"&gt;http://www.youtube.com/watch?v=2WNrx2jq184&lt;/a&gt;&lt;br&gt;     &lt;br&gt;     Cheers!&lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;div class="moz-signature"&gt;       &lt;div style="font-family: Arial,Helvetica,sans-serif; font-size:         14px; color: rgb(51, 51, 51); text-decoration: none;"&gt;         I'm not always right,&lt;br&gt;         but I'm never wrong.&lt;br&gt;         &lt;a href="http://bit.ly/fT24vu" target="_blank" style="cursor:           pointer ! important; text-decoration: none ! important; color:           rgb(0, 153, 204); font-family: Arial,Helvetica,sans-serif;           font-size: 11px;" title="Party Helpers"&gt;Please visit my site&lt;/a&gt;       &lt;/div&gt;     &lt;/div&gt;     &lt;br&gt;     On 3/16/2011 23:13, Charlie wrote:     &lt;blockquote cite="mid:3005c884-076e-4e60-ae3d-fe370d0a87f7@a11g2000pri.googlegroups.com"       type="cite"&gt;       &lt;pre wrap=""&gt;The road to hell is littered with bodies of people with good intentions.  But where there is sin there is redemption.  You need only hear The Word and to speak The Word.  And The Word . . . is English.  On Mar 16, 5:04 pm, Néstor &lt;a class="moz-txt-link-rfc2396E" href="mailto:rot...@gmail.com"&gt;&amp;lt;rot...@gmail.com&amp;gt;&lt;/a&gt; wrote: &lt;/pre&gt;       &lt;blockquote type="cite"&gt;         &lt;pre wrap=""&gt;Sorry Charlie,  Did not mean to make it harder on you.  :-)    On Wed, Mar 16, 2011 at 1:59 PM, Charlie &lt;a class="moz-txt-link-rfc2396E" href="mailto:shymath...@gmail.com"&gt;&amp;lt;shymath...@gmail.com&amp;gt;&lt;/a&gt; wrote: &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;pre wrap=""&gt;Well, if I didn't know so much about SSL I'd think that was all hieroglyphics! &lt;/pre&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;pre wrap=""&gt;Charlie &lt;/pre&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;pre wrap=""&gt;On Mar 16, 4:52 pm, Néstor &lt;a class="moz-txt-link-rfc2396E" href="mailto:rot...@gmail.com"&gt;&amp;lt;rot...@gmail.com&amp;gt;&lt;/a&gt; wrote: &lt;/pre&gt;           &lt;blockquote type="cite"&gt;             &lt;pre wrap=""&gt;Here is an example httpd.conf file running both port 80 and port 443 after google search "apache httpd.conf port 443 80"  &lt;a class="moz-txt-link-freetext" href="http://www.apache-ssl.org/httpd.conf.example"&gt;http://www.apache-ssl.org/httpd.conf.example&lt;/a&gt; &lt;/pre&gt;           &lt;/blockquote&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;blockquote type="cite"&gt;             &lt;pre wrap=""&gt;You might want to read this also: &lt;/pre&gt;           &lt;/blockquote&gt;           &lt;pre wrap=""&gt;&lt;a class="moz-txt-link-freetext" href="http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html"&gt;http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html&lt;/a&gt; &lt;/pre&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;blockquote type="cite"&gt;             &lt;pre wrap=""&gt;On Wed, Mar 16, 2011 at 12:56 PM, Charlie &lt;a class="moz-txt-link-rfc2396E" href="mailto:shymath...@gmail.com"&gt;&amp;lt;shymath...@gmail.com&amp;gt;&lt;/a&gt; wrote: &lt;/pre&gt;             &lt;blockquote type="cite"&gt;               &lt;pre wrap=""&gt;Ok, what do I do?  Remember, I don't know anything about SSL. &lt;/pre&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;pre wrap=""&gt;On Mar 16, 3:41 pm, Joseph Williams &lt;a class="moz-txt-link-rfc2396E" href="mailto:joseph.s.willi...@gmail.com"&gt;&amp;lt;joseph.s.willi...@gmail.com&amp;gt;&lt;/a&gt; wrote: &lt;/pre&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;Might have to do with http defaults to port 80 and https defaults to &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;pre wrap=""&gt;443 &lt;/pre&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;On Mar 16, 2011 2:32 PM, "Charlie" &lt;a class="moz-txt-link-rfc2396E" href="mailto:shymath...@gmail.com"&gt;&amp;lt;shymath...@gmail.com&amp;gt;&lt;/a&gt; wrote: &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;Hello All, &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;I am trying to use file_get_contents($url) under XAMPP to get the &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;pre wrap=""&gt;HTML &lt;/pre&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;where $url starts with "&lt;a class="moz-txt-link-freetext" href="https://ssl.companyname&amp;#8221;and"&gt;https://ssl.companyname&amp;#8221;and&lt;/a&gt; it says &amp;#8220;failed to open stream&amp;#8221;.  It works when $url starts with &amp;#8220; &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;pre wrap=""&gt;&lt;a class="moz-txt-link-freetext" href="http://www.domain.com&amp;#8221;"&gt;http://www.domain.com&amp;#8221;&lt;/a&gt;. &lt;/pre&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;pre wrap=""&gt; I read to remove the # in line &amp;#8220;#LoadModule &lt;/pre&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;ssl_module modules/mod_ssl.so&amp;#8221; in file httpd.conf but it is already removed.  Here are all references to &amp;#8220;ssl&amp;#8221; in this file: &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;LoadModule ssl_module modules/mod_ssl.so . . . #&amp;lt;IfModule ssl_module&amp;gt; #    LoadModule log_sql_ssl_module modules/mod_log_sql_ssl.so . . . # Secure (SSL/TLS) connections Include conf/extra/httpd-ssl.conf # # Note: The following must must be present to support #       starting without SSL on platforms with no /dev/random equivalent #       but a statically compiled-in mod_ssl. # &amp;lt;IfModule ssl_module&amp;gt; SSLRandomSeed startup builtin SSLRandomSeed connect builtin &amp;lt;/IfModule&amp;gt; &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;I know PHP programming but I don&amp;#8217;t know anything about SSL. &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;Thanks, &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;Charlie &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;-- This group is managed and maintained by the development staff at 360 &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;pre wrap=""&gt;PSG. &lt;/pre&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;pre wrap=""&gt;An &lt;/pre&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses. &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;For information or project assistance please visit : &lt;/pre&gt;               &lt;/blockquote&gt;               &lt;pre wrap=""&gt;&lt;a class="moz-txt-link-freetext" href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt; &lt;/pre&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;You received this message because you are subscribed to the Google &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;pre wrap=""&gt;Groups &lt;/pre&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;"Professional PHP Developers" group. To post to this group, send email to &lt;/pre&gt;               &lt;/blockquote&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;pre wrap=""&gt;&lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt; &lt;/pre&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;blockquote type="cite"&gt;                 &lt;pre wrap=""&gt;To unsubscribe from this group, send email to &lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt; For more options, visit this group athttp:// &lt;/pre&gt;               &lt;/blockquote&gt;               &lt;pre wrap=""&gt;groups.google.com/group/Professional-PHP &lt;/pre&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;pre wrap=""&gt;-- This group is managed and maintained by the development staff at 360 &lt;/pre&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;pre wrap=""&gt;PSG. &lt;/pre&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;pre wrap=""&gt;An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses. &lt;/pre&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;pre wrap=""&gt;For information or project assistance please visit : &lt;a class="moz-txt-link-freetext" href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt; &lt;/pre&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;pre wrap=""&gt;You received this message because you are subscribed to the Google &lt;/pre&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;           &lt;pre wrap=""&gt;Groups &lt;/pre&gt;           &lt;blockquote type="cite"&gt;             &lt;blockquote type="cite"&gt;               &lt;pre wrap=""&gt;"Professional PHP Developers" group. To post to this group, send email to &lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt; To unsubscribe from this group, send email to &lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt; For more options, visit this group at &lt;a class="moz-txt-link-freetext" href="http://groups.google.com/group/Professional-PHP-Hide"&gt;http://groups.google.com/group/Professional-PHP-Hide&lt;/a&gt; quoted text - &lt;/pre&gt;             &lt;/blockquote&gt;           &lt;/blockquote&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;blockquote type="cite"&gt;             &lt;pre wrap=""&gt;- Show quoted text - &lt;/pre&gt;           &lt;/blockquote&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;pre wrap=""&gt;-- This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses. &lt;/pre&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;pre wrap=""&gt;For information or project assistance please visit : &lt;a class="moz-txt-link-freetext" href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt; &lt;/pre&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;pre wrap=""&gt;You received this message because you are subscribed to the Google Groups "Professional PHP Developers" group. To post to this group, send email to &lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt; To unsubscribe from this group, send email to &lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt; For more options, visit this group at &lt;a class="moz-txt-link-freetext" href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;- Hide quoted text - &lt;/pre&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; - Show quoted text - &lt;/pre&gt;       &lt;/blockquote&gt;       &lt;pre wrap=""&gt; &lt;/pre&gt;     &lt;/blockquote&gt;   &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-4384198018991393129?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/4384198018991393129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/4384198018991393129'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-re-filegetcontents-with_17.html' title='Re: [Pro. PHP Dev.] Re: FILE_GET_CONTENTS with SSL on XAMPP'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-529361410738341819</id><published>2011-03-16T15:01:00.000-07:00</published><updated>2011-03-16T15:02:14.861-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] FILE_GET_CONTENTS with SSL on XAMPP</title><content type='html'>I think you&amp;#39;re going to need to add a stream wrapper for https since that is not setup by default for PHP. http is, but https is not. &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Read up on PHP streams and how to register/unregister stream wrappers. It&amp;#39;s pretty simple, but is an excellent learning opportunity for you.&lt;br&gt; &lt;br&gt;&lt;div class="gmail_quote"&gt;On Wed, Mar 16, 2011 at 12:32 PM, Charlie &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:shymathguy@gmail.com"&gt;shymathguy@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"&gt; &lt;br&gt; Hello All,&lt;br&gt; &lt;br&gt; I am trying to use file_get_contents($url) under XAMPP to get the HTML&lt;br&gt; where $url starts with &amp;quot;&lt;a href="https://ssl.companyname" target="_blank"&gt;https://ssl.companyname&lt;/a&gt;" and it says "failed&lt;br&gt; to open stream".  It works when $url starts with "http://&lt;br&gt; &lt;a href="http://www.domain.com" target="_blank"&gt;www.domain.com&lt;/a&gt;".  I read to remove the # in line "#LoadModule&lt;br&gt; ssl_module modules/mod_ssl.so" in file httpd.conf but it is already&lt;br&gt; removed.  Here are all references to "ssl" in this file:&lt;br&gt; &lt;br&gt; LoadModule ssl_module modules/mod_ssl.so&lt;br&gt; . . .&lt;br&gt; #&amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt; #    LoadModule log_sql_ssl_module modules/mod_log_sql_ssl.so&lt;br&gt; . . .&lt;br&gt; # Secure (SSL/TLS) connections&lt;br&gt; Include conf/extra/httpd-ssl.conf&lt;br&gt; #&lt;br&gt; # Note: The following must must be present to support&lt;br&gt; #       starting without SSL on platforms with no /dev/random&lt;br&gt; equivalent&lt;br&gt; #       but a statically compiled-in mod_ssl.&lt;br&gt; #&lt;br&gt; &amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt; SSLRandomSeed startup builtin&lt;br&gt; SSLRandomSeed connect builtin&lt;br&gt; &amp;lt;/IfModule&amp;gt;&lt;br&gt; &lt;br&gt; I know PHP programming but I don't know anything about SSL.&lt;br&gt; &lt;br&gt; Thanks,&lt;br&gt; &lt;br&gt; Charlie&lt;br&gt; &lt;br&gt; --&lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt; &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt; &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-529361410738341819?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/529361410738341819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/529361410738341819'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-filegetcontents-with-ssl_16.html' title='Re: [Pro. PHP Dev.] FILE_GET_CONTENTS with SSL on XAMPP'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-1574914177703771828</id><published>2011-03-16T14:13:00.001-07:00</published><updated>2011-03-16T14:13:27.402-07:00</updated><title type='text'>[Pro. PHP Dev.] Re: FILE_GET_CONTENTS with SSL on XAMPP</title><content type='html'>The road to hell is littered with bodies of people with good&lt;br&gt;intentions.&lt;p&gt;But where there is sin there is redemption.&lt;p&gt;You need only hear The Word and to speak The Word.&lt;p&gt;And The Word . . . is English.&lt;p&gt;On Mar 16, 5:04&amp;#160;pm, N&amp;#233;stor &amp;lt;&lt;a href="mailto:rot...@gmail.com"&gt;rot...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; Sorry Charlie,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Did not mean to make it harder on you.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; :-)&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; On Wed, Mar 16, 2011 at 1:59 PM, Charlie &amp;lt;&lt;a href="mailto:shymath...@gmail.com"&gt;shymath...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; &amp;gt; Well, if I didn&amp;#39;t know so much about SSL I&amp;#39;d think that was all&lt;br&gt;&amp;gt; &amp;gt; hieroglyphics!&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; Charlie&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; On Mar 16, 4:52 pm, N&amp;#233;stor &amp;lt;&lt;a href="mailto:rot...@gmail.com"&gt;rot...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Here is an example httpd.conf file running both port 80 and port 443&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; after google search &amp;quot;apache httpd.conf port 443 80&amp;quot;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;#160;&lt;a href="http://www.apache-ssl.org/httpd.conf.example"&gt;http://www.apache-ssl.org/httpd.conf.example&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; You might want to read this also:&lt;br&gt;&amp;gt; &amp;gt;&lt;a href="http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html"&gt;http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; On Wed, Mar 16, 2011 at 12:56 PM, Charlie &amp;lt;&lt;a href="mailto:shymath...@gmail.com"&gt;shymath...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Ok, what do I do? &amp;#160;Remember, I don&amp;#39;t know anything about SSL.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; On Mar 16, 3:41 pm, Joseph Williams &amp;lt;&lt;a href="mailto:joseph.s.willi...@gmail.com"&gt;joseph.s.willi...@gmail.com&lt;/a&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; wrote:&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Might have to do with http defaults to port 80 and https defaults to&lt;br&gt;&amp;gt; &amp;gt; 443&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; On Mar 16, 2011 2:32 PM, &amp;quot;Charlie&amp;quot; &amp;lt;&lt;a href="mailto:shymath...@gmail.com"&gt;shymath...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Hello All,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I am trying to use file_get_contents($url) under XAMPP to get the&lt;br&gt;&amp;gt; &amp;gt; HTML&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; where $url starts with &amp;quot;&lt;a href="https://ssl.companyname"&gt;https://ssl.companyname&lt;/a&gt;&amp;quot;and it says &amp;quot;failed&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; to open stream&amp;quot;. &amp;#160;It works when $url starts with &amp;quot;&lt;br&gt;&amp;gt; &amp;gt;&lt;a href="http://www.domain.com"&gt;http://www.domain.com&lt;/a&gt;&amp;quot;.&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;#160;I read to remove the # in line &amp;quot;#LoadModule&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; ssl_module modules/mod_ssl.so&amp;quot; in file httpd.conf but it is already&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; removed. &amp;#160;Here are all references to &amp;quot;ssl&amp;quot; in this file:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; LoadModule ssl_module modules/mod_ssl.so&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; . . .&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; #&amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; # &amp;#160; &amp;#160;LoadModule log_sql_ssl_module modules/mod_log_sql_ssl.so&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; . . .&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; # Secure (SSL/TLS) connections&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Include conf/extra/httpd-ssl.conf&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; #&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; # Note: The following must must be present to support&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; # &amp;#160; &amp;#160; &amp;#160; starting without SSL on platforms with no /dev/random&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; equivalent&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; # &amp;#160; &amp;#160; &amp;#160; but a statically compiled-in mod_ssl.&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; #&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; SSLRandomSeed startup builtin&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; SSLRandomSeed connect builtin&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;lt;/IfModule&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I know PHP programming but I don&amp;#39;t know anything about SSL.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Thanks,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Charlie&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; --&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; This group is managed and maintained by the development staff at 360&lt;br&gt;&amp;gt; &amp;gt; PSG.&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; An&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; enterprise application development company utilizing open-source&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; technologies for todays small-to-medium size businesses.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; For information or project assistance please visit :&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; You received this message because you are subscribed to the Google&lt;br&gt;&amp;gt; &amp;gt; Groups&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; To post to this group, send email to&lt;br&gt;&amp;gt; &amp;gt; &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; To unsubscribe from this group, send email to&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; For more options, visit this group athttp://&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; --&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; This group is managed and maintained by the development staff at 360&lt;br&gt;&amp;gt; &amp;gt; PSG.&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; An enterprise application development company utilizing open-source&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; technologies for todays small-to-medium size businesses.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; For information or project assistance please visit :&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; You received this message because you are subscribed to the Google&lt;br&gt;&amp;gt; &amp;gt; Groups&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; To unsubscribe from this group, send email to&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; For more options, visit this group at&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;a href="http://groups.google.com/group/Professional-PHP-Hide"&gt;http://groups.google.com/group/Professional-PHP-Hide&lt;/a&gt; quoted text -&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; - Show quoted text -&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; --&lt;br&gt;&amp;gt; &amp;gt; This group is managed and maintained by the development staff at 360 PSG.&lt;br&gt;&amp;gt; &amp;gt; An enterprise application development company utilizing open-source&lt;br&gt;&amp;gt; &amp;gt; technologies for todays small-to-medium size businesses.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; For information or project assistance please visit :&lt;br&gt;&amp;gt; &amp;gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; You received this message because you are subscribed to the Google Groups&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;&amp;gt; &amp;gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; To unsubscribe from this group, send email to&lt;br&gt;&amp;gt; &amp;gt; &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; For more options, visit this group at&lt;br&gt;&amp;gt; &amp;gt;&lt;a href="http://groups.google.com/group/Professional-PHP-"&gt;http://groups.google.com/group/Professional-PHP-&lt;/a&gt; Hide quoted text -&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; - Show quoted text -&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-1574914177703771828?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/1574914177703771828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/1574914177703771828'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-re-filegetcontents-with-ssl_827.html' title='[Pro. PHP Dev.] Re: FILE_GET_CONTENTS with SSL on XAMPP'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-4692465781851039357</id><published>2011-03-16T14:04:00.001-07:00</published><updated>2011-03-16T14:04:21.899-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] Re: FILE_GET_CONTENTS with SSL on XAMPP</title><content type='html'>Sorry Charlie,&lt;br&gt;&lt;br&gt;Did not mean to make it harder on you.&lt;br&gt;&lt;br&gt;:-)&lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;On Wed, Mar 16, 2011 at 1:59 PM, Charlie &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:shymathguy@gmail.com"&gt;shymathguy@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt; &lt;blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"&gt;Well, if I didn&amp;#39;t know so much about SSL I&amp;#39;d think that was all&lt;br&gt; hieroglyphics!&lt;br&gt; &lt;br&gt; Charlie&lt;br&gt; &lt;div class="im"&gt;&lt;br&gt; On Mar 16, 4:52 pm, Néstor &amp;lt;&lt;a href="mailto:rot...@gmail.com"&gt;rot...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt; &amp;gt; Here is an example httpd.conf file running both port 80 and port 443&lt;br&gt; &amp;gt; after google search &amp;quot;apache httpd.conf port 443 80&amp;quot;&lt;br&gt; &amp;gt;  &lt;a href="http://www.apache-ssl.org/httpd.conf.example" target="_blank"&gt;http://www.apache-ssl.org/httpd.conf.example&lt;/a&gt;&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; You might want to read this also:&lt;a href="http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html" target="_blank"&gt;http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html&lt;/a&gt;&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt;&lt;br&gt; &lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="h5"&gt;&amp;gt; On Wed, Mar 16, 2011 at 12:56 PM, Charlie &amp;lt;&lt;a href="mailto:shymath...@gmail.com"&gt;shymath...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt; &amp;gt; &amp;gt; Ok, what do I do?  Remember, I don&amp;#39;t know anything about SSL.&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; On Mar 16, 3:41 pm, Joseph Williams &amp;lt;&lt;a href="mailto:joseph.s.willi...@gmail.com"&gt;joseph.s.willi...@gmail.com&lt;/a&gt;&amp;gt;&lt;br&gt; &amp;gt; &amp;gt; wrote:&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; Might have to do with http defaults to port 80 and https defaults to 443&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; On Mar 16, 2011 2:32 PM, &amp;quot;Charlie&amp;quot; &amp;lt;&lt;a href="mailto:shymath...@gmail.com"&gt;shymath...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; Hello All,&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; I am trying to use file_get_contents($url) under XAMPP to get the HTML&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; where $url starts with &amp;quot;&lt;a href="https://ssl.companyname" target="_blank"&gt;https://ssl.companyname&lt;/a&gt;"and it says "failed&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; to open stream".  It works when $url starts with "&lt;a href="http://www.domain.com" target="_blank"&gt;http://www.domain.com&lt;/a&gt;".&lt;br&gt; &amp;gt; &amp;gt;  I read to remove the # in line "#LoadModule&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; ssl_module modules/mod_ssl.so" in file httpd.conf but it is already&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; removed.  Here are all references to "ssl" in this file:&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; LoadModule ssl_module modules/mod_ssl.so&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; . . .&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; #&amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; #    LoadModule log_sql_ssl_module modules/mod_log_sql_ssl.so&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; . . .&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; # Secure (SSL/TLS) connections&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; Include conf/extra/httpd-ssl.conf&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; #&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; # Note: The following must must be present to support&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; #       starting without SSL on platforms with no /dev/random&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; equivalent&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; #       but a statically compiled-in mod_ssl.&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; #&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; &amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; SSLRandomSeed startup builtin&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; SSLRandomSeed connect builtin&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; &amp;lt;/IfModule&amp;gt;&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; I know PHP programming but I don't know anything about SSL.&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; Thanks,&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; Charlie&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; --&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; This group is managed and maintained by the development staff at 360 PSG.&lt;br&gt; &amp;gt; &amp;gt; An&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; enterprise application development company utilizing open-source&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; technologies for todays small-to-medium size businesses.&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; For information or project assistance please visit :&lt;br&gt; &amp;gt; &amp;gt;&lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; You received this message because you are subscribed to the Google Groups&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; To unsubscribe from this group, send email to&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; &amp;gt; &amp;gt; &amp;gt; For more options, visit this group athttp://&lt;br&gt; &amp;gt; &amp;gt; &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; --&lt;br&gt; &amp;gt; &amp;gt; This group is managed and maintained by the development staff at 360 PSG.&lt;br&gt; &amp;gt; &amp;gt; An enterprise application development company utilizing open-source&lt;br&gt; &amp;gt; &amp;gt; technologies for todays small-to-medium size businesses.&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; For information or project assistance please visit :&lt;br&gt; &amp;gt; &amp;gt;&lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; You received this message because you are subscribed to the Google Groups&lt;br&gt; &amp;gt; &amp;gt; &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; &amp;gt; &amp;gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; &amp;gt; &amp;gt; To unsubscribe from this group, send email to&lt;br&gt; &amp;gt; &amp;gt; &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; &amp;gt; &amp;gt; For more options, visit this group at&lt;br&gt; &lt;/div&gt;&lt;/div&gt;&amp;gt; &amp;gt;&lt;a href="http://groups.google.com/group/Professional-PHP-" target="_blank"&gt;http://groups.google.com/group/Professional-PHP-&lt;/a&gt; Hide quoted text -&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; - Show quoted text -&lt;br&gt; &lt;font color="#888888"&gt;&lt;br&gt; --&lt;br&gt; &lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="h5"&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;  &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt; &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-4692465781851039357?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/4692465781851039357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/4692465781851039357'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-re-filegetcontents-with_16.html' title='Re: [Pro. PHP Dev.] Re: FILE_GET_CONTENTS with SSL on XAMPP'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-4206458403476545605</id><published>2011-03-16T13:59:00.001-07:00</published><updated>2011-03-16T13:59:49.837-07:00</updated><title type='text'>[Pro. PHP Dev.] Re: FILE_GET_CONTENTS with SSL on XAMPP</title><content type='html'>Well, if I didn&amp;#39;t know so much about SSL I&amp;#39;d think that was all&lt;br&gt;hieroglyphics!&lt;p&gt;Charlie&lt;p&gt;On Mar 16, 4:52&amp;#160;pm, N&amp;#233;stor &amp;lt;&lt;a href="mailto:rot...@gmail.com"&gt;rot...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; Here is an example httpd.conf file running both port 80 and port 443&lt;br&gt;&amp;gt; after google search &amp;quot;apache httpd.conf port 443 80&amp;quot;&lt;br&gt;&amp;gt; &amp;#160;&lt;a href="http://www.apache-ssl.org/httpd.conf.example"&gt;http://www.apache-ssl.org/httpd.conf.example&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; You might want to read this also:&lt;a href="http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html"&gt;http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; On Wed, Mar 16, 2011 at 12:56 PM, Charlie &amp;lt;&lt;a href="mailto:shymath...@gmail.com"&gt;shymath...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; &amp;gt; Ok, what do I do? &amp;#160;Remember, I don&amp;#39;t know anything about SSL.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; On Mar 16, 3:41 pm, Joseph Williams &amp;lt;&lt;a href="mailto:joseph.s.willi...@gmail.com"&gt;joseph.s.willi...@gmail.com&lt;/a&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; wrote:&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Might have to do with http defaults to port 80 and https defaults to 443&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; On Mar 16, 2011 2:32 PM, &amp;quot;Charlie&amp;quot; &amp;lt;&lt;a href="mailto:shymath...@gmail.com"&gt;shymath...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Hello All,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I am trying to use file_get_contents($url) under XAMPP to get the HTML&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; where $url starts with &amp;quot;&lt;a href="https://ssl.companyname"&gt;https://ssl.companyname&lt;/a&gt;&amp;quot;and it says &amp;quot;failed&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; to open stream&amp;quot;. &amp;#160;It works when $url starts with &amp;quot;&lt;a href="http://www.domain.com"&gt;http://www.domain.com&lt;/a&gt;&amp;quot;.&lt;br&gt;&amp;gt; &amp;gt; &amp;#160;I read to remove the # in line &amp;quot;#LoadModule&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; ssl_module modules/mod_ssl.so&amp;quot; in file httpd.conf but it is already&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; removed. &amp;#160;Here are all references to &amp;quot;ssl&amp;quot; in this file:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; LoadModule ssl_module modules/mod_ssl.so&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; . . .&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; #&amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; # &amp;#160; &amp;#160;LoadModule log_sql_ssl_module modules/mod_log_sql_ssl.so&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; . . .&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; # Secure (SSL/TLS) connections&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Include conf/extra/httpd-ssl.conf&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; #&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; # Note: The following must must be present to support&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; # &amp;#160; &amp;#160; &amp;#160; starting without SSL on platforms with no /dev/random&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; equivalent&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; # &amp;#160; &amp;#160; &amp;#160; but a statically compiled-in mod_ssl.&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; #&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; SSLRandomSeed startup builtin&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; SSLRandomSeed connect builtin&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;lt;/IfModule&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I know PHP programming but I don&amp;#39;t know anything about SSL.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Thanks,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Charlie&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; --&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; This group is managed and maintained by the development staff at 360 PSG.&lt;br&gt;&amp;gt; &amp;gt; An&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; enterprise application development company utilizing open-source&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; technologies for todays small-to-medium size businesses.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; For information or project assistance please visit :&lt;br&gt;&amp;gt; &amp;gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; You received this message because you are subscribed to the Google Groups&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; To unsubscribe from this group, send email to&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; For more options, visit this group athttp://&lt;br&gt;&amp;gt; &amp;gt; &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; --&lt;br&gt;&amp;gt; &amp;gt; This group is managed and maintained by the development staff at 360 PSG.&lt;br&gt;&amp;gt; &amp;gt; An enterprise application development company utilizing open-source&lt;br&gt;&amp;gt; &amp;gt; technologies for todays small-to-medium size businesses.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; For information or project assistance please visit :&lt;br&gt;&amp;gt; &amp;gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; You received this message because you are subscribed to the Google Groups&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;&amp;gt; &amp;gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; To unsubscribe from this group, send email to&lt;br&gt;&amp;gt; &amp;gt; &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; For more options, visit this group at&lt;br&gt;&amp;gt; &amp;gt;&lt;a href="http://groups.google.com/group/Professional-PHP-"&gt;http://groups.google.com/group/Professional-PHP-&lt;/a&gt; Hide quoted text -&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; - Show quoted text -&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-4206458403476545605?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/4206458403476545605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/4206458403476545605'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-re-filegetcontents-with-ssl_16.html' title='[Pro. PHP Dev.] Re: FILE_GET_CONTENTS with SSL on XAMPP'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-6833553358282135182</id><published>2011-03-16T13:52:00.000-07:00</published><updated>2011-03-16T13:53:12.212-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] Re: FILE_GET_CONTENTS with SSL on XAMPP</title><content type='html'>Here is an example httpd.conf file running both port 80 and port 443&lt;br&gt;after google search &amp;quot;apache httpd.conf port 443 80&amp;quot;&lt;br&gt;  &lt;a href="http://www.apache-ssl.org/httpd.conf.example"&gt;http://www.apache-ssl.org/httpd.conf.example&lt;/a&gt;&lt;br&gt; &lt;br&gt;You might want to read this also:&lt;br&gt;&lt;a href="http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html"&gt;http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;On Wed, Mar 16, 2011 at 12:56 PM, Charlie &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:shymathguy@gmail.com"&gt;shymathguy@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt; &lt;blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"&gt;Ok, what do I do?  Remember, I don&amp;#39;t know anything about SSL.&lt;br&gt; &lt;br&gt; On Mar 16, 3:41 pm, Joseph Williams &amp;lt;&lt;a href="mailto:joseph.s.willi...@gmail.com"&gt;joseph.s.willi...@gmail.com&lt;/a&gt;&amp;gt;&lt;br&gt; wrote:&lt;br&gt; &lt;div class="im"&gt;&amp;gt; Might have to do with http defaults to port 80 and https defaults to 443&lt;br&gt; &amp;gt;&lt;br&gt; &lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="h5"&gt;&amp;gt; On Mar 16, 2011 2:32 PM, &amp;quot;Charlie&amp;quot; &amp;lt;&lt;a href="mailto:shymath...@gmail.com"&gt;shymath...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; Hello All,&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; I am trying to use file_get_contents($url) under XAMPP to get the HTML&lt;br&gt; &amp;gt; where $url starts with &amp;quot;&lt;a href="https://ssl.companyname" target="_blank"&gt;https://ssl.companyname&lt;/a&gt;"and it says "failed&lt;br&gt; &amp;gt; to open stream".  It works when $url starts with "&lt;a href="http://www.domain.com" target="_blank"&gt;http://www.domain.com&lt;/a&gt;".  I read to remove the # in line "#LoadModule&lt;br&gt; &amp;gt; ssl_module modules/mod_ssl.so" in file httpd.conf but it is already&lt;br&gt; &amp;gt; removed.  Here are all references to "ssl" in this file:&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; LoadModule ssl_module modules/mod_ssl.so&lt;br&gt; &amp;gt; . . .&lt;br&gt; &amp;gt; #&amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt; &amp;gt; #    LoadModule log_sql_ssl_module modules/mod_log_sql_ssl.so&lt;br&gt; &amp;gt; . . .&lt;br&gt; &amp;gt; # Secure (SSL/TLS) connections&lt;br&gt; &amp;gt; Include conf/extra/httpd-ssl.conf&lt;br&gt; &amp;gt; #&lt;br&gt; &amp;gt; # Note: The following must must be present to support&lt;br&gt; &amp;gt; #       starting without SSL on platforms with no /dev/random&lt;br&gt; &amp;gt; equivalent&lt;br&gt; &amp;gt; #       but a statically compiled-in mod_ssl.&lt;br&gt; &amp;gt; #&lt;br&gt; &amp;gt; &amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt; &amp;gt; SSLRandomSeed startup builtin&lt;br&gt; &amp;gt; SSLRandomSeed connect builtin&lt;br&gt; &amp;gt; &amp;lt;/IfModule&amp;gt;&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; I know PHP programming but I don't know anything about SSL.&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; Thanks,&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; Charlie&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; --&lt;br&gt; &amp;gt; This group is managed and maintained by the development staff at 360 PSG. An&lt;br&gt; &amp;gt; enterprise application development company utilizing open-source&lt;br&gt; &amp;gt; technologies for todays small-to-medium size businesses.&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; For information or project assistance please visit :&lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; You received this message because you are subscribed to the Google Groups&lt;br&gt; &amp;gt; &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; &amp;gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; &amp;gt; To unsubscribe from this group, send email to&lt;br&gt; &amp;gt; &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; &lt;/div&gt;&lt;/div&gt;&amp;gt; For more options, visit this group athttp://&lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;br&gt; &lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="h5"&gt;&lt;br&gt; --&lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt; &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt; &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-6833553358282135182?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/6833553358282135182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/6833553358282135182'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-re-filegetcontents-with.html' title='Re: [Pro. PHP Dev.] Re: FILE_GET_CONTENTS with SSL on XAMPP'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-8815599494643867395</id><published>2011-03-16T12:56:00.001-07:00</published><updated>2011-03-16T12:56:23.591-07:00</updated><title type='text'>[Pro. PHP Dev.] Re: FILE_GET_CONTENTS with SSL on XAMPP</title><content type='html'>Ok, what do I do?  Remember, I don&amp;#39;t know anything about SSL.&lt;p&gt;On Mar 16, 3:41&amp;#160;pm, Joseph Williams &amp;lt;&lt;a href="mailto:joseph.s.willi...@gmail.com"&gt;joseph.s.willi...@gmail.com&lt;/a&gt;&amp;gt;&lt;br&gt;wrote:&lt;br&gt;&amp;gt; Might have to do with http defaults to port 80 and https defaults to 443&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; On Mar 16, 2011 2:32 PM, &amp;quot;Charlie&amp;quot; &amp;lt;&lt;a href="mailto:shymath...@gmail.com"&gt;shymath...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Hello All,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; I am trying to use file_get_contents($url) under XAMPP to get the HTML&lt;br&gt;&amp;gt; where $url starts with &amp;quot;&lt;a href="https://ssl.companyname"&gt;https://ssl.companyname&lt;/a&gt;&amp;quot;and it says &amp;quot;failed&lt;br&gt;&amp;gt; to open stream&amp;quot;. &amp;#160;It works when $url starts with &amp;quot;&lt;a href="http://www.domain.com"&gt;http://www.domain.com&lt;/a&gt;&amp;quot;. &amp;#160;I read to remove the # in line &amp;quot;#LoadModule&lt;br&gt;&amp;gt; ssl_module modules/mod_ssl.so&amp;quot; in file httpd.conf but it is already&lt;br&gt;&amp;gt; removed. &amp;#160;Here are all references to &amp;quot;ssl&amp;quot; in this file:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; LoadModule ssl_module modules/mod_ssl.so&lt;br&gt;&amp;gt; . . .&lt;br&gt;&amp;gt; #&amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt;&amp;gt; # &amp;#160; &amp;#160;LoadModule log_sql_ssl_module modules/mod_log_sql_ssl.so&lt;br&gt;&amp;gt; . . .&lt;br&gt;&amp;gt; # Secure (SSL/TLS) connections&lt;br&gt;&amp;gt; Include conf/extra/httpd-ssl.conf&lt;br&gt;&amp;gt; #&lt;br&gt;&amp;gt; # Note: The following must must be present to support&lt;br&gt;&amp;gt; # &amp;#160; &amp;#160; &amp;#160; starting without SSL on platforms with no /dev/random&lt;br&gt;&amp;gt; equivalent&lt;br&gt;&amp;gt; # &amp;#160; &amp;#160; &amp;#160; but a statically compiled-in mod_ssl.&lt;br&gt;&amp;gt; #&lt;br&gt;&amp;gt; &amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt;&amp;gt; SSLRandomSeed startup builtin&lt;br&gt;&amp;gt; SSLRandomSeed connect builtin&lt;br&gt;&amp;gt; &amp;lt;/IfModule&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; I know PHP programming but I don&amp;#39;t know anything about SSL.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Thanks,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Charlie&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; --&lt;br&gt;&amp;gt; This group is managed and maintained by the development staff at 360 PSG. An&lt;br&gt;&amp;gt; enterprise application development company utilizing open-source&lt;br&gt;&amp;gt; technologies for todays small-to-medium size businesses.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; For information or project assistance please visit :&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; You received this message because you are subscribed to the Google Groups&lt;br&gt;&amp;gt; &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;&amp;gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; To unsubscribe from this group, send email to&lt;br&gt;&amp;gt; &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; For more options, visit this group athttp://&lt;a href="http://groups.google.com/group/Professional-PHP"&gt;groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-8815599494643867395?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/8815599494643867395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/8815599494643867395'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-re-filegetcontents-with-ssl.html' title='[Pro. PHP Dev.] Re: FILE_GET_CONTENTS with SSL on XAMPP'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-707409303952039136</id><published>2011-03-16T12:41:00.000-07:00</published><updated>2011-03-16T12:42:01.080-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] FILE_GET_CONTENTS with SSL on XAMPP</title><content type='html'>&lt;p&gt;Might have to do with http defaults to port 80 and https defaults to 443&lt;/p&gt; &lt;p&gt;&lt;blockquote type="cite"&gt;On Mar 16, 2011 2:32 PM, &amp;quot;Charlie&amp;quot; &amp;lt;&lt;a href="mailto:shymathguy@gmail.com"&gt;shymathguy@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;br&gt;&lt;br&gt; Hello All,&lt;br&gt; &lt;br&gt; I am trying to use file_get_contents($url) under XAMPP to get the HTML&lt;br&gt; where $url starts with &amp;quot;&lt;a href="https://ssl.companyname" target="_blank"&gt;https://ssl.companyname&lt;/a&gt;" and it says "failed&lt;br&gt; to open stream".  It works when $url starts with "http://&lt;br&gt; &lt;a href="http://www.domain.com" target="_blank"&gt;www.domain.com&lt;/a&gt;".  I read to remove the # in line "#LoadModule&lt;br&gt; ssl_module modules/mod_ssl.so" in file httpd.conf but it is already&lt;br&gt; removed.  Here are all references to "ssl" in this file:&lt;br&gt; &lt;br&gt; LoadModule ssl_module modules/mod_ssl.so&lt;br&gt; . . .&lt;br&gt; #&amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt; #    LoadModule log_sql_ssl_module modules/mod_log_sql_ssl.so&lt;br&gt; . . .&lt;br&gt; # Secure (SSL/TLS) connections&lt;br&gt; Include conf/extra/httpd-ssl.conf&lt;br&gt; #&lt;br&gt; # Note: The following must must be present to support&lt;br&gt; #       starting without SSL on platforms with no /dev/random&lt;br&gt; equivalent&lt;br&gt; #       but a statically compiled-in mod_ssl.&lt;br&gt; #&lt;br&gt; &amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt; SSLRandomSeed startup builtin&lt;br&gt; SSLRandomSeed connect builtin&lt;br&gt; &amp;lt;/IfModule&amp;gt;&lt;br&gt; &lt;br&gt; I know PHP programming but I don't know anything about SSL.&lt;br&gt; &lt;br&gt; Thanks,&lt;br&gt; &lt;br&gt; Charlie&lt;br&gt; &lt;br&gt; --&lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt; &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt; &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-707409303952039136?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/707409303952039136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/707409303952039136'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-filegetcontents-with-ssl.html' title='Re: [Pro. PHP Dev.] FILE_GET_CONTENTS with SSL on XAMPP'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-7503854440501119019</id><published>2011-03-16T12:32:00.001-07:00</published><updated>2011-03-16T12:32:41.031-07:00</updated><title type='text'>[Pro. PHP Dev.] FILE_GET_CONTENTS with SSL on XAMPP</title><content type='html'>Hello All,&lt;p&gt;I am trying to use file_get_contents($url) under XAMPP to get the HTML&lt;br&gt;where $url starts with &amp;quot;&lt;a href="https://ssl.companyname"&gt;https://ssl.companyname&lt;/a&gt;&amp;quot; and it says &amp;quot;failed&lt;br&gt;to open stream&amp;quot;.  It works when $url starts with &amp;quot;http://&lt;br&gt;&lt;a href="http://www.domain.com"&gt;www.domain.com&lt;/a&gt;&amp;quot;.  I read to remove the # in line &amp;quot;#LoadModule&lt;br&gt;ssl_module modules/mod_ssl.so&amp;quot; in file httpd.conf but it is already&lt;br&gt;removed.  Here are all references to &amp;quot;ssl&amp;quot; in this file:&lt;p&gt;LoadModule ssl_module modules/mod_ssl.so&lt;br&gt;. . .&lt;br&gt;#&amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt;#    LoadModule log_sql_ssl_module modules/mod_log_sql_ssl.so&lt;br&gt;. . .&lt;br&gt;# Secure (SSL/TLS) connections&lt;br&gt;Include conf/extra/httpd-ssl.conf&lt;br&gt;#&lt;br&gt;# Note: The following must must be present to support&lt;br&gt;#       starting without SSL on platforms with no /dev/random&lt;br&gt;equivalent&lt;br&gt;#       but a statically compiled-in mod_ssl.&lt;br&gt;#&lt;br&gt;&amp;lt;IfModule ssl_module&amp;gt;&lt;br&gt;SSLRandomSeed startup builtin&lt;br&gt;SSLRandomSeed connect builtin&lt;br&gt;&amp;lt;/IfModule&amp;gt;&lt;p&gt;I know PHP programming but I don&amp;#39;t know anything about SSL.&lt;p&gt;Thanks,&lt;p&gt;Charlie&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-7503854440501119019?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/7503854440501119019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/7503854440501119019'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-filegetcontents-with-ssl-on.html' title='[Pro. PHP Dev.] FILE_GET_CONTENTS with SSL on XAMPP'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-3250712923819497555</id><published>2011-03-16T09:42:00.001-07:00</published><updated>2011-03-16T09:42:20.156-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] max_post_size</title><content type='html'>It works with simple arrays at least, like on your example.&lt;br&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-3250712923819497555?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3250712923819497555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3250712923819497555'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-maxpostsize_2218.html' title='Re: [Pro. PHP Dev.] max_post_size'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-957656961442917128</id><published>2011-03-16T09:36:00.001-07:00</published><updated>2011-03-16T09:36:28.786-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] max_post_size</title><content type='html'>might having some trouble with arrays (name="my_var[]") but I'll     give it a try, thanks.&lt;br&gt;     &lt;div class="moz-signature"&gt;       &lt;div style="font-family: Arial,Helvetica,sans-serif; font-size:         14px; color: rgb(51, 51, 51); text-decoration: none;"&gt;         I'm not always right,&lt;br&gt;         but I'm never wrong.&lt;br&gt;         &lt;a href="http://bit.ly/fT24vu" target="_blank" style="cursor:           pointer ! important; text-decoration: none ! important; color:           rgb(0, 153, 204); font-family: Arial,Helvetica,sans-serif;           font-size: 11px;" title="Party Helpers"&gt;Please visit my site&lt;/a&gt;       &lt;/div&gt;     &lt;/div&gt;     &lt;br&gt;     On 3/16/2011 18:33, zorro wrote:     &lt;blockquote cite="mid:5313154.606.1300293222974.JavaMail.geo-discussion-forums@vbby25"       type="cite"&gt;On the server you could use parse_str()&lt;br&gt;       &lt;br&gt;       $vars = array();&lt;br&gt;       parse_str($_POST['s'], $vars);&lt;br&gt;       &lt;br&gt;       $vars now contains all your form keys and values.&lt;br&gt;       echo $vars['firstname'] .' '. $vars['lastname'];&lt;br&gt;       -- &lt;br&gt;       This group is managed and maintained by the development staff at       360 PSG. An enterprise application development company utilizing       open-source technologies for todays small-to-medium size       businesses.&lt;br&gt;        &lt;br&gt;       For information or project assistance please visit :&lt;br&gt;       &lt;a moz-do-not-send="true" href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;        &lt;br&gt;       You received this message because you are subscribed to the Google       Groups "Professional PHP Developers" group.&lt;br&gt;       To post to this group, send email to       &lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;       To unsubscribe from this group, send email to       &lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;       For more options, visit this group at &lt;a moz-do-not-send="true"         href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;     &lt;/blockquote&gt;   &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-957656961442917128?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/957656961442917128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/957656961442917128'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-maxpostsize_2725.html' title='Re: [Pro. PHP Dev.] max_post_size'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-306649069831574722</id><published>2011-03-16T09:33:00.001-07:00</published><updated>2011-03-16T09:33:57.861-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] max_post_size</title><content type='html'>On the server you could use parse_str()&lt;br&gt; &lt;br&gt; $vars = array();&lt;br&gt; parse_str($_POST['s'], $vars);&lt;br&gt; &lt;br&gt; $vars now contains all your form keys and values.&lt;br&gt;echo $vars['firstname'] .' '. $vars['lastname'];&lt;br&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-306649069831574722?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/306649069831574722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/306649069831574722'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-maxpostsize_1259.html' title='Re: [Pro. PHP Dev.] max_post_size'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-3241695080147926565</id><published>2011-03-16T09:32:00.000-07:00</published><updated>2011-03-16T09:33:27.434-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] max_post_size</title><content type='html'>Thanks, I need that, and the code too. :) really appreciate it.&lt;br&gt;     &lt;br&gt;     so $my_post=json_decode($_POST['serialized']);&lt;br&gt;     &lt;br&gt;      all I have to do is to find and replace all those $_POST variables     with $my_post. pretty neat.  or I could try to declare all the     $_POST values with $my_post values like     $_POST['name']=$my_post['name'] or $_POST=$my_post; &lt;br&gt;     yah, I'm feeling better now, thanks so much you guys.&lt;br&gt;     &lt;br&gt;     Cheers!&lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;div class="moz-signature"&gt;       &lt;div style="font-family: Arial,Helvetica,sans-serif; font-size:         14px; color: rgb(51, 51, 51); text-decoration: none;"&gt;         I'm not always right,&lt;br&gt;         but I'm never wrong.&lt;br&gt;         &lt;a href="http://bit.ly/fT24vu" target="_blank" style="cursor:           pointer ! important; text-decoration: none ! important; color:           rgb(0, 153, 204); font-family: Arial,Helvetica,sans-serif;           font-size: 11px;" title="Party Helpers"&gt;Please visit my site&lt;/a&gt;       &lt;/div&gt;     &lt;/div&gt;     &lt;br&gt;     On 3/16/2011 18:07, Heath Aiken wrote:     &lt;blockquote       cite="mid:AANLkTimmouFuuxS1JnhdNX75yoU=UKZ175NCfijZaop3@mail.gmail.com"       type="cite"&gt;Zorro has the right jQuery function .serialize()       &lt;div&gt;&lt;br&gt;       &lt;/div&gt;       &lt;div&gt;&lt;a moz-do-not-send="true"           href="http://api.jquery.com/serialize/"&gt;http://api.jquery.com/serialize/&lt;/a&gt;&lt;/div&gt;       &lt;div&gt;&lt;a moz-do-not-send="true" href="http://stackoverflow.com/questions/1792603/how-do-i-php-unserialize-a-jquery-serialized-form"&gt;http://stackoverflow.com/questions/1792603/how-do-i-php-unserialize-a-jquery-serialized-form&lt;/a&gt;&lt;/div&gt;       &lt;div&gt;&lt;br&gt;       &lt;/div&gt;       &lt;div&gt;This is completely passive, you should only have to do some         minor javascript to run the serialize() function on your form         (upon submit), and the serialized value that you send to PHP         should be pretty easy to snag.&lt;/div&gt;       &lt;div&gt;&lt;br&gt;       &lt;/div&gt;       &lt;div&gt;I've been where you are now...  Trying to fix a problem one         way when there is another solution that will get  you where you         want to go.  Sounds like you've already spent too much time         trying to fix it with the server, what's 20 minutes to stick         some javascript in, alter your PHP script slightly and test it?&lt;br           clear="all"&gt;         &lt;br&gt;         --Heath&lt;br&gt;         &lt;br&gt;         &lt;br&gt;         &lt;div class="gmail_quote"&gt;On Wed, Mar 16, 2011 at 11:56 AM,           Ovidiu Alexa &lt;span dir="ltr"&gt;&amp;lt;&lt;a moz-do-not-send="true"               href="mailto:ovidiu.alexa@gmail.com"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt;           wrote:&lt;br&gt;           &lt;blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt             0.8ex; border-left: 1px solid rgb(204, 204, 204);             padding-left: 1ex;"&gt;             &lt;div bgcolor="#ffffff" text="#000000"&gt; that's the problem, I               don't have suhosin on this server. &lt;br&gt;               &lt;div class="im"&gt;                 &lt;div&gt;                   &lt;div style="font-family: Arial,Helvetica,sans-serif;                     font-size: 14px; color: rgb(51, 51, 51);                     text-decoration: none;"&gt; I'm not always right,&lt;br&gt;                     but I'm never wrong.&lt;br&gt;                     &lt;a moz-do-not-send="true"                       href="http://bit.ly/fT24vu"                       style="text-decoration: none ! important; color:                       rgb(0, 153, 204); font-family:                       Arial,Helvetica,sans-serif; font-size: 11px;"                       title="Party Helpers" target="_blank"&gt;Please visit                       my site&lt;/a&gt; &lt;/div&gt;                 &lt;/div&gt;                 &lt;br&gt;               &lt;/div&gt;               On 3/16/2011 17:18, Robert Gonzalez wrote:               &lt;blockquote type="cite"&gt;Can you just change the suhosin                 setting in php.ini and restart apache? If not you are                 going to have to rethink how you pass this data.                 &lt;div&gt;                   &lt;div class="h5"&gt;&lt;br&gt;                     &lt;br&gt;                     &lt;div class="gmail_quote"&gt;On Wed, Mar 16, 2011 at                       8:02 AM, Ovidiu Alexa &lt;span dir="ltr"&gt;&amp;lt;&lt;a                           moz-do-not-send="true"                           href="mailto:ovidiu.alexa@gmail.com"                           target="_blank"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt;                       wrote:&lt;br&gt;                       &lt;blockquote class="gmail_quote" style="margin: 0pt                         0pt 0pt 0.8ex; border-left: 1px solid rgb(204,                         204, 204); padding-left: 1ex;"&gt;                         &lt;div bgcolor="#ffffff" text="#000000"&gt; hi                           thank's for your reply. &lt;br&gt;                           &lt;br&gt;                           i have a form that is generated with jquery,                           here's an example:&lt;br&gt;                           &lt;br&gt;                           input date start, input date end, transport,                           room type, price, currency..... so the start                           and end dates are the reason that I need to                           make so many posts&lt;br&gt;                           &lt;br&gt;                           if I have &lt;br&gt;                           &lt;br&gt;                           01-01-2011 to 01-01-2012 with the gap of 2                           days it will generate 182 rows. 182 * 11                           variables / row = 2002 total vars. because I                           need to set the dates in between (01-01-2011                           to 03-01-2011, 03-01-2011 to 05-01-2011 ...                           01-01-2012)&lt;br&gt;                           &lt;br&gt;                           so this number never reaches 100 in the                           database because the limit per post variables                           is limited . I don't know that limit. Wow do I                           know it's limited?&lt;br&gt;                           &lt;br&gt;                           well if I post only 2 rows and after that I                           post some text in a textarea the text from                           that textarea will be saved, but if I post                           more than 100 rows that same text will not be                           saved. which goes to show that there is                           actually a limit for the maximum number of                           POST variables.&lt;br&gt;                           &lt;br&gt;                           here's a brief description of my form&lt;br&gt;                           &lt;br&gt;                           &amp;lt;form&amp;gt;&lt;br&gt;                           &amp;lt;input&amp;gt;title&lt;br&gt;                           &amp;lt;select, text, radio, checkbox&amp;gt; table                           with rows * 182&lt;br&gt;                           &amp;lt;textarea&amp;gt;some text&lt;br&gt;                           &amp;lt;/form&amp;gt;&lt;br&gt;                           &lt;br&gt;                           &lt;br&gt;                           the output from that form should look like                           this in php;&lt;br&gt;                           &lt;br&gt;                           1. $_POST['start_date'][0] ....                           $_POST['start_date'][182]&lt;br&gt;                           2. $_POST['end_date'][0] ....                           $_POST['end_date'][182]&lt;br&gt;                           3. $_POST['price'][0] ....                           $_POST['price'][182]&lt;br&gt;                           [...]&lt;br&gt;                           11.                           $_POST['last_minute'][0]...$_POST['last_minute'][182]&lt;br&gt;                           &lt;br&gt;                           so 182 rows * 11 types of variables = 2002;                           but I only get 1089 variables (99 rows) in                           total + the title and other small stuff.&lt;br&gt;                           &lt;br&gt;                           &lt;br&gt;                           I think I need to count the total post vars to                           be sure..... and then search for that number                           on the server wherever it might be.&lt;br&gt;                           &lt;br&gt;                           So i'm stuck here.&lt;br&gt;                           &lt;br&gt;                           I don't know how to explain it better but I                           think you get the point.&lt;br&gt;                           &lt;br&gt;                           Again I know this is not a php specific issue,                           it's a server issue or apache I don't know                           that... s*** &lt;br&gt;                           &lt;br&gt;                           It's driving me crazy as hell, so if you have                           any suggestions please help me :D&lt;br&gt;                           &lt;br&gt;                           Cheers!&lt;br&gt;                           &lt;br&gt;                           &lt;br&gt;                           &lt;br&gt;                           &lt;br&gt;                           &lt;br&gt;                           &lt;br&gt;                           &lt;br&gt;                           &lt;div&gt;                             &lt;div style="font-family:                               Arial,Helvetica,sans-serif; font-size:                               14px; color: rgb(51, 51, 51);                               text-decoration: none;"&gt; I'm not always                               right,&lt;br&gt;                               but I'm never wrong.&lt;br&gt;                               &lt;a moz-do-not-send="true"                                 href="http://bit.ly/fT24vu"                                 style="text-decoration: none !                                 important; color: rgb(0, 153, 204);                                 font-family: Arial,Helvetica,sans-serif;                                 font-size: 11px;" title="Party Helpers"                                 target="_blank"&gt;Please visit my site&lt;/a&gt;                             &lt;/div&gt;                           &lt;/div&gt;                           &lt;div&gt;                             &lt;div&gt; &lt;br&gt;                               On 3/16/2011 15:27, Robert Gonzalez wrote:                             &lt;/div&gt;                           &lt;/div&gt;                           &lt;blockquote type="cite"&gt;                             &lt;div&gt;                               &lt;div&gt;Are you talking about the number of                                 elements in the form needing to be less                                 than 200 or the number of rows in a                                 textarea needing to be less than 200?                                 Suhosin is a security patch designed to                                 make PHP more secure. I can kinda see                                 where one of these scenarios could be                                 used to exploit your server that is why                                 I am asking.&lt;br&gt;                                 &lt;br&gt;                                 &lt;div class="gmail_quote"&gt;On Wed, Mar 16,                                   2011 at 5:33 AM, Ovidiu &lt;span                                     dir="ltr"&gt;&amp;lt;&lt;a                                       moz-do-not-send="true"                                       href="mailto:ovidiu.alexa@gmail.com"                                       target="_blank"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt;                                   wrote:&lt;br&gt;                                   &lt;blockquote class="gmail_quote"                                     style="margin: 0pt 0pt 0pt 0.8ex;                                     border-left: 1px solid rgb(204, 204,                                     204); padding-left: 1ex;"&gt; Is this                                     off-topic? I am furious that I can't                                     post more than 200&lt;br&gt;                                     variables in a single form. I                                     searched and searched and found&lt;br&gt;                                     something like post_max_size, ok set                                     that to 500M, restart apache,&lt;br&gt;                                     nothing. max_upload_size, restart,                                     nothing. phpinfo() confirms the&lt;br&gt;                                     changes. so I found out a suhosin                                     php project that is aware of this&lt;br&gt;                                     problem and introduced                                     suhosin.post.max_vars = 2000 and&lt;br&gt;                                     suhosin.request.max_vars. Bummer, I                                     don't have that version of php&lt;br&gt;                                     installed on my server and I don't                                     think that will change soon.&lt;br&gt;                                     &lt;br&gt;                                     I have tried almost everything, even                                     the server admin said the same&lt;br&gt;                                     thing: post_max_size, restart                                     apache.&lt;br&gt;                                     &lt;br&gt;                                     Is this an older topic because I                                     would like to read somethin' later&lt;br&gt;                                     on.&lt;br&gt;                                     &lt;br&gt;                                     So basically i have a jquery form                                     that you can generate with 2&lt;br&gt;                                     calendars: start date, end date.                                     when you hit go, depending on the&lt;br&gt;                                     number of days you set the gap, it                                     will generate rows with select,&lt;br&gt;                                     input, radio buttons and so on. the                                     op then selects the correct data&lt;br&gt;                                     for each row and submits the form.                                     the saved rows to DB never reach a&lt;br&gt;                                     total of 100 lines. below this                                     generated form I also have 3                                     textareas.&lt;br&gt;                                     if I put only 1-99 lines, then the                                     texarea will be saved, else null.&lt;br&gt;                                     so this comes to mind that there                                     must be a limit of maximum post&lt;br&gt;                                     variables, not post_max_size, 'cause                                     now it's like 500M.&lt;br&gt;                                     &lt;br&gt;                                     Have any of you ever reached this                                     problem?&lt;br&gt;                                     hmm maybe if I use a javascript to                                     post them one by one with different&lt;br&gt;                                     requests... or save all the post                                     vars into a huge one, then in php&lt;br&gt;                                     explode them by a limiter.... what                                     do you think?&lt;br&gt;                                     &lt;br&gt;                                     Please help me on this one...&lt;br&gt;                                     &lt;br&gt;                                     Cheers!&lt;br&gt;                                     &lt;br&gt;                                     --&lt;br&gt;                                     This group is managed and maintained                                     by the development staff at 360 PSG.                                     An enterprise application                                     development company utilizing                                     open-source technologies for todays                                     small-to-medium size businesses.&lt;br&gt;                                     &lt;br&gt;                                     For information or project                                     assistance please visit :&lt;br&gt;                                     &lt;a moz-do-not-send="true"                                       href="http://www.360psg.com"                                       target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;                                     &lt;br&gt;                                     You received this message because                                     you are subscribed to the Google                                     Groups "Professional PHP Developers"                                     group.&lt;br&gt;                                     To post to this group, send email to                                     &lt;a moz-do-not-send="true"                                       href="mailto:Professional-PHP@googlegroups.com"                                       target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;                                     To unsubscribe from this group, send                                     email to &lt;a moz-do-not-send="true" href="mailto:Professional-PHP-unsubscribe@googlegroups.com"                                       target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;                                     For more options, visit this group                                     at &lt;a moz-do-not-send="true"                                       href="http://groups.google.com/group/Professional-PHP"                                       target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;                                 &lt;/div&gt;                                 &lt;br&gt;                               &lt;/div&gt;                             &lt;/div&gt;                             -- &lt;br&gt;                             &lt;div&gt; This group is managed and maintained                               by the development staff at 360 PSG. An                               enterprise application development company                               utilizing open-source technologies for                               todays small-to-medium size businesses.&lt;br&gt;                                &lt;br&gt;                               For information or project assistance                               please visit :&lt;br&gt;                               &lt;a moz-do-not-send="true"                                 href="http://www.360psg.com"                                 target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;                                &lt;br&gt;                               You received this message because you are                               subscribed to the Google Groups                               "Professional PHP Developers" group.&lt;br&gt;                               To post to this group, send email to &lt;a                                 moz-do-not-send="true"                                 href="mailto:Professional-PHP@googlegroups.com"                                 target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;                               To unsubscribe from this group, send email                               to &lt;a moz-do-not-send="true"                                 href="mailto:Professional-PHP-unsubscribe@googlegroups.com"                                 target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;                               For more options, visit this group at &lt;a                                 moz-do-not-send="true"                                 href="http://groups.google.com/group/Professional-PHP"                                 target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;                             &lt;/div&gt;                           &lt;/blockquote&gt;                         &lt;/div&gt;                         -- &lt;br&gt;                         &lt;div&gt;                           &lt;div&gt; This group is managed and maintained by                             the development staff at 360 PSG. An                             enterprise application development company                             utilizing open-source technologies for                             todays small-to-medium size businesses.&lt;br&gt;                              &lt;br&gt;                             For information or project assistance please                             visit :&lt;br&gt;                             &lt;a moz-do-not-send="true"                               href="http://www.360psg.com"                               target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;                              &lt;br&gt;                             You received this message because you are                             subscribed to the Google Groups                             "Professional PHP Developers" group.&lt;br&gt;                             To post to this group, send email to &lt;a                               moz-do-not-send="true"                               href="mailto:Professional-PHP@googlegroups.com"                               target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;                             To unsubscribe from this group, send email                             to &lt;a moz-do-not-send="true"                               href="mailto:Professional-PHP-unsubscribe@googlegroups.com"                               target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;                             For more options, visit this group at &lt;a                               moz-do-not-send="true"                               href="http://groups.google.com/group/Professional-PHP"                               target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/div&gt;                         &lt;/div&gt;                       &lt;/blockquote&gt;                     &lt;/div&gt;                     &lt;br&gt;                     -- &lt;br&gt;                     This group is managed and maintained by the                     development staff at 360 PSG. An enterprise                     application development company utilizing                     open-source technologies for todays small-to-medium                     size businesses.&lt;br&gt;                      &lt;br&gt;                     For information or project assistance please visit :&lt;br&gt;                     &lt;a moz-do-not-send="true"                       href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;                      &lt;br&gt;                     You received this message because you are subscribed                     to the Google Groups "Professional PHP Developers"                     group.&lt;br&gt;                     To post to this group, send email to &lt;a                       moz-do-not-send="true"                       href="mailto:Professional-PHP@googlegroups.com"                       target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;                     To unsubscribe from this group, send email to &lt;a                       moz-do-not-send="true"                       href="mailto:Professional-PHP-unsubscribe@googlegroups.com"                       target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;                     For more options, visit this group at &lt;a                       moz-do-not-send="true"                       href="http://groups.google.com/group/Professional-PHP"                       target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;                   &lt;/div&gt;                 &lt;/div&gt;               &lt;/blockquote&gt;             &lt;/div&gt;             &lt;div&gt;               &lt;div class="h5"&gt;                 -- &lt;br&gt;                 This group is managed and maintained by the development                 staff at 360 PSG. An enterprise application development                 company utilizing open-source technologies for todays                 small-to-medium size businesses.&lt;br&gt;                  &lt;br&gt;                 For information or project assistance please visit :&lt;br&gt;                 &lt;a moz-do-not-send="true" href="http://www.360psg.com"                   target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;                  &lt;br&gt;                 You received this message because you are subscribed to                 the Google Groups "Professional PHP Developers" group.&lt;br&gt;                 To post to this group, send email to &lt;a                   moz-do-not-send="true"                   href="mailto:Professional-PHP@googlegroups.com"                   target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;                 To unsubscribe from this group, send email to &lt;a                   moz-do-not-send="true"                   href="mailto:Professional-PHP-unsubscribe@googlegroups.com"                   target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;                 For more options, visit this group at &lt;a                   moz-do-not-send="true"                   href="http://groups.google.com/group/Professional-PHP"                   target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/div&gt;             &lt;/div&gt;           &lt;/blockquote&gt;         &lt;/div&gt;         &lt;br&gt;       &lt;/div&gt;       -- &lt;br&gt;       This group is managed and maintained by the development staff at       360 PSG. An enterprise application development company utilizing       open-source technologies for todays small-to-medium size       businesses.&lt;br&gt;        &lt;br&gt;       For information or project assistance please visit :&lt;br&gt;       &lt;a moz-do-not-send="true" href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;        &lt;br&gt;       You received this message because you are subscribed to the Google       Groups "Professional PHP Developers" group.&lt;br&gt;       To post to this group, send email to       &lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;       To unsubscribe from this group, send email to       &lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;       For more options, visit this group at &lt;a moz-do-not-send="true"         href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;     &lt;/blockquote&gt;   &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-3241695080147926565?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3241695080147926565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3241695080147926565'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-maxpostsize_8231.html' title='Re: [Pro. PHP Dev.] max_post_size'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-4530075688868021424</id><published>2011-03-16T09:07:00.000-07:00</published><updated>2011-03-16T09:31:18.024-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] max_post_size</title><content type='html'>Zorro has the right jQuery function .serialize()&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://api.jquery.com/serialize/"&gt;http://api.jquery.com/serialize/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://api.jquery.com/serialize/"&gt;&lt;/a&gt;&lt;a href="http://stackoverflow.com/questions/1792603/how-do-i-php-unserialize-a-jquery-serialized-form"&gt;http://stackoverflow.com/questions/1792603/how-do-i-php-unserialize-a-jquery-serialized-form&lt;/a&gt;&lt;/div&gt;  &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://stackoverflow.com/questions/1792603/how-do-i-php-unserialize-a-jquery-serialized-form"&gt;&lt;/a&gt;This is completely passive, you should only have to do some minor javascript to run the serialize() function on your form (upon submit), and the serialized value that you send to PHP should be pretty easy to snag.&lt;/div&gt;  &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I&amp;#39;ve been where you are now...  Trying to fix a problem one way when there is another solution that will get  you where you want to go.  Sounds like you&amp;#39;ve already spent too much time trying to fix it with the server, what&amp;#39;s 20 minutes to stick some javascript in, alter your PHP script slightly and test it?&lt;br clear="all"&gt;  &lt;br&gt;--Heath&lt;br&gt; &lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;On Wed, Mar 16, 2011 at 11:56 AM, Ovidiu Alexa &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:ovidiu.alexa@gmail.com"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"&gt;                 &lt;div bgcolor="#ffffff" text="#000000"&gt;     that&amp;#39;s the problem, I don&amp;#39;t have suhosin on this server. &lt;br&gt;&lt;div class="im"&gt;     &lt;div&gt;       &lt;div style="font-family:Arial,Helvetica,sans-serif;font-size:14px;color:rgb(51, 51, 51);text-decoration:none"&gt;         I&amp;#39;m not always right,&lt;br&gt;         but I&amp;#39;m never wrong.&lt;br&gt;         &lt;a href="http://bit.ly/fT24vu" style="text-decoration:none ! important;color:rgb(0, 153, 204);font-family:Arial,Helvetica,sans-serif;font-size:11px" title="Party Helpers" target="_blank"&gt;Please visit my site&lt;/a&gt;       &lt;/div&gt;     &lt;/div&gt;     &lt;br&gt;&lt;/div&gt;     On 3/16/2011 17:18, Robert Gonzalez wrote:     &lt;blockquote type="cite"&gt;Can you just change the suhosin setting in php.ini and       restart apache? If not you are going to have to rethink how you       pass this data.&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="h5"&gt;&lt;br&gt;       &lt;br&gt;       &lt;div class="gmail_quote"&gt;On Wed, Mar 16, 2011 at 8:02 AM, Ovidiu         Alexa &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:ovidiu.alexa@gmail.com" target="_blank"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt;         wrote:&lt;br&gt;         &lt;blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"&gt;           &lt;div bgcolor="#ffffff" text="#000000"&gt; hi thank&amp;#39;s for your             reply. &lt;br&gt;             &lt;br&gt;             i have a form that is generated with jquery, here&amp;#39;s an             example:&lt;br&gt;             &lt;br&gt;             input date start, input date end, transport, room type,             price, currency..... so the start and end dates are the             reason that I need to make so many posts&lt;br&gt;             &lt;br&gt;             if I have &lt;br&gt;             &lt;br&gt;             01-01-2011 to 01-01-2012 with the gap of 2 days it will             generate 182 rows. 182 * 11 variables / row = 2002 total             vars. because I need to set the dates in between (01-01-2011             to 03-01-2011, 03-01-2011 to 05-01-2011 ... 01-01-2012)&lt;br&gt;             &lt;br&gt;             so this number never reaches 100 in the database because the             limit per post variables is limited . I don&amp;#39;t know that             limit. Wow do I know it&amp;#39;s limited?&lt;br&gt;             &lt;br&gt;             well if I post only 2 rows and after that I post some text             in a textarea the text from that textarea will be saved, but             if I post more than 100 rows that same text will not be             saved. which goes to show that there is actually a limit for             the maximum number of POST variables.&lt;br&gt;             &lt;br&gt;             here&amp;#39;s a brief description of my form&lt;br&gt;             &lt;br&gt;             &amp;lt;form&amp;gt;&lt;br&gt;             &amp;lt;input&amp;gt;title&lt;br&gt;             &amp;lt;select, text, radio, checkbox&amp;gt; table with rows * 182&lt;br&gt;             &amp;lt;textarea&amp;gt;some text&lt;br&gt;             &amp;lt;/form&amp;gt;&lt;br&gt;             &lt;br&gt;             &lt;br&gt;             the output from that form should look like this in php;&lt;br&gt;             &lt;br&gt;             1. $_POST[&amp;#39;start_date&amp;#39;][0] .... $_POST[&amp;#39;start_date&amp;#39;][182]&lt;br&gt;             2. $_POST[&amp;#39;end_date&amp;#39;][0] .... $_POST[&amp;#39;end_date&amp;#39;][182]&lt;br&gt;             3. $_POST[&amp;#39;price&amp;#39;][0] .... $_POST[&amp;#39;price&amp;#39;][182]&lt;br&gt;             [...]&lt;br&gt;             11. $_POST[&amp;#39;last_minute&amp;#39;][0]...$_POST[&amp;#39;last_minute&amp;#39;][182]&lt;br&gt;             &lt;br&gt;             so 182 rows * 11 types of variables = 2002; but I only get             1089 variables (99 rows) in total + the title and other             small stuff.&lt;br&gt;             &lt;br&gt;             &lt;br&gt;             I think I need to count the total post vars to be sure.....             and then search for that number on the server wherever it             might be.&lt;br&gt;             &lt;br&gt;             So i&amp;#39;m stuck here.&lt;br&gt;             &lt;br&gt;             I don&amp;#39;t know how to explain it better but I think you get             the point.&lt;br&gt;             &lt;br&gt;             Again I know this is not a php specific issue, it&amp;#39;s a server             issue or apache I don&amp;#39;t know that... s*** &lt;br&gt;             &lt;br&gt;             It&amp;#39;s driving me crazy as hell, so if you have any             suggestions please help me :D&lt;br&gt;             &lt;br&gt;             Cheers!&lt;br&gt;             &lt;br&gt;             &lt;br&gt;             &lt;br&gt;             &lt;br&gt;             &lt;br&gt;             &lt;br&gt;             &lt;br&gt;             &lt;div&gt;               &lt;div style="font-family:Arial,Helvetica,sans-serif;font-size:14px;color:rgb(51, 51, 51);text-decoration:none"&gt; I&amp;#39;m not always right,&lt;br&gt;                 but I&amp;#39;m never wrong.&lt;br&gt;                 &lt;a href="http://bit.ly/fT24vu" style="text-decoration:none ! important;color:rgb(0, 153, 204);font-family:Arial,Helvetica,sans-serif;font-size:11px" title="Party Helpers" target="_blank"&gt;Please visit my                   site&lt;/a&gt; &lt;/div&gt;             &lt;/div&gt;             &lt;div&gt;               &lt;div&gt; &lt;br&gt;                 On 3/16/2011 15:27, Robert Gonzalez wrote: &lt;/div&gt;             &lt;/div&gt;             &lt;blockquote type="cite"&gt;               &lt;div&gt;                 &lt;div&gt;Are you talking about the number of                   elements in the form needing to be less than 200 or                   the number of rows in a textarea needing to be less                   than 200? Suhosin is a security patch designed to make                   PHP more secure. I can kinda see where one of these                   scenarios could be used to exploit your server that is                   why I am asking.&lt;br&gt;                   &lt;br&gt;                   &lt;div class="gmail_quote"&gt;On Wed, Mar 16, 2011 at 5:33                     AM, Ovidiu &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:ovidiu.alexa@gmail.com" target="_blank"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt;                     wrote:&lt;br&gt;                     &lt;blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"&gt; Is this off-topic?                       I am furious that I can&amp;#39;t post more than 200&lt;br&gt;                       variables in a single form. I searched and                       searched and found&lt;br&gt;                       something like post_max_size, ok set that to 500M,                       restart apache,&lt;br&gt;                       nothing. max_upload_size, restart, nothing.                       phpinfo() confirms the&lt;br&gt;                       changes. so I found out a suhosin php project that                       is aware of this&lt;br&gt;                       problem and introduced suhosin.post.max_vars =                       2000 and&lt;br&gt;                       suhosin.request.max_vars. Bummer, I don&amp;#39;t have                       that version of php&lt;br&gt;                       installed on my server and I don&amp;#39;t think that will                       change soon.&lt;br&gt;                       &lt;br&gt;                       I have tried almost everything, even the server                       admin said the same&lt;br&gt;                       thing: post_max_size, restart apache.&lt;br&gt;                       &lt;br&gt;                       Is this an older topic because I would like to                       read somethin&amp;#39; later&lt;br&gt;                       on.&lt;br&gt;                       &lt;br&gt;                       So basically i have a jquery form that you can                       generate with 2&lt;br&gt;                       calendars: start date, end date. when you hit go,                       depending on the&lt;br&gt;                       number of days you set the gap, it will generate                       rows with select,&lt;br&gt;                       input, radio buttons and so on. the op then                       selects the correct data&lt;br&gt;                       for each row and submits the form. the saved rows                       to DB never reach a&lt;br&gt;                       total of 100 lines. below this generated form I                       also have 3 textareas.&lt;br&gt;                       if I put only 1-99 lines, then the texarea will be                       saved, else null.&lt;br&gt;                       so this comes to mind that there must be a limit                       of maximum post&lt;br&gt;                       variables, not post_max_size, &amp;#39;cause now it&amp;#39;s like                       500M.&lt;br&gt;                       &lt;br&gt;                       Have any of you ever reached this problem?&lt;br&gt;                       hmm maybe if I use a javascript to post them one                       by one with different&lt;br&gt;                       requests... or save all the post vars into a huge                       one, then in php&lt;br&gt;                       explode them by a limiter.... what do you think?&lt;br&gt;                       &lt;br&gt;                       Please help me on this one...&lt;br&gt;                       &lt;br&gt;                       Cheers!&lt;br&gt;                       &lt;br&gt;                       --&lt;br&gt;                       This group is managed and maintained by the                       development staff at 360 PSG. An enterprise                       application development company utilizing                       open-source technologies for todays                       small-to-medium size businesses.&lt;br&gt;                       &lt;br&gt;                       For information or project assistance please visit                       :&lt;br&gt;                       &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;                       &lt;br&gt;                       You received this message because you are                       subscribed to the Google Groups &amp;quot;Professional PHP                       Developers&amp;quot; group.&lt;br&gt;                       To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;                       To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;                       For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;                   &lt;/div&gt;                   &lt;br&gt;                 &lt;/div&gt;               &lt;/div&gt;               -- &lt;br&gt;               &lt;div&gt; This group is managed and maintained by                 the development staff at 360 PSG. An enterprise                 application development company utilizing open-source                 technologies for todays small-to-medium size businesses.&lt;br&gt;                  &lt;br&gt;                 For information or project assistance please visit :&lt;br&gt;                 &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;                  &lt;br&gt;                 You received this message because you are subscribed to                 the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;                 To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;                 To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;                 For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;               &lt;/div&gt;             &lt;/blockquote&gt;           &lt;/div&gt;           -- &lt;br&gt;           &lt;div&gt;             &lt;div&gt;               This group is managed and maintained by the development               staff at 360 PSG. An enterprise application development               company utilizing open-source technologies for todays               small-to-medium size businesses.&lt;br&gt;                &lt;br&gt;               For information or project assistance please visit :&lt;br&gt;               &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;                &lt;br&gt;               You received this message because you are subscribed to               the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;               To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;               To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;               For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/div&gt;           &lt;/div&gt;         &lt;/blockquote&gt;       &lt;/div&gt;       &lt;br&gt;       -- &lt;br&gt;       This group is managed and maintained by the development staff at       360 PSG. An enterprise application development company utilizing       open-source technologies for todays small-to-medium size       businesses.&lt;br&gt;        &lt;br&gt;       For information or project assistance please visit :&lt;br&gt;       &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;        &lt;br&gt;       You received this message because you are subscribed to the Google       Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;       To post to this group, send email to       &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;       To unsubscribe from this group, send email to       &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;       For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;     &lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;   &lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="h5"&gt;   &lt;p&gt;&lt;/p&gt;  -- &lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;  &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;  &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-4530075688868021424?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/4530075688868021424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/4530075688868021424'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-maxpostsize_9584.html' title='Re: [Pro. PHP Dev.] max_post_size'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-8065395256791758252</id><published>2011-03-16T08:56:00.000-07:00</published><updated>2011-03-16T08:57:35.214-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] max_post_size</title><content type='html'>that's the problem, I don't have suhosin on this server. &lt;br&gt;     &lt;div class="moz-signature"&gt;       &lt;div style="font-family: Arial,Helvetica,sans-serif; font-size:         14px; color: rgb(51, 51, 51); text-decoration: none;"&gt;         I'm not always right,&lt;br&gt;         but I'm never wrong.&lt;br&gt;         &lt;a href="http://bit.ly/fT24vu" target="_blank" style="cursor:           pointer ! important; text-decoration: none ! important; color:           rgb(0, 153, 204); font-family: Arial,Helvetica,sans-serif;           font-size: 11px;" title="Party Helpers"&gt;Please visit my site&lt;/a&gt;       &lt;/div&gt;     &lt;/div&gt;     &lt;br&gt;     On 3/16/2011 17:18, Robert Gonzalez wrote:     &lt;blockquote       cite="mid:AANLkTi=NDC7dBJodAx5Yy1m_N3UcnCitvZUf4xvmfr-0@mail.gmail.com"       type="cite"&gt;Can you just change the suhosin setting in php.ini and       restart apache? If not you are going to have to rethink how you       pass this data.&lt;br&gt;       &lt;br&gt;       &lt;div class="gmail_quote"&gt;On Wed, Mar 16, 2011 at 8:02 AM, Ovidiu         Alexa &lt;span dir="ltr"&gt;&amp;lt;&lt;a moz-do-not-send="true"             href="mailto:ovidiu.alexa@gmail.com"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt;         wrote:&lt;br&gt;         &lt;blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt           0.8ex; border-left: 1px solid rgb(204, 204, 204);           padding-left: 1ex;"&gt;           &lt;div bgcolor="#ffffff" text="#000000"&gt; hi thank's for your             reply. &lt;br&gt;             &lt;br&gt;             i have a form that is generated with jquery, here's an             example:&lt;br&gt;             &lt;br&gt;             input date start, input date end, transport, room type,             price, currency..... so the start and end dates are the             reason that I need to make so many posts&lt;br&gt;             &lt;br&gt;             if I have &lt;br&gt;             &lt;br&gt;             01-01-2011 to 01-01-2012 with the gap of 2 days it will             generate 182 rows. 182 * 11 variables / row = 2002 total             vars. because I need to set the dates in between (01-01-2011             to 03-01-2011, 03-01-2011 to 05-01-2011 ... 01-01-2012)&lt;br&gt;             &lt;br&gt;             so this number never reaches 100 in the database because the             limit per post variables is limited . I don't know that             limit. Wow do I know it's limited?&lt;br&gt;             &lt;br&gt;             well if I post only 2 rows and after that I post some text             in a textarea the text from that textarea will be saved, but             if I post more than 100 rows that same text will not be             saved. which goes to show that there is actually a limit for             the maximum number of POST variables.&lt;br&gt;             &lt;br&gt;             here's a brief description of my form&lt;br&gt;             &lt;br&gt;             &amp;lt;form&amp;gt;&lt;br&gt;             &amp;lt;input&amp;gt;title&lt;br&gt;             &amp;lt;select, text, radio, checkbox&amp;gt; table with rows * 182&lt;br&gt;             &amp;lt;textarea&amp;gt;some text&lt;br&gt;             &amp;lt;/form&amp;gt;&lt;br&gt;             &lt;br&gt;             &lt;br&gt;             the output from that form should look like this in php;&lt;br&gt;             &lt;br&gt;             1. $_POST['start_date'][0] .... $_POST['start_date'][182]&lt;br&gt;             2. $_POST['end_date'][0] .... $_POST['end_date'][182]&lt;br&gt;             3. $_POST['price'][0] .... $_POST['price'][182]&lt;br&gt;             [...]&lt;br&gt;             11. $_POST['last_minute'][0]...$_POST['last_minute'][182]&lt;br&gt;             &lt;br&gt;             so 182 rows * 11 types of variables = 2002; but I only get             1089 variables (99 rows) in total + the title and other             small stuff.&lt;br&gt;             &lt;br&gt;             &lt;br&gt;             I think I need to count the total post vars to be sure.....             and then search for that number on the server wherever it             might be.&lt;br&gt;             &lt;br&gt;             So i'm stuck here.&lt;br&gt;             &lt;br&gt;             I don't know how to explain it better but I think you get             the point.&lt;br&gt;             &lt;br&gt;             Again I know this is not a php specific issue, it's a server             issue or apache I don't know that... s*** &lt;br&gt;             &lt;br&gt;             It's driving me crazy as hell, so if you have any             suggestions please help me :D&lt;br&gt;             &lt;br&gt;             Cheers!&lt;br&gt;             &lt;br&gt;             &lt;br&gt;             &lt;br&gt;             &lt;br&gt;             &lt;br&gt;             &lt;br&gt;             &lt;br&gt;             &lt;div&gt;               &lt;div style="font-family: Arial,Helvetica,sans-serif;                 font-size: 14px; color: rgb(51, 51, 51);                 text-decoration: none;"&gt; I'm not always right,&lt;br&gt;                 but I'm never wrong.&lt;br&gt;                 &lt;a moz-do-not-send="true" href="http://bit.ly/fT24vu"                   style="text-decoration: none ! important; color:                   rgb(0, 153, 204); font-family:                   Arial,Helvetica,sans-serif; font-size: 11px;"                   title="Party Helpers" target="_blank"&gt;Please visit my                   site&lt;/a&gt; &lt;/div&gt;             &lt;/div&gt;             &lt;div&gt;               &lt;div class="h5"&gt; &lt;br&gt;                 On 3/16/2011 15:27, Robert Gonzalez wrote: &lt;/div&gt;             &lt;/div&gt;             &lt;blockquote type="cite"&gt;               &lt;div&gt;                 &lt;div class="h5"&gt;Are you talking about the number of                   elements in the form needing to be less than 200 or                   the number of rows in a textarea needing to be less                   than 200? Suhosin is a security patch designed to make                   PHP more secure. I can kinda see where one of these                   scenarios could be used to exploit your server that is                   why I am asking.&lt;br&gt;                   &lt;br&gt;                   &lt;div class="gmail_quote"&gt;On Wed, Mar 16, 2011 at 5:33                     AM, Ovidiu &lt;span dir="ltr"&gt;&amp;lt;&lt;a                         moz-do-not-send="true"                         href="mailto:ovidiu.alexa@gmail.com"                         target="_blank"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt;                     wrote:&lt;br&gt;                     &lt;blockquote class="gmail_quote" style="margin: 0pt                       0pt 0pt 0.8ex; border-left: 1px solid rgb(204,                       204, 204); padding-left: 1ex;"&gt; Is this off-topic?                       I am furious that I can't post more than 200&lt;br&gt;                       variables in a single form. I searched and                       searched and found&lt;br&gt;                       something like post_max_size, ok set that to 500M,                       restart apache,&lt;br&gt;                       nothing. max_upload_size, restart, nothing.                       phpinfo() confirms the&lt;br&gt;                       changes. so I found out a suhosin php project that                       is aware of this&lt;br&gt;                       problem and introduced suhosin.post.max_vars =                       2000 and&lt;br&gt;                       suhosin.request.max_vars. Bummer, I don't have                       that version of php&lt;br&gt;                       installed on my server and I don't think that will                       change soon.&lt;br&gt;                       &lt;br&gt;                       I have tried almost everything, even the server                       admin said the same&lt;br&gt;                       thing: post_max_size, restart apache.&lt;br&gt;                       &lt;br&gt;                       Is this an older topic because I would like to                       read somethin' later&lt;br&gt;                       on.&lt;br&gt;                       &lt;br&gt;                       So basically i have a jquery form that you can                       generate with 2&lt;br&gt;                       calendars: start date, end date. when you hit go,                       depending on the&lt;br&gt;                       number of days you set the gap, it will generate                       rows with select,&lt;br&gt;                       input, radio buttons and so on. the op then                       selects the correct data&lt;br&gt;                       for each row and submits the form. the saved rows                       to DB never reach a&lt;br&gt;                       total of 100 lines. below this generated form I                       also have 3 textareas.&lt;br&gt;                       if I put only 1-99 lines, then the texarea will be                       saved, else null.&lt;br&gt;                       so this comes to mind that there must be a limit                       of maximum post&lt;br&gt;                       variables, not post_max_size, 'cause now it's like                       500M.&lt;br&gt;                       &lt;br&gt;                       Have any of you ever reached this problem?&lt;br&gt;                       hmm maybe if I use a javascript to post them one                       by one with different&lt;br&gt;                       requests... or save all the post vars into a huge                       one, then in php&lt;br&gt;                       explode them by a limiter.... what do you think?&lt;br&gt;                       &lt;br&gt;                       Please help me on this one...&lt;br&gt;                       &lt;br&gt;                       Cheers!&lt;br&gt;                       &lt;br&gt;                       --&lt;br&gt;                       This group is managed and maintained by the                       development staff at 360 PSG. An enterprise                       application development company utilizing                       open-source technologies for todays                       small-to-medium size businesses.&lt;br&gt;                       &lt;br&gt;                       For information or project assistance please visit                       :&lt;br&gt;                       &lt;a moz-do-not-send="true"                         href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;                       &lt;br&gt;                       You received this message because you are                       subscribed to the Google Groups "Professional PHP                       Developers" group.&lt;br&gt;                       To post to this group, send email to &lt;a                         moz-do-not-send="true"                         href="mailto:Professional-PHP@googlegroups.com"                         target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;                       To unsubscribe from this group, send email to &lt;a                         moz-do-not-send="true"                         href="mailto:Professional-PHP-unsubscribe@googlegroups.com"                         target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;                       For more options, visit this group at &lt;a                         moz-do-not-send="true"                         href="http://groups.google.com/group/Professional-PHP"                         target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;                   &lt;/div&gt;                   &lt;br&gt;                 &lt;/div&gt;               &lt;/div&gt;               -- &lt;br&gt;               &lt;div class="im"&gt; This group is managed and maintained by                 the development staff at 360 PSG. An enterprise                 application development company utilizing open-source                 technologies for todays small-to-medium size businesses.&lt;br&gt;                  &lt;br&gt;                 For information or project assistance please visit :&lt;br&gt;                 &lt;a moz-do-not-send="true" href="http://www.360psg.com"                   target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;                  &lt;br&gt;                 You received this message because you are subscribed to                 the Google Groups "Professional PHP Developers" group.&lt;br&gt;                 To post to this group, send email to &lt;a                   moz-do-not-send="true"                   href="mailto:Professional-PHP@googlegroups.com"                   target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;                 To unsubscribe from this group, send email to &lt;a                   moz-do-not-send="true"                   href="mailto:Professional-PHP-unsubscribe@googlegroups.com"                   target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;                 For more options, visit this group at &lt;a                   moz-do-not-send="true"                   href="http://groups.google.com/group/Professional-PHP"                   target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;               &lt;/div&gt;             &lt;/blockquote&gt;           &lt;/div&gt;           -- &lt;br&gt;           &lt;div&gt;             &lt;div class="h5"&gt;               This group is managed and maintained by the development               staff at 360 PSG. An enterprise application development               company utilizing open-source technologies for todays               small-to-medium size businesses.&lt;br&gt;                &lt;br&gt;               For information or project assistance please visit :&lt;br&gt;               &lt;a moz-do-not-send="true" href="http://www.360psg.com"                 target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;                &lt;br&gt;               You received this message because you are subscribed to               the Google Groups "Professional PHP Developers" group.&lt;br&gt;               To post to this group, send email to &lt;a                 moz-do-not-send="true"                 href="mailto:Professional-PHP@googlegroups.com"                 target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;               To unsubscribe from this group, send email to &lt;a                 moz-do-not-send="true"                 href="mailto:Professional-PHP-unsubscribe@googlegroups.com"                 target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;               For more options, visit this group at &lt;a                 moz-do-not-send="true"                 href="http://groups.google.com/group/Professional-PHP"                 target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/div&gt;           &lt;/div&gt;         &lt;/blockquote&gt;       &lt;/div&gt;       &lt;br&gt;       -- &lt;br&gt;       This group is managed and maintained by the development staff at       360 PSG. An enterprise application development company utilizing       open-source technologies for todays small-to-medium size       businesses.&lt;br&gt;        &lt;br&gt;       For information or project assistance please visit :&lt;br&gt;       &lt;a moz-do-not-send="true" href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;        &lt;br&gt;       You received this message because you are subscribed to the Google       Groups "Professional PHP Developers" group.&lt;br&gt;       To post to this group, send email to       &lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;       To unsubscribe from this group, send email to       &lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;       For more options, visit this group at &lt;a moz-do-not-send="true"         href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;     &lt;/blockquote&gt;   &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-8065395256791758252?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/8065395256791758252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/8065395256791758252'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-maxpostsize_389.html' title='Re: [Pro. PHP Dev.] max_post_size'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-1309639091124392579</id><published>2011-03-16T08:53:00.000-07:00</published><updated>2011-03-16T08:54:16.795-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] max_post_size</title><content type='html'>Hi again,&lt;br&gt;     &lt;br&gt;     here's what I'm talking 'bout: &lt;a href="https://picasaweb.google.com/ovidiu.alexa/RallyBigForm#5584704997907845538"&gt;https://picasaweb.google.com/ovidiu.alexa/RallyBigForm#5584704997907845538&lt;/a&gt;&lt;br&gt;     &lt;br&gt;     this form is very long and I have no problem with javascript, jquery     or html. this form work's fine. the problem is server-side. it's     just too much damn information. the server has a limit somewhere but     I don't know where to find and change the maximum post variables.     ok, if I try to add another row it won't save it. if I remove one     row and write some text in the big textarea that text will be saved.&lt;br&gt;     &lt;br&gt;     It's kinda complicated, I don't even want to begin about jquery     (even if I wanted to it's still a php group)&lt;br&gt;     &lt;br&gt;     So, yeah... &lt;br&gt;     &lt;br&gt;     Thanks for your concern :)&lt;br&gt;     &lt;br&gt;     I'm doomed.&lt;br&gt;     &lt;br&gt;     &lt;div class="moz-signature"&gt;       &lt;div style="font-family: Arial,Helvetica,sans-serif; font-size:         14px; color: rgb(51, 51, 51); text-decoration: none;"&gt;         I'm not always right,&lt;br&gt;         but I'm never wrong.&lt;br&gt;         &lt;a href="http://bit.ly/fT24vu" target="_blank" style="cursor:           pointer ! important; text-decoration: none ! important; color:           rgb(0, 153, 204); font-family: Arial,Helvetica,sans-serif;           font-size: 11px;" title="Party Helpers"&gt;Please visit my site&lt;/a&gt;       &lt;/div&gt;     &lt;/div&gt;     &lt;br&gt;     On 3/16/2011 17:14, Heath Aiken wrote:     &lt;blockquote       cite="mid:AANLkTinQFhXOm7KoCaciHn0g0ZsedJ1jFy+RRZXbHtRO@mail.gmail.com"       type="cite"&gt;I don't know much about the server side of things, but       if you are using jQuery to generate the form, then it stands to       reason that you *need* javascript for the operation of your site /       application. So, seeing how the proper operation of your form       (with javascript disabled) is not a requirement, I think that you       can solve this issue with jQuery.  I'm not a jQuery expert, so I       can't give you details on how you would do this, but I would       suggest taking the inputs of each "row", and serializing it       (basically, all of the values of a row become a single POST       variable), submitting it, and then exploding into the proper       variables in your PHP script.       &lt;div&gt;         &lt;br&gt;       &lt;/div&gt;       &lt;div&gt;Because if the other solution requires you to monkey with         unusual / non-standard Apache settings, then you reduce the         portability of your code.&lt;br&gt;       &lt;/div&gt;       &lt;div&gt;&lt;br&gt;       &lt;/div&gt;       &lt;div&gt;Just a thought off the top of my head.&lt;/div&gt;       &lt;div&gt;&lt;br&gt;         --Heath&lt;br&gt;         &lt;br&gt;         &lt;br&gt;         &lt;div class="gmail_quote"&gt;On Wed, Mar 16, 2011 at 11:02 AM,           Ovidiu Alexa &lt;span dir="ltr"&gt;&amp;lt;&lt;a moz-do-not-send="true"               href="mailto:ovidiu.alexa@gmail.com"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt;           wrote:&lt;br&gt;           &lt;blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt             0.8ex; border-left: 1px solid rgb(204, 204, 204);             padding-left: 1ex;"&gt;             &lt;div bgcolor="#ffffff" text="#000000"&gt; hi thank's for your               reply. &lt;br&gt;               &lt;br&gt;               i have a form that is generated with jquery, here's an               example:&lt;br&gt;               &lt;br&gt;               input date start, input date end, transport, room type,               price, currency..... so the start and end dates are the               reason that I need to make so many posts&lt;br&gt;               &lt;br&gt;               if I have &lt;br&gt;               &lt;br&gt;               01-01-2011 to 01-01-2012 with the gap of 2 days it will               generate 182 rows. 182 * 11 variables / row = 2002 total               vars. because I need to set the dates in between               (01-01-2011 to 03-01-2011, 03-01-2011 to 05-01-2011 ...               01-01-2012)&lt;br&gt;               &lt;br&gt;               so this number never reaches 100 in the database because               the limit per post variables is limited . I don't know               that limit. Wow do I know it's limited?&lt;br&gt;               &lt;br&gt;               well if I post only 2 rows and after that I post some text               in a textarea the text from that textarea will be saved,               but if I post more than 100 rows that same text will not               be saved. which goes to show that there is actually a               limit for the maximum number of POST variables.&lt;br&gt;               &lt;br&gt;               here's a brief description of my form&lt;br&gt;               &lt;br&gt;               &amp;lt;form&amp;gt;&lt;br&gt;               &amp;lt;input&amp;gt;title&lt;br&gt;               &amp;lt;select, text, radio, checkbox&amp;gt; table with rows *               182&lt;br&gt;               &amp;lt;textarea&amp;gt;some text&lt;br&gt;               &amp;lt;/form&amp;gt;&lt;br&gt;               &lt;br&gt;               &lt;br&gt;               the output from that form should look like this in php;&lt;br&gt;               &lt;br&gt;               1. $_POST['start_date'][0] .... $_POST['start_date'][182]&lt;br&gt;               2. $_POST['end_date'][0] .... $_POST['end_date'][182]&lt;br&gt;               3. $_POST['price'][0] .... $_POST['price'][182]&lt;br&gt;               [...]&lt;br&gt;               11. $_POST['last_minute'][0]...$_POST['last_minute'][182]&lt;br&gt;               &lt;br&gt;               so 182 rows * 11 types of variables = 2002; but I only get               1089 variables (99 rows) in total + the title and other               small stuff.&lt;br&gt;               &lt;br&gt;               &lt;br&gt;               I think I need to count the total post vars to be               sure..... and then search for that number on the server               wherever it might be.&lt;br&gt;               &lt;br&gt;               So i'm stuck here.&lt;br&gt;               &lt;br&gt;               I don't know how to explain it better but I think you get               the point.&lt;br&gt;               &lt;br&gt;               Again I know this is not a php specific issue, it's a               server issue or apache I don't know that... s*** &lt;br&gt;               &lt;br&gt;               It's driving me crazy as hell, so if you have any               suggestions please help me :D&lt;br&gt;               &lt;br&gt;               Cheers!&lt;br&gt;               &lt;br&gt;               &lt;br&gt;               &lt;br&gt;               &lt;br&gt;               &lt;br&gt;               &lt;br&gt;               &lt;br&gt;               &lt;div&gt;                 &lt;div style="font-family: Arial,Helvetica,sans-serif;                   font-size: 14px; color: rgb(51, 51, 51);                   text-decoration: none;"&gt; I'm not always right,&lt;br&gt;                   but I'm never wrong.&lt;br&gt;                   &lt;a moz-do-not-send="true" href="http://bit.ly/fT24vu"                     style="text-decoration: none ! important; color:                     rgb(0, 153, 204); font-family:                     Arial,Helvetica,sans-serif; font-size: 11px;"                     title="Party Helpers" target="_blank"&gt;Please visit                     my site&lt;/a&gt; &lt;/div&gt;               &lt;/div&gt;               &lt;br&gt;               On 3/16/2011 15:27, Robert Gonzalez wrote:               &lt;blockquote type="cite"&gt;Are you talking about the number                 of elements in the form needing to be less than 200 or                 the number of rows in a textarea needing to be less than                 200? Suhosin is a security patch designed to make PHP                 more secure. I can kinda see where one of these                 scenarios could be used to exploit your server that is                 why I am asking.&lt;br&gt;                 &lt;br&gt;                 &lt;div class="gmail_quote"&gt;On Wed, Mar 16, 2011 at 5:33                   AM, Ovidiu &lt;span dir="ltr"&gt;&amp;lt;&lt;a                       moz-do-not-send="true"                       href="mailto:ovidiu.alexa@gmail.com"                       target="_blank"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt;                   wrote:&lt;br&gt;                   &lt;blockquote class="gmail_quote" style="margin: 0pt 0pt                     0pt 0.8ex; border-left: 1px solid rgb(204, 204,                     204); padding-left: 1ex;"&gt; Is this off-topic? I am                     furious that I can't post more than 200&lt;br&gt;                     variables in a single form. I searched and searched                     and found&lt;br&gt;                     something like post_max_size, ok set that to 500M,                     restart apache,&lt;br&gt;                     nothing. max_upload_size, restart, nothing.                     phpinfo() confirms the&lt;br&gt;                     changes. so I found out a suhosin php project that                     is aware of this&lt;br&gt;                     problem and introduced suhosin.post.max_vars = 2000                     and&lt;br&gt;                     suhosin.request.max_vars. Bummer, I don't have that                     version of php&lt;br&gt;                     installed on my server and I don't think that will                     change soon.&lt;br&gt;                     &lt;br&gt;                     I have tried almost everything, even the server                     admin said the same&lt;br&gt;                     thing: post_max_size, restart apache.&lt;br&gt;                     &lt;br&gt;                     Is this an older topic because I would like to read                     somethin' later&lt;br&gt;                     on.&lt;br&gt;                     &lt;br&gt;                     So basically i have a jquery form that you can                     generate with 2&lt;br&gt;                     calendars: start date, end date. when you hit go,                     depending on the&lt;br&gt;                     number of days you set the gap, it will generate                     rows with select,&lt;br&gt;                     input, radio buttons and so on. the op then selects                     the correct data&lt;br&gt;                     for each row and submits the form. the saved rows to                     DB never reach a&lt;br&gt;                     total of 100 lines. below this generated form I also                     have 3 textareas.&lt;br&gt;                     if I put only 1-99 lines, then the texarea will be                     saved, else null.&lt;br&gt;                     so this comes to mind that there must be a limit of                     maximum post&lt;br&gt;                     variables, not post_max_size, 'cause now it's like                     500M.&lt;br&gt;                     &lt;br&gt;                     Have any of you ever reached this problem?&lt;br&gt;                     hmm maybe if I use a javascript to post them one by                     one with different&lt;br&gt;                     requests... or save all the post vars into a huge                     one, then in php&lt;br&gt;                     explode them by a limiter.... what do you think?&lt;br&gt;                     &lt;br&gt;                     Please help me on this one...&lt;br&gt;                     &lt;br&gt;                     Cheers!&lt;br&gt;                     &lt;br&gt;                     --&lt;br&gt;                     This group is managed and maintained by the                     development staff at 360 PSG. An enterprise                     application development company utilizing                     open-source technologies for todays small-to-medium                     size businesses.&lt;br&gt;                     &lt;br&gt;                     For information or project assistance please visit :&lt;br&gt;                     &lt;a moz-do-not-send="true"                       href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;                     &lt;br&gt;                     You received this message because you are subscribed                     to the Google Groups "Professional PHP Developers"                     group.&lt;br&gt;                     To post to this group, send email to &lt;a                       moz-do-not-send="true"                       href="mailto:Professional-PHP@googlegroups.com"                       target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;                     To unsubscribe from this group, send email to &lt;a                       moz-do-not-send="true"                       href="mailto:Professional-PHP-unsubscribe@googlegroups.com"                       target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;                     For more options, visit this group at &lt;a                       moz-do-not-send="true"                       href="http://groups.google.com/group/Professional-PHP"                       target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;                 &lt;/div&gt;                 &lt;br&gt;                 -- &lt;br&gt;                 This group is managed and maintained by the development                 staff at 360 PSG. An enterprise application development                 company utilizing open-source technologies for todays                 small-to-medium size businesses.&lt;br&gt;                  &lt;br&gt;                 For information or project assistance please visit :&lt;br&gt;                 &lt;a moz-do-not-send="true" href="http://www.360psg.com"                   target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;                  &lt;br&gt;                 You received this message because you are subscribed to                 the Google Groups "Professional PHP Developers" group.&lt;br&gt;                 To post to this group, send email to &lt;a                   moz-do-not-send="true"                   href="mailto:Professional-PHP@googlegroups.com"                   target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;                 To unsubscribe from this group, send email to &lt;a                   moz-do-not-send="true"                   href="mailto:Professional-PHP-unsubscribe@googlegroups.com"                   target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;                 For more options, visit this group at &lt;a                   moz-do-not-send="true"                   href="http://groups.google.com/group/Professional-PHP"                   target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;               &lt;/blockquote&gt;             &lt;/div&gt;             -- &lt;br&gt;             This group is managed and maintained by the development             staff at 360 PSG. An enterprise application development             company utilizing open-source technologies for todays             small-to-medium size businesses.&lt;br&gt;              &lt;br&gt;             For information or project assistance please visit :&lt;br&gt;             &lt;a moz-do-not-send="true" href="http://www.360psg.com"               target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;              &lt;br&gt;             You received this message because you are subscribed to the             Google Groups "Professional PHP Developers" group.&lt;br&gt;             To post to this group, send email to &lt;a               moz-do-not-send="true"               href="mailto:Professional-PHP@googlegroups.com"               target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;             To unsubscribe from this group, send email to &lt;a               moz-do-not-send="true"               href="mailto:Professional-PHP-unsubscribe@googlegroups.com"               target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;             For more options, visit this group at &lt;a               moz-do-not-send="true"               href="http://groups.google.com/group/Professional-PHP"               target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;         &lt;/div&gt;         &lt;br&gt;       &lt;/div&gt;       -- &lt;br&gt;       This group is managed and maintained by the development staff at       360 PSG. An enterprise application development company utilizing       open-source technologies for todays small-to-medium size       businesses.&lt;br&gt;        &lt;br&gt;       For information or project assistance please visit :&lt;br&gt;       &lt;a moz-do-not-send="true" href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;        &lt;br&gt;       You received this message because you are subscribed to the Google       Groups "Professional PHP Developers" group.&lt;br&gt;       To post to this group, send email to       &lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;       To unsubscribe from this group, send email to       &lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;       For more options, visit this group at &lt;a moz-do-not-send="true"         href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;     &lt;/blockquote&gt;   &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-1309639091124392579?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/1309639091124392579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/1309639091124392579'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-maxpostsize_2996.html' title='Re: [Pro. PHP Dev.] max_post_size'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-5241439333981959948</id><published>2011-03-16T08:50:00.001-07:00</published><updated>2011-03-16T08:50:46.224-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] max_post_size</title><content type='html'>I agree, JQuery can serialize a form with a function, example var s=myform.serialize(). So you could post that one variable and split it on &amp;amp;.&lt;br&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-5241439333981959948?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/5241439333981959948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/5241439333981959948'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-maxpostsize_1451.html' title='Re: [Pro. PHP Dev.] max_post_size'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-6492767083684494294</id><published>2011-03-16T08:18:00.001-07:00</published><updated>2011-03-16T08:18:48.999-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] max_post_size</title><content type='html'>Can you just change the suhosin setting in php.ini and restart apache? If not you are going to have to rethink how you pass this data.&lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;On Wed, Mar 16, 2011 at 8:02 AM, Ovidiu Alexa &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:ovidiu.alexa@gmail.com"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt; &lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"&gt;               &lt;div bgcolor="#ffffff" text="#000000"&gt;     hi thank&amp;#39;s for your reply. &lt;br&gt;     &lt;br&gt;     i have a form that is generated with jquery, here&amp;#39;s an example:&lt;br&gt;     &lt;br&gt;     input date start, input date end, transport, room type, price,     currency..... so the start and end dates are the reason that I need     to make so many posts&lt;br&gt;     &lt;br&gt;     if I have &lt;br&gt;     &lt;br&gt;     01-01-2011 to 01-01-2012 with the gap of 2 days it will generate 182     rows. 182 * 11 variables / row = 2002 total vars. because I need to     set the dates in between (01-01-2011 to 03-01-2011, 03-01-2011 to     05-01-2011 ... 01-01-2012)&lt;br&gt;     &lt;br&gt;     so this number never reaches 100 in the database because the limit     per post variables is limited . I don&amp;#39;t know that limit. Wow do I     know it&amp;#39;s limited?&lt;br&gt;     &lt;br&gt;     well if I post only 2 rows and after that I post some text in a     textarea the text from that textarea will be saved, but if I post     more than 100 rows that same text will not be saved. which goes to     show that there is actually a limit for the maximum number of POST     variables.&lt;br&gt;     &lt;br&gt;     here&amp;#39;s a brief description of my form&lt;br&gt;     &lt;br&gt;     &amp;lt;form&amp;gt;&lt;br&gt;     &amp;lt;input&amp;gt;title&lt;br&gt;     &amp;lt;select, text, radio, checkbox&amp;gt; table with rows * 182&lt;br&gt;     &amp;lt;textarea&amp;gt;some text&lt;br&gt;     &amp;lt;/form&amp;gt;&lt;br&gt;     &lt;br&gt;     &lt;br&gt;     the output from that form should look like this in php;&lt;br&gt;     &lt;br&gt;     1. $_POST[&amp;#39;start_date&amp;#39;][0] .... $_POST[&amp;#39;start_date&amp;#39;][182]&lt;br&gt;     2. $_POST[&amp;#39;end_date&amp;#39;][0] .... $_POST[&amp;#39;end_date&amp;#39;][182]&lt;br&gt;     3. $_POST[&amp;#39;price&amp;#39;][0] .... $_POST[&amp;#39;price&amp;#39;][182]&lt;br&gt;     [...]&lt;br&gt;     11. $_POST[&amp;#39;last_minute&amp;#39;][0]...$_POST[&amp;#39;last_minute&amp;#39;][182]&lt;br&gt;     &lt;br&gt;     so 182 rows * 11 types of variables = 2002; but I only get 1089     variables (99 rows) in total + the title and other small stuff.&lt;br&gt;     &lt;br&gt;     &lt;br&gt;     I think I need to count the total post vars to be sure..... and then     search for that number on the server wherever it might be.&lt;br&gt;     &lt;br&gt;     So i&amp;#39;m stuck here.&lt;br&gt;     &lt;br&gt;     I don&amp;#39;t know how to explain it better but I think you get the point.&lt;br&gt;     &lt;br&gt;     Again I know this is not a php specific issue, it&amp;#39;s a server issue     or apache I don&amp;#39;t know that... s*** &lt;br&gt;     &lt;br&gt;     It&amp;#39;s driving me crazy as hell, so if you have any suggestions please     help me :D&lt;br&gt;     &lt;br&gt;     Cheers!&lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;div&gt;       &lt;div style="font-family:Arial,Helvetica,sans-serif;font-size:14px;color:rgb(51, 51, 51);text-decoration:none"&gt;         I&amp;#39;m not always right,&lt;br&gt;         but I&amp;#39;m never wrong.&lt;br&gt;         &lt;a href="http://bit.ly/fT24vu" style="text-decoration:none ! important;color:rgb(0, 153, 204);font-family:Arial,Helvetica,sans-serif;font-size:11px" title="Party Helpers" target="_blank"&gt;Please visit my site&lt;/a&gt;       &lt;/div&gt;     &lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="h5"&gt;     &lt;br&gt;     On 3/16/2011 15:27, Robert Gonzalez wrote:     &lt;/div&gt;&lt;/div&gt;&lt;blockquote type="cite"&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="h5"&gt;Are you talking about the number of elements in the       form needing to be less than 200 or the number of rows in a       textarea needing to be less than 200? Suhosin is a security patch       designed to make PHP more secure. I can kinda see where one of       these scenarios could be used to exploit your server that is why I       am asking.&lt;br&gt;       &lt;br&gt;       &lt;div class="gmail_quote"&gt;On Wed, Mar 16, 2011 at 5:33 AM, Ovidiu &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:ovidiu.alexa@gmail.com" target="_blank"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt;         wrote:&lt;br&gt;         &lt;blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"&gt;           Is this off-topic? I am furious that I can&amp;#39;t post more than           200&lt;br&gt;           variables in a single form. I searched and searched and found&lt;br&gt;           something like post_max_size, ok set that to 500M, restart           apache,&lt;br&gt;           nothing. max_upload_size, restart, nothing. phpinfo() confirms           the&lt;br&gt;           changes. so I found out a suhosin php project that is aware of           this&lt;br&gt;           problem and introduced suhosin.post.max_vars = 2000 and&lt;br&gt;           suhosin.request.max_vars. Bummer, I don&amp;#39;t have that version of           php&lt;br&gt;           installed on my server and I don&amp;#39;t think that will change           soon.&lt;br&gt;           &lt;br&gt;           I have tried almost everything, even the server admin said the           same&lt;br&gt;           thing: post_max_size, restart apache.&lt;br&gt;           &lt;br&gt;           Is this an older topic because I would like to read somethin&amp;#39;           later&lt;br&gt;           on.&lt;br&gt;           &lt;br&gt;           So basically i have a jquery form that you can generate with 2&lt;br&gt;           calendars: start date, end date. when you hit go, depending on           the&lt;br&gt;           number of days you set the gap, it will generate rows with           select,&lt;br&gt;           input, radio buttons and so on. the op then selects the           correct data&lt;br&gt;           for each row and submits the form. the saved rows to DB never           reach a&lt;br&gt;           total of 100 lines. below this generated form I also have 3           textareas.&lt;br&gt;           if I put only 1-99 lines, then the texarea will be saved, else           null.&lt;br&gt;           so this comes to mind that there must be a limit of maximum           post&lt;br&gt;           variables, not post_max_size, &amp;#39;cause now it&amp;#39;s like 500M.&lt;br&gt;           &lt;br&gt;           Have any of you ever reached this problem?&lt;br&gt;           hmm maybe if I use a javascript to post them one by one with           different&lt;br&gt;           requests... or save all the post vars into a huge one, then in           php&lt;br&gt;           explode them by a limiter.... what do you think?&lt;br&gt;           &lt;br&gt;           Please help me on this one...&lt;br&gt;           &lt;br&gt;           Cheers!&lt;br&gt;           &lt;br&gt;           --&lt;br&gt;           This group is managed and maintained by the development staff           at 360 PSG. An enterprise application development company           utilizing open-source technologies for todays small-to-medium           size businesses.&lt;br&gt;           &lt;br&gt;           For information or project assistance please visit :&lt;br&gt;           &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;           &lt;br&gt;           You received this message because you are subscribed to the           Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;           To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;           To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;           For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;       &lt;/div&gt;       &lt;br&gt;&lt;/div&gt;&lt;/div&gt;       -- &lt;br&gt;&lt;div class="im"&gt;       This group is managed and maintained by the development staff at       360 PSG. An enterprise application development company utilizing       open-source technologies for todays small-to-medium size       businesses.&lt;br&gt;        &lt;br&gt;       For information or project assistance please visit :&lt;br&gt;       &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;        &lt;br&gt;       You received this message because you are subscribed to the Google       Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;       To post to this group, send email to       &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;       To unsubscribe from this group, send email to       &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;       For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;     &lt;/div&gt;&lt;/blockquote&gt;   &lt;/div&gt;   &lt;p&gt;&lt;/p&gt;  -- &lt;br&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="h5"&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;  &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;  &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-6492767083684494294?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/6492767083684494294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/6492767083684494294'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-maxpostsize_9410.html' title='Re: [Pro. PHP Dev.] max_post_size'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-7515335589804987375</id><published>2011-03-16T08:14:00.000-07:00</published><updated>2011-03-16T08:25:36.761-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] max_post_size</title><content type='html'>I don&amp;#39;t know much about the server side of things, but if you are using jQuery to generate the form, then it stands to reason that you *need* javascript for the operation of your site / application. So, seeing how the proper operation of your form (with javascript disabled) is not a requirement, I think that you can solve this issue with jQuery.  I&amp;#39;m not a jQuery expert, so I can&amp;#39;t give you details on how you would do this, but I would suggest taking the inputs of each &amp;quot;row&amp;quot;, and serializing it (basically, all of the values of a row become a single POST variable), submitting it, and then exploding into the proper variables in your PHP script.&lt;div&gt;  &lt;br&gt;&lt;/div&gt;&lt;div&gt;Because if the other solution requires you to monkey with unusual / non-standard Apache settings, then you reduce the portability of your code.&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Just a thought off the top of my head.&lt;/div&gt;  &lt;div&gt;&lt;br&gt;--Heath&lt;br&gt; &lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;On Wed, Mar 16, 2011 at 11:02 AM, Ovidiu Alexa &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:ovidiu.alexa@gmail.com"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"&gt;                 &lt;div bgcolor="#ffffff" text="#000000"&gt;     hi thank&amp;#39;s for your reply. &lt;br&gt;     &lt;br&gt;     i have a form that is generated with jquery, here&amp;#39;s an example:&lt;br&gt;     &lt;br&gt;     input date start, input date end, transport, room type, price,     currency..... so the start and end dates are the reason that I need     to make so many posts&lt;br&gt;     &lt;br&gt;     if I have &lt;br&gt;     &lt;br&gt;     01-01-2011 to 01-01-2012 with the gap of 2 days it will generate 182     rows. 182 * 11 variables / row = 2002 total vars. because I need to     set the dates in between (01-01-2011 to 03-01-2011, 03-01-2011 to     05-01-2011 ... 01-01-2012)&lt;br&gt;     &lt;br&gt;     so this number never reaches 100 in the database because the limit     per post variables is limited . I don&amp;#39;t know that limit. Wow do I     know it&amp;#39;s limited?&lt;br&gt;     &lt;br&gt;     well if I post only 2 rows and after that I post some text in a     textarea the text from that textarea will be saved, but if I post     more than 100 rows that same text will not be saved. which goes to     show that there is actually a limit for the maximum number of POST     variables.&lt;br&gt;     &lt;br&gt;     here&amp;#39;s a brief description of my form&lt;br&gt;     &lt;br&gt;     &amp;lt;form&amp;gt;&lt;br&gt;     &amp;lt;input&amp;gt;title&lt;br&gt;     &amp;lt;select, text, radio, checkbox&amp;gt; table with rows * 182&lt;br&gt;     &amp;lt;textarea&amp;gt;some text&lt;br&gt;     &amp;lt;/form&amp;gt;&lt;br&gt;     &lt;br&gt;     &lt;br&gt;     the output from that form should look like this in php;&lt;br&gt;     &lt;br&gt;     1. $_POST[&amp;#39;start_date&amp;#39;][0] .... $_POST[&amp;#39;start_date&amp;#39;][182]&lt;br&gt;     2. $_POST[&amp;#39;end_date&amp;#39;][0] .... $_POST[&amp;#39;end_date&amp;#39;][182]&lt;br&gt;     3. $_POST[&amp;#39;price&amp;#39;][0] .... $_POST[&amp;#39;price&amp;#39;][182]&lt;br&gt;     [...]&lt;br&gt;     11. $_POST[&amp;#39;last_minute&amp;#39;][0]...$_POST[&amp;#39;last_minute&amp;#39;][182]&lt;br&gt;     &lt;br&gt;     so 182 rows * 11 types of variables = 2002; but I only get 1089     variables (99 rows) in total + the title and other small stuff.&lt;br&gt;     &lt;br&gt;     &lt;br&gt;     I think I need to count the total post vars to be sure..... and then     search for that number on the server wherever it might be.&lt;br&gt;     &lt;br&gt;     So i&amp;#39;m stuck here.&lt;br&gt;     &lt;br&gt;     I don&amp;#39;t know how to explain it better but I think you get the point.&lt;br&gt;     &lt;br&gt;     Again I know this is not a php specific issue, it&amp;#39;s a server issue     or apache I don&amp;#39;t know that... s*** &lt;br&gt;     &lt;br&gt;     It&amp;#39;s driving me crazy as hell, so if you have any suggestions please     help me :D&lt;br&gt;     &lt;br&gt;     Cheers!&lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;div&gt;       &lt;div style="font-family:Arial,Helvetica,sans-serif;font-size:14px;color:rgb(51, 51, 51);text-decoration:none"&gt;         I&amp;#39;m not always right,&lt;br&gt;         but I&amp;#39;m never wrong.&lt;br&gt;         &lt;a href="http://bit.ly/fT24vu" style="text-decoration:none ! important;color:rgb(0, 153, 204);font-family:Arial,Helvetica,sans-serif;font-size:11px" title="Party Helpers" target="_blank"&gt;Please visit my site&lt;/a&gt;       &lt;/div&gt;     &lt;/div&gt;     &lt;br&gt;     On 3/16/2011 15:27, Robert Gonzalez wrote:     &lt;blockquote type="cite"&gt;Are you talking about the number of elements in the       form needing to be less than 200 or the number of rows in a       textarea needing to be less than 200? Suhosin is a security patch       designed to make PHP more secure. I can kinda see where one of       these scenarios could be used to exploit your server that is why I       am asking.&lt;br&gt;       &lt;br&gt;       &lt;div class="gmail_quote"&gt;On Wed, Mar 16, 2011 at 5:33 AM, Ovidiu &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:ovidiu.alexa@gmail.com" target="_blank"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt;         wrote:&lt;br&gt;         &lt;blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"&gt;           Is this off-topic? I am furious that I can&amp;#39;t post more than           200&lt;br&gt;           variables in a single form. I searched and searched and found&lt;br&gt;           something like post_max_size, ok set that to 500M, restart           apache,&lt;br&gt;           nothing. max_upload_size, restart, nothing. phpinfo() confirms           the&lt;br&gt;           changes. so I found out a suhosin php project that is aware of           this&lt;br&gt;           problem and introduced suhosin.post.max_vars = 2000 and&lt;br&gt;           suhosin.request.max_vars. Bummer, I don&amp;#39;t have that version of           php&lt;br&gt;           installed on my server and I don&amp;#39;t think that will change           soon.&lt;br&gt;           &lt;br&gt;           I have tried almost everything, even the server admin said the           same&lt;br&gt;           thing: post_max_size, restart apache.&lt;br&gt;           &lt;br&gt;           Is this an older topic because I would like to read somethin&amp;#39;           later&lt;br&gt;           on.&lt;br&gt;           &lt;br&gt;           So basically i have a jquery form that you can generate with 2&lt;br&gt;           calendars: start date, end date. when you hit go, depending on           the&lt;br&gt;           number of days you set the gap, it will generate rows with           select,&lt;br&gt;           input, radio buttons and so on. the op then selects the           correct data&lt;br&gt;           for each row and submits the form. the saved rows to DB never           reach a&lt;br&gt;           total of 100 lines. below this generated form I also have 3           textareas.&lt;br&gt;           if I put only 1-99 lines, then the texarea will be saved, else           null.&lt;br&gt;           so this comes to mind that there must be a limit of maximum           post&lt;br&gt;           variables, not post_max_size, &amp;#39;cause now it&amp;#39;s like 500M.&lt;br&gt;           &lt;br&gt;           Have any of you ever reached this problem?&lt;br&gt;           hmm maybe if I use a javascript to post them one by one with           different&lt;br&gt;           requests... or save all the post vars into a huge one, then in           php&lt;br&gt;           explode them by a limiter.... what do you think?&lt;br&gt;           &lt;br&gt;           Please help me on this one...&lt;br&gt;           &lt;br&gt;           Cheers!&lt;br&gt;           &lt;br&gt;           --&lt;br&gt;           This group is managed and maintained by the development staff           at 360 PSG. An enterprise application development company           utilizing open-source technologies for todays small-to-medium           size businesses.&lt;br&gt;           &lt;br&gt;           For information or project assistance please visit :&lt;br&gt;           &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;           &lt;br&gt;           You received this message because you are subscribed to the           Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;           To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;           To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;           For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;       &lt;/div&gt;       &lt;br&gt;       -- &lt;br&gt;       This group is managed and maintained by the development staff at       360 PSG. An enterprise application development company utilizing       open-source technologies for todays small-to-medium size       businesses.&lt;br&gt;        &lt;br&gt;       For information or project assistance please visit :&lt;br&gt;       &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;        &lt;br&gt;       You received this message because you are subscribed to the Google       Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;       To post to this group, send email to       &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;       To unsubscribe from this group, send email to       &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;       For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;     &lt;/blockquote&gt;   &lt;/div&gt;   &lt;p&gt;&lt;/p&gt;  -- &lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;  &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;  &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-7515335589804987375?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/7515335589804987375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/7515335589804987375'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-maxpostsize_415.html' title='Re: [Pro. PHP Dev.] max_post_size'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-2834863794807911620</id><published>2011-03-16T08:11:00.000-07:00</published><updated>2011-03-16T08:14:18.841-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] Re: Somewhat OT Survey - E-mail clients</title><content type='html'>Hi I use thunderbird on winxp I think it's on imap I'm not sure, but     there's a checkbox there in the settings called "leave messages on     server" and another one below called "for at most X days" ever tried     that or the version for linux doesn't have that?&lt;br&gt;     &lt;br&gt;     Hope that helps.&lt;br&gt;     Cheers!&lt;br&gt;     &lt;br&gt;     &lt;div class="moz-signature"&gt;       &lt;div style="font-family: Arial,Helvetica,sans-serif; font-size:         14px; color: rgb(51, 51, 51); text-decoration: none;"&gt;         I'm not always right,&lt;br&gt;         but I'm never wrong.&lt;br&gt;         &lt;a href="http://bit.ly/fT24vu" target="_blank" style="cursor:           pointer ! important; text-decoration: none ! important; color:           rgb(0, 153, 204); font-family: Arial,Helvetica,sans-serif;           font-size: 11px;" title="Party Helpers"&gt;Please visit my site&lt;/a&gt;       &lt;/div&gt;     &lt;/div&gt;     &lt;br&gt;     On 3/16/2011 16:22, Jeff wrote:     &lt;blockquote cite="mid:afe01491-1c0d-47ab-a28d-1925a413fbc2@o30g2000pra.googlegroups.com"       type="cite"&gt;       &lt;pre wrap=""&gt;Thanks!  On Mar 16, 9:08 am, Joseph Williams &lt;a class="moz-txt-link-rfc2396E" href="mailto:joseph.s.willi...@gmail.com"&gt;&amp;lt;joseph.s.willi...@gmail.com&amp;gt;&lt;/a&gt; wrote: &lt;/pre&gt;       &lt;blockquote type="cite"&gt;         &lt;pre wrap=""&gt;Ah, I just tend to wipe my laptop every 6 months or so, so I imap and sort it by folders. But yeah I used clawmail a lot with my netbook and it worked good.  On Mar 16, 2011 9:05 AM, "Jeff" &lt;a class="moz-txt-link-rfc2396E" href="mailto:jeffri...@gmail.com"&gt;&amp;lt;jeffri...@gmail.com&amp;gt;&lt;/a&gt; wrote:  I keep a lot of old messages as archive on my local computer - but don't want them all on the server ... too much clutter AND I don't want to have my laptop download all the 'in between' messages when I go on the road once or twice a month.  So - no IMAP for me.  I want to grab my messages off the server then have a clean e-mail account.  On Mar 16, 8:47 am, Joseph Williams &lt;a class="moz-txt-link-rfc2396E" href="mailto:joseph.s.willi...@gmail.com"&gt;&amp;lt;joseph.s.willi...@gmail.com&amp;gt;&lt;/a&gt; wrote:  &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;pre wrap=""&gt;I have used claw and liked it. But I am curious as to why you don't want imap? &lt;/pre&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;pre wrap=""&gt;On Mar 16, 2011 8:36 AM, "Jeff" &lt;a class="moz-txt-link-rfc2396E" href="mailto:jeffri...@gmail.com"&gt;&amp;lt;jeffri...@gmail.com&amp;gt;&lt;/a&gt; wrote: &lt;/pre&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;pre wrap=""&gt;Win XP. &lt;/pre&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; &lt;/pre&gt;         &lt;blockquote type="cite"&gt;           &lt;pre wrap=""&gt;On Mar 16, 8:28 am, R... &lt;/pre&gt;         &lt;/blockquote&gt;         &lt;pre wrap=""&gt; --  This group is managed and maintained by the development staff at 360 PSG. An enterprise application ... &lt;/pre&gt;       &lt;/blockquote&gt;       &lt;pre wrap=""&gt; &lt;/pre&gt;     &lt;/blockquote&gt;   &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-2834863794807911620?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/2834863794807911620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/2834863794807911620'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-re-somewhat-ot-survey-e_672.html' title='Re: [Pro. PHP Dev.] Re: Somewhat OT Survey - E-mail clients'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-5454844248578137467</id><published>2011-03-16T08:02:00.000-07:00</published><updated>2011-03-16T08:05:20.673-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] max_post_size</title><content type='html'>hi thank's for your reply. &lt;br&gt;     &lt;br&gt;     i have a form that is generated with jquery, here's an example:&lt;br&gt;     &lt;br&gt;     input date start, input date end, transport, room type, price,     currency..... so the start and end dates are the reason that I need     to make so many posts&lt;br&gt;     &lt;br&gt;     if I have &lt;br&gt;     &lt;br&gt;     01-01-2011 to 01-01-2012 with the gap of 2 days it will generate 182     rows. 182 * 11 variables / row = 2002 total vars. because I need to     set the dates in between (01-01-2011 to 03-01-2011, 03-01-2011 to     05-01-2011 ... 01-01-2012)&lt;br&gt;     &lt;br&gt;     so this number never reaches 100 in the database because the limit     per post variables is limited . I don't know that limit. Wow do I     know it's limited?&lt;br&gt;     &lt;br&gt;     well if I post only 2 rows and after that I post some text in a     textarea the text from that textarea will be saved, but if I post     more than 100 rows that same text will not be saved. which goes to     show that there is actually a limit for the maximum number of POST     variables.&lt;br&gt;     &lt;br&gt;     here's a brief description of my form&lt;br&gt;     &lt;br&gt;     &amp;lt;form&amp;gt;&lt;br&gt;     &amp;lt;input&amp;gt;title&lt;br&gt;     &amp;lt;select, text, radio, checkbox&amp;gt; table with rows * 182&lt;br&gt;     &amp;lt;textarea&amp;gt;some text&lt;br&gt;     &amp;lt;/form&amp;gt;&lt;br&gt;     &lt;br&gt;     &lt;br&gt;     the output from that form should look like this in php;&lt;br&gt;     &lt;br&gt;     1. $_POST['start_date'][0] .... $_POST['start_date'][182]&lt;br&gt;     2. $_POST['end_date'][0] .... $_POST['end_date'][182]&lt;br&gt;     3. $_POST['price'][0] .... $_POST['price'][182]&lt;br&gt;     [...]&lt;br&gt;     11. $_POST['last_minute'][0]...$_POST['last_minute'][182]&lt;br&gt;     &lt;br&gt;     so 182 rows * 11 types of variables = 2002; but I only get 1089     variables (99 rows) in total + the title and other small stuff.&lt;br&gt;     &lt;br&gt;     &lt;br&gt;     I think I need to count the total post vars to be sure..... and then     search for that number on the server wherever it might be.&lt;br&gt;     &lt;br&gt;     So i'm stuck here.&lt;br&gt;     &lt;br&gt;     I don't know how to explain it better but I think you get the point.&lt;br&gt;     &lt;br&gt;     Again I know this is not a php specific issue, it's a server issue     or apache I don't know that... s*** &lt;br&gt;     &lt;br&gt;     It's driving me crazy as hell, so if you have any suggestions please     help me :D&lt;br&gt;     &lt;br&gt;     Cheers!&lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;div class="moz-signature"&gt;       &lt;div style="font-family: Arial,Helvetica,sans-serif; font-size:         14px; color: rgb(51, 51, 51); text-decoration: none;"&gt;         I'm not always right,&lt;br&gt;         but I'm never wrong.&lt;br&gt;         &lt;a href="http://bit.ly/fT24vu" target="_blank" style="cursor:           pointer ! important; text-decoration: none ! important; color:           rgb(0, 153, 204); font-family: Arial,Helvetica,sans-serif;           font-size: 11px;" title="Party Helpers"&gt;Please visit my site&lt;/a&gt;       &lt;/div&gt;     &lt;/div&gt;     &lt;br&gt;     On 3/16/2011 15:27, Robert Gonzalez wrote:     &lt;blockquote       cite="mid:AANLkTin-yOeBDJAKJ7NS09=HSm+7wY9kCWbfMNBV-P5w@mail.gmail.com"       type="cite"&gt;Are you talking about the number of elements in the       form needing to be less than 200 or the number of rows in a       textarea needing to be less than 200? Suhosin is a security patch       designed to make PHP more secure. I can kinda see where one of       these scenarios could be used to exploit your server that is why I       am asking.&lt;br&gt;       &lt;br&gt;       &lt;div class="gmail_quote"&gt;On Wed, Mar 16, 2011 at 5:33 AM, Ovidiu &lt;span           dir="ltr"&gt;&amp;lt;&lt;a moz-do-not-send="true"             href="mailto:ovidiu.alexa@gmail.com"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt;         wrote:&lt;br&gt;         &lt;blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt           0.8ex; border-left: 1px solid rgb(204, 204, 204);           padding-left: 1ex;"&gt;           Is this off-topic? I am furious that I can't post more than           200&lt;br&gt;           variables in a single form. I searched and searched and found&lt;br&gt;           something like post_max_size, ok set that to 500M, restart           apache,&lt;br&gt;           nothing. max_upload_size, restart, nothing. phpinfo() confirms           the&lt;br&gt;           changes. so I found out a suhosin php project that is aware of           this&lt;br&gt;           problem and introduced suhosin.post.max_vars = 2000 and&lt;br&gt;           suhosin.request.max_vars. Bummer, I don't have that version of           php&lt;br&gt;           installed on my server and I don't think that will change           soon.&lt;br&gt;           &lt;br&gt;           I have tried almost everything, even the server admin said the           same&lt;br&gt;           thing: post_max_size, restart apache.&lt;br&gt;           &lt;br&gt;           Is this an older topic because I would like to read somethin'           later&lt;br&gt;           on.&lt;br&gt;           &lt;br&gt;           So basically i have a jquery form that you can generate with 2&lt;br&gt;           calendars: start date, end date. when you hit go, depending on           the&lt;br&gt;           number of days you set the gap, it will generate rows with           select,&lt;br&gt;           input, radio buttons and so on. the op then selects the           correct data&lt;br&gt;           for each row and submits the form. the saved rows to DB never           reach a&lt;br&gt;           total of 100 lines. below this generated form I also have 3           textareas.&lt;br&gt;           if I put only 1-99 lines, then the texarea will be saved, else           null.&lt;br&gt;           so this comes to mind that there must be a limit of maximum           post&lt;br&gt;           variables, not post_max_size, 'cause now it's like 500M.&lt;br&gt;           &lt;br&gt;           Have any of you ever reached this problem?&lt;br&gt;           hmm maybe if I use a javascript to post them one by one with           different&lt;br&gt;           requests... or save all the post vars into a huge one, then in           php&lt;br&gt;           explode them by a limiter.... what do you think?&lt;br&gt;           &lt;br&gt;           Please help me on this one...&lt;br&gt;           &lt;br&gt;           Cheers!&lt;br&gt;           &lt;br&gt;           --&lt;br&gt;           This group is managed and maintained by the development staff           at 360 PSG. An enterprise application development company           utilizing open-source technologies for todays small-to-medium           size businesses.&lt;br&gt;           &lt;br&gt;           For information or project assistance please visit :&lt;br&gt;           &lt;a moz-do-not-send="true" href="http://www.360psg.com"             target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;           &lt;br&gt;           You received this message because you are subscribed to the           Google Groups "Professional PHP Developers" group.&lt;br&gt;           To post to this group, send email to &lt;a             moz-do-not-send="true"             href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;           To unsubscribe from this group, send email to &lt;a             moz-do-not-send="true"             href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;           For more options, visit this group at &lt;a             moz-do-not-send="true"             href="http://groups.google.com/group/Professional-PHP"             target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;       &lt;/div&gt;       &lt;br&gt;       -- &lt;br&gt;       This group is managed and maintained by the development staff at       360 PSG. An enterprise application development company utilizing       open-source technologies for todays small-to-medium size       businesses.&lt;br&gt;        &lt;br&gt;       For information or project assistance please visit :&lt;br&gt;       &lt;a moz-do-not-send="true" href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;        &lt;br&gt;       You received this message because you are subscribed to the Google       Groups "Professional PHP Developers" group.&lt;br&gt;       To post to this group, send email to       &lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;       To unsubscribe from this group, send email to       &lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;       For more options, visit this group at &lt;a moz-do-not-send="true"         href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;     &lt;/blockquote&gt;   &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-5454844248578137467?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/5454844248578137467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/5454844248578137467'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-maxpostsize_16.html' title='Re: [Pro. PHP Dev.] max_post_size'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-4200055723498297422</id><published>2011-03-16T07:22:00.000-07:00</published><updated>2011-03-16T07:23:55.073-07:00</updated><title type='text'>[Pro. PHP Dev.] Re: Somewhat OT Survey - E-mail clients</title><content type='html'>Thanks!&lt;p&gt;On Mar 16, 9:08&amp;#160;am, Joseph Williams &amp;lt;&lt;a href="mailto:joseph.s.willi...@gmail.com"&gt;joseph.s.willi...@gmail.com&lt;/a&gt;&amp;gt;&lt;br&gt;wrote:&lt;br&gt;&amp;gt; Ah, I just tend to wipe my laptop every 6 months or so, so I imap and sort&lt;br&gt;&amp;gt; it by folders. But yeah I used clawmail a lot with my netbook and it worked&lt;br&gt;&amp;gt; good.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; On Mar 16, 2011 9:05 AM, &amp;quot;Jeff&amp;quot; &amp;lt;&lt;a href="mailto:jeffri...@gmail.com"&gt;jeffri...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; I keep a lot of old messages as archive on my local computer - but&lt;br&gt;&amp;gt; don&amp;#39;t want them all on the server ... too much clutter AND I don&amp;#39;t&lt;br&gt;&amp;gt; want to have my laptop download all the &amp;#39;in between&amp;#39; messages when I&lt;br&gt;&amp;gt; go on the road once or twice a month. &amp;#160;So - no IMAP for me. &amp;#160;I want to&lt;br&gt;&amp;gt; grab my messages off the server then have a clean e-mail account.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; On Mar 16, 8:47 am, Joseph Williams &amp;lt;&lt;a href="mailto:joseph.s.willi...@gmail.com"&gt;joseph.s.willi...@gmail.com&lt;/a&gt;&amp;gt;&lt;br&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; I have used claw and liked it. But I am curious as to why you don&amp;#39;t want&lt;br&gt;&amp;gt; &amp;gt; imap?&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; On Mar 16, 2011 8:36 AM, &amp;quot;Jeff&amp;quot; &amp;lt;&lt;a href="mailto:jeffri...@gmail.com"&gt;jeffri...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; Win XP.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; On Mar 16, 8:28 am, R...&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; --&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; This group is managed and maintained by the development staff at 360 PSG. An&lt;br&gt;&amp;gt; enterprise application ...&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-4200055723498297422?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/4200055723498297422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/4200055723498297422'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-re-somewhat-ot-survey-e_4248.html' title='[Pro. PHP Dev.] Re: Somewhat OT Survey - E-mail clients'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-3926044835600510927</id><published>2011-03-16T07:08:00.000-07:00</published><updated>2011-03-16T07:09:48.925-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] Re: Somewhat OT Survey - E-mail clients</title><content type='html'>&lt;p&gt;Ah, I just tend to wipe my laptop every 6 months or so, so I imap and sort it by folders. But yeah I used clawmail a lot with my netbook and it worked good.&lt;/p&gt; &lt;p&gt;&lt;blockquote type="cite"&gt;On Mar 16, 2011 9:05 AM, &amp;quot;Jeff&amp;quot; &amp;lt;&lt;a href="mailto:jeffriedl@gmail.com"&gt;jeffriedl@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;br&gt;I keep a lot of old messages as archive on my local computer - but&lt;br&gt;  don&amp;#39;t want them all on the server ... too much clutter AND I don&amp;#39;t&lt;br&gt; want to have my laptop download all the &amp;#39;in between&amp;#39; messages when I&lt;br&gt; go on the road once or twice a month.  So - no IMAP for me.  I want to&lt;br&gt; grab my messages off the server then have a clean e-mail account.&lt;br&gt; &lt;br&gt; On Mar 16, 8:47 am, Joseph Williams &amp;lt;&lt;a href="mailto:joseph.s.willi...@gmail.com"&gt;joseph.s.willi...@gmail.com&lt;/a&gt;&amp;gt;&lt;br&gt; wrote:&lt;br&gt; &lt;p&gt;&lt;font color="#500050"&gt;&amp;gt; I have used claw and liked it. But I am curious as to why you don&amp;#39;t want&lt;br&gt;&amp;gt; imap?&lt;br&gt;&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color="#500050"&gt;&amp;gt; On Mar 16, 2011 8:36 AM, &amp;quot;Jeff&amp;quot; &amp;lt;&lt;a href="mailto:jeffri...@gmail.com"&gt;jeffri...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt; &amp;gt;&lt;br&gt;&amp;gt; Win XP.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; On Mar 16, 8:28 am, R...&lt;/font&gt;&lt;/p&gt;--&lt;br&gt; &lt;p&gt;&lt;font color="#500050"&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application ...&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-3926044835600510927?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3926044835600510927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3926044835600510927'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-re-somewhat-ot-survey-e_16.html' title='Re: [Pro. PHP Dev.] Re: Somewhat OT Survey - E-mail clients'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-2853880797380797017</id><published>2011-03-16T07:05:00.001-07:00</published><updated>2011-03-16T07:05:27.762-07:00</updated><title type='text'>[Pro. PHP Dev.] Re: Somewhat OT Survey - E-mail clients</title><content type='html'>I keep a lot of old messages as archive on my local computer - but&lt;br&gt;don&amp;#39;t want them all on the server ... too much clutter AND I don&amp;#39;t&lt;br&gt;want to have my laptop download all the &amp;#39;in between&amp;#39; messages when I&lt;br&gt;go on the road once or twice a month.  So - no IMAP for me.  I want to&lt;br&gt;grab my messages off the server then have a clean e-mail account.&lt;p&gt;On Mar 16, 8:47&amp;#160;am, Joseph Williams &amp;lt;&lt;a href="mailto:joseph.s.willi...@gmail.com"&gt;joseph.s.willi...@gmail.com&lt;/a&gt;&amp;gt;&lt;br&gt;wrote:&lt;br&gt;&amp;gt; I have used claw and liked it. But I am curious as to why you don&amp;#39;t want&lt;br&gt;&amp;gt; imap?&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; On Mar 16, 2011 8:36 AM, &amp;quot;Jeff&amp;quot; &amp;lt;&lt;a href="mailto:jeffri...@gmail.com"&gt;jeffri...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Win XP.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; On Mar 16, 8:28 am, Robert Gonzalez&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;lt;&lt;a href="mailto:robert.anthony.gonza...@gmail.com"&gt;robert.anthony.gonza...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; &amp;gt; What OS are you on?&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; On Linux I really like Evolutio...&lt;br&gt;&amp;gt; &amp;gt; On Wed, Mar 16, 2011 at 6:26 AM, Jeff &amp;lt;&lt;a href="mailto:jeffri...@gmail.com"&gt;jeffri...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Does anyone know if Thunder...&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-2853880797380797017?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/2853880797380797017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/2853880797380797017'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-re-somewhat-ot-survey-e_16.html' title='[Pro. PHP Dev.] Re: Somewhat OT Survey - E-mail clients'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-1031360610278609631</id><published>2011-03-16T06:47:00.000-07:00</published><updated>2011-03-16T06:48:06.558-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] Re: Somewhat OT Survey - E-mail clients</title><content type='html'>&lt;p&gt;I have used claw and liked it. But I am curious as to why you don&amp;#39;t want imap?&lt;/p&gt; &lt;p&gt;&lt;blockquote type="cite"&gt;On Mar 16, 2011 8:36 AM, &amp;quot;Jeff&amp;quot; &amp;lt;&lt;a href="mailto:jeffriedl@gmail.com"&gt;jeffriedl@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;br&gt;Win XP.&lt;br&gt; &lt;br&gt; On Mar 16, 8:28 am, Robert Gonzalez&lt;br&gt; &lt;p&gt;&lt;font color="#500050"&gt;&amp;lt;&lt;a href="mailto:robert.anthony.gonza...@gmail.com"&gt;robert.anthony.gonza...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; What OS are you on?&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; On Linux I really like Evolutio...&lt;/font&gt;&lt;/p&gt;&lt;p&gt; &lt;font color="#500050"&gt;&amp;gt; On Wed, Mar 16, 2011 at 6:26 AM, Jeff &amp;lt;&lt;a href="mailto:jeffri...@gmail.com"&gt;jeffri...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; &amp;gt; Does anyone know if Thunder...&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-1031360610278609631?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/1031360610278609631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/1031360610278609631'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-re-somewhat-ot-survey-e.html' title='Re: [Pro. PHP Dev.] Re: Somewhat OT Survey - E-mail clients'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-247902781230336256</id><published>2011-03-16T06:36:00.000-07:00</published><updated>2011-03-16T06:40:08.310-07:00</updated><title type='text'>[Pro. PHP Dev.] Re: Somewhat OT Survey - E-mail clients</title><content type='html'>Win XP.&lt;p&gt;On Mar 16, 8:28&amp;#160;am, Robert Gonzalez&lt;br&gt;&amp;lt;&lt;a href="mailto:robert.anthony.gonza...@gmail.com"&gt;robert.anthony.gonza...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; What OS are you on?&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; On Linux I really like Evolution.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; On Wed, Mar 16, 2011 at 6:26 AM, Jeff &amp;lt;&lt;a href="mailto:jeffri...@gmail.com"&gt;jeffri...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; &amp;gt; Does anyone know if Thunderbird is still handling all accounts as IMAP&lt;br&gt;&amp;gt; &amp;gt; only? &amp;#160;After a recent &amp;#39;upgrade&amp;#39; to the product, I couldn&amp;#39;t add an&lt;br&gt;&amp;gt; &amp;gt; account as POP3, I was told it was a known issue and that for the time&lt;br&gt;&amp;gt; &amp;gt; being new accounts all HAD to be IMAP. &amp;#160;Yuck!&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; So I&amp;#39;ve been using Opera as a combo browser / e-mail client ... but&lt;br&gt;&amp;gt; &amp;gt; it&amp;#39;s now behaving badly with Gmail.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; So I&amp;#39;d like to go back to Thunderbird IF they got the POP3 thing&lt;br&gt;&amp;gt; &amp;gt; resolved. &amp;#160;Otherwise, does anyone have a non-Outlook e-mail client&lt;br&gt;&amp;gt; &amp;gt; that they really, really like?&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; Thanks all!&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; Jeff&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; --&lt;br&gt;&amp;gt; &amp;gt; This group is managed and maintained by the development staff at 360 PSG.&lt;br&gt;&amp;gt; &amp;gt; An enterprise application development company utilizing open-source&lt;br&gt;&amp;gt; &amp;gt; technologies for todays small-to-medium size businesses.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; For information or project assistance please visit :&lt;br&gt;&amp;gt; &amp;gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; You received this message because you are subscribed to the Google Groups&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;&amp;gt; &amp;gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; To unsubscribe from this group, send email to&lt;br&gt;&amp;gt; &amp;gt; &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; For more options, visit this group at&lt;br&gt;&amp;gt; &amp;gt;&lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-247902781230336256?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/247902781230336256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/247902781230336256'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-re-somewhat-ot-survey-e.html' title='[Pro. PHP Dev.] Re: Somewhat OT Survey - E-mail clients'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-4245273473749023133</id><published>2011-03-16T06:28:00.000-07:00</published><updated>2011-03-16T06:33:01.977-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] Somewhat OT Survey - E-mail clients</title><content type='html'>What OS are you on?&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;On Linux I really like Evolution. &lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;On Wed, Mar 16, 2011 at 6:26 AM, Jeff &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:jeffriedl@gmail.com"&gt;jeffriedl@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt; &lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"&gt;Does anyone know if Thunderbird is still handling all accounts as IMAP&lt;br&gt; only?  After a recent &amp;#39;upgrade&amp;#39; to the product, I couldn&amp;#39;t add an&lt;br&gt; account as POP3, I was told it was a known issue and that for the time&lt;br&gt; being new accounts all HAD to be IMAP.  Yuck!&lt;br&gt; &lt;br&gt; So I&amp;#39;ve been using Opera as a combo browser / e-mail client ... but&lt;br&gt; it&amp;#39;s now behaving badly with Gmail.&lt;br&gt; &lt;br&gt; So I&amp;#39;d like to go back to Thunderbird IF they got the POP3 thing&lt;br&gt; resolved.  Otherwise, does anyone have a non-Outlook e-mail client&lt;br&gt; that they really, really like?&lt;br&gt; &lt;br&gt; Thanks all!&lt;br&gt; &lt;br&gt; Jeff&lt;br&gt; &lt;br&gt; --&lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt; &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt; &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-4245273473749023133?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/4245273473749023133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/4245273473749023133'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-somewhat-ot-survey-e.html' title='Re: [Pro. PHP Dev.] Somewhat OT Survey - E-mail clients'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-8092388759231277047</id><published>2011-03-16T06:27:00.001-07:00</published><updated>2011-03-16T06:27:45.364-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] max_post_size</title><content type='html'>Are you talking about the number of elements in the form needing to be less than 200 or the number of rows in a textarea needing to be less than 200? Suhosin is a security patch designed to make PHP more secure. I can kinda see where one of these scenarios could be used to exploit your server that is why I am asking.&lt;br&gt; &lt;br&gt;&lt;div class="gmail_quote"&gt;On Wed, Mar 16, 2011 at 5:33 AM, Ovidiu &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:ovidiu.alexa@gmail.com"&gt;ovidiu.alexa@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"&gt; Is this off-topic? I am furious that I can&amp;#39;t post more than 200&lt;br&gt; variables in a single form. I searched and searched and found&lt;br&gt; something like post_max_size, ok set that to 500M, restart apache,&lt;br&gt; nothing. max_upload_size, restart, nothing. phpinfo() confirms the&lt;br&gt; changes. so I found out a suhosin php project that is aware of this&lt;br&gt; problem and introduced suhosin.post.max_vars = 2000 and&lt;br&gt; suhosin.request.max_vars. Bummer, I don&amp;#39;t have that version of php&lt;br&gt; installed on my server and I don&amp;#39;t think that will change soon.&lt;br&gt; &lt;br&gt; I have tried almost everything, even the server admin said the same&lt;br&gt; thing: post_max_size, restart apache.&lt;br&gt; &lt;br&gt; Is this an older topic because I would like to read somethin&amp;#39; later&lt;br&gt; on.&lt;br&gt; &lt;br&gt; So basically i have a jquery form that you can generate with 2&lt;br&gt; calendars: start date, end date. when you hit go, depending on the&lt;br&gt; number of days you set the gap, it will generate rows with select,&lt;br&gt; input, radio buttons and so on. the op then selects the correct data&lt;br&gt; for each row and submits the form. the saved rows to DB never reach a&lt;br&gt; total of 100 lines. below this generated form I also have 3 textareas.&lt;br&gt; if I put only 1-99 lines, then the texarea will be saved, else null.&lt;br&gt; so this comes to mind that there must be a limit of maximum post&lt;br&gt; variables, not post_max_size, &amp;#39;cause now it&amp;#39;s like 500M.&lt;br&gt; &lt;br&gt; Have any of you ever reached this problem?&lt;br&gt; hmm maybe if I use a javascript to post them one by one with different&lt;br&gt; requests... or save all the post vars into a huge one, then in php&lt;br&gt; explode them by a limiter.... what do you think?&lt;br&gt; &lt;br&gt; Please help me on this one...&lt;br&gt; &lt;br&gt; Cheers!&lt;br&gt; &lt;br&gt; --&lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt; &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt; &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-8092388759231277047?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/8092388759231277047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/8092388759231277047'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-maxpostsize.html' title='Re: [Pro. PHP Dev.] max_post_size'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-6840240849929980481</id><published>2011-03-16T06:26:00.001-07:00</published><updated>2011-03-16T06:26:31.596-07:00</updated><title type='text'>[Pro. PHP Dev.] Somewhat OT Survey - E-mail clients</title><content type='html'>Does anyone know if Thunderbird is still handling all accounts as IMAP&lt;br&gt;only?  After a recent &amp;#39;upgrade&amp;#39; to the product, I couldn&amp;#39;t add an&lt;br&gt;account as POP3, I was told it was a known issue and that for the time&lt;br&gt;being new accounts all HAD to be IMAP.  Yuck!&lt;p&gt;So I&amp;#39;ve been using Opera as a combo browser / e-mail client ... but&lt;br&gt;it&amp;#39;s now behaving badly with Gmail.&lt;p&gt;So I&amp;#39;d like to go back to Thunderbird IF they got the POP3 thing&lt;br&gt;resolved.  Otherwise, does anyone have a non-Outlook e-mail client&lt;br&gt;that they really, really like?&lt;p&gt;Thanks all!&lt;p&gt;Jeff&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-6840240849929980481?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/6840240849929980481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/6840240849929980481'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-somewhat-ot-survey-e-mail.html' title='[Pro. PHP Dev.] Somewhat OT Survey - E-mail clients'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-2455980025878784203</id><published>2011-03-16T05:33:00.001-07:00</published><updated>2011-03-16T05:33:48.456-07:00</updated><title type='text'>[Pro. PHP Dev.] max_post_size</title><content type='html'>Is this off-topic? I am furious that I can&amp;#39;t post more than 200&lt;br&gt;variables in a single form. I searched and searched and found&lt;br&gt;something like post_max_size, ok set that to 500M, restart apache,&lt;br&gt;nothing. max_upload_size, restart, nothing. phpinfo() confirms the&lt;br&gt;changes. so I found out a suhosin php project that is aware of this&lt;br&gt;problem and introduced suhosin.post.max_vars = 2000 and&lt;br&gt;suhosin.request.max_vars. Bummer, I don&amp;#39;t have that version of php&lt;br&gt;installed on my server and I don&amp;#39;t think that will change soon.&lt;p&gt;I have tried almost everything, even the server admin said the same&lt;br&gt;thing: post_max_size, restart apache.&lt;p&gt;Is this an older topic because I would like to read somethin&amp;#39; later&lt;br&gt;on.&lt;p&gt;So basically i have a jquery form that you can generate with 2&lt;br&gt;calendars: start date, end date. when you hit go, depending on the&lt;br&gt;number of days you set the gap, it will generate rows with select,&lt;br&gt;input, radio buttons and so on. the op then selects the correct data&lt;br&gt;for each row and submits the form. the saved rows to DB never reach a&lt;br&gt;total of 100 lines. below this generated form I also have 3 textareas.&lt;br&gt;if I put only 1-99 lines, then the texarea will be saved, else null.&lt;br&gt;so this comes to mind that there must be a limit of maximum post&lt;br&gt;variables, not post_max_size, &amp;#39;cause now it&amp;#39;s like 500M.&lt;p&gt;Have any of you ever reached this problem?&lt;br&gt;hmm maybe if I use a javascript to post them one by one with different&lt;br&gt;requests... or save all the post vars into a huge one, then in php&lt;br&gt;explode them by a limiter.... what do you think?&lt;p&gt;Please help me on this one...&lt;p&gt;Cheers!&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-2455980025878784203?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/2455980025878784203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/2455980025878784203'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-maxpostsize.html' title='[Pro. PHP Dev.] max_post_size'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-140731817315975707</id><published>2011-03-15T09:42:00.001-07:00</published><updated>2011-03-15T09:42:33.682-07:00</updated><title type='text'>[Pro. PHP Dev.] Re: Adding host info to links</title><content type='html'>$path = &amp;#39;/path/to/your/crap/&amp;#39;;&lt;br&gt;set_include_path(get_include_path() . PATH_SEPARATOR . $path);&lt;p&gt;You could use that snippet in your code, or you could add the path to&lt;br&gt;your php.ini file and it will apply everywhere.&lt;p&gt;On Mar 15, 8:27&amp;#160;am, Jeff &amp;lt;&lt;a href="mailto:jeffri...@gmail.com"&gt;jeffri...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; I will also admit to not knowing about the base tag. &amp;#160;Thanks Zorro!&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; I thought for sure there was a php equivalent to the base tag. &amp;#160;Some&lt;br&gt;&amp;gt; kind of path thing you could declare at the start of a script, then&lt;br&gt;&amp;gt; php automagically looks in that directory if it can&amp;#39;t find a requested&lt;br&gt;&amp;gt; resource in the &amp;#39;current&amp;#39; directory.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Anyone got a lead on that?&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Thanks!&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; On Mar 14, 3:15&amp;#160;pm, zorro &amp;lt;&lt;a href="mailto:myah...@yahoo.ca"&gt;myah...@yahoo.ca&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; Not PHP but you might like the &amp;quot;base&amp;quot; tag:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;head&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;lt;base href=&amp;quot;&lt;a href="http://www.example.com/my/app/"&gt;http://www.example.com/my/app/&lt;/a&gt;&amp;quot; /&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;/head&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;body&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;lt;img src=&amp;quot;images/img.jpg&amp;quot; /&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;/body&amp;gt;&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-140731817315975707?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/140731817315975707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/140731817315975707'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-re-adding-host-info-to_89.html' title='[Pro. PHP Dev.] Re: Adding host info to links'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-3321381046568438372</id><published>2011-03-15T09:41:00.000-07:00</published><updated>2011-03-15T09:46:52.678-07:00</updated><title type='text'>Re: [Pro. PHP Dev.] Re: Adding host info to links</title><content type='html'>this is useful for ie6&lt;br&gt;     &lt;br&gt;     if you have mod_rewrite and you are on a page with virtual     directories, if you don't put a base tag ie6 will look in that     virtual directory for the images. ie:&lt;br&gt;     &lt;br&gt;     url: &lt;a class="moz-txt-link-freetext" href="http://ex.com/first/second/third/"&gt;http://ex.com/first/second/third/&lt;/a&gt;&lt;br&gt;     &lt;br&gt;     &amp;lt;img src="/img.jpg" /&amp;gt; -- ie 6 will look in     &lt;a class="moz-txt-link-freetext" href="http://ex.com/first/second/third/img.jpg"&gt;http://ex.com/first/second/third/img.jpg&lt;/a&gt;&lt;br&gt;     the rest will look in &lt;a class="moz-txt-link-freetext" href="http://ex.com/img.jpg"&gt;http://ex.com/img.jpg&lt;/a&gt; because there is a     leading forward slash "/"&lt;br&gt;     &lt;br&gt;     however if you put the base tag ie6 seems to understand that command     and obeys the web developer (for once) and looks where you want it     to look for the damn image.&lt;br&gt;     &lt;br&gt;     this is useful if you want to reduce the html code and write     relative links instead of absolute links. This can also be a nice     tool to fool the browser that you are serving content from another     website even though the url is different:&lt;br&gt;     &lt;br&gt;     &amp;lt;base href=&lt;a class="moz-txt-link-rfc2396E" href="http://google.com"&gt;"http://google.com"&lt;/a&gt; /&amp;gt;&lt;br&gt;     &lt;br&gt;     &amp;lt;img src="/logos/dna.gif" /&amp;gt; try to write this and see your     result.&lt;br&gt;     &lt;br&gt;     (spoiler)&lt;br&gt;     it should bring the image from google.com because there's a base tag     with the google.com link.&lt;br&gt;     &lt;br&gt;     I've played with this concept for a long time and I think that     there's a use for more occasions than you imagine such as ajax,     mod_rewrite, subdomains and more.&lt;br&gt;     &lt;br&gt;     Have a nice day! :D&lt;br&gt;     &lt;br&gt;     &lt;div class="moz-signature"&gt;       &lt;div style="font-family: Arial,Helvetica,sans-serif; font-size:         14px; color: rgb(51, 51, 51); text-decoration: none;"&gt;         I'm not always right,&lt;br&gt;         but I'm never wrong.&lt;br&gt;         &lt;a href="http://bit.ly/fT24vu" target="_blank" style="cursor:           pointer ! important; text-decoration: none ! important; color:           rgb(0, 153, 204); font-family: Arial,Helvetica,sans-serif;           font-size: 11px;" title="Party Helpers"&gt;Please visit my site&lt;/a&gt;       &lt;/div&gt;     &lt;/div&gt;     &lt;br&gt;     On 3/15/2011 17:27, Jeff wrote:     &lt;blockquote cite="mid:f431a507-fd3a-4be8-ad03-b824be46da00@a11g2000pro.googlegroups.com"       type="cite"&gt;       &lt;pre wrap=""&gt;I will also admit to not knowing about the base tag.  Thanks Zorro!  I thought for sure there was a php equivalent to the base tag.  Some kind of path thing you could declare at the start of a script, then php automagically looks in that directory if it can't find a requested resource in the 'current' directory.  Anyone got a lead on that?  Thanks!   On Mar 14, 3:15 pm, zorro &lt;a class="moz-txt-link-rfc2396E" href="mailto:myah...@yahoo.ca"&gt;&amp;lt;myah...@yahoo.ca&amp;gt;&lt;/a&gt; wrote: &lt;/pre&gt;       &lt;blockquote type="cite"&gt;         &lt;pre wrap=""&gt;Not PHP but you might like the "base" tag:  &amp;lt;head&amp;gt;         &amp;lt;base href=&lt;a class="moz-txt-link-rfc2396E" href="http://www.example.com/my/app/"&gt;"http://www.example.com/my/app/"&lt;/a&gt; /&amp;gt; &amp;lt;/head&amp;gt;  &amp;lt;body&amp;gt;         &amp;lt;img src="images/img.jpg" /&amp;gt; &amp;lt;/body&amp;gt; &lt;/pre&gt;       &lt;/blockquote&gt;       &lt;pre wrap=""&gt; &lt;/pre&gt;     &lt;/blockquote&gt;   &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-3321381046568438372?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3321381046568438372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3321381046568438372'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-re-adding-host-info-to_15.html' title='Re: [Pro. PHP Dev.] Re: Adding host info to links'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-1800572795975259584</id><published>2011-03-15T08:27:00.000-07:00</published><updated>2011-03-15T08:48:45.832-07:00</updated><title type='text'>[Pro. PHP Dev.] Re: Adding host info to links</title><content type='html'>I will also admit to not knowing about the base tag.  Thanks Zorro!&lt;p&gt;I thought for sure there was a php equivalent to the base tag.  Some&lt;br&gt;kind of path thing you could declare at the start of a script, then&lt;br&gt;php automagically looks in that directory if it can&amp;#39;t find a requested&lt;br&gt;resource in the &amp;#39;current&amp;#39; directory.&lt;p&gt;Anyone got a lead on that?&lt;p&gt;Thanks!&lt;p&gt;&lt;br&gt;On Mar 14, 3:15&amp;#160;pm, zorro &amp;lt;&lt;a href="mailto:myah...@yahoo.ca"&gt;myah...@yahoo.ca&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; Not PHP but you might like the &amp;quot;base&amp;quot; tag:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;lt;head&amp;gt;&lt;br&gt;&amp;gt; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;lt;base href=&amp;quot;&lt;a href="http://www.example.com/my/app/"&gt;http://www.example.com/my/app/&lt;/a&gt;&amp;quot; /&amp;gt;&lt;br&gt;&amp;gt; &amp;lt;/head&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;lt;body&amp;gt;&lt;br&gt;&amp;gt; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;lt;img src=&amp;quot;images/img.jpg&amp;quot; /&amp;gt;&lt;br&gt;&amp;gt; &amp;lt;/body&amp;gt;&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-1800572795975259584?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/1800572795975259584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/1800572795975259584'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-re-adding-host-info-to_15.html' title='[Pro. PHP Dev.] Re: Adding host info to links'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-639862836572917157</id><published>2011-03-14T16:26:00.000-07:00</published><updated>2011-03-14T16:27:09.393-07:00</updated><title type='text'>[Pro. PHP Dev.] Re: Adding host info to links</title><content type='html'>Thanks.&lt;p&gt;I din&amp;#39;t know about the base tag.  I guess I need to go back to my html&lt;br&gt;book.&lt;p&gt;On Mar 14, 2:15&amp;#160;pm, zorro &amp;lt;&lt;a href="mailto:myah...@yahoo.ca"&gt;myah...@yahoo.ca&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; Not PHP but you might like the &amp;quot;base&amp;quot; tag:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;lt;head&amp;gt;&lt;br&gt;&amp;gt; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;lt;base href=&amp;quot;&lt;a href="http://www.example.com/my/app/"&gt;http://www.example.com/my/app/&lt;/a&gt;&amp;quot; /&amp;gt;&lt;br&gt;&amp;gt; &amp;lt;/head&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;lt;body&amp;gt;&lt;br&gt;&amp;gt; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;lt;img src=&amp;quot;images/img.jpg&amp;quot; /&amp;gt;&lt;br&gt;&amp;gt; &amp;lt;/body&amp;gt;&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-639862836572917157?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/639862836572917157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/639862836572917157'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-re-adding-host-info-to_5198.html' title='[Pro. PHP Dev.] Re: Adding host info to links'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-5671741350591293195</id><published>2011-03-14T13:15:00.001-07:00</published><updated>2011-03-14T13:15:58.021-07:00</updated><title type='text'>[Pro. PHP Dev.] Re: Adding host info to links</title><content type='html'>Not PHP but you might like the &amp;quot;base&amp;quot; tag:&lt;p&gt;&amp;lt;head&amp;gt;&lt;br&gt;	&amp;lt;base href=&amp;quot;&lt;a href="http://www.example.com/my/app/"&gt;http://www.example.com/my/app/&lt;/a&gt;&amp;quot; /&amp;gt;&lt;br&gt;&amp;lt;/head&amp;gt;&lt;p&gt;&amp;lt;body&amp;gt;&lt;br&gt;	&amp;lt;img src=&amp;quot;images/img.jpg&amp;quot; /&amp;gt;&lt;br&gt;&amp;lt;/body&amp;gt;&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-5671741350591293195?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/5671741350591293195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/5671741350591293195'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-re-adding-host-info-to_14.html' title='[Pro. PHP Dev.] Re: Adding host info to links'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-4257227876428230506</id><published>2011-03-11T20:01:00.000-08:00</published><updated>2011-03-11T20:06:06.541-08:00</updated><title type='text'>[Pro. PHP Dev.] Re: Linux/Windows compatibility question</title><content type='html'>Ok, thanks for the advice... I only now realised this thread has a&lt;br&gt;bunch of replies, didn&amp;#39;t get the expected notification for some reason.&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-4257227876428230506?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/4257227876428230506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/4257227876428230506'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-re-linuxwindows_11.html' title='[Pro. PHP Dev.] Re: Linux/Windows compatibility question'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-3571229371895327516</id><published>2011-03-11T12:38:00.000-08:00</published><updated>2011-03-11T12:39:01.913-08:00</updated><title type='text'>Re: [Pro. PHP Dev.] Re: Adding host info to links</title><content type='html'>That is what I am doing now.  Maybe a little more info.  I have two apps one for mobile devices and the other for desktop browsers.  I have two domains to separate the two and the desktop is a virtual domain one level down in my directory structure.  Some of files will be shared between the two sites so I am trying to change the links to pull the files from the same place.  So my idea was to create a constant at the beginning of the hit and replace all the common files with the correct URL.  I am including the pages now but this syntax is the only way I have been able to change the url on the common  files.  &lt;div&gt; &lt;br&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;img src=&amp;quot;&lt;font class="Apple-style-span" color="#FF0000"&gt;&amp;lt;?php echo APP_HOSTSTRING?&amp;gt;&lt;/font&gt;images/rcsWide.jpg&amp;quot; /&amp;gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;On Fri, Mar 11, 2011 at 1:20 PM, Robert Gonzalez &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:robert.anthony.gonzalez@gmail.com"&gt;robert.anthony.gonzalez@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt; &lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"&gt;Do you have a config file or main include file that you include on all your pages? That is what I am talking about. Set the variables there and they are accessible to everything that needs it.&lt;br&gt; &lt;br&gt;&lt;div class="gmail_quote"&gt; On Fri, Mar 11, 2011 at 12:09 PM, Jimboidaho &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:jimboidaho@gmail.com" target="_blank"&gt;jimboidaho@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"&gt;  Sorry for the nube question. I don&amp;#39;t understand.  I am setting up a&lt;br&gt; constant with the correct host info.  What do you mean about just&lt;br&gt; included in every page?&lt;br&gt; &lt;br&gt; On Mar 11, 11:55 am, Robert Gonzalez&lt;br&gt; &lt;div&gt;&amp;lt;&lt;a href="mailto:robert.anthony.gonza...@gmail.com" target="_blank"&gt;robert.anthony.gonza...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt; &amp;gt; Nope, that&amp;#39;s about the way of it. I&amp;#39;ve seen a lot of applications where, in&lt;br&gt; &amp;gt; the bootstrap or config file, certain paths were set into either variables&lt;br&gt; &amp;gt; or constants. This file would then be included for every page and the&lt;br&gt; &amp;gt; variable/constant would be available to your output through that.&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt;&lt;br&gt; &lt;/div&gt;&lt;div&gt;&amp;gt; On Fri, Mar 11, 2011 at 9:31 AM, Jimboidaho &amp;lt;&lt;a href="mailto:jimboid...@gmail.com" target="_blank"&gt;jimboid...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt; &amp;gt; &amp;gt; In .net and another VFP framework I used in the past, there was a&lt;br&gt; &amp;gt; &amp;gt; syntax, ~/mylink.js that I used to automatically fill in the host info&lt;br&gt; &amp;gt; &amp;gt; to complete the link.  I am now creating a constant with the correct&lt;br&gt; &amp;gt; &amp;gt; info that I am using like this :&lt;br&gt; &amp;gt; &amp;gt; &amp;lt;img src=&amp;quot;&amp;lt;?php echo APP_HOSTSTRING?&amp;gt;images/rcsWide.jpg&amp;quot;  /&amp;gt;&lt;br&gt; &amp;gt; &amp;gt; Seems a little long winded so I was wondering if there was a better&lt;br&gt; &amp;gt; &amp;gt; way.&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; Thanks.&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; --&lt;br&gt; &amp;gt; &amp;gt; This group is managed and maintained by the development staff at 360 PSG.&lt;br&gt; &amp;gt; &amp;gt; An enterprise application development company utilizing open-source&lt;br&gt; &amp;gt; &amp;gt; technologies for todays small-to-medium size businesses.&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; For information or project assistance please visit :&lt;br&gt; &amp;gt; &amp;gt;&lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; You received this message because you are subscribed to the Google Groups&lt;br&gt; &amp;gt; &amp;gt; &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; &amp;gt; &amp;gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; &amp;gt; &amp;gt; To unsubscribe from this group, send email to&lt;br&gt; &amp;gt; &amp;gt; &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; &amp;gt; &amp;gt; For more options, visit this group at&lt;br&gt; &amp;gt; &amp;gt;&lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;br&gt; &lt;br&gt; &lt;/div&gt;--&lt;br&gt; &lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;   &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt; &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;  &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;  &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-3571229371895327516?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3571229371895327516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3571229371895327516'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-re-adding-host-info-to_11.html' title='Re: [Pro. PHP Dev.] Re: Adding host info to links'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-3965497338347908078</id><published>2011-03-11T12:20:00.001-08:00</published><updated>2011-03-11T12:20:20.030-08:00</updated><title type='text'>Re: [Pro. PHP Dev.] Re: Adding host info to links</title><content type='html'>Do you have a config file or main include file that you include on all your pages? That is what I am talking about. Set the variables there and they are accessible to everything that needs it.&lt;br&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt; On Fri, Mar 11, 2011 at 12:09 PM, Jimboidaho &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:jimboidaho@gmail.com"&gt;jimboidaho@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"&gt; Sorry for the nube question. I don&amp;#39;t understand.  I am setting up a&lt;br&gt; constant with the correct host info.  What do you mean about just&lt;br&gt; included in every page?&lt;br&gt; &lt;br&gt; On Mar 11, 11:55 am, Robert Gonzalez&lt;br&gt; &lt;div class="im"&gt;&amp;lt;&lt;a href="mailto:robert.anthony.gonza...@gmail.com"&gt;robert.anthony.gonza...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt; &amp;gt; Nope, that&amp;#39;s about the way of it. I&amp;#39;ve seen a lot of applications where, in&lt;br&gt; &amp;gt; the bootstrap or config file, certain paths were set into either variables&lt;br&gt; &amp;gt; or constants. This file would then be included for every page and the&lt;br&gt; &amp;gt; variable/constant would be available to your output through that.&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt;&lt;br&gt; &lt;/div&gt;&lt;div class="im"&gt;&amp;gt; On Fri, Mar 11, 2011 at 9:31 AM, Jimboidaho &amp;lt;&lt;a href="mailto:jimboid...@gmail.com"&gt;jimboid...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt; &amp;gt; &amp;gt; In .net and another VFP framework I used in the past, there was a&lt;br&gt; &amp;gt; &amp;gt; syntax, ~/mylink.js that I used to automatically fill in the host info&lt;br&gt; &amp;gt; &amp;gt; to complete the link.  I am now creating a constant with the correct&lt;br&gt; &amp;gt; &amp;gt; info that I am using like this :&lt;br&gt; &amp;gt; &amp;gt; &amp;lt;img src=&amp;quot;&amp;lt;?php echo APP_HOSTSTRING?&amp;gt;images/rcsWide.jpg&amp;quot;  /&amp;gt;&lt;br&gt; &amp;gt; &amp;gt; Seems a little long winded so I was wondering if there was a better&lt;br&gt; &amp;gt; &amp;gt; way.&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; Thanks.&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; --&lt;br&gt; &amp;gt; &amp;gt; This group is managed and maintained by the development staff at 360 PSG.&lt;br&gt; &amp;gt; &amp;gt; An enterprise application development company utilizing open-source&lt;br&gt; &amp;gt; &amp;gt; technologies for todays small-to-medium size businesses.&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; For information or project assistance please visit :&lt;br&gt; &amp;gt; &amp;gt;&lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt; &amp;gt;&lt;br&gt; &amp;gt; &amp;gt; You received this message because you are subscribed to the Google Groups&lt;br&gt; &amp;gt; &amp;gt; &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; &amp;gt; &amp;gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; &amp;gt; &amp;gt; To unsubscribe from this group, send email to&lt;br&gt; &amp;gt; &amp;gt; &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; &amp;gt; &amp;gt; For more options, visit this group at&lt;br&gt; &amp;gt; &amp;gt;&lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;br&gt; &lt;br&gt; &lt;/div&gt;--&lt;br&gt; &lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="h5"&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;  &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt; &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-3965497338347908078?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3965497338347908078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3965497338347908078'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-re-adding-host-info-to.html' title='Re: [Pro. PHP Dev.] Re: Adding host info to links'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-3207027420881986165</id><published>2011-03-11T12:09:00.001-08:00</published><updated>2011-03-11T12:09:51.069-08:00</updated><title type='text'>[Pro. PHP Dev.] Re: Adding host info to links</title><content type='html'>Sorry for the nube question. I don&amp;#39;t understand.  I am setting up a&lt;br&gt;constant with the correct host info.  What do you mean about just&lt;br&gt;included in every page?&lt;p&gt;On Mar 11, 11:55&amp;#160;am, Robert Gonzalez&lt;br&gt;&amp;lt;&lt;a href="mailto:robert.anthony.gonza...@gmail.com"&gt;robert.anthony.gonza...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; Nope, that&amp;#39;s about the way of it. I&amp;#39;ve seen a lot of applications where, in&lt;br&gt;&amp;gt; the bootstrap or config file, certain paths were set into either variables&lt;br&gt;&amp;gt; or constants. This file would then be included for every page and the&lt;br&gt;&amp;gt; variable/constant would be available to your output through that.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; On Fri, Mar 11, 2011 at 9:31 AM, Jimboidaho &amp;lt;&lt;a href="mailto:jimboid...@gmail.com"&gt;jimboid...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; &amp;gt; In .net and another VFP framework I used in the past, there was a&lt;br&gt;&amp;gt; &amp;gt; syntax, ~/mylink.js that I used to automatically fill in the host info&lt;br&gt;&amp;gt; &amp;gt; to complete the link. &amp;#160;I am now creating a constant with the correct&lt;br&gt;&amp;gt; &amp;gt; info that I am using like this :&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;img src=&amp;quot;&amp;lt;?php echo APP_HOSTSTRING?&amp;gt;images/rcsWide.jpg&amp;quot; &amp;#160;/&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; Seems a little long winded so I was wondering if there was a better&lt;br&gt;&amp;gt; &amp;gt; way.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; Thanks.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; --&lt;br&gt;&amp;gt; &amp;gt; This group is managed and maintained by the development staff at 360 PSG.&lt;br&gt;&amp;gt; &amp;gt; An enterprise application development company utilizing open-source&lt;br&gt;&amp;gt; &amp;gt; technologies for todays small-to-medium size businesses.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; For information or project assistance please visit :&lt;br&gt;&amp;gt; &amp;gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; You received this message because you are subscribed to the Google Groups&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;&amp;gt; &amp;gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; To unsubscribe from this group, send email to&lt;br&gt;&amp;gt; &amp;gt; &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; For more options, visit this group at&lt;br&gt;&amp;gt; &amp;gt;&lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-3207027420881986165?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3207027420881986165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3207027420881986165'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-re-adding-host-info-to.html' title='[Pro. PHP Dev.] Re: Adding host info to links'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-286818324347608842</id><published>2011-03-11T11:54:00.000-08:00</published><updated>2011-03-11T12:01:33.700-08:00</updated><title type='text'>Re: [Pro. PHP Dev.] Adding host info to links</title><content type='html'>i second what robert said, another option i have seen some people using is that they get a $php_self in a variable and then remove the file name of the variable, but storing the name in a var and then including it´s a much better option, specially if youre going to use mod_rewrite&lt;br&gt; &lt;br&gt;&lt;div class="gmail_quote"&gt;On Fri, Mar 11, 2011 at 1:55 PM, Robert Gonzalez &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:robert.anthony.gonzalez@gmail.com"&gt;robert.anthony.gonzalez@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"&gt; Nope, that&amp;#39;s about the way of it. I&amp;#39;ve seen a lot of applications where, in the bootstrap or config file, certain paths were set into either variables or constants. This file would then be included for every page and the variable/constant would be available to your output through that.&lt;div&gt; &lt;div&gt;&lt;/div&gt;&lt;div class="h5"&gt;&lt;br&gt; &lt;br&gt;&lt;div class="gmail_quote"&gt;On Fri, Mar 11, 2011 at 9:31 AM, Jimboidaho &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:jimboidaho@gmail.com" target="_blank"&gt;jimboidaho@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"&gt;  In .net and another VFP framework I used in the past, there was a&lt;br&gt; syntax, ~/mylink.js that I used to automatically fill in the host info&lt;br&gt; to complete the link.  I am now creating a constant with the correct&lt;br&gt; info that I am using like this :&lt;br&gt; &amp;lt;img src=&amp;quot;&amp;lt;?php echo APP_HOSTSTRING?&amp;gt;images/rcsWide.jpg&amp;quot;  /&amp;gt;&lt;br&gt; Seems a little long winded so I was wondering if there was a better&lt;br&gt; way.&lt;br&gt; &lt;br&gt; Thanks.&lt;br&gt; &lt;br&gt; --&lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt; &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt; &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;  &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;  &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup"&gt; &lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-286818324347608842?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/286818324347608842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/286818324347608842'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-adding-host-info-to_11.html' title='Re: [Pro. PHP Dev.] Adding host info to links'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-6356575459489452415</id><published>2011-03-11T10:59:00.000-08:00</published><updated>2011-03-11T11:00:08.005-08:00</updated><title type='text'>Re: [Pro. PHP Dev.] I have a problem</title><content type='html'>Absolutely there is. Numeric values are not quoted on inserts. Non numeric values are. Always. You might be able to get away with quoting all values being inserted as a safety mechanism, but that might give false insight into your data types for anyone that may work on the data later.&lt;br&gt; &lt;br&gt;&lt;div class="gmail_quote"&gt;On Fri, Mar 11, 2011 at 5:32 AM, Reem Othman &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:nour1236987413@gmail.com"&gt;nour1236987413@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"&gt; &lt;div dir="ltr"&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;&lt;div&gt;&lt;span lang="en"&gt;&lt;span title="Click for alternate translations"&gt;Thanks for &lt;/span&gt;&lt;span title="Click for alternate translations"&gt;help&lt;/span&gt;&lt;br&gt;  &lt;span title="Click for alternate translations"&gt;Is there&lt;/span&gt; &lt;span title="Click for alternate translations"&gt;a difference&lt;/span&gt; &lt;span title="Click for alternate translations"&gt;in&lt;/span&gt; &lt;span title="Click for alternate translations"&gt;inserting values &lt;/span&gt; &lt;span title="Click for alternate translations"&gt;to&lt;/span&gt; &lt;span title="Click for alternate translations"&gt;database&lt;/span&gt; &lt;span title="Click for alternate translations"&gt;in&lt;/span&gt; &lt;span title="Click for alternate translations"&gt;the event that the&lt;/span&gt; &lt;span title="Click for alternate translations"&gt;field type&lt;/span&gt; &lt;span title="Click for alternate translations"&gt;is number &lt;/span&gt;(BIG-INT) &lt;span title="Click for alternate translations"&gt;or&lt;/span&gt; &lt;span title="Click for alternate translations"&gt;text &lt;/span&gt;&lt;/span&gt;(&lt;span lang="en"&gt;VARCHAR&lt;/span&gt;)&lt;br&gt;   &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="h5"&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt;  &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;  &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com" target="_blank"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com" target="_blank"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-6356575459489452415?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/6356575459489452415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/6356575459489452415'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-i-have-problem_8190.html' title='Re: [Pro. PHP Dev.] I have a problem'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-1091610695147300609</id><published>2011-03-11T10:55:00.000-08:00</published><updated>2011-03-11T10:56:03.790-08:00</updated><title type='text'>Re: [Pro. PHP Dev.] Adding host info to links</title><content type='html'>Nope, that&amp;#39;s about the way of it. I&amp;#39;ve seen a lot of applications where, in the bootstrap or config file, certain paths were set into either variables or constants. This file would then be included for every page and the variable/constant would be available to your output through that.&lt;br&gt; &lt;br&gt;&lt;div class="gmail_quote"&gt;On Fri, Mar 11, 2011 at 9:31 AM, Jimboidaho &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:jimboidaho@gmail.com"&gt;jimboidaho@gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"&gt; In .net and another VFP framework I used in the past, there was a&lt;br&gt; syntax, ~/mylink.js that I used to automatically fill in the host info&lt;br&gt; to complete the link.  I am now creating a constant with the correct&lt;br&gt; info that I am using like this :&lt;br&gt; &amp;lt;img src=&amp;quot;&amp;lt;?php echo APP_HOSTSTRING?&amp;gt;images/rcsWide.jpg&amp;quot;  /&amp;gt;&lt;br&gt; Seems a little long winded so I was wondering if there was a better&lt;br&gt; way.&lt;br&gt; &lt;br&gt; Thanks.&lt;br&gt; &lt;br&gt; --&lt;br&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br&gt; &lt;br&gt; For information or project assistance please visit :&lt;br&gt; &lt;a href="http://www.360psg.com" target="_blank"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt; &lt;br&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt; To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt; To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP" target="_blank"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-1091610695147300609?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/1091610695147300609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/1091610695147300609'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-adding-host-info-to.html' title='Re: [Pro. PHP Dev.] Adding host info to links'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-3504697995391634963</id><published>2011-03-11T09:31:00.001-08:00</published><updated>2011-03-11T09:31:42.467-08:00</updated><title type='text'>[Pro. PHP Dev.] Adding host info to links</title><content type='html'>In .net and another VFP framework I used in the past, there was a&lt;br&gt;syntax, ~/mylink.js that I used to automatically fill in the host info&lt;br&gt;to complete the link.  I am now creating a constant with the correct&lt;br&gt;info that I am using like this :&lt;br&gt;&amp;lt;img src=&amp;quot;&amp;lt;?php echo APP_HOSTSTRING?&amp;gt;images/rcsWide.jpg&amp;quot;  /&amp;gt;&lt;br&gt;Seems a little long winded so I was wondering if there was a better&lt;br&gt;way.&lt;p&gt;Thanks.&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-3504697995391634963?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3504697995391634963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3504697995391634963'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-adding-host-info-to-links.html' title='[Pro. PHP Dev.] Adding host info to links'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-660894773183140701</id><published>2011-03-11T07:11:00.000-08:00</published><updated>2011-03-11T07:12:12.085-08:00</updated><title type='text'>[Pro. PHP Dev.] Re: Is there a way to find out how many dimensions an array has?</title><content type='html'>here is the link.  The function is in the comments.&lt;p&gt;&lt;a href="http://www.theserverpages.com/php/manual/en/ref.array.php"&gt;http://www.theserverpages.com/php/manual/en/ref.array.php&lt;/a&gt;&lt;p&gt;On Mar 11, 2:09&amp;#160;am, Ovidiu Alexa &amp;lt;&lt;a href="mailto:ovidiu.al...@gmail.com"&gt;ovidiu.al...@gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; would you like to share that link? I&amp;#39;m saving all these messages in&lt;br&gt;&amp;gt; thunderbird and I always do a quick search here before google if I need&lt;br&gt;&amp;gt; somethin&amp;#39; :D&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Cheers!&lt;br&gt;&amp;gt; I&amp;#39;m not always right,&lt;br&gt;&amp;gt; but I&amp;#39;m never wrong.&lt;br&gt;&amp;gt; Please visit my site &amp;lt;&lt;a href="http://bit.ly/fT24vu"&gt;http://bit.ly/fT24vu&lt;/a&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; On 3/10/2011 21:51, Jimboidaho wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; Thanks Ovidiu.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; Looks kinda ugly to me. &amp;#160;I found something very similar on &lt;a href="http://php.net"&gt;php.net&lt;/a&gt;. &amp;#160;I&lt;br&gt;&amp;gt; &amp;gt; think I will rethink what I am doing.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt; On Mar 10, 10:32 am, Ovidiu Alexa&amp;lt;&lt;a href="mailto:ovidiu.al...@gmail.com"&gt;ovidiu.al...@gmail.com&lt;/a&gt;&amp;gt; &amp;#160;wrote:&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; from google :)&lt;a href="http://php.bigresource.com/Track/php-VrIahx1b/"&gt;http://php.bigresource.com/Track/php-VrIahx1b/&lt;/a&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Cheers!&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I&amp;#39;m not always right,&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; but I&amp;#39;m never wrong.&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Please visit my site&amp;lt;&lt;a href="http://bit.ly/fT24vu"&gt;http://bit.ly/fT24vu&lt;/a&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; On 3/10/2011 19:17, Jimboidaho wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; I am trying to write a generic function and I need to know if the&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; array is a single or multi-dimensional array. &amp;#160;I can&amp;#39;t seem to find&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; anything like that. &amp;#160;Any ideas?&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Thanks.&lt;p&gt;-- &lt;br&gt;This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;p&gt;For information or project assistance please visit :&lt;br&gt;&lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br&gt;To post to this group, send email to &lt;a href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;To unsubscribe from this group, send email to &lt;a href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-660894773183140701?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/660894773183140701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/660894773183140701'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/pro-php-dev-re-is-there-way-to-find-out_11.html' title='[Pro. PHP Dev.] Re: Is there a way to find out how many dimensions an array has?'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-1766453099805625589</id><published>2011-03-11T05:47:00.000-08:00</published><updated>2011-03-11T05:48:44.307-08:00</updated><title type='text'>Re: [Pro. PHP Dev.] I have a problem</title><content type='html'>what error? that's a message telling you that there has been     inserted 1 row.&lt;br&gt;     &lt;div class="moz-signature"&gt;       &lt;div style="font-family: Arial,Helvetica,sans-serif; font-size:         14px; color: rgb(51, 51, 51); text-decoration: none;"&gt;         I'm not always right,&lt;br&gt;         but I'm never wrong.&lt;br&gt;         &lt;a href="http://bit.ly/fT24vu" target="_blank" style="cursor:           pointer ! important; text-decoration: none ! important; color:           rgb(0, 153, 204); font-family: Arial,Helvetica,sans-serif;           font-size: 11px;" title="Party Helpers"&gt;Please visit my site&lt;/a&gt;       &lt;/div&gt;     &lt;/div&gt;     &lt;br&gt;     On 3/11/2011 15:46, Reem Othman wrote:     &lt;blockquote       cite="mid:AANLkTimtx6P=NdQNDtdCVKCv=5EZyok7adF2chigwbqG@mail.gmail.com"       type="cite"&gt;       &lt;div dir="ltr"&gt;&lt;span id="result_box" class="short_text" lang="en"&gt;&lt;span             title="Click for alternate translations" class="hps"&gt;Sorry             for my &lt;/span&gt;&lt;span title="Click for alternate             translations" class="hps"&gt;questions&lt;/span&gt;&lt;/span&gt;&lt;br&gt;         &lt;br&gt;         &lt;span id="result_box" class="" lang="en"&gt;&lt;span title="Click for             alternate translations" class="hps"&gt;When&lt;/span&gt; i &lt;/span&gt;&lt;span           id="result_box" class="short_text" lang="en"&gt;&lt;span             title="Click for alternate translations" class="hps"&gt;Executed           &lt;/span&gt;&lt;/span&gt;&lt;span id="result_box" class="" lang="en"&gt;&lt;span             title="Click for alternate translations" class="hps"&gt;&lt;/span&gt;&lt;span             title="Click for alternate translations" class="hps"&gt;&lt;/span&gt;&lt;span             title="Click for alternate translations" class="hps"&gt;this&lt;/span&gt;           &lt;span title="Click for alternate translations" class="hps"&gt;instruction&lt;/span&gt;&lt;br&gt;           &lt;br&gt;           &lt;br&gt;         &lt;/span&gt;insert into projects set `state`='1', `legalname`='22',         `systemprice`='', `projectid`='', `zone`='', `lot`='',         `concession`='', `roofheight`='', `systemdcrating`='',         `systemacrating`='', `systempricewithhst`='',         `securitydeposit`='', `siteaudit`='', `systemchange`='',         `trenching`='', `cityinspection`='', `microreferencenumber`='',         `docfolder`='', `contactpreferredname`='', `contacttitle`='',         `contactpreferredemail`='', `preferreddayscontact`='',         `nameonsite`='', `cellphone`='', `siteaddress`='',         `solarsystemcity`='', `solarsystemprovince`='',         `solarsystempostalcode`='', `mpacpin`='',         `farmbusinessregistrationnumber`='', `hstnumber`='',         `rooftilt`='', `groundtype`='', `estimatedcablelength`='',         `ownerofproperty`='', `namechequetomadeout`='',         `mailingaddress`='', `mailingcity`='', `mailingpostalcode`='',         `mailingprovince`='', `email`='', `homephone`='',         `workphone`='', `fax`='', `hydrocompany`='',         `hydroaccountname`='', `hydroaccountnumber`='',         `importantnotes`='', `microusername`='', `micropassword`='',         `microsecurityquestion`='', `microapplicationdate`='',         `microconditionalofferdate`='', `solarsystemconnectiondate`='',         `microcontractofferdate`='', `microcontractexecutiondate`='',         `contractsigneddate`='', `team1`='', `manager1`='',         `managerphonenumber1`='', `manageremail1`='', `team2`='',         `manager2`='', `managerphonenumber2`='', `manageremail2`='',         `fieldrepresentative`='', `Preferredtimecontactto`='',         `Preferredtimecontactfrom`='', `login`='', `password`='',         `preferredphonecontact`='', `preferreddatecontact`='',         `roofmaterial`='', `ord`=''&lt;br&gt;         &lt;br&gt;         &lt;span id="result_box" class="" lang="en"&gt;&lt;br&gt;            in &lt;span title="Click for alternate translations"             class="hps"&gt;-------phpmyadmin-------------------&lt;br&gt;             &lt;br&gt;           &lt;/span&gt; &lt;span style="background-color: rgb(255, 255, 255);"             title="Click for alternate translations" class="hps"&gt;I got&lt;/span&gt;&lt;span             style="background-color: rgb(255, 255, 255);"&gt; &lt;/span&gt;&lt;span             style="background-color: rgb(255, 255, 255);" title="Click             for alternate translations" class="hps"&gt;this&lt;/span&gt;&lt;span             style="background-color: rgb(255, 255, 255);"&gt; &lt;/span&gt;&lt;span             style="background-color: rgb(255, 102, 102);" title="Click             for alternate translations" class="hps"&gt;&lt;span               style="background-color: rgb(255, 255, 255);"&gt;error&lt;br&gt;               &lt;br&gt;             &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="background-color: rgb(255,           102, 102);"&gt;Inserted rows: 1&lt;/span&gt;&lt;br           style="background-color: rgb(255, 102, 102);"&gt;         &lt;span style="background-color: rgb(255, 102, 102);"&gt;Inserted row           id: 1 (Query took 0.0016 sec)&lt;/span&gt;&lt;br&gt;         &lt;br&gt;         &lt;span id="result_box" class="" lang="en"&gt;&lt;span title="Click for             alternate translations" class="hps"&gt;&lt;br&gt;           &lt;/span&gt; &lt;span title="Click for alternate translations"             class="hps"&gt;How can I&lt;/span&gt; &lt;span title="Click for             alternate translations" class="hps"&gt;fix&lt;/span&gt; &lt;span             title="Click for alternate translations" class="hps"&gt;this&lt;/span&gt;           &lt;span title="Click for alternate translations" class="hps"&gt;error&lt;/span&gt;           &lt;span title="Click for alternate translations" class="hps"&gt;and&lt;/span&gt;           &lt;span title="Click for alternate translations" class="hps"&gt;why&lt;/span&gt;           &lt;span title="Click for alternate translations" class="hps"&gt;it             occurs&lt;/span&gt;&lt;/span&gt;&lt;br&gt;       &lt;/div&gt;       -- &lt;br&gt;       This group is managed and maintained by the development staff at       360 PSG. An enterprise application development company utilizing       open-source technologies for todays small-to-medium size       businesses.&lt;br&gt;        &lt;br&gt;       For information or project assistance please visit :&lt;br&gt;       &lt;a moz-do-not-send="true" href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;        &lt;br&gt;       You received this message because you are subscribed to the Google       Groups "Professional PHP Developers" group.&lt;br&gt;       To post to this group, send email to       &lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;       To unsubscribe from this group, send email to       &lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;       For more options, visit this group at &lt;a moz-do-not-send="true"         href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;     &lt;/blockquote&gt;   &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-1766453099805625589?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/1766453099805625589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/1766453099805625589'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-i-have-problem_2639.html' title='Re: [Pro. PHP Dev.] I have a problem'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-180756203166636924</id><published>2011-03-11T05:46:00.001-08:00</published><updated>2011-03-11T05:46:53.083-08:00</updated><title type='text'>Re: [Pro. PHP Dev.] I have a problem</title><content type='html'>&lt;div dir="ltr"&gt;&lt;span id="result_box" class="short_text" lang="en"&gt;&lt;span title="Click for alternate translations" class="hps"&gt;Sorry for my &lt;/span&gt;&lt;span title="Click for alternate translations" class="hps"&gt;questions&lt;/span&gt;&lt;/span&gt;&lt;br&gt; &lt;br&gt;&lt;span id="result_box" class="" lang="en"&gt;&lt;span title="Click for alternate translations" class="hps"&gt;When&lt;/span&gt; i &lt;/span&gt;&lt;span id="result_box" class="short_text" lang="en"&gt;&lt;span title="Click for alternate translations" class="hps"&gt;Executed &lt;/span&gt;&lt;/span&gt;&lt;span id="result_box" class="" lang="en"&gt;&lt;span title="Click for alternate translations" class="hps"&gt;&lt;/span&gt;&lt;span title="Click for alternate translations" class="hps"&gt;&lt;/span&gt;&lt;span title="Click for alternate translations" class="hps"&gt;this&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;instruction&lt;/span&gt;&lt;br&gt; &lt;br&gt;&lt;br&gt;&lt;/span&gt;insert into projects set `state`=&amp;#39;1&amp;#39;, `legalname`=&amp;#39;22&amp;#39;,  `systemprice`=&amp;#39;&amp;#39;, `projectid`=&amp;#39;&amp;#39;, `zone`=&amp;#39;&amp;#39;, `lot`=&amp;#39;&amp;#39;, `concession`=&amp;#39;&amp;#39;,  `roofheight`=&amp;#39;&amp;#39;, `systemdcrating`=&amp;#39;&amp;#39;, `systemacrating`=&amp;#39;&amp;#39;,  `systempricewithhst`=&amp;#39;&amp;#39;, `securitydeposit`=&amp;#39;&amp;#39;, `siteaudit`=&amp;#39;&amp;#39;,  `systemchange`=&amp;#39;&amp;#39;, `trenching`=&amp;#39;&amp;#39;, `cityinspection`=&amp;#39;&amp;#39;,  `microreferencenumber`=&amp;#39;&amp;#39;, `docfolder`=&amp;#39;&amp;#39;, `contactpreferredname`=&amp;#39;&amp;#39;,  `contacttitle`=&amp;#39;&amp;#39;, `contactpreferredemail`=&amp;#39;&amp;#39;,  `preferreddayscontact`=&amp;#39;&amp;#39;, `nameonsite`=&amp;#39;&amp;#39;, `cellphone`=&amp;#39;&amp;#39;,  `siteaddress`=&amp;#39;&amp;#39;, `solarsystemcity`=&amp;#39;&amp;#39;, `solarsystemprovince`=&amp;#39;&amp;#39;,  `solarsystempostalcode`=&amp;#39;&amp;#39;, `mpacpin`=&amp;#39;&amp;#39;,  `farmbusinessregistrationnumber`=&amp;#39;&amp;#39;, `hstnumber`=&amp;#39;&amp;#39;, `rooftilt`=&amp;#39;&amp;#39;,  `groundtype`=&amp;#39;&amp;#39;, `estimatedcablelength`=&amp;#39;&amp;#39;, `ownerofproperty`=&amp;#39;&amp;#39;,  `namechequetomadeout`=&amp;#39;&amp;#39;, `mailingaddress`=&amp;#39;&amp;#39;, `mailingcity`=&amp;#39;&amp;#39;,  `mailingpostalcode`=&amp;#39;&amp;#39;, `mailingprovince`=&amp;#39;&amp;#39;, `email`=&amp;#39;&amp;#39;,  `homephone`=&amp;#39;&amp;#39;, `workphone`=&amp;#39;&amp;#39;, `fax`=&amp;#39;&amp;#39;, `hydrocompany`=&amp;#39;&amp;#39;,  `hydroaccountname`=&amp;#39;&amp;#39;, `hydroaccountnumber`=&amp;#39;&amp;#39;, `importantnotes`=&amp;#39;&amp;#39;,  `microusername`=&amp;#39;&amp;#39;, `micropassword`=&amp;#39;&amp;#39;, `microsecurityquestion`=&amp;#39;&amp;#39;,  `microapplicationdate`=&amp;#39;&amp;#39;, `microconditionalofferdate`=&amp;#39;&amp;#39;,  `solarsystemconnectiondate`=&amp;#39;&amp;#39;, `microcontractofferdate`=&amp;#39;&amp;#39;,  `microcontractexecutiondate`=&amp;#39;&amp;#39;, `contractsigneddate`=&amp;#39;&amp;#39;, `team1`=&amp;#39;&amp;#39;,  `manager1`=&amp;#39;&amp;#39;, `managerphonenumber1`=&amp;#39;&amp;#39;, `manageremail1`=&amp;#39;&amp;#39;, `team2`=&amp;#39;&amp;#39;,  `manager2`=&amp;#39;&amp;#39;, `managerphonenumber2`=&amp;#39;&amp;#39;, `manageremail2`=&amp;#39;&amp;#39;,  `fieldrepresentative`=&amp;#39;&amp;#39;, `Preferredtimecontactto`=&amp;#39;&amp;#39;,  `Preferredtimecontactfrom`=&amp;#39;&amp;#39;, `login`=&amp;#39;&amp;#39;, `password`=&amp;#39;&amp;#39;,  `preferredphonecontact`=&amp;#39;&amp;#39;, `preferreddatecontact`=&amp;#39;&amp;#39;,  `roofmaterial`=&amp;#39;&amp;#39;, `ord`=&amp;#39;&amp;#39;&lt;br&gt; &lt;br&gt;&lt;span id="result_box" class="" lang="en"&gt;&lt;br&gt; in &lt;span title="Click for alternate translations" class="hps"&gt;-------phpmyadmin-------------------&lt;br&gt;&lt;br&gt;&lt;/span&gt; &lt;span style="background-color: rgb(255, 255, 255);" title="Click for alternate translations" class="hps"&gt;I got&lt;/span&gt;&lt;span style="background-color: rgb(255, 255, 255);"&gt; &lt;/span&gt;&lt;span style="background-color: rgb(255, 255, 255);" title="Click for alternate translations" class="hps"&gt;this&lt;/span&gt;&lt;span style="background-color: rgb(255, 255, 255);"&gt; &lt;/span&gt;&lt;span style="background-color: rgb(255, 102, 102);" title="Click for alternate translations" class="hps"&gt;&lt;span style="background-color: rgb(255, 255, 255);"&gt;error&lt;br&gt; &lt;br&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="background-color: rgb(255, 102, 102);"&gt;Inserted rows: 1&lt;/span&gt;&lt;br style="background-color: rgb(255, 102, 102);"&gt;&lt;span style="background-color: rgb(255, 102, 102);"&gt;Inserted row id: 1 (Query took 0.0016 sec)&lt;/span&gt;&lt;br&gt; &lt;br&gt;&lt;span id="result_box" class="" lang="en"&gt;&lt;span title="Click for alternate translations" class="hps"&gt;&lt;br&gt;&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;How can I&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;fix&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;this&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;error&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;and&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;why&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;it occurs&lt;/span&gt;&lt;/span&gt;&lt;br&gt; &lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-180756203166636924?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/180756203166636924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/180756203166636924'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-i-have-problem_3621.html' title='Re: [Pro. PHP Dev.] I have a problem'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-1689724985757951239</id><published>2011-03-11T05:36:00.000-08:00</published><updated>2011-03-11T05:37:36.828-08:00</updated><title type='text'>Re: [Pro. PHP Dev.] I have a problem</title><content type='html'>well int is used for fast searches of numbers as for varchar     includes all characters. Now it depends on what you want to do..&lt;br&gt;     &lt;br&gt;     if you have integer values you should always use int and index     those. EX: ids, dates in unix time format, prices etc.&lt;br&gt;     &lt;br&gt;     &lt;br&gt;     if you insert this string 'Hello, my birthday is on 01-01-1980'      into a INT field type you will only get 01011980 which is 1,011,980     so... yah go nuts, have some experiments.&lt;br&gt;     &lt;br&gt;     Cheers!&lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;div class="moz-signature"&gt;       &lt;div style="font-family: Arial,Helvetica,sans-serif; font-size:         14px; color: rgb(51, 51, 51); text-decoration: none;"&gt;         I'm not always right,&lt;br&gt;         but I'm never wrong.&lt;br&gt;         &lt;a href="http://bit.ly/fT24vu" target="_blank" style="cursor:           pointer ! important; text-decoration: none ! important; color:           rgb(0, 153, 204); font-family: Arial,Helvetica,sans-serif;           font-size: 11px;" title="Party Helpers"&gt;Please visit my site&lt;/a&gt;       &lt;/div&gt;     &lt;/div&gt;     &lt;br&gt;     On 3/11/2011 15:32, Reem Othman wrote:     &lt;blockquote       cite="mid:AANLkTim9uFgjd0tUkpq+g7z0vJ=9kDyYD9Ymkt3_rOWD@mail.gmail.com"       type="cite"&gt;       &lt;div dir="ltr"&gt;&lt;br&gt;         &lt;div class="gmail_quote"&gt;           &lt;div&gt;&lt;span id="result_box" class="" lang="en"&gt;&lt;span                 title="Click for alternate translations" class="hps"&gt;Thanks                 for &lt;/span&gt;&lt;span title="Click for alternate                 translations" class="hps"&gt;help&lt;/span&gt;&lt;br&gt;               &lt;span title="Click for alternate translations" class="hps"&gt;Is                 there&lt;/span&gt; &lt;span title="Click for alternate                 translations" class="hps"&gt;a difference&lt;/span&gt; &lt;span                 title="Click for alternate translations" class="hps"&gt;in&lt;/span&gt;               &lt;span title="Click for alternate translations" class="hps"&gt;inserting                 values &lt;/span&gt; &lt;span title="Click for alternate                 translations" class="hps"&gt;to&lt;/span&gt; &lt;span title="Click                 for alternate translations" class="hps"&gt;database&lt;/span&gt;               &lt;span title="Click for alternate translations" class="hps"&gt;in&lt;/span&gt;               &lt;span title="Click for alternate translations" class="hps"&gt;the                 event that the&lt;/span&gt; &lt;span title="Click for alternate                 translations" class="hps"&gt;field type&lt;/span&gt; &lt;span                 title="Click for alternate translations" class="hps"&gt;is                 number &lt;/span&gt;(BIG-INT) &lt;span title="Click for                 alternate translations" class="hps"&gt;or&lt;/span&gt; &lt;span                 title="Click for alternate translations" class="hps"&gt;text               &lt;/span&gt;&lt;/span&gt;(&lt;span id="result_box" class="" lang="en"&gt;VARCHAR&lt;/span&gt;)&lt;br&gt;              &lt;/div&gt;         &lt;/div&gt;       &lt;/div&gt;       -- &lt;br&gt;       This group is managed and maintained by the development staff at       360 PSG. An enterprise application development company utilizing       open-source technologies for todays small-to-medium size       businesses.&lt;br&gt;        &lt;br&gt;       For information or project assistance please visit :&lt;br&gt;       &lt;a moz-do-not-send="true" href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;        &lt;br&gt;       You received this message because you are subscribed to the Google       Groups "Professional PHP Developers" group.&lt;br&gt;       To post to this group, send email to       &lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;       To unsubscribe from this group, send email to       &lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;       For more options, visit this group at &lt;a moz-do-not-send="true"         href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;     &lt;/blockquote&gt;   &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-1689724985757951239?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/1689724985757951239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/1689724985757951239'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-i-have-problem_3294.html' title='Re: [Pro. PHP Dev.] I have a problem'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-3068172094905590358</id><published>2011-03-11T05:32:00.001-08:00</published><updated>2011-03-11T05:32:36.848-08:00</updated><title type='text'>Re: [Pro. PHP Dev.] I have a problem</title><content type='html'>&lt;div dir="ltr"&gt;&lt;br&gt;&lt;div class="gmail_quote"&gt;&lt;div&gt;&lt;span id="result_box" class="" lang="en"&gt;&lt;span title="Click for alternate translations" class="hps"&gt;Thanks for &lt;/span&gt;&lt;span title="Click for alternate translations" class="hps"&gt;help&lt;/span&gt;&lt;br&gt;  &lt;span title="Click for alternate translations" class="hps"&gt;Is there&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;a difference&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;in&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;inserting values &lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;to&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;database&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;in&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;the event that the&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;field type&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;is number &lt;/span&gt;(BIG-INT) &lt;span title="Click for alternate translations" class="hps"&gt;or&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;text &lt;/span&gt;&lt;/span&gt;(&lt;span id="result_box" class="" lang="en"&gt;VARCHAR&lt;/span&gt;)&lt;br&gt;  &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  -- &lt;br /&gt; This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.&lt;br /&gt; &amp;nbsp;&lt;br /&gt; For information or project assistance please visit :&lt;br /&gt; &lt;a href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; You received this message because you are subscribed to the Google Groups &amp;quot;Professional PHP Developers&amp;quot; group.&lt;br /&gt; To post to this group, send email to Professional-PHP@googlegroups.com&lt;br /&gt; To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com&lt;br /&gt; For more options, visit this group at &lt;a href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-3068172094905590358?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3068172094905590358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/3068172094905590358'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-i-have-problem_11.html' title='Re: [Pro. PHP Dev.] I have a problem'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-596732813834147032</id><published>2011-03-11T05:11:00.000-08:00</published><updated>2011-03-11T05:12:34.377-08:00</updated><title type='text'>Re: [Pro. PHP Dev.] I have a problem</title><content type='html'>Hi, &lt;br&gt;     &lt;br&gt;     I needed to do this: sory. your code was messy. you can thank me     later. &lt;br&gt;     Here you go:&lt;br&gt;     &lt;br&gt;     $p=$_POST;     &lt;br&gt;     &lt;br&gt;     $post=array(&lt;br&gt;     'state'=&amp;gt;$p['state'],&lt;br&gt;     'legalname'=&amp;gt;$p['legalname'],&lt;br&gt;     'systemprice'=&amp;gt;$p['systemprice'],&lt;br&gt;     'projectid'=&amp;gt;$p['projectid'],&lt;br&gt;     'zone'=&amp;gt;$p['zone'],&lt;br&gt;     'lot'=&amp;gt;$p['lot'],&lt;br&gt;     'concession'=&amp;gt;$p['concession'],&lt;br&gt;     'roofheight'=&amp;gt;$p['roofheight'],&lt;br&gt;     'systemdcrating'=&amp;gt;$p['systemdcrating'],&lt;br&gt;     'systemacrating'=&amp;gt;$p['systemacrating'],&lt;br&gt;     'systempricewithhst'=&amp;gt;$p['systempricewithhst'],&lt;br&gt;     'securitydeposit'=&amp;gt;$p['securitydeposit'],&lt;br&gt;     'siteaudit'=&amp;gt;$p['siteaudit'],&lt;br&gt;     'systemchange'=&amp;gt;$p['systemchange'],&lt;br&gt;     'trenching'=&amp;gt;$p['trenching'],&lt;br&gt;     'cityinspection'=&amp;gt;$p['cityinspection'],&lt;br&gt;     'microreferencenumber'=&amp;gt;$p['microreferencenumber'],&lt;br&gt;     'docfolder'=&amp;gt;$p['docfolder'],&lt;br&gt;     'contactpreferredname'=&amp;gt;$p['contactpreferredname'],&lt;br&gt;     'contacttitle'=&amp;gt;$p['contacttitle'],&lt;br&gt;     'contactpreferredemail'=&amp;gt;$p['contactpreferredemail'],&lt;br&gt;     'preferreddayscontact'=&amp;gt;$p['preferreddayscontact'],&lt;br&gt;     'nameonsite'=&amp;gt;$p['nameonsite'],&lt;br&gt;     'cellphone'=&amp;gt;$p['cellphone'],&lt;br&gt;     'siteaddress'=&amp;gt;$p['siteaddress'],&lt;br&gt;     'solarsystemcity'=&amp;gt;$p['solarsystemcity'],&lt;br&gt;     'solarsystemprovince'=&amp;gt;$p['solarsystemprovince'],&lt;br&gt;     'solarsystempostalcode'=&amp;gt;$p['solarsystempostalcode'],&lt;br&gt;     'mpacpin'=&amp;gt;$p['mpacpin'],&lt;br&gt; 'farmbusinessregistrationnumber'=&amp;gt;$p['farmbusinessregistrationnumber'],&lt;br&gt;     'hstnumber'=&amp;gt;$p['hstnumber'],&lt;br&gt;     'rooftilt'=&amp;gt;$p['rooftilt'],&lt;br&gt;     'groundtype'=&amp;gt;$p['groundtype'],&lt;br&gt;     'estimatedcablelength'=&amp;gt;$p['estimatedcablelength'],&lt;br&gt;     'ownerofproperty'=&amp;gt;$p['ownerofproperty'],&lt;br&gt;     'namechequetomadeout'=&amp;gt;$p['namechequetomadeout'],&lt;br&gt;     'mailingaddress'=&amp;gt;$p['mailingaddress'],&lt;br&gt;     'mailingcity'=&amp;gt;$p['mailingcity'],&lt;br&gt;     'mailingpostalcode'=&amp;gt;$p['mailingpostalcode'],&lt;br&gt;     'mailingprovince'=&amp;gt;$p['mailingprovince'],&lt;br&gt;     'email'=&amp;gt;$p['email'],&lt;br&gt;     'homephone'=&amp;gt;$p['homephone'],&lt;br&gt;     'workphone'=&amp;gt;$p['workphone'],&lt;br&gt;     'fax'=&amp;gt;$p['fax'],&lt;br&gt;     'hydrocompany'=&amp;gt;$p['hydrocompany'],&lt;br&gt;     'hydroaccountname'=&amp;gt;$p['hydroaccountname'],&lt;br&gt;     'hydroaccountnumber'=&amp;gt;$p['hydroaccountnumber'],&lt;br&gt;     'importantnotes'=&amp;gt;$p['importantnotes'],&lt;br&gt;     'microusername'=&amp;gt;$p['microusername'],&lt;br&gt;     'micropassword'=&amp;gt;$p['micropassword'],&lt;br&gt;     'microsecurityquestion'=&amp;gt;$p['microsecurityquestion'],&lt;br&gt;     'microapplicationdate'=&amp;gt;$p['microapplicationdate'],&lt;br&gt;     'microconditionalofferdate'=&amp;gt;$p['microconditionalofferdate'],&lt;br&gt;     'solarsystemconnectiondate'=&amp;gt;$p['solarsystemconnectiondate'],&lt;br&gt;     'microcontractofferdate'=&amp;gt;$p['microcontractofferdate'],&lt;br&gt;     'microcontractexecutiondate'=&amp;gt;$p['microcontractexecutiondate'],&lt;br&gt;     'contractsigneddate'=&amp;gt;$p['contractsigneddate'],&lt;br&gt;     'team1'=&amp;gt;$p['team1'],&lt;br&gt;     'manager1'=&amp;gt;$p['manager1'],&lt;br&gt;     'managerphonenumber1'=&amp;gt;$p['managerphonenumber1'],&lt;br&gt;     'manageremail1'=&amp;gt;$p['manageremail1'],&lt;br&gt;     'team2'=&amp;gt;$p['team2'],&lt;br&gt;     'manager2'=&amp;gt;$p['manager2'],&lt;br&gt;     'managerphonenumber2'=&amp;gt;$p['managerphonenumber2'],&lt;br&gt;     'manageremail2'=&amp;gt;$p['manageremail2'],&lt;br&gt;     'fieldrepresentative'=&amp;gt;$p['fieldrepresentative'],&lt;br&gt;     'Preferredtimecontactto'=&amp;gt;$p['Preferredtimecontactto'],&lt;br&gt;     'Preferredtimecontactfrom'=&amp;gt;$p['Preferredtimecontactfrom'],&lt;br&gt;     'login'=&amp;gt;$p['login'],&lt;br&gt;     'password'=&amp;gt;$p['password'],&lt;br&gt;     'preferredphonecontact'=&amp;gt;$p['preferredphonecontact'],&lt;br&gt;     'preferreddatecontact'=&amp;gt;$p['preferreddatecontact'],&lt;br&gt;     'roofmaterial'=&amp;gt;$p['roofmaterial'],&lt;br&gt;     'ord'=&amp;gt;$p['ord']&lt;br&gt;         );&lt;br&gt;        &lt;br&gt;        &lt;br&gt;         $q='insert into projects set ';&lt;br&gt;         $t=count($post);&lt;br&gt;         $x=1;&lt;br&gt;         foreach($post as $key=&amp;gt;$value)&lt;br&gt;             {&lt;br&gt;             $q.=" `".$key."`='".$value."'";&lt;br&gt;             if($x!=$t)&lt;br&gt;                 {&lt;br&gt;                 $q.=", &lt;br&gt;     ";&lt;br&gt;                 }&lt;br&gt;             $x++;    &lt;br&gt;             }&lt;br&gt;             echo $q;&lt;br&gt;             mysql_query($q) or die(mysql_error());&lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;br&gt;     &lt;div class="moz-signature"&gt;       &lt;div style="font-family: Arial,Helvetica,sans-serif; font-size:         14px; color: rgb(51, 51, 51); text-decoration: none;"&gt;         I'm not always right,&lt;br&gt;         but I'm never wrong.&lt;br&gt;         &lt;a href="http://bit.ly/fT24vu" target="_blank" style="cursor:           pointer ! important; text-decoration: none ! important; color:           rgb(0, 153, 204); font-family: Arial,Helvetica,sans-serif;           font-size: 11px;" title="Party Helpers"&gt;Please visit my site&lt;/a&gt;       &lt;/div&gt;     &lt;/div&gt;     &lt;br&gt;     On 3/11/2011 14:38, Reem Othman wrote:     &lt;blockquote       cite="mid:AANLkTikPOe91jaoUD_LhF+q6ErzAWAnG+fgKmPUObzjw@mail.gmail.com"       type="cite"&gt;       &lt;div dir="ltr"&gt;&lt;span id="result_box" class="" lang="en"&gt;&lt;span             title="Click for alternate translations" class="hps"&gt;I have&lt;/span&gt;           &lt;span title="Click for alternate translations" class="hps"&gt;a             problem&lt;/span&gt; &lt;span title="Click for alternate             translations" class="hps"&gt;in&lt;/span&gt; &lt;span title="Click for             alternate translations" class="hps"&gt;this database&lt;/span&gt;&lt;br&gt;           &lt;span title="Click for alternate translations" class="hps"&gt;Some&lt;/span&gt;           &lt;span title="Click for alternate translations" class="hps"&gt;values&lt;/span&gt;           &lt;span title="Click for alternate translations" class="hps"&gt;&amp;#8203;&amp;#8203;             are not&lt;/span&gt; &lt;span title="Click for alternate             translations" class="hps"&gt;introduced&lt;/span&gt; &lt;span             title="Click for alternate translations" class="hps"&gt;to&lt;/span&gt;           &lt;span title="Click for alternate translations" class="hps"&gt;this&lt;/span&gt;           &lt;span title="Click for alternate translations" class="hps"&gt;rule&lt;/span&gt;&lt;br&gt;           &lt;span title="Click for alternate translations" class="hps"&gt;Please&lt;/span&gt;           &lt;span title="Click for alternate translations" class="hps"&gt;help&lt;br&gt;             &lt;br&gt;             &lt;br&gt;             if($_POST["Submit"]==$_ADD){&lt;br&gt;                     &lt;br&gt;                 &lt;br&gt;                     $q='insert into projects set&lt;br&gt;                     state="'.$_POST['state'].'",&lt;br&gt;                     legalname="'.$_POST['legalname'].'",&lt;br&gt;                     systemprice="'.$_POST['systemprice'].'",&lt;br&gt;                     projectid="'.$_POST['projectid'].'",&lt;br&gt;                     zone="'.$_POST['zone'].'",&lt;br&gt;                     lot="'.$_POST['lot'].'",&lt;br&gt;                     concession="'.$_POST['concession'].'",&lt;br&gt;                     roofheight="'.$_POST['roofheight'].'",&lt;br&gt;                     systemdcrating="'.$_POST['systemdcrating'].'",&lt;br&gt;                     systemacrating="'.$_POST['systemacrating'].'",&lt;br&gt;                                 systempricewithhst="'.$_POST['systempricewithhst'].'",&lt;br&gt;                     securitydeposit="'.$_POST['securitydeposit'].'",&lt;br&gt;                     siteaudit="'.$_POST['siteaudit'].'",&lt;br&gt;                     systemchange="'.$_POST['systemchange'].'",&lt;br&gt;                     trenching="'.$_POST['trenching'].'",&lt;br&gt;                     cityinspection="'.$_POST['cityinspection'].'",&lt;br&gt;                                 microreferencenumber="'.$_POST['microreferencenumber'].'",&lt;br&gt;                     docfolder="'.$_POST['docfolder'].'",&lt;br&gt;                                 contactpreferredname="'.$_POST['contactpreferredname'].'",&lt;br&gt;                     contacttitle="'.$_POST['contacttitle'].'",&lt;br&gt;                                 contactpreferredemail="'.$_POST['contactpreferredemail'].'",&lt;br&gt;                                 preferreddayscontact="'.$_POST['preferreddayscontact'].'",&lt;br&gt;                     nameonsite="'.$_POST['nameonsite'].'",&lt;br&gt;                     cellphone="'.$_POST['cellphone'].'",&lt;br&gt;                     siteaddress="'.$_POST['siteaddress'].'",&lt;br&gt;                     solarsystemcity="'.$_POST['solarsystemcity'].'",&lt;br&gt;                                 solarsystemprovince="'.$_POST['solarsystemprovince'].'",&lt;br&gt;                                 solarsystempostalcode="'.$_POST['solarsystempostalcode'].'",&lt;br&gt;                     mpacpin="'.$_POST['mpacpin'].'",&lt;br&gt;                     farmbusinessregistrationnumber="'.$_POST['farmbusinessregistrationnumber'].'"&lt;br&gt;                     ,hstnumber="'.$_POST['hstnumber'].'"&lt;br&gt;                     ,rooftilt="'.$_POST['rooftilt'].'", &lt;br&gt;                     groundtype="'.$_POST['groundtype'].'",&lt;br&gt;                                 estimatedcablelength="'.$_POST['estimatedcablelength'].'",&lt;br&gt;                     ownerofproperty="'.$_POST['ownerofproperty'].'",&lt;br&gt;                                 namechequetomadeout="'.$_POST['namechequetomadeout'].'",&lt;br&gt;                     mailingaddress="'.$_POST['mailingaddress'].'",&lt;br&gt;                     mailingcity="'.$_POST['mailingcity'].'",&lt;br&gt;                     mailingpostalcode="'.$_POST['mailingpostalcode'].'",&lt;br&gt;                     email="'.$_POST['email'].'",&lt;br&gt;                                 homephone="'.$_POST['homephone'].'",workphone="'.$_POST['workphone'].'",&lt;br&gt;                     fax="'.$_POST['fax'].'",&lt;br&gt;                     hydrocompany="'.$_POST['hydrocompany'].'",&lt;br&gt;                     hydroaccountname="'.$_POST['hydroaccountname'].'",hydroaccountnumber="'.$_POST['hydroaccountnumber'].'",&lt;br&gt;                     importantnotes="'.$_POST['importantnotes'].'",&lt;br&gt;                     microusername="'.$_POST['microusername'].'",&lt;br&gt;                     micropassword="'.$_POST['micropassword'].'",&lt;br&gt;                                 microsecurityquestion="'.$_POST['microsecurityquestion'].'",&lt;br&gt;                                 microapplicationdate="'.$_POST['microapplicationdate'].'",&lt;br&gt;                                 microconditionalofferdate="'.$_POST['microconditionalofferdate'].'",&lt;br&gt;                                 solarsystemconnectiondate="'.$_POST['solarsystemconnectiondate'].'",&lt;br&gt;                                 microcontractofferdate="'.$_POST['microcontractofferdate'].'",&lt;br&gt;                                 microcontractexecutiondate="'.$_POST['microcontractexecutiondate'].'",&lt;br&gt;                                 contractsigneddate="'.$_POST['contractsigneddate'].'",&lt;br&gt;                     team1="'.$_POST['team1'].'",&lt;br&gt;                     manager1="'.$_POST['manager1'].'",&lt;br&gt;                                 managerphonenumber1="'.$_POST['managerphonenumber1'].'",&lt;br&gt;                     manageremail1="'.$_POST['manageremail1'].'",&lt;br&gt;                     team2="'.$_POST['team2'].'",&lt;br&gt;                     manager2="'.$_POST['manager2'].'",&lt;br&gt;                                 managerphonenumber2="'.$_POST['managerphonenumber2'].'",&lt;br&gt;                     manageremail2="'.$_POST['manageremail2'].'",&lt;br&gt;                                 fieldrepresentative="'.$_POST['fieldrepresentative'].'",&lt;br&gt;                                 Preferredtimecontactto="'.$_POST['Preferredtimecontactto'].'",&lt;br&gt;                                 Preferredtimecontactfrom="'.$_POST['Preferredtimecontactfrom'].'",&lt;br&gt;                                 login="'.$_POST['login'].'",password="'.$_POST['password'].'"&lt;br&gt;                                 ,preferredphonecontact="'.$_POST['preferredphonecontact'].'",&lt;br&gt;                                 preferreddatecontact="'.$_POST['preferreddatecontact'].'",&lt;br&gt;                     roofmaterial="'.$_POST['roofmaterial'].'"&lt;br&gt;                     ';&lt;br&gt;                     &lt;br&gt;                     echo $q;&lt;br&gt;                     @query($q);&lt;br&gt;                     $_id=mysql_insert_id();&lt;br&gt;                     $q='update projects set ord='.$_id.' where             id='.$_id;&lt;br&gt;                     @query($q);&lt;br&gt;                 }&lt;br&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;       -- &lt;br&gt;       This group is managed and maintained by the development staff at       360 PSG. An enterprise application development company utilizing       open-source technologies for todays small-to-medium size       businesses.&lt;br&gt;        &lt;br&gt;       For information or project assistance please visit :&lt;br&gt;       &lt;a moz-do-not-send="true" href="http://www.360psg.com"&gt;http://www.360psg.com&lt;/a&gt;&lt;br&gt;        &lt;br&gt;       You received this message because you are subscribed to the Google       Groups "Professional PHP Developers" group.&lt;br&gt;       To post to this group, send email to       &lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP@googlegroups.com"&gt;Professional-PHP@googlegroups.com&lt;/a&gt;&lt;br&gt;       To unsubscribe from this group, send email to       &lt;a class="moz-txt-link-abbreviated" href="mailto:Professional-PHP-unsubscribe@googlegroups.com"&gt;Professional-PHP-unsubscribe@googlegroups.com&lt;/a&gt;&lt;br&gt;       For more options, visit this group at &lt;a moz-do-not-send="true"         href="http://groups.google.com/group/Professional-PHP"&gt;http://groups.google.com/group/Professional-PHP&lt;/a&gt;     &lt;/blockquote&gt;   &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/536205883388015755-596732813834147032?l=php-maillist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/596732813834147032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/536205883388015755/posts/default/596732813834147032'/><link rel='alternate' type='text/html' href='http://php-maillist.blogspot.com/2011/03/re-pro-php-dev-i-have-problem.html' title='Re: [Pro. PHP Dev.] I have a problem'/><author><name>HotLines</name><uri>http://www.blogger.com/profile/18185913968433528981</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_N8hJC8tTXNI/SokJpWl2YZI/AAAAAAAAAPQ/3n5ItSs_LJU/S220/1.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-536205883388015755.post-1464560932785590497</id><published>2011-03-11T04:38:00.000-08:00</published><updated>2011-03-11T04:50:17.665-08:00</updated><title type='text'>[Pro. PHP Dev.] I have a problem</title><content type='html'>&lt;div dir="ltr"&gt;&lt;span id="result_box" class="" lang="en"&gt;&lt;span title="Click for alternate translations" class="hps"&gt;I have&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;a problem&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;in&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;this database&lt;/span&gt;&lt;br&gt;  &lt;span title="Click for alternate translations" class="hps"&gt;Some&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;values&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;​​are not&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;introduced&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;to&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;this&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;rule&lt;/span&gt;&lt;br&gt;  &lt;span title="Click for alternate translations" class="hps"&gt;Please&lt;/span&gt; &lt;span title="Click for alternate translations" class="hps"&gt;help&lt;br&gt;&lt;br&gt;&lt;br&gt;if($_POST[&amp;quot;Submit&amp;quot;]==$_ADD){&lt;br&gt;        &lt;br&gt;    &lt;br&gt;        $q=&amp;#39;insert into projects set&lt;br&gt;         state=&amp;quot;&amp;#39;.$_POST[&amp;#39;state&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        legalname=&amp;quot;&amp;#39;.$_POST[&amp;#39;legalname&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        systemprice=&amp;quot;&amp;#39;.$_POST[&amp;#39;systemprice&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        projectid=&amp;quot;&amp;#39;.$_POST[&amp;#39;projectid&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;         zone=&amp;quot;&amp;#39;.$_POST[&amp;#39;zone&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        lot=&amp;quot;&amp;#39;.$_POST[&amp;#39;lot&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        concession=&amp;quot;&amp;#39;.$_POST[&amp;#39;concession&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        roofheight=&amp;quot;&amp;#39;.$_POST[&amp;#39;roofheight&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;         systemdcrating=&amp;quot;&amp;#39;.$_POST[&amp;#39;systemdcrating&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        systemacrating=&amp;quot;&amp;#39;.$_POST[&amp;#39;systemacrating&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        systempricewithhst=&amp;quot;&amp;#39;.$_POST[&amp;#39;systempricewithhst&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;         securitydeposit=&amp;quot;&amp;#39;.$_POST[&amp;#39;securitydeposit&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        siteaudit=&amp;quot;&amp;#39;.$_POST[&amp;#39;siteaudit&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        systemchange=&amp;quot;&amp;#39;.$_POST[&amp;#39;systemchange&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;         trenching=&amp;quot;&amp;#39;.$_POST[&amp;#39;trenching&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        cityinspection=&amp;quot;&amp;#39;.$_POST[&amp;#39;cityinspection&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        microreferencenumber=&amp;quot;&amp;#39;.$_POST[&amp;#39;microreferencenumber&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;         docfolder=&amp;quot;&amp;#39;.$_POST[&amp;#39;docfolder&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        contactpreferredname=&amp;quot;&amp;#39;.$_POST[&amp;#39;contactpreferredname&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        contacttitle=&amp;quot;&amp;#39;.$_POST[&amp;#39;contacttitle&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;         contactpreferredemail=&amp;quot;&amp;#39;.$_POST[&amp;#39;contactpreferredemail&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        preferreddayscontact=&amp;quot;&amp;#39;.$_POST[&amp;#39;preferreddayscontact&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        nameonsite=&amp;quot;&amp;#39;.$_POST[&amp;#39;nameonsite&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;         cellphone=&amp;quot;&amp;#39;.$_POST[&amp;#39;cellphone&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        siteaddress=&amp;quot;&amp;#39;.$_POST[&amp;#39;siteaddress&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        solarsystemcity=&amp;quot;&amp;#39;.$_POST[&amp;#39;solarsystemcity&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;         solarsystemprovince=&amp;quot;&amp;#39;.$_POST[&amp;#39;solarsystemprovince&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        solarsystempostalcode=&amp;quot;&amp;#39;.$_POST[&amp;#39;solarsystempostalcode&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        mpacpin=&amp;quot;&amp;#39;.$_POST[&amp;#39;mpacpin&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;         farmbusinessregistrationnumber=&amp;quot;&amp;#39;.$_POST[&amp;#39;farmbusinessregistrationnumber&amp;#39;].&amp;#39;&amp;quot;&lt;br&gt;        ,hstnumber=&amp;quot;&amp;#39;.$_POST[&amp;#39;hstnumber&amp;#39;].&amp;#39;&amp;quot;&lt;br&gt;        ,rooftilt=&amp;quot;&amp;#39;.$_POST[&amp;#39;rooftilt&amp;#39;].&amp;#39;&amp;quot;, &lt;br&gt;         groundtype=&amp;quot;&amp;#39;.$_POST[&amp;#39;groundtype&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        estimatedcablelength=&amp;quot;&amp;#39;.$_POST[&amp;#39;estimatedcablelength&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        ownerofproperty=&amp;quot;&amp;#39;.$_POST[&amp;#39;ownerofproperty&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;         namechequetomadeout=&amp;quot;&amp;#39;.$_POST[&amp;#39;namechequetomadeout&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        mailingaddress=&amp;quot;&amp;#39;.$_POST[&amp;#39;mailingaddress&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        mailingcity=&amp;quot;&amp;#39;.$_POST[&amp;#39;mailingcity&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;         mailingpostalcode=&amp;quot;&amp;#39;.$_POST[&amp;#39;mailingpostalcode&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        email=&amp;quot;&amp;#39;.$_POST[&amp;#39;email&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;        homephone=&amp;quot;&amp;#39;.$_POST[&amp;#39;homephone&amp;#39;].&amp;#39;&amp;quot;,workphone=&amp;quot;&amp;#39;.$_POST[&amp;#39;workphone&amp;#39;].&amp;#39;&amp;quot;,&lt;br&gt;   
