Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-05-2003, 09:20 PM   #1
hyper
Confirmed User
 
Join Date: Mar 2002
Location: Mass Ass
Posts: 5,294
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?
__________________
hyper is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-05-2003, 09:21 PM   #2
nxventures
Confirmed User
 
Join Date: Mar 2003
Posts: 574
Do you mean the server side commands to format it like /blash/bhah/blah instead of the question mark and ampersand?
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.
nxventures is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-05-2003, 09:25 PM   #3
hyper
Confirmed User
 
Join Date: Mar 2002
Location: Mass Ass
Posts: 5,294
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
__________________
hyper is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-05-2003, 09:32 PM   #4
m4tt
So Fucking Banned
 
Join Date: May 2003
Location: San Diaygo, CA
Posts: 384
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
m4tt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-05-2003, 09:33 PM   #5
berg.the.red
Confirmed User
 
Join Date: Feb 2003
Location: Right Here. Right Now.
Posts: 596
use a URL Encoder
__________________
Need a Dedicated Box with BALLS ?
How about a Dedicated Server starting at just $49 per month.
berg.the.red is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-05-2003, 10:09 PM   #6
foe
Confirmed User
 
Join Date: May 2002
Location: CT
Posts: 5,246
php has a function urlencode ('string')
outputs encoded url,

php is the shit, if you need more help, contact me )
foe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-06-2003, 02:34 AM   #7
ckm
Registered User
 
Join Date: Jul 2003
Posts: 15
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
ckm is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-06-2003, 04:19 AM   #8
zoic
Registered User
 
Join Date: Nov 2001
Posts: 84
Stick this in your .htaccess -

AcceptPathInfo On

then you can invoke script.php like this -

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


Dave.
zoic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.