|
by: yawnmoth |
last post by:
i'm trying to write a php script that will password protect some
random directory by creating a .htaccess file, and a password file to
accompany the .htaccess file, and it isn't working... specifically, i
can't enter the newly created directory with a username of test, and a
password of test, which is what i am trying to do.
also, i'm testing this script out on a remote server, and... after
this script runs, i can't delete any of the...
|
by: Carlos Marangon |
last post by:
hello!
I log in a directory protected by .htaccess and after I log in,
I close all windows. So I retype the address for the directory
in the browser address bar and it allows me to reenter the directory
without ask for login and password.
When I open a window even in a computer beside mine it allows
reenter the directory.
|
by: Ivo |
last post by:
Greetings newsgroup,
I am moving some php scripts to a new host. While getting to know the
server, I ran into a strange problem.
If I add a .htaccess file, or more specifically: a .htaccess with
content, to a folder, requesting (html and php) files from that folder
results in internal server error messages.
If I upload an empty .htaccess file, all is fine. Then phpinfo() tells
me I am using Apache/1.3.27.
|
by: John |
last post by:
Hello.
I want to get this blasted .htaccess file sorted out, so I can have
sessions without register_globals being on.
I have looked everywhere for info on this and I mean everywhere
including the php.net manual.
In the manual it said to include something like the following:
|
by: Jack Hambabo |
last post by:
Hi,
I'm searching for a php script that can find out whether the current
user (I know _SERVER will give me the name for
non-cgi php) has the right to view a specific file.
My dream is that I just need a short php script that just asks the
webserver what the rights are. That seems a reasonable wish to me.
If this is however not possible than I'd like a script that can
|
|
by: \(Joseph |
last post by:
Is there a way to use php as an alternative to htaccess to control access to
my wordpress blog. There are several text files (eg one.txt, 1.txt,
first.txt) on my websites that have approved ip addresses.
The php script would compare the ip address of the user who came to my
website with those in the text files. If there is not a match, the user
gets redirected to www.yahoo.com
If there is a match, the rest of the php script would run...
|
by: Lars Willich |
last post by:
As far as I know I can override the php settings for a certain branch of the whole directory tree
by putting a additional, new php.ini in this directory.
Is this true ?
If I assign in this new php.ini only a new value to 1 (!) php variable are then all the
other php parameter values taken from the next php.ini when I go towards the root of
the directory tree? Or - otherwise - are default built-in values from PHP taken in this case ?
...
|
by: veliscorin |
last post by:
hi guys,
i currently have a .htaccess that rewrites a certain url for example:
http://localhost:8080/test/my_function
to
http://localhost:8080/test/index.php/my_function
i have successfully done it on my localhost, however when i place the exact same application onto a live domain, somehow it does not work
i do not have control over that domain's server configuration so i do not really know how to approach the web hoster for help
|
by: adnanjunk |
last post by:
Hi,
Having a little issue with .htaccess not working on windows server. I
have clean url's setup using the htaccess file, working fine on linux
server. I have researched for a while and found .htaccess doesn't work
on windows. Since this is a shared hosting i don't have access to
httpd.conf so that i can edit it.
I have been reading this forum about it. http://forum.mambo-foundation.org/showthread.php?t=1857
|
by: dominoeffect |
last post by:
Hi all,
I (hastily) updated my .htaccess to include this 3G blacklist which blocks scrapers, hackers and the like.
perishablepress.com/press/2008/05/13/perishable-press-3g-blacklist/
Unfortunately my full site is returning Internal Server Errors now. I've tried restoring the original .htaccess but it's not solving the problem. I still have access to Control Panel and FTP.
My site is running a Wordpress installation and the original...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|