|
On the current website I'm working on, I've got a directory of files for users to download which would be really nice to have some security method other than obscurity ;)
I was wondering if there's any way to supply login information via PHP to htaccess...
Started by Shadow on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
With this method you....
You could create the htaccess file using a PHP script, from your users table, each.
Just Google "MySQL upload php" for example.
Rather than storing them in a file, better and more secure, in my opinion .
|
|
I have a basic CMS in PHP/MySQL where content managers can create pages to the system for public viewing. Each page is then available at an url such as http://www.example.com/pages.php?pid=123 Now, I want to redirect requests to http://www.example.com...
Started by Evenz495 on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You can perform the redirect in PHP (which probably knows more about what to redirect where) using_STRING} (^|&)pid=123(&|$) RewriteRule ^pages\.php$ /pages.php?pid=456 [R=301,L]
But it would.
|
|
Hi,
I tried easyphp but i think it's not enough, I want an Apache / PHP / MySQL installer which has the latest PHP and MySQL version, and with curl and htaccess support.
Opensource solutions are preferred, should be windows vista compatible.
Started by Tom on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
What purpose would such a tool serve?
If you and the PHP engine to parse....
I have never heard of a PHP / mySQL emulator .
To run a php script you will need a webserver.
Never heard of PHP or mySql emulators before.
|
Ask your Facebook Friends
|
When i install the joomla1.5 on my website, it shows that"MB Language is Default No PHP mbstring language is not set to neutral. This can be set locally by entering php_value mbstring.language neutral in .htaccess." i open the .htaccess file(in windows...
Started by adfansor on
, 30 posts
by 24 people.
Answer Snippets (Read the full thread at joomla):
Actually I ....
Code: php_value mbstring.language neutral
php_value and it did not work.
The site isn't hosed, but I add php_value mbstring.language neutral in htaccess this in the .htaccess and that solved it.
Problem.
|
|
I know similar questions have been asked here, but I don't see any with heavy emphasis on this particular issue.
(Hosting my own site isn't an option since I don't have $$ for a home server.)
I'm currently with bluehost, but don't like their limited tools...
Started by 42 on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
I can build as many domains, sub domains, MySQL databases.
Related: Good PHP hosting options?
If you have a fast enough connection and enough ram/processor which allows me my own sandbox to play in.
|
|
Hi!
I want to upload a large file of size 10M max to my mysql database. Using .htaccess i changed the PHP's own file upload limit to "10485760" = 10M, i am able to upload files upto 10M size without any problem.
But i can not insert the file in database...
Started by anjan on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
So if PHP's memory limit or MySQL's packet size limit restrict the size of an object you can post to the database, you may....
For more information on this config option see
MySQL max_allowed_packet
Some PHP go.
Large enough.
|
|
We have an application hosted on both a local development server and a live site. We are experiencing UTF-8 corruption issues and are looking to figure out how to resolve them.
The system is run using symfony 1.0 with Propel.
On our development server...
Started by jkndrkn on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Note that if you are using....
Also, make sure your .php files are UTF-8 encoded without BOM.
Are the chars corrupted only once they are stored in the DB? What about PHP?
Try adding the accept-charset="UTF-8" attribute to your form elements.
|
|
We're running a hundred or so legacy PHP websites on an older server which runs Gentoo Linux. When these sites were built latin1 was still the common charset, both in PHP and MySQL.
To make sure those older sites used latin1 by default, while still allowing...
Started by Martijn Heemels on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
Exactly the same thing, so you may have better control by using this .htaccess directive for each are after?
mysql_query('SET NAMES latin1');
(Preferable called right afterwards you've established.
|
|
Hello there,
I developed an application on my local using PHP, MySQL and Apache and it has a .htaccess file containing this:
#Setting the default handler. DirectoryIndex home.do <IfModule mod_mime.c> #Supporting .do extensions AddType application...
Started by Stephanie Luther on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Translating .htaccess Content to IIS web.config
Please;system.webServer> <!-- Mapping the .do extension to the PHP ISAPI module --> <handlers> </246/using-fastcgi-to-host-php-applications....
This article worth a look, I think.
|
|
I am transferring a large static website of 500+ pages to a Joomla installation but what I am wanting to do, rather than code a 500+ line .htaccess file, is to use PHP's built in 301 header redirect to dynamically redirect requests that come in to the...
Started by Marty on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
From there, have the PHP script look up where/to/file/map.txt
You can....
Is to a great introduction tutorial) to redirect ALL incoming requests to a single PHP script (or use), with the requested address passed as part of the query string.
|