- Artist <email@example.com> May 23 01:29PM -0500
I want to Disable allow_url_fopen and allow_url_include in php.ini for
So, how would I go about doing that?
- Stuart Moules <firstname.lastname@example.org> May 23 11:12PM +0100
I am running WAMP server on Vista Ultimate x64.
I found the php.ini file in this path: C:\wamp\bin\apache\Apache2.2.21\bin
If you installed php with apache you should be able to find it in the
apache directory somewhere.
Then I opened the start menu on windows, right clicked on notepad and run
as administrator. Then opened the php.ini file with notepad. Then scroll
down the php.ini file about half way and you will see allow_url_fopen and
allow_url_include with an = sign and the word On or Off after them. Just
delete the word On and type Off for each function you wish to disable, and
save the notepad or text editor document, not save as. Restart apache, or
wamp, then test the results with the phpinfo() function and where it stated
on should now read off.
- Artist <email@example.com> May 23 05:47PM -0500
I really appreciate the help.
On Wed, May 23, 2012 at 5:12 PM, Stuart Moules
- umiwangu <firstname.lastname@example.org> May 23 01:01PM -0700
I purchased an SSL certificate last year, but I've been pretty slow in
Right now, I'm experimenting with forcing certain pages to redirect to the
secured version, just by using an ASP include. This is working fine.
If Request.ServerVariables("SERVER_PORT")=80 Then
strSecureURL = "https://"
strSecureURL = strSecureURL & Request.ServerVariables("SERVER_NAME")
strSecureURL = strSecureURL & Request.ServerVariables("URL")
Now... my only problem is that this then turns all of the links on the page
into https links, but because not all of the resources on the linked pages
are secure, the browser will either give a warning, or somehow tell the
user that the page is not completely secure. Even though it's technically
not an issue at all, anything that potentially upsets users is bad.
Now, I created another include that forces a page to be delivered across
the normal HTTP port and without being encrypted. It's basically the same
as the include above, but switched around.
Does that make sense? If not, I can include a link where you can see it.
So my question is... is this the cleanest way of doing this? I have
probably over 500 pages on this site, and if I have to do something
site-wide, I want to do it right.
Thanks in advance!
You received this because you are subscribed to the "Web Design and Development" group at Google Groups. Messages are prefixed with [WD&D] in the subject. No spam is allowed. Be civil, be professional; try to be helpful & mind your netiquette. All posts are Copyright the original author and the Web Design and Development group. No reproduction of this content is allowed in any electronic or printed form outside the group at Google Groups and the http://www.WDaDg.org website. Any unauthorized use of our copy constitutes illegal Copyright infringement and may well be prosecuted to the full extent of the law. Digital Signature: $©"[W|D|&|D]g"|^|!SiteDesign@GG||#%$
To post to this group, email SiteDesign@googlegroups.com
To unsubscribe, email SiteDesignemail@example.com
For more options, visit this group at http://groups.google.com/group/SiteDesign?hl=en