ini_set(); and URLs

From: Date: Thu, 01 Feb 2001 22:57:12 +0000
Subject: ini_set(); and URLs
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-38@lists.php.net to get a copy of this message
Haven't heard of this function before, I also did a search on the PHP manual couldn't find it! Can I set every php.ini setting with this one at runtime? Another thing I would like to mention... about using URLs in your website, always use relative paths everywhere! This is why: (Q&A from www.websiteproviders.net) >Why do my links and graphics not work correctly? > >This is due to the fact that you are using a different URL to view your SSL rather >then your normal URL. When you make a your links and graphics with leading slashes >it will work fine via https://www.yourdomain.com, but it will >not work correctly >with the https://www.secure-website.net/~user/. >This is because when you make a link like the example listed below, the server attempts >to take you to the beginning of the URL, which would be https://www.secure-website.net. > >Example: ><a href="/cgi-bin/formmail.cgi">FormMail</a> > >Would take you to: > >https://www.secure-website.net/cgi-bin/formmail.cgi > >To correct this, we suggest you use the relative path >(i.e.: cgi-bin/formmail.cgi or ../cgi-bin/formmail.cgi or /~username/cgi-bin/formmail.cgi etc) > ><a href="/~username/cgi-bin/formmail.cgi">FormMail</a> > If someone is using SSL not using his own certificate he will be in trouble if using code written using absolute URLs, I know PHPSHOP had this problem, don't know if it solved now or..? How about 'Smarty' any absolute paths there?? /Andreas

« previous php.smarty.general (#38) next »