opened up my site, heres the php code to the link:
i got a file named downloads.php in the same folder,Code:<a href="index.php?do=downloads">Downloads</a>
hit the link Download, and it dosent go.
opened up my site, heres the php code to the link:
i got a file named downloads.php in the same folder,Code:<a href="index.php?do=downloads">Downloads</a>
hit the link Download, and it dosent go.
your meant to code the ?do part, its not just leaving the file there, its fairly easy using array's, look it up
i dont no php all that well.
soz for bein a noob ;(
i had this working a while ago, i just didnt know wtf was going on now.
im not sure cant rmbr but i think its
PHP Code:<?php
$acts = array('downloads');
$act = $_GET['do'];
if($act == 'downloads'){
echo "
<meta http-equiv='REFRESH' content='0;url=http://www.xxxxxxx.com/downloads.php'>
";
};
?>
sorry, kinda necro-ing but
is betterPHP Code:<?php
$act = $_GET['do'];
$acts = array('downloads');
if($act == 'downloads'){
echo "
include './downloads.php';
";
};
?>
anyway that should be better and shorter =]PHP Code:<?php
$act = $_GET['do'];
$down = 'downloads';
if($act == $down){
include ('downloads.php');
}
?>
oh yeah, roflmao ho noob of me, im coding my site now and i was just using an echo so yh xD
as I said, I was using echo alot at the time lol
I honestly don't know what i did, but it now does work with the;
Rofl. I hate php so much :PCode:<a href="index.php?do=downloads">Downloads</a>
well in html it be and its the same just like php for creating links.
<a href="http://www.google.com">Google</a>
thats just for the link and just get the link of the web you want to access and paste it to the href=blahblah