|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
WAMP includes problem
hi, im running a WAMP(windows, apache, mysql, php) server and when i try and include a page i get a permissions problem:
Code:
Warning: require_once() [function.require-once]: URL file-access is disabled in the server configuration the page im including is to localhost/news.php?item=blablabla I have to include it like that instead of news.php?item=blablabla because if its included like news.php?item=blablabla then it looks for a page with all of it as the name. anyone know what could help? thanks. |
|
#2
|
||||
|
||||
|
The include()/require_once()... page in the php manual solves your problem -
Quote:
Quote:
|
|
#3
|
|||
|
|||
|
o thanks for that
any ideas? |
|
#4
|
||||
|
||||
|
For your first problem, make sure that the actual setting is on by creating a .php file with a phpinfo(); statement in it and browse to the file. It is possible that the php.ini that php is using is not the one you looked at. Also, you probably need to use the full url - http://localhost/....
For your second problem, you would need to post the code to get any specific help. |
|
#5
|
|||
|
|||
|
ive found my error: my stupidity! lol
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > WAMP includes problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|