WebSite X5Help Center

 
Franco F.
Franco F.
User

Call page php  en

Autor: Franco F.
Visitado 1004, Seguidores 1, Compartilhado 0  

I've search this solution in many way but no way.

I've a page with two html object.

One of those is showing and allow the update of the user avatar. I've get it to work by using an external page php call from this first one that is making the upload of the picture. It's fine, but i'd like to have all pages under the websitex5 folder.

At the end of the external php file is the instruction:

header('Location: ' . $_SERVER['HTTP_REFERER']);

to return to previous page, but it wan't work if the same code is load into a page under WebSiteX5. I cannot understand why.

I've trying use:

header("Location: profilo.php");

but it will open the page complete page (with header and footer) into the original 'html code' box.

So, is there ANY way to request a change page by php code?

Publicado em
1 RESPOSTAS
Incomedia
Stefano G.
Incomedia

Hi Franco

I can see that this issue heavily concerns the use of custom code, for which the Staff cannot provide support.

I will, however, keep this topic open so that other users might eventually stop by and help you out with this

Thank you for your understanding

Stefano

Ler mais
Publicado em de Stefano G.