# Submit problem

**URL:** <https://forum.kirupa.com/t/submit-problem/66868>\
**Category:** Uncategorized\
**Created:** [October 10, 2004, 9:56am UTC](https://forum.kirupa.com/t/submit-problem/66868 "2004-10-10T09:56:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tim\_j](https://avatars.discourse-cdn.com/v4/letter/t/f17d59/32.png) [@tim\_j](https://forum.kirupa.com/u/tim_j)\
**Post date:** [October 10, 2004, 9:56am UTC](https://forum.kirupa.com/t/submit-problem/66868/1 "2004-10-10T09:56:16Z")

</div>

So I have a page where:  
-the address is:[http://mydomain.com/index.php?page=submit](http://mydomain.com/index.php?page=submit)  
-on index.php I have this include:

```php
<?php include"pages/".$page.".php" ?>

```

-submit is just a simle form that submits info to my database but if I click the submit button then the variable “page” that I set up in the address bar disapears so I get this error:  
**Warning** : main(pages/.php): failed to open stream: No such file or directory in **/home/www/mydomain.com/index.php** on line **98**

```
**Warning** : main(): Failed opening 'pages/.php' for inclusion (include_path='.:/usr/local/lib/php') in **/home/www/mydomain.com/index.php** on line **98

```

\*\* Thanks for any help
