FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » scandir problem
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: scandir problem [message #185703 is a reply to message #185702] Sat, 03 May 2014 16:08 Go to previous messageGo to previous message
Mr Oldies is currently offline  Mr Oldies
Messages: 241
Registered: October 2013
Karma:
Senior Member
On Sat, 3 May 2014 11:43:45 -0400, richard wrote:

> http://www.php.net/manual/en/function.scandir.php
>
> Using their method, what is the proper way to insert a variable within the
> url?
>
> e.g.
> http://www.something.com/dir/$variable
>
> Is the ending / needed?
> this does not work.
> $dir="http://www.something.com/dir/$variable"
> $dir="http://www.something.com/dir/".$variable

I did get it working by using the ".." before the path.
Apparently, the full url method does not work in this case.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Storing strings and numbers properly in CSV files
Next Topic: count() problem
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Sep 19 23:51:56 GMT 2024

Total time taken to generate the page: 0.05721 seconds