GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   replacing & and ? in php (https://gfy.com/showthread.php?t=160741)

hyper 08-05-2003 09:20 PM

replacing & and ? in php
 
i know there are a few ways to replace ? and & in the url.
whats the easiest way to do it for the search engines?

nxventures 08-05-2003 09:21 PM

Do you mean the server side commands to format it like /blash/bhah/blah instead of the question mark and ampersand?

hyper 08-05-2003 09:25 PM

yeah. i think something to do with the path info command.. i dont wanna screw with the conf. files

i had seen one article but it was so poorly written

m4tt 08-05-2003 09:32 PM

This what you're trying to do?

http://www.desilva.biz/apache/rewritedir.html

I've seen a much more detailed one but I can't find it at the moment

berg.the.red 08-05-2003 09:33 PM

use a URL Encoder

foe 08-05-2003 10:09 PM

php has a function urlencode ('string')
outputs encoded url,

php is the shit, if you need more help, contact me )

ckm 08-06-2003 02:34 AM

I use apache's ForceType to do this. The script looks like it is part of the path. If you don't want to mess with the conf files, put it in a .htaccess file. More info at http://www.devarticles.com/art/1/143/4

zoic 08-06-2003 04:19 AM

Stick this in your .htaccess -

AcceptPathInfo On

then you can invoke script.php like this -

www.somedomain.com/script.php/param1/param2/etc


Dave.


All times are GMT -7. The time now is 02:19 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123