403 Forbidden Error

General discussions related to php

Moderators: macek, egami, gesf

Post Reply
MeroD
New php-forum User
New php-forum User
Posts: 53
Joined: Wed Oct 10, 2012 12:14 am

Re: 403 Forbidden Error

Post by MeroD » Sun Nov 04, 2012 1:35 am

<a href="<?php echo $_SERVER['PHP_SELF'] . '?action=on' ?>">ON</a>

OR:

<a href="<?php printf( '%s?action=on', $_SERVER['PHP_SELF'] ); ?>">ON</a>

MeroD
New php-forum User
New php-forum User
Posts: 53
Joined: Wed Oct 10, 2012 12:14 am

Re: 403 Forbidden Error

Post by MeroD » Sun Nov 04, 2012 1:46 am

Oh, and try to avoid using PHP short tags ( <?= )

They aren't supported on all servers...

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests