hosted by liquidweb


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

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: 717
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



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

  #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.

Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
UK Police Continue Crackdown on Pirated Content with Torrentz.eu Domain Name Suspension Web Hosting News 2014-05-26 12:30:38
Web Hosting Sales and Promos Roundup - February 7, 2014 Web Hosting News 2014-05-23 15:42:29
Nigeria Internet Registration Association Offers Free ccTLDs to Encourage .ng Domain Adoption Web Hosting News 2014-01-02 14:46:24
Office 365 Integrates GoDaddy Domain Name Registration Web Hosting News 2013-10-09 13:18:05
123-reg Launches Domain Reselling Service on Global Domain Marketplace Web Hosting News 2013-06-19 14:48:10


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:
WHT Membership
WHT Membership



 

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?