hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : Setting up url thing [SOLVED]
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

Setting up url thing [SOLVED]

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-02-2006, 06:03 PM
stuffradio stuffradio is offline
Web Hosting Guru
 
Join Date: Dec 2005
Posts: 326

Setting up url thing [SOLVED]


Nevermind, I had originally posted something asking how to do something in a url like

newthread.php?action=make&id=1

you can accomplish this by going

PHP Code:
 
if ($action == "make" AND $id == 1) {
dosomething



Last edited by stuffradio; 04-02-2006 at 06:06 PM.
Reply With Quote


Sponsored Links
  #2  
Old 04-02-2006, 06:52 PM
orbitz orbitz is offline
Web Hosting Master
 
Join Date: Mar 2004
Posts: 1,301
It looks like your site has register_globals turned on. You should read about the security of register globals being turned on.

Anyway, if your site is moved to another server with register global turned off, your code will not work without little change.

Use this:

$_GET['action'] and $_GET['id'] to get the their values.

Reply With Quote
  #3  
Old 04-02-2006, 07:38 PM
stuffradio stuffradio is offline
Web Hosting Guru
 
Join Date: Dec 2005
Posts: 326
Alright, will do. Thanks

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
Big Data Solutions – the Hosting Provider Opportunity Web Hosting News 2013-01-22 09:05:43
50c620da-e6f0-4724-9d7f-2ccc45a79943 Listing 2013-03-05 18:23:14
NetDNA Launches Integrated CDN for Developers to Optimize Web Application Performance Web Hosting News 2012-11-19 15:30:18
Working draft of Cybersecurity Executive Order leaked Blog 2012-09-25 12:40:14
Email Provider Atmail Releases One-Click iOS Provisioning with Atmail 6.3 Web Hosting News 2011-11-28 20:34:19


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?