hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : http://www.domain.com/?op=new
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

http://www.domain.com/?op=new

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-08-2001, 05:34 PM
Domenico Domenico is offline
Premium Member
 
Join Date: Dec 2000
Location: Lowlands
Posts: 716
Hello,

On some site I see this as a url;
http://www.domain.com/?op=new

It's a php3 script working but my question is how this can be parsed by php ?

I have the script but with the same url I get to see the directory content.

php4 is installed and working with other

Thank you

Reply With Quote


Sponsored Links
  #2  
Old 02-13-2001, 02:55 PM
garethfowler garethfowler is offline
Newbie
 
Join Date: Feb 2001
Location: Coventry, UK
Posts: 23
Just add the following line to your .htaccess file:

<< Cut Here >>
DirectoryIndex somescript.php
<< Stop Cut >>

Where somescript.php is the script name.

Rgds.

Gareth C. Fowler

Reply With Quote
  #3  
Old 02-13-2001, 04:10 PM
Rehan Rehan is offline
Web Hosting Guru
 
Join Date: Oct 2000
Posts: 279
http://www.domain.com/?op=new goes to the default document in that directory and sends it the CGI parameters (op=new). So if the default document in that directory is index.php, then http://www.domain.com/?op=new is the same as http://www.domain.com/index.php?op=new

Gareth's suggestion allows you to change the default document for the directory in which you place the .htaccess file.

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
ICANN Publishes Details on Domain Seizure Process Web Hosting News 2012-03-09 15:38:48
Domain Marketplace Sedo Offers Previously Unreleased .CO Domains Web Hosting News 2012-01-11 15:12:49
Data Center Firm Switch Communications Sues Canadian Man Over Copyright Infringement Web Hosting News 2011-11-10 18:11:24
.XXX Domain Sunrise Period Opens Wednesday Web Hosting News 2011-09-06 20:50:41
Web Host FlexiHost Launches NZ Domain Lookup and Registration App Web Hosting News 2011-08-31 20:38:54


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?