TheHabbos API Problem

Status
Not open for further replies.

Twisting

HFFM
Sep 4, 2011
362
79
Hello,

I was wandering If i could change
Code:
client.php
to
Code:
client/

Ive tried going through all the files and searching for client.php but nothing comes up,

Please Help :)
 

Xyro

Elite Member
Oct 28, 2011
340
100
Why would you want to change it to client/ for? The reason you're having this problem is because you haven't put another file at the end of it.

E.g: client/index.php
 

Twisting

HFFM
Sep 4, 2011
362
79
What i mean is, after ive voted for the api.php it redirects to client.php
I want it to go to _____/client
 

Xyro

Elite Member
Oct 28, 2011
340
100
Alright erm I'm not really sure where you're coming from but let me have a try. Are you trying to say that when you get to the api you want it to redirect to the index or something?
 

Twisting

HFFM
Sep 4, 2011
362
79
Ok,
I mean that once my users have finished voting they will go to
 

RastaLulz

fight teh power
Staff member
May 3, 2010
3,926
3,923
Open "thehabbos_api/types/client.php", and change the following to whatever your heart desires:
PHP:
header("Location: client.php");
 

Twisting

HFFM
Sep 4, 2011
362
79
Ive tried doing
Code:
header("Location: /client")
and
Code:
header("Location: /client/index.php")
And it still redirects to client.php :L
 

Twisting

HFFM
Sep 4, 2011
362
79
Its Working Now, Didn't Notice There Where Three

Thanks :)

MERRY CHRISTMAS
 
Status
Not open for further replies.

Users who are viewing this thread

Top