Part of the EllisLab Network
   
 
About manual URL´s
Posted: 16 August 2007 10:13 AM   [ Ignore ]  
Summer Student
Total Posts:  22
Joined  08-13-2007

Hi people,

I´m using manual URL´s, like this:
http://localhost/tessabrinquedos/index_painel.php?c=clienteController&m=altera&cod=5

When calling this URL, in my ClienteController class, I have the method:

public function altera($cod) {
}

But I got a warning message saying that the “cod” variable doens´t exist…

So, passing parameters to controller´s methods works only with automatic/clean URL´s?
Tks again! grin

Profile
 
 
Posted: 17 August 2007 03:05 PM   [ Ignore ]   [ # 1 ]  
Summer Student
Total Posts:  22
Joined  08-13-2007

I´m afraid yes… hmmm

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 819, on March 11, 2010 11:15 AM
Total Registered Members: 120553 Total Logged-in Users: 29
Total Topics: 126602 Total Anonymous Users: 5
Total Replies: 665577 Total Guests: 362
Total Posts: 792179    
Members ( View Memberlist )
Newest Members:  waywards88vaalionClarkKentBaoHeredamferchiivanzDr.JohnRamin.Hossainikreesmheat