News:

LVCS.NET offers low cost domain registration services.

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Guide

#1
Support Requests / File Upload Through Form
April 15, 2006, 05:15:55 PM
Has the file upload through form been forbidden ?
I had a script which worked till recently, used in a CMS to upload an image and link it to a text ; however I now get an upload error and it doesn't work anymore...

The $_FILES['img']['tmp_name'], when echoed, gives adresses like "/tmp/php61xSJtError"...

Problem or restriction ?
#2
Support Requests / [htaccess] RewriteEngine
November 13, 2005, 06:15:09 PM
Hello,

I tried to use the .htaccess RewriteEngine in order to forward url's of the type /mylang_mypage.html into the real pages whose name are of the form index.php?lang=mylang&page=mypage.
I used the following .htaccess in the root directory:

QuoteRewriteEngine On

RewriteRule ^(fr|en|es|nl)_([a-zA-Z]*).html /index.php?page=$2&lang=$1
RewriteRule ^index.html$ /index.php

Yet it doesn't word. Does freepgs.com not allow the RewriteEngine, or is my .htaccess wrong? (It did work on the temporary host I took during freepgs' downtime)