plodos Posted June 22, 2008 Share Posted June 22, 2008 Error is Not Found The requested URL /add.php was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. İm trying to learnd $_GET method....Whats the error, I didnt see...Pls help a.php if($add_person) { header('Location: http://www.xxx.com/add.php?cpage='.$count_commit.' '); } b.php <?php include("dbconfig.php"); switch($_GET['cpage']) { case "1": check(1); break; case "2": check(2); break; default: echo "error"; } function check($number){ $search = $number; $data = mysql_query("select p.* from join_person_committee j, person p where j.person_id = p.person_id AND j.person_id='$search' ORDER BY p.person_id ASC LIMIT $baslangic,$limit"); while($info=mysql_fetch_array($data)) { echo" {$info['university']}<br>"; } }} ?> Link to comment https://forums.phpfreaks.com/topic/111382-php-get-page-error/ Share on other sites More sharing options...
Orio Posted June 22, 2008 Share Posted June 22, 2008 Does add.php exist? Should be in your basic puclic_html/www folder. Orio. Link to comment https://forums.phpfreaks.com/topic/111382-php-get-page-error/#findComment-571753 Share on other sites More sharing options...
plodos Posted June 22, 2008 Author Share Posted June 22, 2008 yes you are right...problem was the file name sorry Link to comment https://forums.phpfreaks.com/topic/111382-php-get-page-error/#findComment-571765 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.