[FM Discuss] need some php help
adam hyde
adam at flossmanuals.net
Thu Feb 17 03:17:15 PST 2011
ah good! you already know the syntax then since we did this with civi
adam
On Thu, 2011-02-17 at 11:14 +0000, Michael McAndrew wrote:
> i can help with this :)
>
> On 17 February 2011 11:08, adam hyde <adam at flossmanuals.net> wrote:
> hi,
>
> I want to start the new fm site next week but i have so much
> on i dont
> have enough time to prepare everything for it. the need is
> getting
> pressing.
>
> One of the issues is that I want to redirect urls so that the
> old links
> to chapters in current manuals still work. if we dont do this
> then all
> links that are out there in the www will turn up 404 since the
> chapter
> urls will be different.
>
> I need everyone that needs a old chapter url mapped onto a new
> url to be
> able to visit a form online and enter the old url into a
> textfield ,
> then the corresponding new url into another textfield. then
> press
> 'submit'. at the end of each day or ondemand depending on how
> much time
> i have, i will remap it all manually in the htaccess files. if
> i can
> simply copy and paste an already formatted redirect command
> that would
> make it fast...
>
> is there anyone out there that can make a very simple php
> script to
> help? it needs to do this:
>
> have two fields:
> old url:
> new url:
>
> [submit]
>
> -----
> the php file then takes the last two parts of each path:
> oldurl = [manualname]/[oldchapter]
>
> and
>
> newurl = [manualname]/[newchapter]
>
>
> then does the following :
> writes a text file with the right redirect command (I can send
> anyone
> that wants this the syntax off list).
>
> *and* writes the request onto the form at the bottom so people
> can see
> which urls have already been requested to redirect
>
>
> anyone ok to help me with this?
>
> adam
>
>
>
>
>
>
>
>
> --
>
>
>
>
>
> Adam Hyde
> Founder FLOSS Manuals &
> Booki Project Manager
>
> Contact Information
> German mobile : + 49 177 4935122
> Email : adam at flossmanuals.net
> irc : irc.freenode.net #flossmanuals
>
>
> "Free manuals for free software"
> http://www.flossmanuals.net/about
>
> Free Software for making Free Books
> http://www.booki.cc/
>
> _______________________________________________
> Discuss mailing list
> Discuss at lists.flossmanuals.net
> http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net
>
>
>
> --
> Michael McAndrew
> 07817 802299 (mobile)
>
> Third Sector Design Ltd.
> http://thirdsectordesign.org
>
> For support, email support at thirdsectordesign.org
> _______________________________________________
> Discuss mailing list
> Discuss at lists.flossmanuals.net
> http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net
--
Adam Hyde
Founder FLOSS Manuals &
Booki Project Manager
Contact Information
German mobile : + 49 177 4935122
Email : adam at flossmanuals.net
irc : irc.freenode.net #flossmanuals
"Free manuals for free software"
http://www.flossmanuals.net/about
Free Software for making Free Books
http://www.booki.cc/
More information about the Discuss
mailing list